diff --git a/AzurePowershell.Test.targets b/AzurePowershell.Test.targets index 3d8345319248..a3e0579c8939 100644 --- a/AzurePowershell.Test.targets +++ b/AzurePowershell.Test.targets @@ -22,7 +22,7 @@ .\src\ServiceManagement\HDInsight\Commands.HDInsight.Test\bin\Debug\Microsoft.WindowsAzure.Commands.HDInsight.Test.dll .\src\ServiceManagement\Storage\Commands.Storage.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Storage.Test.dll .\src\ResourceManager\KeyVault\Commands.KeyVault.Test\bin\Debug\Microsoft.Azure.Commands.KeyVault.Test.dll - "!Functional&!Scenario&!AzureRTScenario&!Sequential&!PIRTest&!Preview&!ADDomain&!Network&!AzureRTUpload" + "!Functional&!Scenario&!AzureRTScenario&!Sequential&!PIRTest&!Preview&!ADDomain&!Network&!AzureRTUpload&!AzureRTCleanUp" All "OneSDK&CIT" "Functional|AzureRTScenario|Sequential|AzureRTUpload|Network" @@ -32,6 +32,21 @@ "AzureRTUpload|Sequential|Network" + + + + + + + + + + + + + + + @@ -39,6 +54,13 @@ Command="MSTest.exe /testcontainer:$(_testAssembly) /testsettings:$(_testSettings) /category:$(_testFilter) /resultsfile:$(_testResult)" ContinueOnError="false" /> + + + + + + @@ -115,6 +137,14 @@ + + + + <_StorSimpleTestAssembly>.\src\ServiceManagement\StorSimple\Commands.StorSimple.Test\bin\Debug\Microsoft.WindowsAzure.Commands.StorSimple.Test.dll + + + @@ -261,12 +291,12 @@ ContinueOnError="false" /> - - + + - + @@ -299,6 +329,14 @@ ContinueOnError="false" /> + + + + + + diff --git a/ChangeLog.txt b/ChangeLog.txt index 5283a4ee0381..a6f6e2e79410 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,56 @@ +2015.02.12 version 0.8.14 +* StorSimple: New StorSimple commands in AzureServiceManagement mode: + * GetAzureStorSimpleAccessControlRecord + * GetAzureStorSimpleStorageAccountCredential + * RemoveAzureStorSimpleAccessControlRecord + * RemoveAzureStorSimpleStorageAccountCredential + * SetAzureStorSimpleAccessControlRecord + * GetAzureStorSimpleDeviceVolume + * RemoveAzureStorSimpleDeviceVolume + * GetAzureStorSimpleDeviceVolumeContainer + * RemoveAzureStorSimpleDeviceVolumeContainer + * GetAzureStorSimpleDevice + * GetAzureStorSimpleDeviceConnectedInitiator + * GetAzureStorSimpleResource + * GetAzureStorSimpleResourceContext + * SetAzureStorSimpleDeviceBackupPolicy + * NewAzureStorSimpleDeviceBackupPolicy + * GetAzureStorSimpleDeviceBackup + * RemoveAzureStorSimpleDeviceBackup + * StartAzureStorSimpleDeviceBackupJob + * StartAzureStorSimpleDeviceBackupRestoreJob + * RemoveAzureStorSimpleDeviceBackupPolicy + * NewAzureStorSimpleDeviceVolume + * SetAzureStorSimpleDeviceVolume + * NewAzureStorSimpleDeviceVolumeContainer + * SelectAzureStorSimpleResource + * GetAzureStorSimpleDeviceBackupPolicy + * NewAzureStorSimpleStorageAccountCredential + * GetAzureStorSimpleTask + * SetAzureStorSimpleStorageAccountCredential + * NewAzureStorSimpleInlineStorageAccountCredential + * NewAzureStorSimpleAccessControlRecord + +* HDInsight: + * HeadNodeVMSize (update): the parameter is now a string that can now accept various sizes (specifications here: https://msdn.microsoft.com/en-us/library/azure/dn197896.aspx -> Sizes for Web and Worker Role Instances) + * DataNodeVMSize (new) : use to specify size of data nodes (where applicable) + * ZookeeperNodeVMSize (new): use to specify Zookeeper node sizes (where applicable) + * ClusterType (update): New value (Spark) can be specified as cluster type + * Add-AzureHDInsightConfigValues cmdlet: + * Spark (new): collection of configuration properties can be passed in to customize the Spark service + + * Azure Insights cmdlets in AzureResourceManager Mode: + * Get-AzureCrrelationLogId + * Get-AzureResourceGroupLog + * Get-AzureResourceLog + * Get-AzureResourceProviderLog + * Get-AzureSubscriptionIdLog + +* Azure VM cmdlets + * Get-AzureVMDscExtentionStatus: Get the DSC Extension status for a cloud service or VM + + * Updates and bug fixes for AzureAutomation and AzureDataFactory cmdlets + 2015.01.08 version 0.8.13 * Key Vault Service - new cmdlets in AzureResourceManager mode: * Keys: diff --git a/build.proj b/build.proj index 2f3cf1d77e9b..2520c485df71 100644 --- a/build.proj +++ b/build.proj @@ -17,6 +17,7 @@ $(PublishDirectory)\TestResults Configuration=Debug;Platform=Any CPU Configuration=Release;Platform=Any CPU + true @@ -90,24 +91,12 @@ - - - - - - - - + + - - - - - @@ -116,11 +105,13 @@ Projects="@(AzurePowerShellSln)" Targets="Build" Properties="$(DebugBuildConfig)" + BuildInParallel="$(BuildInParallel)" ContinueOnError="false" /> @@ -172,6 +163,7 @@ Projects="@(AzurePowerShellSln)" Targets="Build" Properties="$(ReleaseBuildConfig)" + BuildInParallel="$(BuildInParallel)" ContinueOnError="false" /> @@ -182,6 +174,7 @@ Projects="@(AzurePowerShellSln)" Targets="Build" Properties="$(DebugBuildConfig)" + BuildInParallel="$(BuildInParallel)" ContinueOnError="false" /> @@ -195,7 +188,7 @@ - + diff --git a/setup/azurecmd.wxs b/setup/azurecmd.wxs index 6c8904626739..e6293050b032 100644 --- a/setup/azurecmd.wxs +++ b/setup/azurecmd.wxs @@ -1,11 +1,11 @@  - + - + diff --git a/setup/azurecmdfiles.wxi b/setup/azurecmdfiles.wxi index 3bcc9e71e4e9..b64dd70a8798 100644 --- a/setup/azurecmdfiles.wxi +++ b/setup/azurecmdfiles.wxi @@ -20,12 +20,12 @@ + + + - - - @@ -82,12 +82,12 @@ + + + - - - @@ -97,15 +97,6 @@ - - - - - - - - - @@ -167,6 +158,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -180,12 +212,12 @@ + + + - - - @@ -234,9 +266,6 @@ - - - @@ -251,12 +280,12 @@ + + + - - - @@ -322,6 +351,12 @@ + + + + + + @@ -373,12 +408,12 @@ + + + - - - @@ -388,6 +423,9 @@ + + + @@ -433,12 +471,27 @@ + + + + + + + + + + + + + + + @@ -462,12 +515,12 @@ + + + - - - @@ -539,12 +592,12 @@ + + + - - - @@ -554,15 +607,6 @@ - - - - - - - - - @@ -608,9 +652,6 @@ - - - @@ -625,12 +666,12 @@ + + + - - - @@ -718,18 +759,15 @@ + + + - - - - - - @@ -751,6 +789,9 @@ + + + @@ -792,6 +833,9 @@ + + + @@ -801,6 +845,9 @@ + + + @@ -831,12 +878,12 @@ + + + - - - @@ -921,6 +968,9 @@ + + + @@ -1001,12 +1051,12 @@ + + + - - - @@ -1063,12 +1113,12 @@ + + + - - - @@ -1173,6 +1223,9 @@ + + + @@ -1212,12 +1265,12 @@ + + + - - - @@ -1281,6 +1334,9 @@ + + + @@ -1358,15 +1414,18 @@ + + + + + + - - - @@ -1438,12 +1497,12 @@ + + + - - - @@ -1468,15 +1527,24 @@ - - + + + + + + + + + + + @@ -1486,6 +1554,11 @@ + + + + + @@ -1509,6 +1582,9 @@ + + + @@ -1542,12 +1618,12 @@ + + + - - - @@ -1614,6 +1690,9 @@ + + + @@ -1685,29 +1764,6 @@ - - - - - - - - - - - - - - - - - - - - - - - @@ -1988,6 +2044,9 @@ + + + @@ -2021,12 +2080,12 @@ + + + - - - @@ -2111,6 +2170,9 @@ + + + @@ -2185,12 +2247,12 @@ + + + - - - @@ -2270,16 +2332,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - @@ -2355,8 +2476,8 @@ + - @@ -2375,14 +2496,11 @@ + - - - - @@ -2403,12 +2521,25 @@ + + + + + + + + + + + + + + - @@ -2425,13 +2556,12 @@ - + - @@ -2453,6 +2583,8 @@ + + @@ -2470,11 +2602,12 @@ + - + @@ -2490,8 +2623,13 @@ + + + + + @@ -2499,8 +2637,8 @@ + - @@ -2524,14 +2662,11 @@ + - - - - @@ -2547,13 +2682,12 @@ - + - @@ -2581,10 +2715,9 @@ + - - @@ -2592,6 +2725,7 @@ + @@ -2605,9 +2739,11 @@ + + @@ -2618,8 +2754,8 @@ + - @@ -2648,6 +2784,7 @@ + @@ -2674,8 +2811,8 @@ + - @@ -2694,8 +2831,8 @@ + - @@ -2730,6 +2867,7 @@ + @@ -2743,8 +2881,8 @@ + - @@ -2766,6 +2904,7 @@ + @@ -2791,9 +2930,10 @@ + + - @@ -2817,8 +2957,8 @@ + - @@ -2827,12 +2967,16 @@ - + + + + + @@ -2840,6 +2984,7 @@ + @@ -2851,8 +2996,8 @@ + - @@ -2875,6 +3020,7 @@ + @@ -2898,11 +3044,6 @@ - - - - - @@ -2985,6 +3126,7 @@ + @@ -2996,8 +3138,8 @@ + - @@ -3026,6 +3168,7 @@ + @@ -3050,8 +3193,8 @@ + - @@ -3078,9 +3221,28 @@ + + + + + + + + + + + + + + + + + + + + - diff --git a/src/AzurePowershell.sln b/src/AzurePowershell.sln index b6bafadf97b1..3d1828d1a877 100644 --- a/src/AzurePowershell.sln +++ b/src/AzurePowershell.sln @@ -1,6 +1,6 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 2013 -VisualStudioVersion = 12.0.30501.0 +VisualStudioVersion = 12.0.31101.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8531411A-0137-4E27-9C5E-49E07C245048}" ProjectSection(SolutionItems) = preProject @@ -151,10 +151,20 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.RecoveryServices", EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.RecoveryServices.Test", "ServiceManagement\RecoveryServices\Commands.RecoveryServices.Test\Commands.RecoveryServices.Test.csproj", "{A415F75B-EB6A-49A6-934E-5BA71B83D6EB}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.StorSimple", "ServiceManagement\StorSimple\Commands.StorSimple\Commands.StorSimple.csproj", "{11524D98-6C40-4091-A8E1-86463FEE607C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.StorSimple.Test", "ServiceManagement\StorSimple\Commands.StorSimple.Test\Commands.StorSimple.Test.csproj", "{0FA676D5-1349-4086-B33F-65EC2CB7DA41}" +EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.StreamAnalytics", "ResourceManager\StreamAnalytics\Commands.StreamAnalytics\Commands.StreamAnalytics.csproj", "{F49A314A-A235-47D3-A654-1EC19ACA366C}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.StreamAnalytics.Test", "ResourceManager\StreamAnalytics\Commands.StreamAnalytics.Test\Commands.StreamAnalytics.Test.csproj", "{7E6683BE-ECFF-4709-89EB-1325E9E70512}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Insights", "ResourceManager\Insights\Commands.Insights\Commands.Insights.csproj", "{DEA446A1-84E2-46CC-B780-EB4AFDE2460E}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Insights.Test", "ResourceManager\Insights\Commands.Insights.Test\Commands.Insights.Test.csproj", "{469F20E0-9D40-41AD-94C3-B47AD15A4C00}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Websites", "ResourceManager\Websites\Commands.Websites\Commands.Websites.csproj", "{80A92297-7C92-456B-8EE7-9FB6CE30149D}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -365,6 +375,14 @@ Global {A415F75B-EB6A-49A6-934E-5BA71B83D6EB}.Debug|Any CPU.Build.0 = Debug|Any CPU {A415F75B-EB6A-49A6-934E-5BA71B83D6EB}.Release|Any CPU.ActiveCfg = Release|Any CPU {A415F75B-EB6A-49A6-934E-5BA71B83D6EB}.Release|Any CPU.Build.0 = Release|Any CPU + {11524D98-6C40-4091-A8E1-86463FEE607C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {11524D98-6C40-4091-A8E1-86463FEE607C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {11524D98-6C40-4091-A8E1-86463FEE607C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {11524D98-6C40-4091-A8E1-86463FEE607C}.Release|Any CPU.Build.0 = Release|Any CPU + {0FA676D5-1349-4086-B33F-65EC2CB7DA41}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0FA676D5-1349-4086-B33F-65EC2CB7DA41}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0FA676D5-1349-4086-B33F-65EC2CB7DA41}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0FA676D5-1349-4086-B33F-65EC2CB7DA41}.Release|Any CPU.Build.0 = Release|Any CPU {F49A314A-A235-47D3-A654-1EC19ACA366C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {F49A314A-A235-47D3-A654-1EC19ACA366C}.Debug|Any CPU.Build.0 = Debug|Any CPU {F49A314A-A235-47D3-A654-1EC19ACA366C}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -373,6 +391,18 @@ Global {7E6683BE-ECFF-4709-89EB-1325E9E70512}.Debug|Any CPU.Build.0 = Debug|Any CPU {7E6683BE-ECFF-4709-89EB-1325E9E70512}.Release|Any CPU.ActiveCfg = Release|Any CPU {7E6683BE-ECFF-4709-89EB-1325E9E70512}.Release|Any CPU.Build.0 = Release|Any CPU + {DEA446A1-84E2-46CC-B780-EB4AFDE2460E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DEA446A1-84E2-46CC-B780-EB4AFDE2460E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DEA446A1-84E2-46CC-B780-EB4AFDE2460E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DEA446A1-84E2-46CC-B780-EB4AFDE2460E}.Release|Any CPU.Build.0 = Release|Any CPU + {469F20E0-9D40-41AD-94C3-B47AD15A4C00}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {469F20E0-9D40-41AD-94C3-B47AD15A4C00}.Debug|Any CPU.Build.0 = Debug|Any CPU + {469F20E0-9D40-41AD-94C3-B47AD15A4C00}.Release|Any CPU.ActiveCfg = Release|Any CPU + {469F20E0-9D40-41AD-94C3-B47AD15A4C00}.Release|Any CPU.Build.0 = Release|Any CPU + {80A92297-7C92-456B-8EE7-9FB6CE30149D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {80A92297-7C92-456B-8EE7-9FB6CE30149D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {80A92297-7C92-456B-8EE7-9FB6CE30149D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {80A92297-7C92-456B-8EE7-9FB6CE30149D}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -403,6 +433,8 @@ Global {FDB897BD-FCB4-44A1-8D66-AC99F22EC737} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} {080B0477-7E52-4455-90AB-23BD13D1B1CE} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} {A415F75B-EB6A-49A6-934E-5BA71B83D6EB} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} + {0FA676D5-1349-4086-B33F-65EC2CB7DA41} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} {7E6683BE-ECFF-4709-89EB-1325E9E70512} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} + {469F20E0-9D40-41AD-94C3-B47AD15A4C00} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} EndGlobalSection EndGlobal diff --git a/src/Common/Azure.Common.Extensions/Authentication/AadAuthenticationException.cs b/src/Common/Azure.Common.Extensions/Authentication/AadAuthenticationException.cs deleted file mode 100644 index fa0d2484f439..000000000000 --- a/src/Common/Azure.Common.Extensions/Authentication/AadAuthenticationException.cs +++ /dev/null @@ -1,94 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; - -namespace Microsoft.Azure.Common.Extensions.Authentication -{ - /// - /// Base class representing an exception that occurs when - /// authenticating against Azure Active Directory - /// - [Serializable] - public abstract class AadAuthenticationException : Exception - { - protected AadAuthenticationException() - { - } - - protected AadAuthenticationException(string message) : base(message) - { - } - - protected AadAuthenticationException(string message, Exception innerException) : base(message, innerException) - { - } - } - - /// - /// Exception that gets thrown when the user explicitly - /// cancels an authentication operation. - /// - [Serializable] - public class AadAuthenticationCanceledException : AadAuthenticationException - { - public AadAuthenticationCanceledException(string message, Exception innerException) : base(message, innerException) - { - } - } - - /// - /// Exception that gets thrown when the ADAL library - /// is unable to authenticate without a popup dialog. - /// - [Serializable] - public class AadAuthenticationFailedWithoutPopupException : AadAuthenticationException - { - public AadAuthenticationFailedWithoutPopupException(string message, Exception innerException) - : base(message, innerException) - { - } - } - - /// - /// Exception that gets thrown if an authentication operation - /// fails on the server. - /// - [Serializable] - public class AadAuthenticationFailedException : AadAuthenticationException - { - public AadAuthenticationFailedException(string message, Exception innerException) : base(message, innerException) - { - } - } - - /// - /// Exception thrown if a refresh token has expired. - /// - [Serializable] - public class AadAuthenticationCantRenewException : AadAuthenticationException - { - public AadAuthenticationCantRenewException() - { - } - - public AadAuthenticationCantRenewException(string message) : base(message) - { - } - - public AadAuthenticationCantRenewException(string message, Exception innerException) : base(message, innerException) - { - } - } -} \ No newline at end of file diff --git a/src/Common/Azure.Common.Extensions/Authentication/AccessTokenCredential.cs b/src/Common/Azure.Common.Extensions/Authentication/AccessTokenCredential.cs deleted file mode 100644 index 270178958487..000000000000 --- a/src/Common/Azure.Common.Extensions/Authentication/AccessTokenCredential.cs +++ /dev/null @@ -1,51 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.WindowsAzure; -using System; -using System.Net.Http; -using System.Net.Http.Headers; -using System.Threading; -using System.Threading.Tasks; - -namespace Microsoft.Azure.Common.Extensions.Authentication -{ - public class AccessTokenCredential : SubscriptionCloudCredentials - { - private readonly Guid subscriptionId; - private readonly IAccessToken token; - - public AccessTokenCredential(Guid subscriptionId, IAccessToken token) - { - this.subscriptionId = subscriptionId; - this.token = token; - this.TenantID = token.TenantId; - } - - public override Task ProcessHttpRequestAsync(HttpRequestMessage request, CancellationToken cancellationToken) - { - token.AuthorizeRequest((tokenType, tokenValue) => { - request.Headers.Authorization = new AuthenticationHeaderValue(tokenType, tokenValue); - }); - return base.ProcessHttpRequestAsync(request, cancellationToken); - } - - public override string SubscriptionId - { - get { return subscriptionId.ToString(); } - } - - public string TenantID { get; set; } - } -} \ No newline at end of file diff --git a/src/Common/Azure.Common.Extensions/Authentication/AdalConfiguration.cs b/src/Common/Azure.Common.Extensions/Authentication/AdalConfiguration.cs deleted file mode 100644 index 9ee7fd8909f8..000000000000 --- a/src/Common/Azure.Common.Extensions/Authentication/AdalConfiguration.cs +++ /dev/null @@ -1,69 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Linq; - -namespace Microsoft.Azure.Common.Extensions.Authentication -{ - /// - /// Class storing the configuration information needed - /// for ADAL to request token from the right AD tenant - /// depending on environment. - /// - public class AdalConfiguration - { - // - // These constants define the default values to use for AD authentication - // against RDFE - // - private const string PowerShellClientId = "1950a258-227b-4e31-a9cf-717495945fc2"; - private string adEndpoint = string.Empty; - - // Turn off endpoint validation for known test cluster AD endpoints - private static readonly string[] knownTestEndpoints = - { - "https://sts.login.windows-int.net/" - }; - - public static readonly Uri PowerShellRedirectUri = new Uri("urn:ietf:wg:oauth:2.0:oob"); - - // ID for site to pass to enable EBD (email-based differentiation) - // This gets passed in the call to get the azure branding on the - // login window. Also adding popup flag to handle overly large login windows. - internal const string EnableEbdMagicCookie = "site_id=501358&display=popup"; - - public string AdEndpoint - { - get { return adEndpoint; } - set { adEndpoint = value; } - } - - public bool ValidateAuthority - { - get { return knownTestEndpoints.All(s => string.Compare(s, adEndpoint, StringComparison.OrdinalIgnoreCase) != 0); } - } - - public string AdDomain { get; set; } - public string ClientId { get; set; } - public Uri ClientRedirectUri { get; set; } - public string ResourceClientUri { get; set; } - - public AdalConfiguration() - { - ClientId = PowerShellClientId; - ClientRedirectUri = PowerShellRedirectUri; - } - } -} \ No newline at end of file diff --git a/src/Common/Azure.Common.Extensions/Authentication/AdalTokenProvider.cs b/src/Common/Azure.Common.Extensions/Authentication/AdalTokenProvider.cs deleted file mode 100644 index f0e67eecc122..000000000000 --- a/src/Common/Azure.Common.Extensions/Authentication/AdalTokenProvider.cs +++ /dev/null @@ -1,57 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Common.Extensions.Models; -using Microsoft.Azure.Common.Extensions.Properties; -using System; -using System.Security; -using System.Windows.Forms; - -namespace Microsoft.Azure.Common.Extensions.Authentication -{ - /// - /// A token provider that uses ADAL to retrieve - /// tokens from Azure Active Directory - /// - public class AdalTokenProvider : ITokenProvider - { - private readonly ITokenProvider userTokenProvider; - private readonly ITokenProvider servicePrincipalTokenProvider; - - public AdalTokenProvider() - : this(new ConsoleParentWindow()) - { - } - - public AdalTokenProvider(IWin32Window parentWindow) - { - this.userTokenProvider = new UserTokenProvider(parentWindow); - servicePrincipalTokenProvider = new ServicePrincipalTokenProvider(); - } - - public IAccessToken GetAccessToken(AdalConfiguration config, ShowDialog promptBehavior, string userId, SecureString password, - AzureAccount.AccountType credentialType) - { - switch (credentialType) - { - case AzureAccount.AccountType.User: - return userTokenProvider.GetAccessToken(config, promptBehavior, userId, password, credentialType); - case AzureAccount.AccountType.ServicePrincipal: - return servicePrincipalTokenProvider.GetAccessToken(config, promptBehavior, userId, password, credentialType); - default: - throw new ArgumentException(Resources.UnknownCredentialType, "credentialType"); - } - } - } -} diff --git a/src/Common/Azure.Common.Extensions/Authentication/CredStore.cs b/src/Common/Azure.Common.Extensions/Authentication/CredStore.cs deleted file mode 100644 index 598019f64f9a..000000000000 --- a/src/Common/Azure.Common.Extensions/Authentication/CredStore.cs +++ /dev/null @@ -1,114 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Runtime.ConstrainedExecution; -using System.Runtime.InteropServices; - -namespace Microsoft.Azure.Common.Extensions.Authentication -{ - /// - /// Class wrapping PInvoke signatures for Windows Credential store - /// - internal static class CredStore - { - internal enum CredentialType - { - Generic = 1, - } - - internal static class NativeMethods - { - [DllImport("advapi32.dll", CharSet = CharSet.Unicode, SetLastError = true)] - [ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)] - internal extern static bool CredRead( - string targetName, - CredentialType type, - int flags, - [Out] out IntPtr pCredential - ); - - [DllImport("advapi32.dll", CharSet = CharSet.Unicode, SetLastError = true)] - [ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)] - internal extern static bool CredEnumerate( - string targetName, - int flags, - [Out] out int count, - [Out] out IntPtr pCredential - ); - - [DllImport("advapi32.dll", CharSet = CharSet.Unicode, SetLastError = true)] - [ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)] - internal extern static bool CredDelete( - string targetName, - CredentialType type, - int flags - ); - - [DllImport("advapi32.dll", CharSet = CharSet.Unicode, SetLastError = true)] - [ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)] - internal extern static bool CredWrite( - IntPtr pCredential, - int flags - ); - - [DllImport("advapi32.dll", CharSet = CharSet.Unicode, SetLastError = true)] - [ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)] - internal extern static bool CredFree( - IntPtr pCredential - ); - - [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1049:TypesThatOwnNativeResourcesShouldBeDisposable", Justification = "Wrapper for native struct")] - [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] - internal struct Credential - { - public Credential(string userName, string key, string value) - { - this.flags = 0; - this.type = CredentialType.Generic; - - // set the key in the targetName - this.targetName = key; - - this.targetAlias = null; - this.comment = null; - this.lastWritten.dwHighDateTime = 0; - this.lastWritten.dwLowDateTime = 0; - - // set the value in credentialBlob. - this.credentialBlob = Marshal.StringToHGlobalUni(value); - this.credentialBlobSize = (uint)((value.Length + 1) * 2); - - this.persist = 1; - this.attibuteCount = 0; - this.attributes = IntPtr.Zero; - this.userName = userName; - } - - internal uint flags; - internal CredentialType type; - internal string targetName; - internal string comment; - internal System.Runtime.InteropServices.ComTypes.FILETIME lastWritten; - internal uint credentialBlobSize; - internal IntPtr credentialBlob; - internal uint persist; - internal uint attibuteCount; - internal IntPtr attributes; - internal string targetAlias; - internal string userName; - } - } - } -} diff --git a/src/Common/Azure.Common.Extensions/Authentication/ITokenProvider.cs b/src/Common/Azure.Common.Extensions/Authentication/ITokenProvider.cs deleted file mode 100644 index ea2ab77ce749..000000000000 --- a/src/Common/Azure.Common.Extensions/Authentication/ITokenProvider.cs +++ /dev/null @@ -1,39 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Common.Extensions.Models; -using System.Security; - -namespace Microsoft.Azure.Common.Extensions.Authentication -{ - /// - /// This interface represents objects that can be used - /// to obtain and manage access tokens. - /// - public interface ITokenProvider - { - /// - /// Get a new login token for the given environment, user credential, - /// and credential type. - /// - /// Configuration. - /// Prompt behavior. - /// User ID/Service principal to get the token for. - /// Secure strings with password/service principal key. - /// Credential type. - /// An access token. - IAccessToken GetAccessToken(AdalConfiguration config, ShowDialog promptBehavior, string userId, - SecureString password, AzureAccount.AccountType credentialType); - } -} diff --git a/src/Common/Azure.Common.Extensions/Authentication/ProtectedFileTokenCache.cs b/src/Common/Azure.Common.Extensions/Authentication/ProtectedFileTokenCache.cs deleted file mode 100644 index 2ff115cc3501..000000000000 --- a/src/Common/Azure.Common.Extensions/Authentication/ProtectedFileTokenCache.cs +++ /dev/null @@ -1,131 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.IdentityModel.Clients.ActiveDirectory; -using System; -using System.IO; -using System.Security.Cryptography; - -namespace Microsoft.Azure.Common.Extensions.Authentication -{ - /// - /// An implementation of the Adal token cache that stores the cache items - /// in the DPAPI-protected file. - /// - public class ProtectedFileTokenCache : TokenCache - { - private static readonly string CacheFileName = Path.Combine(AzureSession.ProfileDirectory, AzureSession.TokenCacheFile); - - private static readonly object fileLock = new object(); - - private static readonly Lazy instance = - new Lazy(() => new ProtectedFileTokenCache()); - - public static ProtectedFileTokenCache Instance - { - get - { - return instance.Value; - } - } - - // Initializes the cache against a local file. - // If the file is already present, it loads its content in the ADAL cache - private ProtectedFileTokenCache() - { - Initialize(CacheFileName); - } - - private void Initialize(string fileName) - { - AfterAccess = AfterAccessNotification; - BeforeAccess = BeforeAccessNotification; - lock (fileLock) - { - if (ProfileClient.DataStore.FileExists(fileName)) - { - var existingData = ProfileClient.DataStore.ReadFileAsBytes(fileName); - if (existingData != null) - { - try - { - Deserialize(ProtectedData.Unprotect(existingData, null, DataProtectionScope.CurrentUser)); - } - catch (CryptographicException) - { - ProfileClient.DataStore.DeleteFile(fileName); - } - } - } - } - } - - public ProtectedFileTokenCache(string cacheFile) - { - Initialize(cacheFile); - } - - // Empties the persistent store. - public override void Clear() - { - base.Clear(); - if (ProfileClient.DataStore.FileExists(CacheFileName)) - { - ProfileClient.DataStore.DeleteFile(CacheFileName); - } - } - - // Triggered right before ADAL needs to access the cache. - // Reload the cache from the persistent store in case it changed since the last access. - void BeforeAccessNotification(TokenCacheNotificationArgs args) - { - lock (fileLock) - { - if (ProfileClient.DataStore.FileExists(CacheFileName)) - { - var existingData = ProfileClient.DataStore.ReadFileAsBytes(CacheFileName); - if (existingData != null) - { - try - { - Deserialize(ProtectedData.Unprotect(existingData, null, DataProtectionScope.CurrentUser)); - } - catch (CryptographicException) - { - ProfileClient.DataStore.DeleteFile(CacheFileName); - } - } - } - } - } - - // Triggered right after ADAL accessed the cache. - void AfterAccessNotification(TokenCacheNotificationArgs args) - { - // if the access operation resulted in a cache update - if (HasStateChanged) - { - lock (fileLock) - { - // reflect changes in the persistent store - ProfileClient.DataStore.WriteFile(CacheFileName, - ProtectedData.Protect(Serialize(), null, DataProtectionScope.CurrentUser)); - // once the write operation took place, restore the HasStateChanged bit to false - HasStateChanged = false; - } - } - } - - } -} diff --git a/src/Common/Azure.Common.Extensions/Authentication/ServicePrincipalKeyStore.cs b/src/Common/Azure.Common.Extensions/Authentication/ServicePrincipalKeyStore.cs deleted file mode 100644 index afba969a1ad5..000000000000 --- a/src/Common/Azure.Common.Extensions/Authentication/ServicePrincipalKeyStore.cs +++ /dev/null @@ -1,111 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Runtime.InteropServices; -using System.Security; -using FILETIME = System.Runtime.InteropServices.ComTypes.FILETIME; - -namespace Microsoft.Azure.Common.Extensions.Authentication -{ - /// - /// Helper class to store service principal keys and retrieve them - /// from the Windows Credential Store. - /// - public static class ServicePrincipalKeyStore - { - private const string keyStoreUserName = "PowerShellServicePrincipalKey"; - private const string targetNamePrefix = "AzureSession:target="; - - public static void SaveKey(string appId, string tenantId, SecureString serviceKey) - { - var credential = new CredStore.NativeMethods.Credential - { - flags = 0, - type = CredStore.CredentialType.Generic, - targetName = CreateKey(appId, tenantId), - targetAlias = null, - comment = null, - lastWritten = new FILETIME {dwHighDateTime = 0, dwLowDateTime = 0}, - persist = 2, // persist on local machine - attibuteCount = 0, - attributes = IntPtr.Zero, - userName = keyStoreUserName - }; - - // Pull bits out of SecureString to put in credential - IntPtr credPtr = IntPtr.Zero; - try - { - credential.credentialBlob = Marshal.SecureStringToGlobalAllocUnicode(serviceKey); - credential.credentialBlobSize = (uint)(serviceKey.Length * Marshal.SystemDefaultCharSize); - - int size = Marshal.SizeOf(credential); - credPtr = Marshal.AllocHGlobal(size); - - Marshal.StructureToPtr(credential, credPtr, false); - CredStore.NativeMethods.CredWrite(credPtr, 0); - } - finally - { - if (credPtr != IntPtr.Zero) - { - Marshal.FreeHGlobal(credPtr); - } - - Marshal.ZeroFreeGlobalAllocUnicode(credential.credentialBlob); - } - } - - public static SecureString GetKey(string appId, string tenantId) - { - IntPtr pCredential = IntPtr.Zero; - try - { - if (CredStore.NativeMethods.CredRead( - CreateKey(appId, tenantId), - CredStore.CredentialType.Generic, 0, - out pCredential)) - { - var credential = (CredStore.NativeMethods.Credential) - Marshal.PtrToStructure(pCredential, typeof (CredStore.NativeMethods.Credential)); - unsafe - { - return new SecureString((char*) (credential.credentialBlob), - (int)(credential.credentialBlobSize/Marshal.SystemDefaultCharSize)); - } - } - return null; - } - finally - { - if (pCredential != IntPtr.Zero) - { - CredStore.NativeMethods.CredFree(pCredential); - } - } - } - - - public static void DeleteKey(string appId, string tenantId) - { - CredStore.NativeMethods.CredDelete(CreateKey(appId, tenantId), CredStore.CredentialType.Generic, 0); - } - - private static string CreateKey(string appId, string tenantId) - { - return string.Format("{0}AppId={1};Tenant={2}", targetNamePrefix, appId, tenantId); - } - } -} diff --git a/src/Common/Azure.Common.Extensions/Authentication/ServicePrincipalTokenProvider.cs b/src/Common/Azure.Common.Extensions/Authentication/ServicePrincipalTokenProvider.cs deleted file mode 100644 index cd959c9a5bde..000000000000 --- a/src/Common/Azure.Common.Extensions/Authentication/ServicePrincipalTokenProvider.cs +++ /dev/null @@ -1,123 +0,0 @@ -// ---------------------------------------------------------------------------------- -// Copyright Microsoft Corporation -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Common.Extensions.Models; -using Microsoft.Azure.Common.Extensions.Properties; -using Microsoft.IdentityModel.Clients.ActiveDirectory; -using System; -using System.Collections.Generic; -using System.Security; - -namespace Microsoft.Azure.Common.Extensions.Authentication -{ - internal class ServicePrincipalTokenProvider : ITokenProvider - { - private static readonly TimeSpan expirationThreshold = new TimeSpan(0, 5, 0); - - public IAccessToken GetAccessToken(AdalConfiguration config, ShowDialog promptBehavior, string userId, SecureString password, - AzureAccount.AccountType credentialType) - { - if (credentialType == AzureAccount.AccountType.User) - { - throw new ArgumentException(string.Format(Resources.InvalidCredentialType, "User"), "credentialType"); - } - return new ServicePrincipalAccessToken(config, AcquireToken(config, userId, password), this, userId); - } - - private AuthenticationResult AcquireToken(AdalConfiguration config, string appId, SecureString appKey) - { - if (appKey == null) - { - return Renew(config, appId); - } - - StoreAppKey(appId, config.AdDomain, appKey); - - string authority = config.AdEndpoint + config.AdDomain; - var context = new AuthenticationContext(authority, config.ValidateAuthority, - ProtectedFileTokenCache.Instance); - var credential = new ClientCredential(appId, appKey); - return context.AcquireToken("https://management.core.windows.net/", credential); - } - - private AuthenticationResult Renew(AdalConfiguration config, string appId) - { - using (SecureString appKey = LoadAppKey(appId, config.AdDomain)) - { - if (appKey == null) - { - throw new KeyNotFoundException(string.Format(Resources.ServiceKeyNotFound, appId)); - } - return AcquireToken(config, appId, appKey); - } - } - - private SecureString LoadAppKey(string appId, string tenantId) - { - return ServicePrincipalKeyStore.GetKey(appId, tenantId); - } - - private void StoreAppKey(string appId, string tenantId, SecureString appKey) - { - ServicePrincipalKeyStore.SaveKey(appId, tenantId, appKey); - } - - - private class ServicePrincipalAccessToken : IAccessToken - { - internal readonly AdalConfiguration Configuration; - internal AuthenticationResult AuthResult; - private readonly ServicePrincipalTokenProvider tokenProvider; - private readonly string appId; - - public ServicePrincipalAccessToken(AdalConfiguration configuration, AuthenticationResult authResult, ServicePrincipalTokenProvider tokenProvider, string appId) - { - Configuration = configuration; - AuthResult = authResult; - this.tokenProvider = tokenProvider; - this.appId = appId; - } - - public void AuthorizeRequest(Action authTokenSetter) - { - if (IsExpired) - { - AuthResult = tokenProvider.Renew(Configuration, appId); - } - - authTokenSetter(AuthResult.AccessTokenType, AuthResult.AccessToken); - } - - public string UserId { get { return appId; }} - public string AccessToken { get { return AuthResult.AccessToken; } } - public LoginType LoginType { get { return LoginType.OrgId; } } - public string TenantId { get { return this.Configuration.AdDomain; } } - - private bool IsExpired - { - get - { -#if DEBUG - if (Environment.GetEnvironmentVariable("FORCE_EXPIRED_ACCESS_TOKEN") != null) - { - return true; - } -#endif - - return AuthResult.ExpiresOn - expirationThreshold < DateTimeOffset.Now; - } - } - } - } -} diff --git a/src/Common/Azure.Common.Extensions/Authentication/UserTokenProvider.cs b/src/Common/Azure.Common.Extensions/Authentication/UserTokenProvider.cs deleted file mode 100644 index 08615e9e96b5..000000000000 --- a/src/Common/Azure.Common.Extensions/Authentication/UserTokenProvider.cs +++ /dev/null @@ -1,271 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Common.Extensions.Models; -using Microsoft.Azure.Common.Extensions.Properties; -using Microsoft.IdentityModel.Clients.ActiveDirectory; -using System; -using System.Runtime.InteropServices; -using System.Security; -using System.Threading; -using System.Windows.Forms; - -namespace Microsoft.Azure.Common.Extensions.Authentication -{ - /// - /// A token provider that uses ADAL to retrieve - /// tokens from Azure Active Directory for user - /// credentials. - /// - internal class UserTokenProvider : ITokenProvider - { - private readonly IWin32Window parentWindow; - - public UserTokenProvider(IWin32Window parentWindow) - { - this.parentWindow = parentWindow; - } - - public IAccessToken GetAccessToken(AdalConfiguration config, ShowDialog promptBehavior, string userId, SecureString password, - AzureAccount.AccountType credentialType) - { - if (credentialType != AzureAccount.AccountType.User) - { - throw new ArgumentException(string.Format(Resources.InvalidCredentialType, "User"), "credentialType"); - } - - return new AdalAccessToken(AcquireToken(config, promptBehavior, userId, password), this, config); - } - - private readonly static TimeSpan thresholdExpiration = new TimeSpan(0, 5, 0); - - private bool IsExpired(AdalAccessToken token) - { -#if DEBUG - if (Environment.GetEnvironmentVariable("FORCE_EXPIRED_ACCESS_TOKEN") != null) - { - return true; - } -#endif - - return token.AuthResult.ExpiresOn - DateTimeOffset.Now < thresholdExpiration; - } - - private void Renew(AdalAccessToken token) - { - if (IsExpired(token)) - { - AuthenticationResult result = AcquireToken(token.Configuration, ShowDialog.Never, token.UserId, null); - - if (result == null) - { - throw new Exception(Resources.ExpiredRefreshToken); - } - else - { - token.AuthResult = result; - } - } - } - - private AuthenticationContext CreateContext(AdalConfiguration config) - { - return new AuthenticationContext(config.AdEndpoint + config.AdDomain, config.ValidateAuthority, ProtectedFileTokenCache.Instance) - { - OwnerWindow = parentWindow - }; - } - - // We have to run this in a separate thread to guarantee that it's STA. This method - // handles the threading details. - private AuthenticationResult AcquireToken(AdalConfiguration config, ShowDialog promptBehavior, string userId, - SecureString password) - { - AuthenticationResult result = null; - Exception ex = null; - if (promptBehavior == ShowDialog.Never) - { - result = SafeAquireToken(config, promptBehavior, userId, password, out ex); - } - else - { - var thread = new Thread(() => - { - result = SafeAquireToken(config, promptBehavior, userId, password, out ex); - }); - - thread.SetApartmentState(ApartmentState.STA); - thread.Name = "AcquireTokenThread"; - thread.Start(); - thread.Join(); - } - - if (ex != null) - { - var adex = ex as AdalException; - if (adex != null) - { - if (adex.ErrorCode == AdalError.AuthenticationCanceled) - { - throw new AadAuthenticationCanceledException(adex.Message, adex); - } - } - if (ex is AadAuthenticationException) - { - throw ex; - } - throw new AadAuthenticationFailedException(GetExceptionMessage(ex), ex); - } - - return result; - } - - private AuthenticationResult SafeAquireToken( - AdalConfiguration config, - ShowDialog showDialog, - string userId, - SecureString password, - out Exception ex) - { - try - { - ex = null; - var promptBehavior = (PromptBehavior)Enum.Parse(typeof(PromptBehavior), showDialog.ToString()); - - return DoAcquireToken(config, promptBehavior, userId, password); - } - catch (AdalException adalEx) - { - if (adalEx.ErrorCode == AdalError.UserInteractionRequired || - adalEx.ErrorCode == AdalError.MultipleTokensMatched) - { - ex = new AadAuthenticationFailedWithoutPopupException(Resources.InvalidSubscriptionState, adalEx); - } - else if (adalEx.ErrorCode == AdalError.MissingFederationMetadataUrl) - { - ex = new AadAuthenticationFailedException(Resources.CredentialOrganizationIdMessage, adalEx); - } - else - { - ex = adalEx; - } - } - catch (Exception threadEx) - { - ex = threadEx; - } - return null; - } - - private AuthenticationResult DoAcquireToken(AdalConfiguration config, PromptBehavior promptBehavior, string userId, - SecureString password) - { - AuthenticationResult result; - var context = CreateContext(config); - - if (string.IsNullOrEmpty(userId)) - { - if (promptBehavior != PromptBehavior.Never) - { - ClearCookies(); - } - - result = context.AcquireToken(config.ResourceClientUri, config.ClientId, - config.ClientRedirectUri, promptBehavior, - UserIdentifier.AnyUser, AdalConfiguration.EnableEbdMagicCookie); - } - else - { - if (password == null) - { - result = context.AcquireToken(config.ResourceClientUri, config.ClientId, - config.ClientRedirectUri, promptBehavior, - new UserIdentifier(userId, UserIdentifierType.OptionalDisplayableId), - AdalConfiguration.EnableEbdMagicCookie); - } - else - { - UserCredential credential = new UserCredential(userId, password); - result = context.AcquireToken(config.ResourceClientUri, config.ClientId, credential); - } - } - return result; - } - - private string GetExceptionMessage(Exception ex) - { - string message = ex.Message; - if (ex.InnerException != null) - { - message += ": " + ex.InnerException.Message; - } - return message; - } - /// - /// Implementation of using data from ADAL - /// - private class AdalAccessToken : IAccessToken - { - internal readonly AdalConfiguration Configuration; - internal AuthenticationResult AuthResult; - private readonly UserTokenProvider tokenProvider; - - public AdalAccessToken(AuthenticationResult authResult, UserTokenProvider tokenProvider, AdalConfiguration configuration) - { - AuthResult = authResult; - this.tokenProvider = tokenProvider; - Configuration = configuration; - } - - public void AuthorizeRequest(Action authTokenSetter) - { - tokenProvider.Renew(this); - authTokenSetter(AuthResult.AccessTokenType, AuthResult.AccessToken); - } - - public string AccessToken { get { return AuthResult.AccessToken; } } - public string UserId { get { return AuthResult.UserInfo.DisplayableId; } } - - public string TenantId { get { return AuthResult.TenantId; } } - - public LoginType LoginType - { - get - { - if (AuthResult.UserInfo.IdentityProvider != null) - { - return LoginType.LiveId; - } - return LoginType.OrgId; - } - } - } - - - private void ClearCookies() - { - NativeMethods.InternetSetOption(IntPtr.Zero, NativeMethods.INTERNET_OPTION_END_BROWSER_SESSION, IntPtr.Zero, 0); - } - - private static class NativeMethods - { - internal const int INTERNET_OPTION_END_BROWSER_SESSION = 42; - - [DllImport("wininet.dll", SetLastError = true)] - internal static extern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, - int lpdwBufferLength); - } - - } -} diff --git a/src/Common/Azure.Common.Extensions/AzureSession.cs b/src/Common/Azure.Common.Extensions/AzureSession.cs deleted file mode 100644 index fa1bb66de832..000000000000 --- a/src/Common/Azure.Common.Extensions/AzureSession.cs +++ /dev/null @@ -1,107 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Common.Extensions.Factories; -using Microsoft.Azure.Common.Extensions.Models; -using Microsoft.Azure.Common.Extensions.Properties; -using System; -using System.IO; - -namespace Microsoft.Azure.Common.Extensions -{ - public static class AzureSession - { - static AzureSession() - { - ClientFactory = new ClientFactory(); - AuthenticationFactory = new AuthenticationFactory(); - CurrentContext = new AzureContext(); - CurrentContext.Environment = AzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud]; - AzureSession.OldProfileFile = "WindowsAzureProfile.xml"; - AzureSession.OldProfileFileBackup = "WindowsAzureProfile.xml.bak"; - AzureSession.ProfileDirectory = Path.Combine( - Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), - Resources.AzureDirectoryName); ; - AzureSession.ProfileFile = "AzureProfile.json"; - AzureSession.TokenCacheFile = "TokenCache.dat"; - } - - public static AzureContext CurrentContext { get; private set; } - - public static void SetCurrentContext(AzureSubscription subscription, AzureEnvironment environment, AzureAccount account) - { - if (environment == null) - { - if (subscription != null && CurrentContext != null && - subscription.Environment == CurrentContext.Environment.Name) - { - environment = CurrentContext.Environment; - } - else - { - environment = AzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud]; - } - - if (subscription != null) - { - subscription.Environment = environment.Name; - } - } - - if (account == null) - { - if (subscription != null && CurrentContext != null && subscription.Account != null) - { - if (CurrentContext.Account != null && subscription.Account == CurrentContext.Account.Id) - { - account = CurrentContext.Account; - } - else - { - throw new ArgumentException(Resources.AccountIdDoesntMatchSubscription, "account"); - } - - subscription.Account = account.Id; - - } - } - - if (subscription != null && subscription.Environment != environment.Name) - { - throw new ArgumentException(Resources.EnvironmentNameDoesntMatchSubscription, "environment"); - } - - CurrentContext = new AzureContext - { - Subscription = subscription, - Account = account, - Environment = environment - }; - } - - public static IClientFactory ClientFactory { get; set; } - - public static IAuthenticationFactory AuthenticationFactory { get; set; } - - public static string ProfileDirectory { get; set; } - - public static string TokenCacheFile { get; set; } - - public static string ProfileFile { get; set; } - - public static string OldProfileFileBackup { get; set; } - - public static string OldProfileFile { get; set; } - } -} diff --git a/src/Common/Azure.Common.Extensions/Common.Extensions.csproj b/src/Common/Azure.Common.Extensions/Common.Extensions.csproj deleted file mode 100644 index b3bb3472a230..000000000000 --- a/src/Common/Azure.Common.Extensions/Common.Extensions.csproj +++ /dev/null @@ -1,204 +0,0 @@ - - - - - Debug - AnyCPU - {B95C489C-8CB7-4DCF-8D5F-B9AEBDBBAF89} - Library - Properties - Microsoft.Azure.Common.Extensions - Microsoft.Azure.Common.Extensions - v4.5 - 512 - - ..\..\ - true - /assemblyCompareMode:StrongNameIgnoringVersion - - - true - full - false - bin\Debug - DEBUG;TRACE - prompt - 4 - true - true - false - true - - - bin\Release - TRACE;SIGN - true - pdbonly - AnyCPU - bin\Release\Management.Utilities.dll.CodeAnalysisLog.xml - true - GlobalSuppressions.cs - prompt - MinimumRecommendedRules.ruleset - ;$(ProgramFiles)\Microsoft Visual Studio 12.0\Team Tools\Static Analysis Tools\Rule Sets - ;$(ProgramFiles)\Microsoft Visual Studio 12.0\Team Tools\Static Analysis Tools\FxCop\Rules - true - MSSharedLibKey.snk - true - true - false - true - - - - False - ..\..\packages\Microsoft.Azure.Management.Resources.2.7.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - - - ..\..\packages\Microsoft.Data.Edm.5.6.0\lib\net40\Microsoft.Data.Edm.dll - - - ..\..\packages\Microsoft.Data.OData.5.6.0\lib\net40\Microsoft.Data.OData.dll - - - ..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - - - False - ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - - - False - ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll - - - 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 - - - False - ..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - - ..\..\packages\Microsoft.WindowsAzure.Common.1.4.1\lib\net45\Microsoft.WindowsAzure.Common.dll - - - ..\..\packages\Microsoft.WindowsAzure.Common.1.4.1\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll - - - ..\..\packages\Microsoft.WindowsAzure.Management.2.1.0\lib\net40\Microsoft.WindowsAzure.Management.dll - - - ..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll - True - - - - - - - False - ..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Extensions.dll - - - False - ..\..\packages\Microsoft.AspNet.WebApi.Client.5.2.2\lib\net45\System.Net.Http.Formatting.dll - - - False - ..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll - - - - - - - - - ..\..\packages\System.Spatial.5.6.0\lib\net40\System.Spatial.dll - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - True - True - Resources.resx - - - - - - - - - - PublicResXFileCodeGenerator - Resources.Designer.cs - - - - - - Designer - - - - - - - - - - \ No newline at end of file diff --git a/src/Common/Azure.Common.Extensions/Common/ProfileClient.cs b/src/Common/Azure.Common.Extensions/Common/ProfileClient.cs deleted file mode 100644 index 968017faa1ae..000000000000 --- a/src/Common/Azure.Common.Extensions/Common/ProfileClient.cs +++ /dev/null @@ -1,1200 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Common.Extensions.Authentication; -using Microsoft.Azure.Common.Extensions.Factories; -using Microsoft.Azure.Common.Extensions.Interfaces; -using Microsoft.Azure.Common.Extensions.Models; -using Microsoft.Azure.Common.Extensions.Properties; -using Microsoft.Azure.Subscriptions; -using Microsoft.WindowsAzure; -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; -using System.Security; -using System.Security.Cryptography.X509Certificates; - -namespace Microsoft.Azure.Common.Extensions -{ - /// - /// Convenience client for azure profile and subscriptions. - /// - public class ProfileClient - { - public static IDataStore DataStore { get; set; } - - public AzureProfile Profile { get; private set; } - - public Action WarningLog; - - public Action DebugLog; - - private void WriteDebugMessage(string message) - { - if (DebugLog != null) - { - DebugLog(message); - } - } - - private void WriteWarningMessage(string message) - { - if (WarningLog != null) - { - WarningLog(message); - } - } - - private static void UpgradeProfile() - { - string oldProfileFilePath = System.IO.Path.Combine(AzureSession.ProfileDirectory, AzureSession.OldProfileFile); - string oldProfileFilePathBackup = System.IO.Path.Combine(AzureSession.ProfileDirectory, AzureSession.OldProfileFileBackup); - string newProfileFilePath = System.IO.Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile); - if (DataStore.FileExists(oldProfileFilePath)) - { - string oldProfilePath = System.IO.Path.Combine(AzureSession.ProfileDirectory, - AzureSession.OldProfileFile); - - try - { - // Try to backup old profile - try - { - DataStore.CopyFile(oldProfilePath, oldProfileFilePathBackup); - } - catch - { - // Ignore any errors here - } - - AzureProfile oldProfile = new AzureProfile(DataStore, oldProfilePath); - - if (DataStore.FileExists(newProfileFilePath)) - { - // Merge profile files - AzureProfile newProfile = new AzureProfile(DataStore, newProfileFilePath); - foreach (var environment in newProfile.Environments.Values) - { - oldProfile.Environments[environment.Name] = environment; - } - foreach (var subscription in newProfile.Subscriptions.Values) - { - oldProfile.Subscriptions[subscription.Id] = subscription; - } - DataStore.DeleteFile(newProfileFilePath); - } - - // If there were no load errors - delete backup file - if (oldProfile.ProfileLoadErrors.Count == 0) - { - try - { - DataStore.DeleteFile(oldProfileFilePathBackup); - } - catch - { - // Give up - } - } - - // Save the profile to the disk - oldProfile.Save(); - - // Rename WindowsAzureProfile.xml to WindowsAzureProfile.json - DataStore.RenameFile(oldProfilePath, newProfileFilePath); - - } - catch - { - // Something really bad happened - try to delete the old profile - try - { - DataStore.DeleteFile(oldProfilePath); - } - catch - { - // Ignore any errors - } - } - } - } - - static ProfileClient() - { - DataStore = new DiskDataStore(); - } - - public ProfileClient() - : this(System.IO.Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile)) - { - - } - - public ProfileClient(string profilePath) - { - try - { - ProfileClient.UpgradeProfile(); - - Profile = new AzureProfile(DataStore, profilePath); - } - catch - { - // Should never fail in constructor - } - - WarningLog = (s) => Debug.WriteLine(s); - } - - #region Account management - - public AzureAccount AddAccountAndLoadSubscriptions(AzureAccount account, AzureEnvironment environment, SecureString password) - { - if (environment == null) - { - throw new ArgumentNullException("environment"); - } - - if (account == null) - { - throw new ArgumentNullException("account"); - } - - var subscriptionsFromServer = ListSubscriptionsFromServer( - account, - environment, - password, - password == null ? ShowDialog.Always : ShowDialog.Never).ToList(); - - // If account id is null the login failed - if (account.Id != null) - { - // Update back Profile.Subscriptions - foreach (var subscription in subscriptionsFromServer) - { - AddOrSetSubscription(subscription); - } - - if (Profile.DefaultSubscription == null) - { - var firstSubscription = Profile.Subscriptions.Values.FirstOrDefault(); - if (firstSubscription != null) - { - SetSubscriptionAsDefault(firstSubscription.Name, firstSubscription.Account); - } - } - - return Profile.Accounts[account.Id]; - } - else - { - return null; - } - } - - public AzureAccount AddOrSetAccount(AzureAccount account) - { - if (account == null) - { - throw new ArgumentNullException("Account needs to be specified.", "account"); - } - - if (Profile.Accounts.ContainsKey(account.Id)) - { - Profile.Accounts[account.Id] = - MergeAccountProperties(account, Profile.Accounts[account.Id]); - } - else - { - Profile.Accounts[account.Id] = account; - } - - // Update in-memory environment - if (AzureSession.CurrentContext != null && AzureSession.CurrentContext.Account != null && - AzureSession.CurrentContext.Account.Id == account.Id) - { - AzureSession.SetCurrentContext(AzureSession.CurrentContext.Subscription, - AzureSession.CurrentContext.Environment, - Profile.Accounts[account.Id]); - } - - return Profile.Accounts[account.Id]; - } - - public AzureAccount GetAccountOrDefault(string accountName) - { - if (string.IsNullOrEmpty(accountName)) - { - return AzureSession.CurrentContext.Account; - } - else if (AzureSession.CurrentContext.Account != null && AzureSession.CurrentContext.Account.Id == accountName) - { - return AzureSession.CurrentContext.Account; - } - else if (Profile.Accounts.ContainsKey(accountName)) - { - return Profile.Accounts[accountName]; - } - else - { - throw new ArgumentException(string.Format("Account with name '{0}' does not exist.", accountName), "accountName"); - } - } - - public AzureAccount GetAccountOrNull(string accountName) - { - if (string.IsNullOrEmpty(accountName)) - { - throw new ArgumentNullException("accountName"); - } - - if (Profile.Accounts.ContainsKey(accountName)) - { - return Profile.Accounts[accountName]; - } - else - { - return null; - } - } - - public AzureAccount GetAccount(string accountName) - { - var account = GetAccountOrNull(accountName); - - if (account == null) - { - throw new ArgumentException(string.Format("Account with name '{0}' does not exist.", accountName), "accountName"); - } - - return account; - } - - public IEnumerable ListAccounts(string accountName) - { - List accounts = new List(); - - if (!string.IsNullOrEmpty(accountName)) - { - if (Profile.Accounts.ContainsKey(accountName)) - { - accounts.Add(Profile.Accounts[accountName]); - } - } - else - { - accounts = Profile.Accounts.Values.ToList(); - } - - return Profile.Accounts.Values; - } - - public AzureAccount RemoveAccount(string accountId) - { - if (string.IsNullOrEmpty(accountId)) - { - throw new ArgumentNullException("User name needs to be specified.", "userName"); - } - - if (!Profile.Accounts.ContainsKey(accountId)) - { - throw new ArgumentException("User name is not valid.", "userName"); - } - - AzureAccount account = Profile.Accounts[accountId]; - Profile.Accounts.Remove(account.Id); - - foreach (AzureSubscription subscription in account.GetSubscriptions(Profile).ToArray()) - { - if (subscription.Account == accountId) - { - AzureAccount remainingAccount = GetSubscriptionAccount(subscription.Id); - // There's no default account to use, remove the subscription. - if (remainingAccount == null) - { - // Warn the user if the removed subscription is the default one. - if (subscription.IsPropertySet(AzureSubscription.Property.Default)) - { - WriteWarningMessage(Resources.RemoveDefaultSubscription); - } - - // Warn the user if the removed subscription is the current one. - if (subscription.Equals(AzureSession.CurrentContext.Subscription)) - { - WriteWarningMessage(Resources.RemoveCurrentSubscription); - AzureSession.SetCurrentContext(null, null, null); - } - - Profile.Subscriptions.Remove(subscription.Id); - } - else - { - subscription.Account = remainingAccount.Id; - AddOrSetSubscription(subscription); - } - } - } - - return account; - } - - private AzureAccount GetSubscriptionAccount(Guid subscriptionId) - { - List accounts = ListSubscriptionAccounts(subscriptionId); - AzureAccount account = accounts.FirstOrDefault(a => a.Type != AzureAccount.AccountType.Certificate); - - if (account != null) - { - // Found a non-certificate account. - return account; - } - - // Use certificate account if its there. - account = accounts.FirstOrDefault(); - - return account; - } - - #endregion - - #region Subscription management - - public AzureSubscription AddOrSetSubscription(AzureSubscription subscription) - { - if (subscription == null) - { - throw new ArgumentNullException("Subscription needs to be specified.", "subscription"); - } - if (subscription.Environment == null) - { - throw new ArgumentNullException("Environment needs to be specified.", "subscription.Environment"); - } - // Validate environment - GetEnvironmentOrDefault(subscription.Environment); - - if (Profile.Subscriptions.ContainsKey(subscription.Id)) - { - Profile.Subscriptions[subscription.Id] = MergeSubscriptionProperties(subscription, Profile.Subscriptions[subscription.Id]); - } - else - { - Debug.Assert(!string.IsNullOrEmpty(subscription.Account)); - if (!Profile.Accounts.ContainsKey(subscription.Account)) - { - throw new KeyNotFoundException(string.Format("The specified account {0} does not exist in profile accounts", subscription.Account)); - } - - Profile.Subscriptions[subscription.Id] = subscription; - } - - // Update in-memory subscription - if (AzureSession.CurrentContext != null && AzureSession.CurrentContext.Subscription != null && - AzureSession.CurrentContext.Subscription.Id == subscription.Id) - { - var account = GetAccountOrDefault(subscription.Account); - var environment = GetEnvironmentOrDefault(subscription.Environment); - AzureSession.SetCurrentContext(Profile.Subscriptions[subscription.Id], environment, account); - } - - return Profile.Subscriptions[subscription.Id]; - } - - public AzureSubscription RemoveSubscription(string name) - { - if (string.IsNullOrEmpty(name)) - { - throw new ArgumentNullException("Subscription name needs to be specified.", "name"); - } - - var subscription = Profile.Subscriptions.Values.FirstOrDefault(s => s.Name == name); - - if (subscription == null) - { - throw new ArgumentException(string.Format(Resources.SubscriptionNameNotFoundMessage, name), "name"); - } - else - { - return RemoveSubscription(subscription.Id); - } - } - - public AzureSubscription RemoveSubscription(Guid id) - { - if (!Profile.Subscriptions.ContainsKey(id)) - { - throw new ArgumentException(string.Format(Resources.SubscriptionIdNotFoundMessage, id), "id"); - } - - var subscription = Profile.Subscriptions[id]; - - if (subscription.IsPropertySet(AzureSubscription.Property.Default)) - { - WriteWarningMessage(Resources.RemoveDefaultSubscription); - } - - // Warn the user if the removed subscription is the current one. - if (AzureSession.CurrentContext.Subscription != null && subscription.Id == AzureSession.CurrentContext.Subscription.Id) - { - WriteWarningMessage(Resources.RemoveCurrentSubscription); - AzureSession.SetCurrentContext(null, null, null); - } - - Profile.Subscriptions.Remove(id); - - // Remove this subscription from its associated AzureAccounts - List accounts = ListSubscriptionAccounts(id); - - foreach (AzureAccount account in accounts) - { - account.RemoveSubscription(id); - if (!account.IsPropertySet(AzureAccount.Property.Subscriptions)) - { - Profile.Accounts.Remove(account.Id); - } - } - - return subscription; - } - - public List RefreshSubscriptions(AzureEnvironment environment) - { - if (environment == null) - { - throw new ArgumentNullException("environment"); - } - - var subscriptionsFromServer = ListSubscriptionsFromServerForAllAccounts(environment); - - // Update back Profile.Subscriptions - foreach (var subscription in subscriptionsFromServer) - { - // Resetting back default account - if (Profile.Subscriptions.ContainsKey(subscription.Id)) - { - subscription.Account = Profile.Subscriptions[subscription.Id].Account; - } - AddOrSetSubscription(subscription); - } - - return Profile.Subscriptions.Values.ToList(); - } - - public AzureSubscription GetSubscription(Guid id) - { - if (Profile.Subscriptions.ContainsKey(id)) - { - return Profile.Subscriptions[id]; - } - else - { - throw new ArgumentException(string.Format(Resources.SubscriptionIdNotFoundMessage, id), "id"); - } - } - - public AzureSubscription GetSubscription(string name) - { - AzureSubscription subscription = Profile.Subscriptions.Values - .FirstOrDefault(s => s.Name.Equals(name, StringComparison.OrdinalIgnoreCase)); - - if (subscription != null) - { - return subscription; - } - else - { - throw new ArgumentException(string.Format(Resources.SubscriptionNameNotFoundMessage, name), "name"); - } - } - - public AzureSubscription SetSubscriptionAsCurrent(string name, string accountName) - { - var subscription = Profile.Subscriptions.Values.FirstOrDefault(s => s.Name == name); - - if (subscription == null) - { - throw new ArgumentException(string.Format(Resources.InvalidSubscriptionName, name), "name"); - } - - return SetSubscriptionAsCurrent(subscription.Id, accountName); - } - - public AzureSubscription SetSubscriptionAsCurrent(Guid id, string accountName) - { - if (Guid.Empty == id) - { - throw new ArgumentNullException("id", string.Format(Resources.InvalidSubscriptionId, id)); - } - - AzureSubscription currentSubscription = null; - var subscription = Profile.Subscriptions.Values.FirstOrDefault(s => s.Id == id); - - if (subscription == null) - { - throw new ArgumentException(string.Format(Resources.InvalidSubscriptionId, id), "id"); - } - else - { - currentSubscription = new AzureSubscription { Id = subscription.Id }; - currentSubscription = MergeSubscriptionProperties(subscription, currentSubscription); - var environment = GetEnvironmentOrDefault(subscription.Environment); - accountName = string.IsNullOrEmpty(accountName) ? subscription.Account : accountName; - var account = GetAccount(accountName); - currentSubscription.Account = account.Id; - AzureSession.SetCurrentContext(currentSubscription, environment, account); - } - - return currentSubscription; - } - - public AzureSubscription SetSubscriptionAsDefault(string name, string accountName) - { - var subscription = Profile.Subscriptions.Values.FirstOrDefault(s => s.Name == name); - - if (subscription == null) - { - throw new ArgumentException(string.Format(Resources.InvalidSubscriptionName, name), "name"); - } - - return SetSubscriptionAsDefault(subscription.Id, accountName); - } - - public AzureSubscription SetSubscriptionAsDefault(Guid id, string accountName) - { - AzureSubscription subscription = SetSubscriptionAsCurrent(id, accountName); - - if (subscription != null) - { - Profile.DefaultSubscription = subscription; - } - - return subscription; - } - - public void ClearAll() - { - Profile.Accounts.Clear(); - Profile.DefaultSubscription = null; - Profile.Environments.Clear(); - Profile.Subscriptions.Clear(); - AzureSession.SetCurrentContext(null, null, null); - Profile.Save(); - - ProtectedFileTokenCache.Instance.Clear(); - } - - public void ClearDefaultSubscription() - { - Profile.DefaultSubscription = null; - } - - public void ImportCertificate(X509Certificate2 certificate) - { - DataStore.AddCertificate(certificate); - } - - public List ListSubscriptionAccounts(Guid subscriptionId) - { - return Profile.Accounts.Where(a => a.Value.HasSubscription(subscriptionId)) - .Select(a => a.Value).ToList(); - } - - public List ImportPublishSettings(string filePath, string environmentName) - { - var subscriptions = ListSubscriptionsFromPublishSettingsFile(filePath, environmentName); - if (subscriptions.Any()) - { - foreach (var subscription in subscriptions) - { - AzureAccount account = new AzureAccount - { - Id = subscription.Account, - Type = AzureAccount.AccountType.Certificate - }; - account.SetOrAppendProperty(AzureAccount.Property.Subscriptions, subscription.Id.ToString()); - AddOrSetAccount(account); - subscription.SetOrAppendProperty(AzureSubscription.Property.SupportedModes, - AzureModule.AzureServiceManagement.ToString()); - - if (!Profile.Subscriptions.ContainsKey(subscription.Id)) - { - AddOrSetSubscription(subscription); - } - - if (Profile.DefaultSubscription == null) - { - Profile.DefaultSubscription = subscription; - } - } - } - return subscriptions; - } - - private List ListSubscriptionsFromPublishSettingsFile(string filePath, string environment) - { - if (string.IsNullOrEmpty(filePath) || !DataStore.FileExists(filePath)) - { - throw new ArgumentException("File path is not valid.", "filePath"); - } - return PublishSettingsImporter.ImportAzureSubscription(DataStore.ReadFileAsStream(filePath), this, environment).ToList(); - } - - private IEnumerable ListSubscriptionsFromServerForAllAccounts(AzureEnvironment environment) - { - // Get all AD accounts and iterate - var accountNames = Profile.Accounts.Keys; - - List subscriptions = new List(); - - foreach (var accountName in accountNames.ToArray()) - { - var account = Profile.Accounts[accountName]; - - if (account.Type != AzureAccount.AccountType.Certificate) - { - subscriptions.AddRange(ListSubscriptionsFromServer(account, environment, null, ShowDialog.Never)); - } - - AddOrSetAccount(account); - } - - if (subscriptions.Any()) - { - return subscriptions; - } - else - { - return new AzureSubscription[0]; - } - } - - private IEnumerable ListSubscriptionsFromServer(AzureAccount account, AzureEnvironment environment, SecureString password, ShowDialog promptBehavior) - { - string[] tenants = null; - try - { - if (!account.IsPropertySet(AzureAccount.Property.Tenants)) - { - tenants = LoadAccountTenants(account, environment, password, promptBehavior); - } - } - catch (AadAuthenticationException aadEx) - { - WriteOrThrowAadExceptionMessage(aadEx); - return new AzureSubscription[0]; - } - - try - { - tenants = tenants ?? account.GetPropertyAsArray(AzureAccount.Property.Tenants); - List mergedSubscriptions = MergeSubscriptions( - ListServiceManagementSubscriptions(account, environment, password, ShowDialog.Never, tenants).ToList(), - ListResourceManagerSubscriptions(account, environment, password, ShowDialog.Never, tenants).ToList()); - - // Set user ID - foreach (var subscription in mergedSubscriptions) - { - account.SetOrAppendProperty(AzureAccount.Property.Subscriptions, subscription.Id.ToString()); - } - - if (mergedSubscriptions.Any()) - { - return mergedSubscriptions; - } - else - { - return new AzureSubscription[0]; - } - } - catch (AadAuthenticationException aadEx) - { - WriteOrThrowAadExceptionMessage(aadEx); - return new AzureSubscription[0]; - } - } - - private string[] LoadAccountTenants(AzureAccount account, AzureEnvironment environment, SecureString password, ShowDialog promptBehavior) - { - var commonTenantToken = AzureSession.AuthenticationFactory.Authenticate(account, environment, - AuthenticationFactory.CommonAdTenant, password, promptBehavior); - - if (environment.IsEndpointSet(AzureEnvironment.Endpoint.ResourceManager)) - { - using (var subscriptionClient = AzureSession.ClientFactory - .CreateCustomClient( - new TokenCloudCredentials(commonTenantToken.AccessToken), - environment.GetEndpointAsUri(AzureEnvironment.Endpoint.ResourceManager))) - { - return subscriptionClient.Tenants.List().TenantIds.Select(ti => ti.TenantId).ToArray(); - } - } - else - { - using (var subscriptionClient = AzureSession.ClientFactory - .CreateCustomClient( - new TokenCloudCredentials(commonTenantToken.AccessToken), - environment.GetEndpointAsUri(AzureEnvironment.Endpoint.ServiceManagement))) - { - var subscriptionListResult = subscriptionClient.Subscriptions.List(); - return subscriptionListResult.Subscriptions.Select(s => s.ActiveDirectoryTenantId).Distinct().ToArray(); - } - } - } - - private List MergeSubscriptions(List subscriptionsList1, - List subscriptionsList2) - { - if (subscriptionsList1 == null) - { - subscriptionsList1 = new List(); - } - if (subscriptionsList2 == null) - { - subscriptionsList2 = new List(); - } - - Dictionary mergedSubscriptions = new Dictionary(); - foreach (var subscription in subscriptionsList1.Concat(subscriptionsList2)) - { - if (mergedSubscriptions.ContainsKey(subscription.Id)) - { - mergedSubscriptions[subscription.Id] = MergeSubscriptionProperties(mergedSubscriptions[subscription.Id], - subscription); - } - else - { - mergedSubscriptions[subscription.Id] = subscription; - } - } - return mergedSubscriptions.Values.ToList(); - } - - private AzureSubscription MergeSubscriptionProperties(AzureSubscription subscription1, AzureSubscription subscription2) - { - if (subscription1 == null || subscription2 == null) - { - throw new ArgumentNullException("subscription1"); - } - if (subscription1.Id != subscription2.Id) - { - throw new ArgumentException("Subscription Ids do not match."); - } - AzureSubscription mergedSubscription = new AzureSubscription - { - Id = subscription1.Id, - Name = subscription1.Name, - Environment = subscription1.Environment, - Account = subscription1.Account ?? subscription2.Account - }; - - // Merge all properties - foreach (AzureSubscription.Property property in Enum.GetValues(typeof(AzureSubscription.Property))) - { - string propertyValue = subscription1.GetProperty(property) ?? subscription2.GetProperty(property); - if (propertyValue != null) - { - mergedSubscription.Properties[property] = propertyValue; - } - } - - // Merge RegisteredResourceProviders - var registeredProviders = subscription1.GetPropertyAsArray(AzureSubscription.Property.RegisteredResourceProviders) - .Union(subscription2.GetPropertyAsArray(AzureSubscription.Property.RegisteredResourceProviders), StringComparer.CurrentCultureIgnoreCase); - - mergedSubscription.SetProperty(AzureSubscription.Property.RegisteredResourceProviders, registeredProviders.ToArray()); - - // Merge SupportedMode - var supportedModes = subscription1.GetPropertyAsArray(AzureSubscription.Property.SupportedModes) - .Union(subscription2.GetPropertyAsArray(AzureSubscription.Property.SupportedModes), StringComparer.CurrentCultureIgnoreCase); - - mergedSubscription.SetProperty(AzureSubscription.Property.SupportedModes, supportedModes.ToArray()); - - // Merge Tenants - var tenants = subscription1.GetPropertyAsArray(AzureSubscription.Property.Tenants) - .Union(subscription2.GetPropertyAsArray(AzureSubscription.Property.Tenants), StringComparer.CurrentCultureIgnoreCase); - - mergedSubscription.SetProperty(AzureSubscription.Property.Tenants, tenants.ToArray()); - - return mergedSubscription; - } - - private AzureEnvironment MergeEnvironmentProperties(AzureEnvironment environment1, AzureEnvironment environment2) - { - if (environment1 == null || environment2 == null) - { - throw new ArgumentNullException("environment1"); - } - if (!string.Equals(environment1.Name, environment2.Name, StringComparison.InvariantCultureIgnoreCase)) - { - throw new ArgumentException("Environment names do not match."); - } - AzureEnvironment mergedEnvironment = new AzureEnvironment - { - Name = environment1.Name - }; - - // Merge all properties - foreach (AzureEnvironment.Endpoint property in Enum.GetValues(typeof(AzureEnvironment.Endpoint))) - { - string propertyValue = environment1.GetEndpoint(property) ?? environment2.GetEndpoint(property); - if (propertyValue != null) - { - mergedEnvironment.Endpoints[property] = propertyValue; - } - } - - return mergedEnvironment; - } - - private AzureAccount MergeAccountProperties(AzureAccount account1, AzureAccount account2) - { - if (account1 == null || account2 == null) - { - throw new ArgumentNullException("account1"); - } - if (!string.Equals(account1.Id, account2.Id, StringComparison.InvariantCultureIgnoreCase)) - { - throw new ArgumentException("Account Ids do not match."); - } - if (account1.Type != account2.Type) - { - throw new ArgumentException("Account1 types do not match."); - } - AzureAccount mergeAccount = new AzureAccount - { - Id = account1.Id, - Type = account1.Type - }; - - // Merge all properties - foreach (AzureAccount.Property property in Enum.GetValues(typeof(AzureAccount.Property))) - { - string propertyValue = account1.GetProperty(property) ?? account2.GetProperty(property); - if (propertyValue != null) - { - mergeAccount.Properties[property] = propertyValue; - } - } - - // Merge Tenants - var tenants = account1.GetPropertyAsArray(AzureAccount.Property.Tenants) - .Union(account2.GetPropertyAsArray(AzureAccount.Property.Tenants), StringComparer.CurrentCultureIgnoreCase); - - mergeAccount.SetProperty(AzureAccount.Property.Tenants, tenants.ToArray()); - - // Merge Subscriptions - var subscriptions = account1.GetPropertyAsArray(AzureAccount.Property.Subscriptions) - .Union(account2.GetPropertyAsArray(AzureAccount.Property.Subscriptions), StringComparer.CurrentCultureIgnoreCase); - - mergeAccount.SetProperty(AzureAccount.Property.Subscriptions, subscriptions.ToArray()); - - return mergeAccount; - } - - private IEnumerable ListResourceManagerSubscriptions(AzureAccount account, AzureEnvironment environment, SecureString password, ShowDialog promptBehavior, string[] tenants) - { - List result = new List(); - - if (!environment.IsEndpointSet(AzureEnvironment.Endpoint.ResourceManager)) - { - return result; - } - - foreach (var tenant in tenants) - { - try - { - var tenantAccount = new AzureAccount(); - CopyAccount(account, tenantAccount); - var tenantToken = AzureSession.AuthenticationFactory.Authenticate(tenantAccount, environment, tenant, password, ShowDialog.Never); - if (string.Equals(tenantAccount.Id, account.Id, StringComparison.InvariantCultureIgnoreCase)) - { - tenantAccount = account; - } - - tenantAccount.SetOrAppendProperty(AzureAccount.Property.Tenants, new string[] { tenant }); - - using (var subscriptionClient = AzureSession.ClientFactory.CreateCustomClient( - new TokenCloudCredentials(tenantToken.AccessToken), - environment.GetEndpointAsUri(AzureEnvironment.Endpoint.ResourceManager))) - { - var subscriptionListResult = subscriptionClient.Subscriptions.List(); - foreach (var subscription in subscriptionListResult.Subscriptions) - { - AzureSubscription psSubscription = new AzureSubscription - { - Id = new Guid(subscription.SubscriptionId), - Name = subscription.DisplayName, - Environment = environment.Name - }; - psSubscription.SetProperty(AzureSubscription.Property.SupportedModes, AzureModule.AzureResourceManager.ToString()); - psSubscription.SetProperty(AzureSubscription.Property.Tenants, tenant); - psSubscription.Account = tenantAccount.Id; - tenantAccount.SetOrAppendProperty(AzureAccount.Property.Subscriptions, new string[] { psSubscription.Id.ToString() }); - result.Add(psSubscription); - } - } - - AddOrSetAccount(tenantAccount); - - } - catch (CloudException cEx) - { - WriteOrThrowAadExceptionMessage(cEx); - } - catch (AadAuthenticationException aadEx) - { - WriteOrThrowAadExceptionMessage(aadEx); - } - } - - return result; - } - - private void CopyAccount(AzureAccount sourceAccount, AzureAccount targetAccount) - { - targetAccount.Id = sourceAccount.Id; - targetAccount.Type = sourceAccount.Type; - } - - private IEnumerable ListServiceManagementSubscriptions(AzureAccount account, AzureEnvironment environment, SecureString password, ShowDialog promptBehavior, string[] tenants) - { - List result = new List(); - - if (!environment.IsEndpointSet(AzureEnvironment.Endpoint.ServiceManagement)) - { - return result; - } - - foreach (var tenant in tenants) - { - try - { - var tenantAccount = new AzureAccount(); - CopyAccount(account, tenantAccount); - var tenantToken = AzureSession.AuthenticationFactory.Authenticate(tenantAccount, environment, tenant, password, ShowDialog.Never); - if (string.Equals(tenantAccount.Id, account.Id, StringComparison.InvariantCultureIgnoreCase)) - { - tenantAccount = account; - } - - tenantAccount.SetOrAppendProperty(AzureAccount.Property.Tenants, new string[] { tenant }); - using (var subscriptionClient = AzureSession.ClientFactory.CreateCustomClient( - new TokenCloudCredentials(tenantToken.AccessToken), - environment.GetEndpointAsUri(AzureEnvironment.Endpoint.ServiceManagement))) - { - var subscriptionListResult = subscriptionClient.Subscriptions.List(); - foreach (var subscription in subscriptionListResult.Subscriptions) - { - // only add the subscription if it's actually in this tenant - if (subscription.ActiveDirectoryTenantId == tenant) - { - AzureSubscription psSubscription = new AzureSubscription - { - Id = new Guid(subscription.SubscriptionId), - Name = subscription.SubscriptionName, - Environment = environment.Name - }; - psSubscription.Properties[AzureSubscription.Property.SupportedModes] = - AzureModule.AzureServiceManagement.ToString(); - psSubscription.SetProperty(AzureSubscription.Property.Tenants, - subscription.ActiveDirectoryTenantId); - psSubscription.Account = tenantAccount.Id; - tenantAccount.SetOrAppendProperty(AzureAccount.Property.Subscriptions, - new string[] { psSubscription.Id.ToString() }); - result.Add(psSubscription); - } - } - } - - AddOrSetAccount(tenantAccount); - } - catch (CloudException cEx) - { - WriteOrThrowAadExceptionMessage(cEx); - } - catch (AadAuthenticationException aadEx) - { - WriteOrThrowAadExceptionMessage(aadEx); - } - } - - return result; - } - - private void WriteOrThrowAadExceptionMessage(AadAuthenticationException aadEx) - { - if (aadEx is AadAuthenticationFailedWithoutPopupException) - { - WriteDebugMessage(aadEx.Message); - } - else if (aadEx is AadAuthenticationCanceledException) - { - WriteWarningMessage(aadEx.Message); - } - else - { - throw aadEx; - } - } - - private void WriteOrThrowAadExceptionMessage(CloudException aadEx) - { - WriteDebugMessage(aadEx.Message); - } - - #endregion - - #region Environment management - - public AzureEnvironment GetEnvironmentOrDefault(string name) - { - if (string.IsNullOrEmpty(name)) - { - return AzureSession.CurrentContext.Environment; - } - else if (AzureSession.CurrentContext.Environment != null && AzureSession.CurrentContext.Environment.Name == name) - { - return AzureSession.CurrentContext.Environment; - } - else if (Profile.Environments.ContainsKey(name)) - { - return Profile.Environments[name]; - } - else - { - throw new ArgumentException(string.Format(Resources.EnvironmentNotFound, name)); - } - } - - public AzureEnvironment GetEnvironment(string name, string serviceEndpoint, string resourceEndpoint) - { - if (serviceEndpoint == null) - { - // Set to invalid value - serviceEndpoint = Guid.NewGuid().ToString(); - } - if (resourceEndpoint == null) - { - // Set to invalid value - resourceEndpoint = Guid.NewGuid().ToString(); - } - if (name != null) - { - if (Profile.Environments.ContainsKey(name)) - { - return Profile.Environments[name]; - } - else if (AzureSession.CurrentContext.Environment != null && - AzureSession.CurrentContext.Environment.Name == name) - { - return AzureSession.CurrentContext.Environment; - } - } - else - { - if (AzureSession.CurrentContext.Environment != null && - (AzureSession.CurrentContext.Environment.IsEndpointSetToValue(AzureEnvironment.Endpoint.ServiceManagement, serviceEndpoint) || - AzureSession.CurrentContext.Environment.IsEndpointSetToValue(AzureEnvironment.Endpoint.ResourceManager, resourceEndpoint))) - { - return AzureSession.CurrentContext.Environment; - } - - return Profile.Environments.Values.FirstOrDefault(e => - e.IsEndpointSetToValue(AzureEnvironment.Endpoint.ServiceManagement, serviceEndpoint) || - e.IsEndpointSetToValue(AzureEnvironment.Endpoint.ResourceManager, resourceEndpoint)); - } - return null; - } - - public List ListEnvironments(string name) - { - if (string.IsNullOrEmpty(name)) - { - return Profile.Environments.Values.ToList(); - } - else if (Profile.Environments.ContainsKey(name)) - { - return new[] { Profile.Environments[name] }.ToList(); - } - else - { - return new AzureEnvironment[0].ToList(); - } - } - - public AzureEnvironment RemoveEnvironment(string name) - { - if (string.IsNullOrEmpty(name)) - { - throw new ArgumentNullException("Environment name needs to be specified.", "name"); - } - if (AzureEnvironment.PublicEnvironments.ContainsKey(name)) - { - throw new ArgumentException(Resources.RemovingDefaultEnvironmentsNotSupported, "name"); - } - - if (Profile.Environments.ContainsKey(name)) - { - var environment = Profile.Environments[name]; - var subscriptions = Profile.Subscriptions.Values.Where(s => s.Environment == name).ToArray(); - foreach (var subscription in subscriptions) - { - RemoveSubscription(subscription.Id); - } - Profile.Environments.Remove(name); - return environment; - } - else - { - throw new ArgumentException(string.Format(Resources.EnvironmentNotFound, name), "name"); - } - } - - public AzureEnvironment AddOrSetEnvironment(AzureEnvironment environment) - { - if (environment == null) - { - throw new ArgumentNullException("Environment needs to be specified.", "environment"); - } - - if (AzureEnvironment.PublicEnvironments.ContainsKey(environment.Name)) - { - throw new ArgumentException(Resources.ChangingDefaultEnvironmentNotSupported, "environment"); - } - - if (Profile.Environments.ContainsKey(environment.Name)) - { - Profile.Environments[environment.Name] = - MergeEnvironmentProperties(environment, Profile.Environments[environment.Name]); - } - else - { - Profile.Environments[environment.Name] = environment; - } - - // Update in-memory environment - if (AzureSession.CurrentContext != null && AzureSession.CurrentContext.Environment != null && - AzureSession.CurrentContext.Environment.Name == environment.Name) - { - AzureSession.SetCurrentContext(AzureSession.CurrentContext.Subscription, - Profile.Environments[environment.Name], - AzureSession.CurrentContext.Account); - } - - return Profile.Environments[environment.Name]; - } - #endregion - } -} \ No newline at end of file diff --git a/src/Common/Azure.Common.Extensions/Common/ProfileData.cs b/src/Common/Azure.Common.Extensions/Common/ProfileData.cs deleted file mode 100644 index 049994759314..000000000000 --- a/src/Common/Azure.Common.Extensions/Common/ProfileData.cs +++ /dev/null @@ -1,266 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Common.Extensions.Models; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Runtime.Serialization; -using System.Text; - -namespace Microsoft.Azure.Common.Extensions -{ - /// - /// This class provides the representation of - /// data loaded and saved into data files - /// for AzureProfile. - /// - [DataContract] - public class ProfileData - { - [DataMember] - public string DefaultEnvironmentName { get; set; } - - [DataMember] - public IEnumerable Environments { get; set; } - - [DataMember] - public IEnumerable Subscriptions { get; set; } - } - - /// - /// This class provides the representation of - /// data loaded and saved into data files for - /// an individual Azure environment - /// - [DataContract] - public class AzureEnvironmentData - { - public AzureEnvironment ToAzureEnvironment() - { - return new AzureEnvironment - { - Name = this.Name, - Endpoints = new Dictionary - { - { AzureEnvironment.Endpoint.ActiveDirectoryServiceEndpointResourceId, this.ActiveDirectoryServiceEndpointResourceId }, - { AzureEnvironment.Endpoint.AdTenant, this.AdTenantUrl }, - { AzureEnvironment.Endpoint.Gallery, this.GalleryEndpoint }, - { AzureEnvironment.Endpoint.ManagementPortalUrl, this.ManagementPortalUrl }, - { AzureEnvironment.Endpoint.PublishSettingsFileUrl, this.PublishSettingsFileUrl }, - { AzureEnvironment.Endpoint.ResourceManager, this.ResourceManagerEndpoint }, - { AzureEnvironment.Endpoint.ServiceManagement, this.ServiceEndpoint }, - { AzureEnvironment.Endpoint.SqlDatabaseDnsSuffix, this.SqlDatabaseDnsSuffix }, - { AzureEnvironment.Endpoint.StorageEndpointSuffix, this.StorageEndpointSuffix }, - } - }; - } - - [DataMember] - public string Name { get; set; } - - [DataMember] - public string PublishSettingsFileUrl { get; set; } - - [DataMember] - public string ServiceEndpoint { get; set; } - - [DataMember] - public string ResourceManagerEndpoint { get; set; } - - [DataMember] - public string ManagementPortalUrl { get; set; } - - [DataMember] - public string StorageEndpointSuffix { get; set; } - - [DataMember] - public string AdTenantUrl { get; set; } - - [DataMember] - public string CommonTenantId { get; set; } - - [DataMember] - public string GalleryEndpoint { get; set; } - - [DataMember] - public string ActiveDirectoryServiceEndpointResourceId { get; set; } - - [DataMember] - public string SqlDatabaseDnsSuffix { get; set; } - - [DataMember] - public string TrafficManagerEndpointSuffix { get; set; } - } - - /// - /// This class provides the representation of data loaded - /// and saved into data file for an individual Azure subscription. - /// - [DataContract] - public class AzureSubscriptionData - { - /// - /// Constructor used by DataContractSerializer - /// - public AzureSubscriptionData() - { - } - - public AzureSubscription ToAzureSubscription(List envs) - { - AzureSubscription subscription = new AzureSubscription(); - try - { - subscription.Id = new Guid(this.SubscriptionId); - } - catch (Exception ex) - { - throw new ArgumentException("Subscription ID is not a valid GUID.", ex); - } - subscription.Name = Name; - - // Logic to detect what is the subscription environment rely's on having ManagementEndpoint (i.e. RDFE endpoint) set already on the subscription - List allEnvs = envs.Union(AzureEnvironment.PublicEnvironments.Values).ToList(); - AzureEnvironment env = allEnvs.FirstOrDefault(e => e.IsEndpointSetToValue(AzureEnvironment.Endpoint.ServiceManagement, this.ManagementEndpoint)); - - if (env != null) - { - subscription.Environment = env.Name; - } - else - { - subscription.Environment = EnvironmentName.AzureCloud; - } - - if (!string.IsNullOrEmpty(this.ManagementCertificate)) - { - subscription.Account = this.ManagementCertificate; - subscription.SetProperty(AzureSubscription.Property.SupportedModes, - AzureModule.AzureServiceManagement.ToString()); - } - - if (!string.IsNullOrEmpty(this.ActiveDirectoryUserId)) - { - subscription.Account = this.ActiveDirectoryUserId; - } - - if (!string.IsNullOrEmpty(this.ActiveDirectoryTenantId)) - { - subscription.SetProperty(AzureSubscription.Property.Tenants, ActiveDirectoryTenantId); - } - - if (this.IsDefault) - { - subscription.SetProperty(AzureSubscription.Property.Default, "True"); - } - - if (!string.IsNullOrEmpty(this.CloudStorageAccount)) - { - subscription.Properties.Add(AzureSubscription.Property.StorageAccount, this.CloudStorageAccount); - } - - if (this.RegisteredResourceProviders.Count() > 0) - { - StringBuilder providers = new StringBuilder(); - subscription.Properties.Add(AzureSubscription.Property.RegisteredResourceProviders, - string.Join(",", RegisteredResourceProviders)); - } - - return subscription; - } - - public IEnumerable ToAzureAccounts() - { - if (!string.IsNullOrEmpty(ActiveDirectoryUserId)) - { - AzureAccount userAccount = new AzureAccount - { - Id = ActiveDirectoryUserId, - Type = AzureAccount.AccountType.User - }; - - userAccount.SetProperty(AzureAccount.Property.Subscriptions, new Guid(this.SubscriptionId).ToString()); - - if (!string.IsNullOrEmpty(ActiveDirectoryTenantId)) - { - userAccount.SetProperty(AzureAccount.Property.Tenants, ActiveDirectoryTenantId); - } - - yield return userAccount; - } - - if (!string.IsNullOrEmpty(ManagementCertificate)) - { - AzureAccount certificateAccount = new AzureAccount - { - Id = ManagementCertificate, - Type = AzureAccount.AccountType.Certificate - }; - - certificateAccount.SetProperty(AzureAccount.Property.Subscriptions, new Guid(this.SubscriptionId).ToString()); - - yield return certificateAccount; - } - } - - [DataMember] - public string Name { get; set; } - - [DataMember] - public string SubscriptionId { get; set; } - - [DataMember] - public string ManagementEndpoint { get; set; } - - [DataMember] - public string ResourceManagerEndpoint { get; set; } - - [DataMember] - public string ActiveDirectoryEndpoint { get; set; } - - [DataMember] - public string ActiveDirectoryTenantId { get; set; } - - [DataMember] - public string ActiveDirectoryUserId { get; set; } - - [DataMember] - public string LoginType { get; set; } - - [DataMember] - public bool IsDefault { get; set; } - - [DataMember] - public string ManagementCertificate { get; set; } - - [DataMember] - public string CloudStorageAccount { get; set; } - - [DataMember] - public IEnumerable RegisteredResourceProviders { get; set; } - - [DataMember] - public string GalleryEndpoint { get; set; } - - [DataMember] - public string ActiveDirectoryServiceEndpointResourceId { get; set; } - - [DataMember] - public string SqlDatabaseDnsSuffix { get; set; } - - [DataMember] - public string TrafficManagerEndpointSuffix { get; set; } - } -} \ No newline at end of file diff --git a/src/Common/Azure.Common.Extensions/Common/PublishSettingsImporter.cs b/src/Common/Azure.Common.Extensions/Common/PublishSettingsImporter.cs deleted file mode 100644 index 2cad598b3159..000000000000 --- a/src/Common/Azure.Common.Extensions/Common/PublishSettingsImporter.cs +++ /dev/null @@ -1,95 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Common.Extensions.Models; -using Microsoft.Azure.Common.Extensions.XmlSchema; -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Security.Cryptography.X509Certificates; -using System.Xml.Serialization; - -namespace Microsoft.Azure.Common.Extensions -{ - /// - /// Class that handles loading publishsettings files - /// and turning them into AzureSubscription objects. - /// - public static class PublishSettingsImporter - { - public static IEnumerable ImportAzureSubscription(Stream stream, ProfileClient azureProfileClient, string environment) - { - var publishData = DeserializePublishData(stream); - PublishDataPublishProfile profile = publishData.Items.Single(); - stream.Close(); - return profile.Subscription.Select(s => PublishSubscriptionToAzureSubscription(azureProfileClient, profile, s, environment)); - } - - private static PublishData DeserializePublishData(Stream stream) - { - var serializer = new XmlSerializer(typeof(PublishData)); - return (PublishData)serializer.Deserialize(stream); - } - - private static AzureSubscription PublishSubscriptionToAzureSubscription( - ProfileClient azureProfileClient, - PublishDataPublishProfile profile, - PublishDataPublishProfileSubscription s, - string environment) - { - var certificate = GetCertificate(profile, s); - - if (string.IsNullOrEmpty(environment)) - { - var azureEnvironment = azureProfileClient.GetEnvironment(environment, s.ServiceManagementUrl ?? profile.Url, null); - if (azureEnvironment != null) - { - environment = azureEnvironment.Name; - } - else - { - environment = EnvironmentName.AzureCloud; - } - } - - return new AzureSubscription - { - Id = new Guid(s.Id), - Name = s.Name, - Environment = environment, - Account = certificate.Thumbprint - }; - } - - private static X509Certificate2 GetCertificate(PublishDataPublishProfile profile, - PublishDataPublishProfileSubscription s) - { - string certificateString; - if (!string.IsNullOrEmpty(s.ManagementCertificate)) - { - certificateString = s.ManagementCertificate; - } - else - { - certificateString = profile.ManagementCertificate; - } - - X509Certificate2 certificate = new X509Certificate2(Convert.FromBase64String(certificateString), string.Empty); - ProfileClient.DataStore.AddCertificate(certificate); - - return certificate; - } - } -} diff --git a/src/Common/Azure.Common.Extensions/Common/RequiredResourceLookup.cs b/src/Common/Azure.Common.Extensions/Common/RequiredResourceLookup.cs deleted file mode 100644 index 4219493b6d8d..000000000000 --- a/src/Common/Azure.Common.Extensions/Common/RequiredResourceLookup.cs +++ /dev/null @@ -1,72 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.WindowsAzure.Common; -using System.Collections.Generic; - -namespace Microsoft.Azure.Common.Extensions -{ - /// - /// This class handles mapping management client types - /// to the corresponding required resource provider names. - /// - internal static class RequiredResourceLookup - { - internal static IList RequiredProvidersForServiceManagement() where T : ServiceClient - { - if (typeof(T).FullName.EndsWith("WebSiteManagementClient")) - { - return new[] { "website" }; - } - - if (typeof(T).FullName.EndsWith("ManagedCacheClient")) - { - return new[] { "cacheservice.Caching" }; - } - - if (typeof(T).FullName.EndsWith("SchedulerManagementClient")) - { - return new[] { "scheduler.jobcollections" }; - } - - return new string[0]; - } - - internal static IList RequiredProvidersForResourceManager() where T : ServiceClient - { - if (typeof(T).FullName.EndsWith("ResourceManagementClient")) - { - return new[] { - "Microsoft.Web", - "microsoft.visualstudio", - "microsoft.insights", - "successbricks.cleardb", - "microsoft.cache", - "Microsoft.KeyVault"}; - } - if (typeof(T).FullName.EndsWith("BatchManagementClient")) - { - return new[] { "microsoft.batch" }; - } - - if (typeof(T).FullName.EndsWith("DataPipelineManagementClient")) - { - return new[] { "Microsoft.DataFactory" }; - } - - - return new string[0]; - } - } -} diff --git a/src/Common/Azure.Common.Extensions/Common/Validate.cs b/src/Common/Azure.Common.Extensions/Common/Validate.cs deleted file mode 100644 index ec24bdea9120..000000000000 --- a/src/Common/Azure.Common.Extensions/Common/Validate.cs +++ /dev/null @@ -1,218 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Common.Extensions.Properties; -using System; -using System.Diagnostics.CodeAnalysis; -using System.IO; -using System.Linq; -using System.Net; -using System.Net.Sockets; -using System.Runtime.InteropServices; - -namespace Microsoft.Azure.Common.Extensions -{ - public static class Validate - { - [Flags] - enum InternetConnectionState : int - { - INTERNET_CONNECTION_MODEM = 0x1, - INTERNET_CONNECTION_LAN = 0x2, - INTERNET_CONNECTION_PROXY = 0x4, - INTERNET_RAS_INSTALLED = 0x10, - INTERNET_CONNECTION_OFFLINE = 0x20, - INTERNET_CONNECTION_CONFIGURED = 0x40 - } - - [SuppressMessage("Microsoft.Design", "CA1060:MovePInvokesToNativeMethodsClass", Justification = "Not necessary for a single p-invoke")] - [DllImport("WININET", CharSet = CharSet.Auto)] - static extern bool InternetGetConnectedState(ref InternetConnectionState lpdwFlags, int dwReserved); - - /// - /// Validates against given string if null or empty. - /// - /// string variable to validate - /// This parameter is used when the validation fails. It can contain actual message to display - /// or parameter name to display with default message - /// Indicates either to use messageData as actual message or parameter name - public static void ValidateStringIsNullOrEmpty(string data, string messageData, bool useDefaultMessage = true) - { - if (string.IsNullOrEmpty(data)) - { - // In this case use messageData parameter as name for null/empty string. - if (useDefaultMessage) - { - throw new ArgumentException(string.Format(Resources.InvalidOrEmptyArgumentMessage, messageData)); - } - else - { - // Use the message provided by the user - throw new ArgumentException(messageData); - } - } - } - - public static void ValidatePathName(string element, string exceptionMessage) - { - if (element.IndexOfAny(Path.GetInvalidPathChars()) != -1) - { - throw new ArgumentException(exceptionMessage); - } - } - - public static void ValidateFileName(string element, string exceptionMessage = null) - { - try - { - string fileName = Path.GetFileName(element); - - if (fileName.IndexOfAny(Path.GetInvalidFileNameChars()) != -1) - { - throw new ArgumentException(exceptionMessage ?? string.Empty); - } - } - catch - { - throw new ArgumentException(exceptionMessage ?? string.Empty); - } - } - - public static void ValidateFileExists(string filePath, string exceptionMessage) - { - if (!FileUtilities.DataStore.FileExists(filePath)) - { - throw new FileNotFoundException(exceptionMessage); - } - } - - public static void ValidateDirectoryExists(string directory, string exceptionMessage = null) - { - string msg = string.Format(Resources.PathDoesNotExist, directory); - - if (!FileUtilities.DataStore.DirectoryExists(directory)) - { - if (!string.IsNullOrEmpty(exceptionMessage)) - { - msg = exceptionMessage; - } - - throw new FileNotFoundException(msg); - } - } - - public static void ValidateNullArgument(object item, string exceptionMessage) - { - if (item == null) - { - throw new ArgumentException(exceptionMessage); - } - } - - public static void ValidateFileExtention(string filePath, string desiredExtention) - { - bool invalidExtension = Convert.ToBoolean(string.Compare(Path.GetExtension(filePath), desiredExtention, true)); - - if (invalidExtension) - { - throw new ArgumentException(string.Format(Resources.InvalidFileExtension, filePath, desiredExtention)); - } - } - - public static void ValidateDnsName(string dnsName, string parameterName) - { - if (Uri.CheckHostName(dnsName) != UriHostNameType.Dns || dnsName.EndsWith("-")) - { - throw new ArgumentException(string.Format(Resources.InvalidDnsName, dnsName, parameterName)); - } - } - - public static void ValidateDnsDoesNotExist(string dnsName) - { - try - { - Dns.GetHostEntry(dnsName); - // Dns does exist throw exception - // - throw new ArgumentException(string.Format(Resources.ServiceNameExists, dnsName)); - } - catch (SocketException) - { - // Dns doesn't exist - } - } - - public static void ValidateInternetConnection() - { - InternetConnectionState flags = 0; - - if (!InternetGetConnectedState(ref flags, 0)) - { - throw new Exception(Resources.NoInternetConnection); - } - } - - public static void HasWhiteCharacter(string text, string exceptionMessage = null) - { - if (text.Any(char.IsWhiteSpace)) - { - throw new ArgumentException(exceptionMessage ?? string.Empty); - } - } - - /// - /// Make validation for given path. - /// - /// Path to validate - /// message to display if this validation failed - public static void ValidatePath(string path, string exceptionMessage) - { - ValidateStringIsNullOrEmpty(path, exceptionMessage, false); - ValidatePathName(path, exceptionMessage); - } - - /// - /// Validates against given directory - /// - /// Directory name - /// Name which you use to identify that directory to user (i.e. AzureSdkDirectory) - public static void ValidateDirectoryFull(string directoryNameOnDisk, string directoryName) - { - BasicFileAndDirectoryValidation(directoryNameOnDisk, directoryName); - ValidateDirectoryExists(directoryNameOnDisk, string.Format(Resources.PathDoesNotExistForElement, directoryName, directoryNameOnDisk)); - } - - private static void BasicFileAndDirectoryValidation(string fullPath, string name) - { - ValidateStringIsNullOrEmpty(fullPath, name); - ValidateFileName(fullPath, Resources.IllegalPath); - string directoryPath = Path.GetDirectoryName(fullPath); - if (!string.IsNullOrEmpty(directoryPath)) - { - ValidatePath(fullPath, Resources.IllegalPath); - } - } - - /// - /// Validates against given file - /// - /// File name - /// Name which you use to identify that directory to user (i.e. Service Settings) - public static void ValidateFileFull(string fileNameOnDisk, string fileName) - { - BasicFileAndDirectoryValidation(fileNameOnDisk, fileName); - ValidateFileExists(fileNameOnDisk, string.Format(Resources.PathDoesNotExistForElement, fileName, fileNameOnDisk)); - } - } -} \ No newline at end of file diff --git a/src/Common/Azure.Common.Extensions/Factories/AuthenticationFactory.cs b/src/Common/Azure.Common.Extensions/Factories/AuthenticationFactory.cs deleted file mode 100644 index b50f7dd74574..000000000000 --- a/src/Common/Azure.Common.Extensions/Factories/AuthenticationFactory.cs +++ /dev/null @@ -1,100 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Common.Extensions.Authentication; -using Microsoft.Azure.Common.Extensions.Models; -using Microsoft.Azure.Common.Extensions.Properties; -using Microsoft.WindowsAzure; -using System; -using System.Linq; -using System.Security; - -namespace Microsoft.Azure.Common.Extensions.Factories -{ - public class AuthenticationFactory : IAuthenticationFactory - { - public const string CommonAdTenant = "Common"; - - public AuthenticationFactory() - { - TokenProvider = new AdalTokenProvider(); - } - - public ITokenProvider TokenProvider { get; set; } - - - public IAccessToken Authenticate(AzureAccount account, AzureEnvironment environment, string tenant, SecureString password, ShowDialog promptBehavior, - AzureEnvironment.Endpoint resourceId = AzureEnvironment.Endpoint.ActiveDirectoryServiceEndpointResourceId) - { - var token = TokenProvider.GetAccessToken(GetAdalConfiguration(environment, tenant, resourceId), promptBehavior, account.Id, password, account.Type); - account.Id = token.UserId; - return token; - } - public SubscriptionCloudCredentials GetSubscriptionCloudCredentials(AzureContext context) - { - if (context.Subscription == null) - { - throw new ApplicationException(Resources.InvalidCurrentSubscription); - } - - if (context.Account == null) - { - throw new ArgumentException(Resources.InvalidSubscriptionState); - } - - if (context.Account.Type == AzureAccount.AccountType.Certificate) - { - var certificate = ProfileClient.DataStore.GetCertificate(context.Account.Id); - return new CertificateCloudCredentials(context.Subscription.Id.ToString(), certificate); - } - - var tenant = context.Subscription.GetPropertyAsArray(AzureSubscription.Property.Tenants) - .Intersect(context.Account.GetPropertyAsArray(AzureAccount.Property.Tenants)) - .FirstOrDefault(); - - if (tenant == null) - { - throw new ArgumentException(Resources.InvalidSubscriptionState); - } - - try - { - var token = Authenticate(context.Account, context.Environment, tenant, null, ShowDialog.Never); - return new AccessTokenCredential(context.Subscription.Id, token); - } - catch (Exception ex) - { - throw new ArgumentException(Resources.InvalidSubscriptionState, ex); - } - } - - - private AdalConfiguration GetAdalConfiguration(AzureEnvironment environment, string tenantId, - AzureEnvironment.Endpoint resourceId) - { - if (environment == null) - { - throw new ArgumentNullException("environment"); - } - var adEndpoint = environment.Endpoints[AzureEnvironment.Endpoint.ActiveDirectory]; - - return new AdalConfiguration - { - AdEndpoint = adEndpoint, - ResourceClientUri = environment.Endpoints[resourceId], - AdDomain = tenantId - }; - } - } -} diff --git a/src/Common/Azure.Common.Extensions/Factories/ClientFactory.cs b/src/Common/Azure.Common.Extensions/Factories/ClientFactory.cs deleted file mode 100644 index 2211cc141c13..000000000000 --- a/src/Common/Azure.Common.Extensions/Factories/ClientFactory.cs +++ /dev/null @@ -1,176 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Common.Extensions.Models; -using Microsoft.Azure.Common.Extensions.Properties; -using Microsoft.WindowsAzure; -using Microsoft.WindowsAzure.Common; -using System; -using System.Collections.Generic; -using System.Net; -using System.Net.Http; -using System.Net.Http.Headers; - -namespace Microsoft.Azure.Common.Extensions.Factories -{ - public class ClientFactory : IClientFactory - { - private static readonly char[] uriPathSeparator = { '/' }; - - private Dictionary actions; - - public ClientFactory() - { - actions = new Dictionary(); - UserAgents = new List(); - } - - public virtual TClient CreateClient(AzureContext context, AzureEnvironment.Endpoint endpoint) where TClient : ServiceClient - { - if (context == null) - { - throw new ApplicationException(Resources.InvalidCurrentSubscription); - } - - SubscriptionCloudCredentials creds = AzureSession.AuthenticationFactory.GetSubscriptionCloudCredentials(context); - TClient client = CreateCustomClient(creds, context.Environment.GetEndpointAsUri(endpoint)); - - foreach (IClientAction action in actions.Values) - { - action.Apply(client, context, endpoint); - } - - return client; - } - - /// - /// TODO: Migrate all code that references this method to use AzureContext - /// - /// - /// - /// - /// - public virtual TClient CreateClient(AzureSubscription subscription, AzureEnvironment.Endpoint endpoint) where TClient : ServiceClient - { - if (subscription == null) - { - throw new ApplicationException(Resources.InvalidCurrentSubscription); - } - - ProfileClient profileClient = new ProfileClient(); - AzureContext context = new AzureContext - { - Subscription = subscription, - Environment = profileClient.GetEnvironmentOrDefault(subscription.Environment), - Account = profileClient.GetAccount(subscription.Account) - }; - - return CreateClient(context, endpoint); - } - - public virtual TClient CreateCustomClient(params object[] parameters) where TClient : ServiceClient - { - List types = new List(); - foreach (object obj in parameters) - { - types.Add(obj.GetType()); - } - - var constructor = typeof(TClient).GetConstructor(types.ToArray()); - - if (constructor == null) - { - throw new InvalidOperationException(string.Format(Resources.InvalidManagementClientType, typeof(TClient).Name)); - } - - TClient client = (TClient)constructor.Invoke(parameters); - - foreach (ProductInfoHeaderValue userAgent in UserAgents) - { - client.UserAgent.Add(userAgent); - } - - return client; - } - - public virtual HttpClient CreateHttpClient(string endpoint, ICredentials credentials) - { - return CreateHttpClient(endpoint, CreateHttpClientHandler(endpoint, credentials)); - } - - public virtual HttpClient CreateHttpClient(string endpoint, HttpMessageHandler effectiveHandler) - { - if (endpoint == null) - { - throw new ArgumentNullException("endpoint"); - } - - Uri serviceAddr = new Uri(endpoint); - HttpClient client = new HttpClient(effectiveHandler) - { - BaseAddress = serviceAddr, - MaxResponseContentBufferSize = 30 * 1024 * 1024 - }; - - client.DefaultRequestHeaders.Accept.Clear(); - - return client; - } - - public static HttpClientHandler CreateHttpClientHandler(string endpoint, ICredentials credentials) - { - if (endpoint == null) - { - throw new ArgumentNullException("endpoint"); - } - - // Set up our own HttpClientHandler and configure it - HttpClientHandler clientHandler = new HttpClientHandler(); - - if (credentials != null) - { - // Set up credentials cache which will handle basic authentication - CredentialCache credentialCache = new CredentialCache(); - - // Get base address without terminating slash - string credentialAddress = new Uri(endpoint).GetLeftPart(UriPartial.Authority).TrimEnd(uriPathSeparator); - - // Add credentials to cache and associate with handler - NetworkCredential networkCredentials = credentials.GetCredential(new Uri(credentialAddress), "Basic"); - credentialCache.Add(new Uri(credentialAddress), "Basic", networkCredentials); - clientHandler.Credentials = credentialCache; - clientHandler.PreAuthenticate = true; - } - - // Our handler is ready - return clientHandler; - } - - public void AddAction(IClientAction action) - { - action.ClientFactory = this; - actions[action.GetType()] = action; - } - - public void RemoveAction(Type actionType) - { - if (actions.ContainsKey(actionType)) - { - actions.Remove(actionType); - } - } - - public List UserAgents { get; set; } - } -} diff --git a/src/Common/Azure.Common.Extensions/Interfaces/IAuthenticationFactory.cs b/src/Common/Azure.Common.Extensions/Interfaces/IAuthenticationFactory.cs deleted file mode 100644 index 77740ca0debe..000000000000 --- a/src/Common/Azure.Common.Extensions/Interfaces/IAuthenticationFactory.cs +++ /dev/null @@ -1,38 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Common.Extensions.Authentication; -using Microsoft.Azure.Common.Extensions.Models; -using Microsoft.WindowsAzure; -using System.Security; - -namespace Microsoft.Azure.Common.Extensions -{ - public interface IAuthenticationFactory - { - /// - /// Returns IAccessToken if authentication succeeds or throws an exception if authentication fails. - /// - /// - /// - /// - /// - /// - /// - IAccessToken Authenticate(AzureAccount account, AzureEnvironment environment, string tenant, SecureString password, ShowDialog promptBehavior, - AzureEnvironment.Endpoint resourceId = AzureEnvironment.Endpoint.ActiveDirectoryServiceEndpointResourceId); - - SubscriptionCloudCredentials GetSubscriptionCloudCredentials(AzureContext context); - } -} diff --git a/src/Common/Azure.Common.Extensions/Interfaces/IClientFactory.cs b/src/Common/Azure.Common.Extensions/Interfaces/IClientFactory.cs deleted file mode 100644 index 87ad3c5810e6..000000000000 --- a/src/Common/Azure.Common.Extensions/Interfaces/IClientFactory.cs +++ /dev/null @@ -1,43 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Common.Extensions.Models; -using Microsoft.WindowsAzure.Common; -using System; -using System.Collections.Generic; -using System.Net; -using System.Net.Http; -using System.Net.Http.Headers; - -namespace Microsoft.Azure.Common.Extensions -{ - public interface IClientFactory - { - TClient CreateClient(AzureContext context, AzureEnvironment.Endpoint endpoint) where TClient : ServiceClient; - - TClient CreateClient(AzureSubscription subscription, AzureEnvironment.Endpoint endpoint) where TClient : ServiceClient; - - TClient CreateCustomClient(params object[] parameters) where TClient : ServiceClient; - - HttpClient CreateHttpClient(string endpoint, ICredentials credentials); - - HttpClient CreateHttpClient(string endpoint, HttpMessageHandler effectiveHandler); - - void AddAction(IClientAction action); - - void RemoveAction(Type actionType); - - List UserAgents { get; set; } - } -} diff --git a/src/Common/Azure.Common.Extensions/Interfaces/IDataStore.cs b/src/Common/Azure.Common.Extensions/Interfaces/IDataStore.cs deleted file mode 100644 index 7d38fea53699..000000000000 --- a/src/Common/Azure.Common.Extensions/Interfaces/IDataStore.cs +++ /dev/null @@ -1,67 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System.IO; -using System.Security.Cryptography.X509Certificates; -using System.Text; - -namespace Microsoft.Azure.Common.Extensions.Interfaces -{ - public interface IDataStore - { - void WriteFile(string path, string contents); - - void WriteFile(string path, string content, Encoding encoding); - - void WriteFile(string path, byte[] contents); - - string ReadFileAsText(string path); - - Stream ReadFileAsStream(string path); - - byte[] ReadFileAsBytes(string path); - - void RenameFile(string oldPath, string newPath); - - void CopyFile(string oldPath, string newPath); - - bool FileExists(string path); - - void DeleteFile(string path); - - void DeleteDirectory(string dir); - - void EmptyDirectory(string dirPath); - - bool DirectoryExists(string path); - - void CreateDirectory(string path); - - string[] GetDirectories(string sourceDirName); - - string[] GetDirectories(string startDirectory, string filePattern, SearchOption options); - - string[] GetFiles(string sourceDirName); - - string[] GetFiles(string startDirectory, string filePattern, SearchOption options); - - FileAttributes GetFileAttributes(string path); - - X509Certificate2 GetCertificate(string thumbprint); - - void AddCertificate(X509Certificate2 cert); - - void RemoveCertificate(string thumbprint); - } -} diff --git a/src/Common/Azure.Common.Extensions/Models/AzureAccount.Methods.cs b/src/Common/Azure.Common.Extensions/Models/AzureAccount.Methods.cs deleted file mode 100644 index a5a3a4a61cb3..000000000000 --- a/src/Common/Azure.Common.Extensions/Models/AzureAccount.Methods.cs +++ /dev/null @@ -1,145 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Common.Extensions.Utilities; -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; - -namespace Microsoft.Azure.Common.Extensions.Models -{ - public partial class AzureAccount - { - public AzureAccount() - { - Properties = new Dictionary(); - } - - public string GetProperty(Property property) - { - return Properties.GetProperty(property); - } - - public string[] GetPropertyAsArray(Property property) - { - return Properties.GetPropertyAsArray(property); - } - - public void SetProperty(Property property, params string[] values) - { - Properties.SetProperty(property, values); - } - - public void SetOrAppendProperty(Property property, params string[] values) - { - Properties.SetOrAppendProperty(property, values); - } - - public bool IsPropertySet(Property property) - { - return Properties.IsPropertySet(property); - } - - public List GetSubscriptions(AzureProfile profile) - { - string subscriptions = string.Empty; - List subscriptionsList = new List(); - if (Properties.ContainsKey(Property.Subscriptions)) - { - subscriptions = Properties[Property.Subscriptions]; - } - - foreach (var subscription in subscriptions.Split(new [] {','}, StringSplitOptions.RemoveEmptyEntries)) - { - try - { - Guid subscriptionId = new Guid(subscription); - Debug.Assert(profile.Subscriptions.ContainsKey(subscriptionId)); - subscriptionsList.Add(profile.Subscriptions[subscriptionId]); - } - catch - { - // Skip - } - } - - return subscriptionsList; - } - - public bool HasSubscription(Guid subscriptionId) - { - bool exists = false; - string subscriptions = GetProperty(Property.Subscriptions); - - if (!string.IsNullOrEmpty(subscriptions)) - { - exists = subscriptions.Contains(subscriptionId.ToString()); - } - - return exists; - } - - public void SetSubscriptions(List subscriptions) - { - if (subscriptions == null || subscriptions.Count == 0) - { - if (Properties.ContainsKey(Property.Subscriptions)) - { - Properties.Remove(Property.Subscriptions); - } - } - else - { - string value = string.Join(",", subscriptions.Select(s => s.Id.ToString())); - Properties[Property.Subscriptions] = value; - } - } - - public void RemoveSubscription(Guid id) - { - if (HasSubscription(id)) - { - var remainingSubscriptions = GetPropertyAsArray(Property.Subscriptions).Where(s => s != id.ToString()).ToArray(); - - if (remainingSubscriptions.Any()) - { - Properties[Property.Subscriptions] = string.Join(",", remainingSubscriptions); - } - else - { - Properties.Remove(Property.Subscriptions); - } - } - } - - public override bool Equals(object obj) - { - var anotherAccount = obj as AzureAccount; - if (anotherAccount == null) - { - return false; - } - else - { - return anotherAccount.Id == Id; - } - } - - public override int GetHashCode() - { - return Id.GetHashCode(); - } - } -} diff --git a/src/Common/Azure.Common.Extensions/Models/AzureEnvironment.Methods.cs b/src/Common/Azure.Common.Extensions/Models/AzureEnvironment.Methods.cs deleted file mode 100644 index a9934d8fd173..000000000000 --- a/src/Common/Azure.Common.Extensions/Models/AzureEnvironment.Methods.cs +++ /dev/null @@ -1,336 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Common.Extensions.Properties; -using Microsoft.Azure.Common.Extensions.Utilities; -using System; -using System.Collections.Generic; - -namespace Microsoft.Azure.Common.Extensions.Models -{ - public partial class AzureEnvironment - { - /// - /// Predefined Microsoft Azure environments - /// - public static Dictionary PublicEnvironments - { - get { return environments; } - } - - private const string storageFormatTemplate = "{{0}}://{{1}}.{0}.{1}/"; - - private string EndpointFormatFor(string service) - { - string suffix = GetEndpointSuffix(AzureEnvironment.Endpoint.StorageEndpointSuffix); - - if (!string.IsNullOrEmpty(suffix)) - { - suffix = string.Format(storageFormatTemplate, service, suffix); - } - - return suffix; - } - - /// - /// The storage service blob endpoint format. - /// - private string StorageBlobEndpointFormat() - { - return EndpointFormatFor("blob"); - } - - /// - /// The storage service queue endpoint format. - /// - private string StorageQueueEndpointFormat() - { - return EndpointFormatFor("queue"); - } - - /// - /// The storage service table endpoint format. - /// - private string StorageTableEndpointFormat() - { - return EndpointFormatFor("table"); - } - - /// - /// The storage service file endpoint format. - /// - private string StorageFileEndpointFormat() - { - return EndpointFormatFor("file"); - } - - private static readonly Dictionary environments = - new Dictionary(StringComparer.InvariantCultureIgnoreCase) - { - { - EnvironmentName.AzureCloud, - new AzureEnvironment - { - Name = EnvironmentName.AzureCloud, - Endpoints = new Dictionary - { - { AzureEnvironment.Endpoint.PublishSettingsFileUrl, AzureEnvironmentConstants.AzurePublishSettingsFileUrl }, - { AzureEnvironment.Endpoint.ServiceManagement, AzureEnvironmentConstants.AzureServiceEndpoint }, - { AzureEnvironment.Endpoint.ResourceManager, AzureEnvironmentConstants.AzureResourceManagerEndpoint }, - { AzureEnvironment.Endpoint.ManagementPortalUrl, AzureEnvironmentConstants.AzureManagementPortalUrl }, - { AzureEnvironment.Endpoint.ActiveDirectory, AzureEnvironmentConstants.AzureActiveDirectoryEndpoint }, - { AzureEnvironment.Endpoint.ActiveDirectoryServiceEndpointResourceId, AzureEnvironmentConstants.AzureServiceEndpoint }, - { AzureEnvironment.Endpoint.StorageEndpointSuffix, AzureEnvironmentConstants.AzureStorageEndpointSuffix }, - { AzureEnvironment.Endpoint.Gallery, AzureEnvironmentConstants.GalleryEndpoint }, - { AzureEnvironment.Endpoint.SqlDatabaseDnsSuffix, AzureEnvironmentConstants.AzureSqlDatabaseDnsSuffix }, - { AzureEnvironment.Endpoint.Graph, AzureEnvironmentConstants.AzureGraphEndpoint }, - { AzureEnvironment.Endpoint.TrafficManagerDnsSuffix, AzureEnvironmentConstants.AzureTrafficManagerDnsSuffix }, - { AzureEnvironment.Endpoint.AzureKeyVaultDnsSuffix, AzureEnvironmentConstants.AzureKeyVaultDnsSuffix }, - { AzureEnvironment.Endpoint.AzureKeyVaultServiceEndpointResourceId, AzureEnvironmentConstants.AzureKeyVaultServiceEndpointResourceId }, - } - } - }, - { - EnvironmentName.AzureChinaCloud, - new AzureEnvironment - { - Name = EnvironmentName.AzureChinaCloud, - Endpoints = new Dictionary - { - { AzureEnvironment.Endpoint.PublishSettingsFileUrl, AzureEnvironmentConstants.ChinaPublishSettingsFileUrl }, - { AzureEnvironment.Endpoint.ServiceManagement, AzureEnvironmentConstants.ChinaServiceEndpoint }, - { AzureEnvironment.Endpoint.ResourceManager, null }, - { AzureEnvironment.Endpoint.ManagementPortalUrl, AzureEnvironmentConstants.ChinaManagementPortalUrl }, - { AzureEnvironment.Endpoint.ActiveDirectory, AzureEnvironmentConstants.ChinaActiveDirectoryEndpoint }, - { AzureEnvironment.Endpoint.ActiveDirectoryServiceEndpointResourceId, AzureEnvironmentConstants.ChinaServiceEndpoint }, - { AzureEnvironment.Endpoint.StorageEndpointSuffix, AzureEnvironmentConstants.ChinaStorageEndpointSuffix }, - { AzureEnvironment.Endpoint.Gallery, null }, - { AzureEnvironment.Endpoint.SqlDatabaseDnsSuffix, AzureEnvironmentConstants.ChinaSqlDatabaseDnsSuffix }, - { AzureEnvironment.Endpoint.Graph, null }, - { AzureEnvironment.Endpoint.TrafficManagerDnsSuffix, AzureEnvironmentConstants.ChinaTrafficManagerDnsSuffix }, - } - } - } - }; - - public Uri GetEndpointAsUri(AzureEnvironment.Endpoint endpoint) - { - if (Endpoints.ContainsKey(endpoint)) - { - return new Uri(Endpoints[endpoint]); - } - - return null; - } - - public string GetEndpoint(AzureEnvironment.Endpoint endpoint) - { - if (Endpoints.ContainsKey(endpoint)) - { - return Endpoints[endpoint]; - } - - return null; - } - - public bool IsEndpointSet(AzureEnvironment.Endpoint endpoint) - { - return Endpoints.IsPropertySet(endpoint); - } - - public bool IsEndpointSetToValue(AzureEnvironment.Endpoint endpoint, string url) - { - if (url == null && !Endpoints.IsPropertySet(endpoint)) - { - return true; - } - if (url != null && Endpoints.IsPropertySet(endpoint)) - { - return GetEndpoint(endpoint) - .Trim(new[] {'/'}) - .Equals(url.Trim(new[] {'/'}), StringComparison.InvariantCultureIgnoreCase); - } - return false; - } - - public string GetEndpointSuffix(AzureEnvironment.Endpoint endpointSuffix) - { - if (Endpoints.ContainsKey(endpointSuffix)) - { - return Endpoints[endpointSuffix]; - } - - return null; - } - - /// - /// Gets the endpoint for storage blob. - /// - /// The account name - /// Use Https when creating the URI. Defaults to true. - /// The fully qualified uri to the blob service - public Uri GetStorageBlobEndpoint(string accountName, bool useHttps = true) - { - return new Uri(string.Format(StorageBlobEndpointFormat(), useHttps ? "https" : "http", accountName)); - } - - /// - /// Gets the endpoint for storage queue. - /// - /// The account name - /// Use Https when creating the URI. Defaults to true. - /// The fully qualified uri to the queue service - public Uri GetStorageQueueEndpoint(string accountName, bool useHttps = true) - { - return new Uri(string.Format(StorageQueueEndpointFormat(), useHttps ? "https" : "http", accountName)); - } - - /// - /// Gets the endpoint for storage table. - /// - /// The account name - /// Use Https when creating the URI. Defaults to true. - /// The fully qualified uri to the table service - public Uri GetStorageTableEndpoint(string accountName, bool useHttps = true) - { - return new Uri(string.Format(StorageTableEndpointFormat(), useHttps ? "https" : "http", accountName)); - } - - /// - /// Gets the endpoint for storage file. - /// - /// The account name - /// Use Https when creating the URI. Defaults to true. - /// The fully qualified uri to the file service - public Uri GetStorageFileEndpoint(string accountName, bool useHttps = true) - { - return new Uri(string.Format(StorageFileEndpointFormat(), useHttps ? "https" : "http", accountName)); - } - - /// - /// Gets the management portal URI with a particular realm suffix if supplied - /// - /// Realm for user's account - /// Url to management portal. - public string GetManagementPortalUrlWithRealm(string realm = null) - { - if (realm != null) - { - realm = string.Format(Resources.PublishSettingsFileRealmFormat, realm); - } - else - { - realm = string.Empty; - } - return GetEndpointAsUri(Endpoint.ManagementPortalUrl) + realm; - } - - /// - /// Get the publish settings file download url with a realm suffix if needed. - /// - /// Realm for user's account - /// Url to publish settings file - public string GetPublishSettingsFileUrlWithRealm(string realm = null) - { - if (realm != null) - { - realm = string.Format(Resources.PublishSettingsFileRealmFormat, realm); - } - else - { - realm = string.Empty; - } - return GetEndpointAsUri(Endpoint.PublishSettingsFileUrl) + realm; - } - - public enum Endpoint - { - ActiveDirectoryServiceEndpointResourceId, - - AdTenant, - - Gallery, - - ManagementPortalUrl, - - ServiceManagement, - - PublishSettingsFileUrl, - - ResourceManager, - - SqlDatabaseDnsSuffix, - - StorageEndpointSuffix, - - ActiveDirectory, - - Graph, - - TrafficManagerDnsSuffix, - - AzureKeyVaultDnsSuffix, - - AzureKeyVaultServiceEndpointResourceId, - } - } - - public static class EnvironmentName - { - public const string AzureCloud = "AzureCloud"; - - public const string AzureChinaCloud = "AzureChinaCloud"; - } - - public static class AzureEnvironmentConstants - { - public const string AzureServiceEndpoint = "https://management.core.windows.net/"; - - public const string ChinaServiceEndpoint = "https://management.core.chinacloudapi.cn/"; - - public const string AzureResourceManagerEndpoint = "https://management.azure.com/"; - - public const string GalleryEndpoint = "https://gallery.azure.com/"; - - public const string AzurePublishSettingsFileUrl = "http://go.microsoft.com/fwlink/?LinkID=301775"; - - public const string ChinaPublishSettingsFileUrl = "http://go.microsoft.com/fwlink/?LinkID=301776"; - - public const string AzureManagementPortalUrl = "http://go.microsoft.com/fwlink/?LinkId=254433"; - - public const string ChinaManagementPortalUrl = "http://go.microsoft.com/fwlink/?LinkId=301902"; - - public const string AzureStorageEndpointSuffix = "core.windows.net"; - - public const string ChinaStorageEndpointSuffix = "core.chinacloudapi.cn"; - - public const string AzureSqlDatabaseDnsSuffix = ".database.windows.net"; - - public const string ChinaSqlDatabaseDnsSuffix = ".database.chinacloudapi.cn"; - - public const string AzureActiveDirectoryEndpoint = "https://login.windows.net/"; - - public const string ChinaActiveDirectoryEndpoint = "https://login.chinacloudapi.cn/"; - - public const string AzureGraphEndpoint = "https://graph.windows.net/"; - - public const string AzureTrafficManagerDnsSuffix = "trafficmanager.net"; - - public const string ChinaTrafficManagerDnsSuffix = "trafficmanager.cn"; - - public const string AzureKeyVaultDnsSuffix = "vault.azure.net"; - - public const string AzureKeyVaultServiceEndpointResourceId = "https://vault.azure.net"; - } -} diff --git a/src/Common/Azure.Common.Extensions/Models/AzureProfile.cs b/src/Common/Azure.Common.Extensions/Models/AzureProfile.cs deleted file mode 100644 index 519dde9279fc..000000000000 --- a/src/Common/Azure.Common.Extensions/Models/AzureProfile.cs +++ /dev/null @@ -1,149 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Common.Extensions.Interfaces; -using Microsoft.WindowsAzure.Common.Internals; -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; - -namespace Microsoft.Azure.Common.Extensions.Models -{ - public sealed class AzureProfile - { - private IDataStore store; - private string profilePath; - private string tokenCacheFile = Path.Combine(AzureSession.ProfileDirectory, AzureSession.TokenCacheFile); - - public AzureProfile() - { - Environments = new Dictionary(StringComparer.InvariantCultureIgnoreCase); - Subscriptions = new Dictionary(); - Accounts = new Dictionary(StringComparer.InvariantCultureIgnoreCase); - } - - public AzureProfile(IDataStore store, string profilePath) - { - this.store = store; - this.profilePath = profilePath; - - Load(); - } - - private void Load() - { - Environments = new Dictionary(StringComparer.InvariantCultureIgnoreCase); - Subscriptions = new Dictionary(); - Accounts = new Dictionary(StringComparer.InvariantCultureIgnoreCase); - ProfileLoadErrors = new List(); - - if (!store.DirectoryExists(AzureSession.ProfileDirectory)) - { - store.CreateDirectory(AzureSession.ProfileDirectory); - } - - if (store.FileExists(profilePath)) - { - string contents = store.ReadFileAsText(profilePath); - - IProfileSerializer serializer; - - if (ParserHelper.IsXml(contents)) - { - serializer = new XmlProfileSerializer(); - if (!serializer.Deserialize(contents, this)) - { - ProfileLoadErrors.AddRange(serializer.DeserializeErrors); - } - } - else if (ParserHelper.IsJson(contents)) - { - serializer = new JsonProfileSerializer(); - if (!serializer.Deserialize(contents, this)) - { - ProfileLoadErrors.AddRange(serializer.DeserializeErrors); - } - } - } - - // Adding predefined environments - foreach (AzureEnvironment env in AzureEnvironment.PublicEnvironments.Values) - { - Environments[env.Name] = env; - } - } - - public void Save() - { - // Removing predefined environments - foreach (string env in AzureEnvironment.PublicEnvironments.Keys) - { - Environments.Remove(env); - } - - JsonProfileSerializer jsonSerializer = new JsonProfileSerializer(); - - string contents = jsonSerializer.Serialize(this); - string diskContents = string.Empty; - if (store.FileExists(profilePath)) - { - diskContents = store.ReadFileAsText(profilePath); - } - - if (diskContents != contents) - { - store.WriteFile(profilePath, contents); - } - } - - public List ProfileLoadErrors { get; private set; } - - public Dictionary Environments { get; set; } - - public Dictionary Subscriptions { get; set; } - - public Dictionary Accounts { get; set; } - - public AzureSubscription DefaultSubscription - { - get - { - return Subscriptions.Values.FirstOrDefault( - s => s.Properties.ContainsKey(AzureSubscription.Property.Default)); - } - - set - { - if (value == null) - { - foreach (var subscription in Subscriptions.Values) - { - subscription.SetProperty(AzureSubscription.Property.Default, null); - } - } - else if (Subscriptions.ContainsKey(value.Id)) - { - foreach (var subscription in Subscriptions.Values) - { - subscription.SetProperty(AzureSubscription.Property.Default, null); - } - - Subscriptions[value.Id].Properties[AzureSubscription.Property.Default] = "True"; - value.Properties[AzureSubscription.Property.Default] = "True"; - } - } - } - } -} diff --git a/src/Common/Azure.Common.Extensions/Models/AzureSubscription.Methods.cs b/src/Common/Azure.Common.Extensions/Models/AzureSubscription.Methods.cs deleted file mode 100644 index 030f50f89f4b..000000000000 --- a/src/Common/Azure.Common.Extensions/Models/AzureSubscription.Methods.cs +++ /dev/null @@ -1,70 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Common.Extensions.Utilities; -using System.Collections.Generic; - -namespace Microsoft.Azure.Common.Extensions.Models -{ - public partial class AzureSubscription - { - public AzureSubscription() - { - Properties = new Dictionary(); - } - - public override int GetHashCode() - { - return Id.GetHashCode(); - } - - public string GetProperty(Property property) - { - return Properties.GetProperty(property); - } - - public string[] GetPropertyAsArray(Property property) - { - return Properties.GetPropertyAsArray(property); - } - - public void SetProperty(Property property, params string[] values) - { - Properties.SetProperty(property, values); - } - - public void SetOrAppendProperty(Property property, params string[] values) - { - Properties.SetOrAppendProperty(property, values); - } - - public bool IsPropertySet(Property property) - { - return Properties.IsPropertySet(property); - } - - public override bool Equals(object obj) - { - var anotherSubscription = obj as AzureSubscription; - if (anotherSubscription == null) - { - return false; - } - else - { - return anotherSubscription.Id == Id; - } - } - } -} diff --git a/src/Common/Azure.Common.Extensions/Models/AzureSubscription.cs b/src/Common/Azure.Common.Extensions/Models/AzureSubscription.cs deleted file mode 100644 index b5d6cb6b73d6..000000000000 --- a/src/Common/Azure.Common.Extensions/Models/AzureSubscription.cs +++ /dev/null @@ -1,57 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; - -namespace Microsoft.Azure.Common.Extensions.Models -{ - public partial class AzureSubscription - { - public Guid Id { get; set; } - - public string Name { get; set; } - - public string Environment { get; set; } - - public string Account { get; set; } - - public Dictionary Properties { get; set; } - - public enum Property - { - /// - /// Comma separated registered resource providers, i.e.: websites,compute,hdinsight - /// - RegisteredResourceProviders, - - /// - /// Comma separated mode names that this subscription supports, i.e.: AzureResourceManager,AzureServiceManagement - /// - SupportedModes, - - /// - /// Associated tenants - /// - Tenants, - - /// - /// If this property existed on the subscription indicates that it's default one. - /// - Default, - - StorageAccount - } - } -} diff --git a/src/Common/Azure.Common.Extensions/Models/DiskDataStore.cs b/src/Common/Azure.Common.Extensions/Models/DiskDataStore.cs deleted file mode 100644 index c42bb358538b..000000000000 --- a/src/Common/Azure.Common.Extensions/Models/DiskDataStore.cs +++ /dev/null @@ -1,181 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Common.Extensions.Interfaces; -using Microsoft.Azure.Common.Extensions.Properties; -using System; -using System.IO; -using System.Security.Cryptography.X509Certificates; -using System.Text; - -namespace Microsoft.Azure.Common.Extensions.Models -{ - public class DiskDataStore : IDataStore - { - public void WriteFile(string path, string contents) - { - File.WriteAllText(path, contents); - } - - public void WriteFile(string path, string contents, Encoding encoding) - { - File.WriteAllText(path, contents, encoding); - } - - public void WriteFile(string path, byte[] contents) - { - File.WriteAllBytes(path, contents); - } - - public string ReadFileAsText(string path) - { - return File.ReadAllText(path); - } - - public byte[] ReadFileAsBytes(string path) - { - return File.ReadAllBytes(path); - } - - public Stream ReadFileAsStream(string path) - { - return File.Open(path, FileMode.Open, FileAccess.Read); - } - - public void RenameFile(string oldPath, string newPath) - { - File.Move(oldPath, newPath); - } - - public void CopyFile(string oldPath, string newPath) - { - File.Copy(oldPath, newPath, true); - } - - public bool FileExists(string path) - { - return File.Exists(path); - } - - public void DeleteFile(string path) - { - File.Delete(path); - } - - public void DeleteDirectory(string dir) - { - Directory.Delete(dir, true); - } - - public void EmptyDirectory(string dirPath) - { - foreach (var filePath in Directory.GetFiles(dirPath)) - { - File.Delete(filePath); - } - } - - public string[] GetFiles(string sourceDirName) - { - return Directory.GetFiles(sourceDirName); - } - - public string[] GetFiles(string startDirectory, string filePattern, SearchOption options) - { - return Directory.GetFiles(startDirectory, filePattern, options); - } - - public FileAttributes GetFileAttributes(string path) - { - return File.GetAttributes(path); - } - - public X509Certificate2 GetCertificate(string thumbprint) - { - if (thumbprint == null) - { - return null; - } - else - { - Validate.ValidateStringIsNullOrEmpty(thumbprint, "certificate thumbprint"); - X509Certificate2Collection certificates; - if (TryFindCertificatesInStore(thumbprint, StoreLocation.CurrentUser, out certificates) || - TryFindCertificatesInStore(thumbprint, StoreLocation.LocalMachine, out certificates)) - { - return certificates[0]; - } - else - { - throw new ArgumentException(string.Format(Resources.CertificateNotFoundInStore, thumbprint)); - } - } - } - - private static bool TryFindCertificatesInStore(string thumbprint, - StoreLocation location, out X509Certificate2Collection certificates) - { - X509Store store = new X509Store(StoreName.My, location); - store.Open(OpenFlags.ReadOnly); - certificates = store.Certificates.Find(X509FindType.FindByThumbprint, thumbprint, false); - store.Close(); - - return certificates.Count > 0; - } - - public void AddCertificate(X509Certificate2 certificate) - { - Validate.ValidateNullArgument(certificate, Resources.InvalidCertificate); - X509Store store = new X509Store(StoreName.My, StoreLocation.CurrentUser); - store.Open(OpenFlags.ReadWrite); - store.Add(certificate); - store.Close(); - } - - public void RemoveCertificate(string thumbprint) - { - if (thumbprint != null) - { - var certificate = GetCertificate(thumbprint); - if (certificate != null) - { - X509Store store = new X509Store(StoreName.My, StoreLocation.CurrentUser); - store.Open(OpenFlags.ReadWrite); - store.Remove(certificate); - store.Close(); - } - } - } - - public bool DirectoryExists(string path) - { - return Directory.Exists(path); - } - - public void CreateDirectory(string path) - { - Directory.CreateDirectory(path); - } - - public string[] GetDirectories(string sourceDirName) - { - return Directory.GetDirectories(sourceDirName); - } - - public string[] GetDirectories(string startDirectory, string filePattern, SearchOption options) - { - return Directory.GetDirectories(startDirectory, filePattern, options); - } - } -} diff --git a/src/Common/Azure.Common.Extensions/Models/IClientAction.cs b/src/Common/Azure.Common.Extensions/Models/IClientAction.cs deleted file mode 100644 index e05ff570b7b0..000000000000 --- a/src/Common/Azure.Common.Extensions/Models/IClientAction.cs +++ /dev/null @@ -1,25 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.WindowsAzure.Common; - -namespace Microsoft.Azure.Common.Extensions.Models -{ - public interface IClientAction - { - IClientFactory ClientFactory { get; set; } - - void Apply(TClient client, AzureContext context, AzureEnvironment.Endpoint endpoint) where TClient : ServiceClient; - } -} diff --git a/src/Common/Azure.Common.Extensions/Models/JsonProfileSerializer.cs b/src/Common/Azure.Common.Extensions/Models/JsonProfileSerializer.cs deleted file mode 100644 index 29ddb1c1400c..000000000000 --- a/src/Common/Azure.Common.Extensions/Models/JsonProfileSerializer.cs +++ /dev/null @@ -1,92 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Common.Extensions.Interfaces; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; -using System; -using System.Collections.Generic; -using System.Linq; - -namespace Microsoft.Azure.Common.Extensions.Models -{ - public class JsonProfileSerializer : IProfileSerializer - { - public string Serialize(AzureProfile profile) - { - return JsonConvert.SerializeObject(new - { - Environments = profile.Environments.Values.ToList(), - Subscriptions = profile.Subscriptions.Values.ToList(), - Accounts = profile.Accounts.Values.ToList() - }, Formatting.Indented); - } - - public bool Deserialize(string contents, AzureProfile profile) - { - DeserializeErrors = new List(); - - try - { - var jsonProfile = JObject.Parse(contents); - - foreach (var env in jsonProfile["Environments"]) - { - try - { - profile.Environments[(string) env["Name"]] = - JsonConvert.DeserializeObject(env.ToString()); - } - catch (Exception ex) - { - DeserializeErrors.Add(ex.Message); - } - } - - foreach (var subscription in jsonProfile["Subscriptions"]) - { - try - { - profile.Subscriptions[new Guid((string) subscription["Id"])] = - JsonConvert.DeserializeObject(subscription.ToString()); - } - catch (Exception ex) - { - DeserializeErrors.Add(ex.Message); - } - } - - foreach (var account in jsonProfile["Accounts"]) - { - try - { - profile.Accounts[(string) account["Id"]] = - JsonConvert.DeserializeObject(account.ToString()); - } - catch (Exception ex) - { - DeserializeErrors.Add(ex.Message); - } - } - } - catch (Exception ex) - { - DeserializeErrors.Add(ex.Message); - } - return DeserializeErrors.Count == 0; - } - - public IList DeserializeErrors { get; private set; } - } -} diff --git a/src/Common/Azure.Common.Extensions/Models/RPRegistrationAction.cs b/src/Common/Azure.Common.Extensions/Models/RPRegistrationAction.cs deleted file mode 100644 index 1d8cc5ce350a..000000000000 --- a/src/Common/Azure.Common.Extensions/Models/RPRegistrationAction.cs +++ /dev/null @@ -1,138 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Management.Resources; -using Microsoft.WindowsAzure; -using Microsoft.WindowsAzure.Common; -using Microsoft.WindowsAzure.Management; -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; -using System.Net; - -namespace Microsoft.Azure.Common.Extensions.Models -{ - public class RPRegistrationAction : IClientAction - { - /// - /// Registers resource providers for Sparta. - /// - /// The client type - private void RegisterResourceManagerProviders(AzureContext context) where T : ServiceClient - { - var providersToRegister = RequiredResourceLookup.RequiredProvidersForResourceManager(); - var registeredProviders = context.Subscription.GetPropertyAsArray(AzureSubscription.Property.RegisteredResourceProviders); - var unregisteredProviders = providersToRegister.Where(p => !registeredProviders.Contains(p)).ToList(); - var successfullyRegisteredProvider = new List(); - SubscriptionCloudCredentials creds = AzureSession.AuthenticationFactory.GetSubscriptionCloudCredentials(context); - - if (unregisteredProviders.Count > 0) - { - using (var client = ClientFactory.CreateCustomClient(creds, context.Environment.GetEndpointAsUri(AzureEnvironment.Endpoint.ResourceManager))) - { - foreach (string provider in unregisteredProviders) - { - try - { - client.Providers.Register(provider); - successfullyRegisteredProvider.Add(provider); - } - catch - { - // Ignore this as the user may not have access to service management endpoint or the provider is already registered - } - } - } - - UpdateSubscriptionRegisteredProviders(context.Subscription, successfullyRegisteredProvider); - } - } - - /// - /// Registers resource providers for RDFE. - /// - /// The client type - private void RegisterServiceManagementProviders(AzureContext context) where T : ServiceClient - { - var credentials = AzureSession.AuthenticationFactory.GetSubscriptionCloudCredentials(context); - var providersToRegister = RequiredResourceLookup.RequiredProvidersForServiceManagement(); - var registeredProviders = context.Subscription.GetPropertyAsArray(AzureSubscription.Property.RegisteredResourceProviders); - var unregisteredProviders = providersToRegister.Where(p => !registeredProviders.Contains(p)).ToList(); - var successfullyRegisteredProvider = new List(); - - if (unregisteredProviders.Count > 0) - { - using (var client = new ManagementClient(credentials, context.Environment.GetEndpointAsUri(AzureEnvironment.Endpoint.ServiceManagement))) - { - foreach (var provider in unregisteredProviders) - { - try - { - client.Subscriptions.RegisterResource(provider); - } - catch (CloudException ex) - { - if (ex.Response.StatusCode != HttpStatusCode.Conflict && ex.Response.StatusCode != HttpStatusCode.NotFound) - { - // Conflict means already registered, that's OK. - // NotFound means there is no registration support, like Windows Azure Pack. - // Otherwise it's a failure. - throw; - } - } - successfullyRegisteredProvider.Add(provider); - } - } - - UpdateSubscriptionRegisteredProviders(context.Subscription, successfullyRegisteredProvider); - } - } - - private void UpdateSubscriptionRegisteredProviders(AzureSubscription subscription, List providers) - { - if (providers != null && providers.Count > 0) - { - subscription.SetOrAppendProperty(AzureSubscription.Property.RegisteredResourceProviders, - providers.ToArray()); - try - { - ProfileClient profileClient = new ProfileClient(); - profileClient.AddOrSetSubscription(subscription); - profileClient.Profile.Save(); - } - catch (KeyNotFoundException) - { - // if using a subscription data file, do not write registration to disk - // long term solution is using -Profile parameter - } - } - } - - public void Apply(TClient client, AzureContext context, AzureEnvironment.Endpoint endpoint) where TClient : ServiceClient - { - Debug.Assert(ClientFactory != null); - - if (endpoint == AzureEnvironment.Endpoint.ServiceManagement) - { - RegisterServiceManagementProviders(context); - } - else if (endpoint == AzureEnvironment.Endpoint.ResourceManager) - { - RegisterResourceManagerProviders(context); - } - } - - public IClientFactory ClientFactory { get; set; } - } -} diff --git a/src/Common/Azure.Common.Extensions/Models/XmlProfileSerializer.cs b/src/Common/Azure.Common.Extensions/Models/XmlProfileSerializer.cs deleted file mode 100644 index f7290949bbfd..000000000000 --- a/src/Common/Azure.Common.Extensions/Models/XmlProfileSerializer.cs +++ /dev/null @@ -1,96 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Common.Extensions.Interfaces; -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.IO; -using System.Linq; -using System.Runtime.Serialization; -using System.Text; - -namespace Microsoft.Azure.Common.Extensions.Models -{ - public class XmlProfileSerializer : IProfileSerializer - { - public string Serialize(AzureProfile obj) - { - // We do not use the serialize for xml serializer anymore and rely solely on the JSON serializer. - throw new NotImplementedException(); - } - - public bool Deserialize(string contents, AzureProfile profile) - { - ProfileData data = null; - Debug.Assert(profile != null); - - DeserializeErrors = new List(); - - DataContractSerializer serializer = new DataContractSerializer(typeof(ProfileData)); - using (MemoryStream s = new MemoryStream(Encoding.UTF8.GetBytes(contents ?? ""))) - { - data = (ProfileData)serializer.ReadObject(s); - } - - if (data != null) - { - foreach (AzureEnvironmentData oldEnv in data.Environments) - { - profile.Environments[oldEnv.Name] = oldEnv.ToAzureEnvironment(); - } - - List envs = profile.Environments.Values.ToList(); - foreach (AzureSubscriptionData oldSubscription in data.Subscriptions) - { - try - { - var newSubscription = oldSubscription.ToAzureSubscription(envs); - if (newSubscription.Account == null) - { - continue; - } - - var newAccounts = oldSubscription.ToAzureAccounts(); - foreach (var account in newAccounts) - { - if (profile.Accounts.ContainsKey(account.Id)) - { - profile.Accounts[account.Id].SetOrAppendProperty(AzureAccount.Property.Tenants, - account.GetPropertyAsArray(AzureAccount.Property.Tenants)); - profile.Accounts[account.Id].SetOrAppendProperty(AzureAccount.Property.Subscriptions, - account.GetPropertyAsArray(AzureAccount.Property.Subscriptions)); - } - else - { - profile.Accounts[account.Id] = account; - } - } - - profile.Subscriptions[newSubscription.Id] = newSubscription; - } - catch (Exception ex) - { - // Skip subscription if failed to load - DeserializeErrors.Add(ex.Message); - } - } - } - - return DeserializeErrors.Count == 0; - } - - public IList DeserializeErrors { get; private set; } - } -} diff --git a/src/Common/Azure.Common.Extensions/Properties/Resources.Designer.cs b/src/Common/Azure.Common.Extensions/Properties/Resources.Designer.cs deleted file mode 100644 index 4254763922a4..000000000000 --- a/src/Common/Azure.Common.Extensions/Properties/Resources.Designer.cs +++ /dev/null @@ -1,4272 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.34014 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Microsoft.Azure.Common.Extensions.Properties -{ - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - public class Resources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - 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.Common.Extensions.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - public static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to The remote server returned an error: (401) Unauthorized.. - /// - public static string AccessDeniedExceptionMessage { - get { - return ResourceManager.GetString("AccessDeniedExceptionMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Account id doesn't match one in subscription.. - /// - public static string AccountIdDoesntMatchSubscription { - get { - return ResourceManager.GetString("AccountIdDoesntMatchSubscription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Account "{0}" has been added.. - /// - public static string AddAccountAdded { - get { - return ResourceManager.GetString("AddAccountAdded", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to To switch to a different subscription, please use Select-AzureSubscription.. - /// - public static string AddAccountChangeSubscription { - get { - return ResourceManager.GetString("AddAccountChangeSubscription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Skipping external tenant {0}, because you are using a guest or a foreign principal object identity. In order to access this tenant, please run Add-AzureAccount without "-Credential".. - /// - public static string AddAccountNonInteractiveGuestOrFpo { - get { - return ResourceManager.GetString("AddAccountNonInteractiveGuestOrFpo", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Subscription "{0}" is selected as the default subscription.. - /// - public static string AddAccountShowDefaultSubscription { - get { - return ResourceManager.GetString("AddAccountShowDefaultSubscription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to To view all the subscriptions, please use Get-AzureSubscription.. - /// - public static string AddAccountViewSubscriptions { - get { - return ResourceManager.GetString("AddAccountViewSubscriptions", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Add-On {0} is created successfully.. - /// - public static string AddOnCreatedMessage { - get { - return ResourceManager.GetString("AddOnCreatedMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Add-on name {0} is already used.. - /// - public static string AddOnNameAlreadyUsed { - get { - return ResourceManager.GetString("AddOnNameAlreadyUsed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Add-On {0} not found.. - /// - public static string AddOnNotFound { - get { - return ResourceManager.GetString("AddOnNotFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Add-on {0} is removed successfully.. - /// - public static string AddOnRemovedMessage { - get { - return ResourceManager.GetString("AddOnRemovedMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Add-On {0} is updated successfully.. - /// - public static string AddOnUpdatedMessage { - get { - return ResourceManager.GetString("AddOnUpdatedMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Role has been created at {0}\{1}.. - /// - public static string AddRoleMessageCreate { - get { - return ResourceManager.GetString("AddRoleMessageCreate", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Role has been created at {0}\{1}. For easy access to Microsoft Azure services from your application code, install the Microsoft Azure client library for Node.js by running ‘npm install azure’.. - /// - public static string AddRoleMessageCreateNode { - get { - return ResourceManager.GetString("AddRoleMessageCreateNode", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Role has been created at {0}\{1}. For easy access to Microsoft Azure services from your application code, install the Microsoft Azure client library for PHP by running "pear Azure/Azure".. - /// - public static string AddRoleMessageCreatePHP { - get { - return ResourceManager.GetString("AddRoleMessageCreatePHP", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Role has been created at {0}\{1}. For easy access to Microsoft Azure services from your application code, install the Microsoft Azure client library for Python by running "pip Azure".. - /// - public static string AddRoleMessageCreatePython { - get { - return ResourceManager.GetString("AddRoleMessageCreatePython", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unable to set role permissions. Please give the 'Network Service' user 'Read & execute' and 'Modify' permissions to the role folder, or run PowerShell as an Administrator. - /// - public static string AddRoleMessageInsufficientPermissions { - get { - return ResourceManager.GetString("AddRoleMessageInsufficientPermissions", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A role name '{0}' already exists. - /// - public static string AddRoleMessageRoleExists { - get { - return ResourceManager.GetString("AddRoleMessageRoleExists", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Profile {0} already has an endpoint with name {1}. - /// - public static string AddTrafficManagerEndpointFailed { - get { - return ResourceManager.GetString("AddTrafficManagerEndpointFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Windows Azure Powershell\. - /// - public static string AzureDirectory { - get { - return ResourceManager.GetString("AzureDirectory", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Windows Azure Powershell. - /// - public static string AzureDirectoryName { - get { - return ResourceManager.GetString("AzureDirectoryName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Emulator. - /// - public static string AzureEmulatorDirectory { - get { - return ResourceManager.GetString("AzureEmulatorDirectory", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Azure Emulator is not installed and is required. - /// - public static string AzureEmulatorNotInstalledMessage { - get { - return ResourceManager.GetString("AzureEmulatorNotInstalledMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Azure Emulator\emulator. - /// - public static string AzureEmulatorPathPortion { - get { - return ResourceManager.GetString("AzureEmulatorPathPortion", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to SOFTWARE\Microsoft\Windows Azure Emulator. - /// - public static string AzureEmulatorRegistryKey { - get { - return ResourceManager.GetString("AzureEmulatorRegistryKey", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Azure service management error - ///{0}. - /// - public static string AzureException_WrapExistingError_DetailedErrorFormat { - get { - return ResourceManager.GetString("AzureException_WrapExistingError_DetailedErrorFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to https://manage.Azure.com. - /// - public static string AzurePortalUrl { - get { - return ResourceManager.GetString("AzurePortalUrl", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to AZURE_PORTAL_URL. - /// - public static string AzurePortalUrlEnv { - get { - return ResourceManager.GetString("AzurePortalUrlEnv", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Azure SDK\{0}\. - /// - public static string AzureSdkDirectory { - get { - return ResourceManager.GetString("AzureSdkDirectory", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to InstallPath. - /// - public static string AzureSdkInstallPathRegistryKeyValue { - get { - return ResourceManager.GetString("AzureSdkInstallPathRegistryKeyValue", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to SOFTWARE\Microsoft\Microsoft SDKs\ServiceHosting. - /// - public static string AzureSdkRegistryKeyName { - get { - return ResourceManager.GetString("AzureSdkRegistryKeyName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The installed Azure SDK version is not supported. Make sure you version is between {0} and {1} inclusive. - /// - public static string AzureSdkVersionNotSupported { - get { - return ResourceManager.GetString("AzureSdkVersionNotSupported", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Azure Authoring Tools are not installed and are required. Installation of Azure SDK for .NET is recommended with Microsoft Web Platform Installer (PI) available at http://www.microsoft.com/web/downloads/platform.aspx.. - /// - public static string AzureToolsNotInstalledMessage { - get { - return ResourceManager.GetString("AzureToolsNotInstalledMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Base Uri was empty.. - /// - public static string BaseUriEmpty { - get { - return ResourceManager.GetString("BaseUriEmpty", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0} begin processing without ParameterSet.. - /// - public static string BeginProcessingWithoutParameterSetLog { - get { - return ResourceManager.GetString("BeginProcessingWithoutParameterSetLog", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0} begin processing with ParameterSet '{1}'.. - /// - public static string BeginProcessingWithParameterSetLog { - get { - return ResourceManager.GetString("BeginProcessingWithParameterSetLog", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Blob with the name {0} already exists in the account.. - /// - public static string BlobAlreadyExistsInTheAccount { - get { - return ResourceManager.GetString("BlobAlreadyExistsInTheAccount", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to https://{0}.blob.core.windows.net/. - /// - public static string BlobEndpointUri { - get { - return ResourceManager.GetString("BlobEndpointUri", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to AZURE_BLOBSTORAGE_TEMPLATE. - /// - public static string BlobEndpointUriEnv { - get { - return ResourceManager.GetString("BlobEndpointUriEnv", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Memcache is already enabled for role '{0}'.. - /// - public static string CacheAlreadyEnabledMessage { - get { - return ResourceManager.GetString("CacheAlreadyEnabledMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to <configuration> - /// <configSections> - /// <section name="dataCacheClients" type="Microsoft.ApplicationServer.Caching.DataCacheClientsSection, Microsoft.ApplicationServer.Caching.Core" allowLocation="true" allowDefinition="Everywhere" /> - /// </configSections> - /// <dataCacheClients> - /// <tracing sinkType="DiagnosticSink" traceLevel="Error" /> - /// <dataCacheClient name="DefaultShimConfig" useLegacyProtocol="false"> - /// <autoDiscover isEnabled="true" identifier="$RoleName$" /> - /// </dataCacheClient> - /// </da [rest of string was truncated]";. - /// - public static string CacheAutoDiscoveryConfig { - get { - return ResourceManager.GetString("CacheAutoDiscoveryConfig", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Microsoft.Azure.Plugins.Caching.ClientDiagnosticLevel. - /// - public static string CacheClientDiagnosticLevelAssemblyName { - get { - return ResourceManager.GetString("CacheClientDiagnosticLevelAssemblyName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to DiagnosticStore. - /// - public static string CacheDiagnosticStoreName { - get { - return ResourceManager.GetString("CacheDiagnosticStoreName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please upgrade the cache runtime of role '{0}' to '{1}' using Set-AzureServiceProjectRole -RoleName {0} -Runtime Cache -Version {1}. - /// - public static string CacheMismatchMessage { - get { - return ResourceManager.GetString("CacheMismatchMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to CACHERUNTIMEURL. - /// - public static string CacheRuntimeUrl { - get { - return ResourceManager.GetString("CacheRuntimeUrl", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to cache. - /// - public static string CacheRuntimeValue { - get { - return ResourceManager.GetString("CacheRuntimeValue", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to CacheRuntimeVersion. - /// - public static string CacheRuntimeVersionKey { - get { - return ResourceManager.GetString("CacheRuntimeVersionKey", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Resources\Scaffolding\Cache. - /// - public static string CacheScaffolding { - get { - return ResourceManager.GetString("CacheScaffolding", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to setup_cache.cmd > cache_log.txt. - /// - public static string CacheStartupCommand { - get { - return ResourceManager.GetString("CacheStartupCommand", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Installing caching version {0} for Role '{1}' (the caching version locally installed is: {2}). - /// - public static string CacheVersionWarningText { - get { - return ResourceManager.GetString("CacheVersionWarningText", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Microsoft.Azure.Plugins.Caching.CacheSizePercentage. - /// - public static string CachingCacheSizePercentageSettingName { - get { - return ResourceManager.GetString("CachingCacheSizePercentageSettingName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Microsoft.Azure.Plugins.Caching.ConfigStoreConnectionString. - /// - public static string CachingConfigStoreConnectionStringSettingName { - get { - return ResourceManager.GetString("CachingConfigStoreConnectionStringSettingName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to DefaultEndpointsProtocol=https;AccountName={0};AccountKey={1}. - /// - public static string CachingConfigStoreConnectionStringSettingValue { - get { - return ResourceManager.GetString("CachingConfigStoreConnectionStringSettingValue", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Caching. - /// - public static string CachingModuleName { - get { - return ResourceManager.GetString("CachingModuleName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot find {0} with name {1}.. - /// - public static string CannotFind { - get { - return ResourceManager.GetString("CannotFind", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Deployment for service {0} with {1} slot doesn't exist. - /// - public static string CannotFindDeployment { - get { - return ResourceManager.GetString("CannotFindDeployment", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Can't find valid Microsoft Azure role in current directory {0}. - /// - public static string CannotFindRole { - get { - return ResourceManager.GetString("CannotFindRole", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to service {0} configuration file (ServiceConfiguration.Cloud.cscfg) is either null or doesn't exist. - /// - public static string CannotFindServiceConfigurationFile { - get { - return ResourceManager.GetString("CannotFindServiceConfigurationFile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid service path! Cannot locate ServiceDefinition.csdef in current folder or parent folders.. - /// - public static string CannotFindServiceRoot { - get { - return ResourceManager.GetString("CannotFindServiceRoot", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The subscription named {0} with id {1} is not currently imported. You must import this subscription before it can be updated.. - /// - public static string CannotUpdateUnknownSubscription { - get { - return ResourceManager.GetString("CannotUpdateUnknownSubscription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to ManagementCertificate. - /// - public static string CertificateElementName { - get { - return ResourceManager.GetString("CertificateElementName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to certificate.pfx. - /// - public static string CertificateFileName { - get { - return ResourceManager.GetString("CertificateFileName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Certificate imported into CurrentUser\My\{0}. - /// - public static string CertificateImportedMessage { - get { - return ResourceManager.GetString("CertificateImportedMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No certificate was found in the certificate store with thumbprint {0}. - /// - public static string CertificateNotFoundInStore { - get { - return ResourceManager.GetString("CertificateNotFoundInStore", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No certificate was found in the certificate store with thumbprint {0}. - /// - public static string CertificateNotFoundInStore1 { - get { - return ResourceManager.GetString("CertificateNotFoundInStore1", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Your account does not have access to the private key for certificate {0}. - /// - public static string CertificatePrivateKeyAccessError { - get { - return ResourceManager.GetString("CertificatePrivateKeyAccessError", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0} {1} deployment for {2} service. - /// - public static string ChangeDeploymentStateWaitMessage { - get { - return ResourceManager.GetString("ChangeDeploymentStateWaitMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cloud service {0} is in {1} state.. - /// - public static string ChangeDeploymentStatusCompleteMessage { - get { - return ResourceManager.GetString("ChangeDeploymentStatusCompleteMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Changing/Removing public environment '{0}' is not allowed.. - /// - public static string ChangePublicEnvironmentMessage { - get { - return ResourceManager.GetString("ChangePublicEnvironmentMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Service {0} is set to value {1}. - /// - public static string ChangeSettingsElementMessage { - get { - return ResourceManager.GetString("ChangeSettingsElementMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Changing public environment is not supported.. - /// - public static string ChangingDefaultEnvironmentNotSupported { - get { - return ResourceManager.GetString("ChangingDefaultEnvironmentNotSupported", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Choose which publish settings file to use:. - /// - public static string ChoosePublishSettingsFile { - get { - return ResourceManager.GetString("ChoosePublishSettingsFile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Microsoft.Azure.Plugins.Caching.ClientDiagnosticLevel. - /// - public static string ClientDiagnosticLevelName { - get { - return ResourceManager.GetString("ClientDiagnosticLevelName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 1. - /// - public static string ClientDiagnosticLevelValue { - get { - return ResourceManager.GetString("ClientDiagnosticLevelValue", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to cloud_package.cspkg. - /// - public static string CloudPackageFileName { - get { - return ResourceManager.GetString("CloudPackageFileName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to ServiceConfiguration.Cloud.cscfg. - /// - public static string CloudServiceConfigurationFileName { - get { - return ResourceManager.GetString("CloudServiceConfigurationFileName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Add-ons for {0}. - /// - public static string CloudServiceDescription { - get { - return ResourceManager.GetString("CloudServiceDescription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Communication could not be established. This could be due to an invalid subscription ID. Note that subscription IDs are case sensitive.. - /// - public static string CommunicationCouldNotBeEstablished { - get { - return ResourceManager.GetString("CommunicationCouldNotBeEstablished", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Complete. - /// - public static string CompleteMessage { - get { - return ResourceManager.GetString("CompleteMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Complete. - /// - public static string CompleteMessage1 { - get { - return ResourceManager.GetString("CompleteMessage1", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to config.json. - /// - public static string ConfigurationFileName { - get { - return ResourceManager.GetString("ConfigurationFileName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to VirtualMachine creation failed.. - /// - public static string CreateFailedErrorMessage { - get { - return ResourceManager.GetString("CreateFailedErrorMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Creating the website failed. If this is the first website for this subscription, please create it using the management portal instead.. - /// - public static string CreateWebsiteFailed { - get { - return ResourceManager.GetString("CreateWebsiteFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to -Credential parameter can only be used with Organization ID credentials. For more information, please refer to http://go.microsoft.com/fwlink/?linkid=331007&clcid=0x409 for more information about the difference between an organizational account and a Microsoft account.. - /// - public static string CredentialOrganizationIdMessage { - get { - return ResourceManager.GetString("CredentialOrganizationIdMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Microsoft.ApplicationServer.Caching.DataCacheClientsSection, Microsoft.ApplicationServer.Caching.Core. - /// - public static string DataCacheClientsType { - get { - return ResourceManager.GetString("DataCacheClientsType", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to //blobcontainer[@datacenter='{0}']. - /// - public static string DatacenterBlobQuery { - get { - return ResourceManager.GetString("DatacenterBlobQuery", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Setting: {0} as the default and current subscription. To view other subscriptions use Get-AzureSubscription. - /// - public static string DefaultAndCurrentSubscription { - get { - return ResourceManager.GetString("DefaultAndCurrentSubscription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to none. - /// - public static string DefaultFileVersion { - get { - return ResourceManager.GetString("DefaultFileVersion", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to There are no hostnames which could be used for validation.. - /// - public static string DefaultHostnamesValidation { - get { - return ResourceManager.GetString("DefaultHostnamesValidation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 8080. - /// - public static string DefaultPort { - get { - return ResourceManager.GetString("DefaultPort", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 1000. - /// - public static string DefaultRoleCachingInMB { - get { - return ResourceManager.GetString("DefaultRoleCachingInMB", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Auto. - /// - public static string DefaultUpgradeMode { - get { - return ResourceManager.GetString("DefaultUpgradeMode", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 80. - /// - public static string DefaultWebPort { - get { - return ResourceManager.GetString("DefaultWebPort", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Delete. - /// - public static string Delete { - get { - return ResourceManager.GetString("Delete", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The {0} slot for service {1} is already in {2} state. - /// - public static string DeploymentAlreadyInState { - get { - return ResourceManager.GetString("DeploymentAlreadyInState", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The deployment in {0} slot for service {1} is removed. - /// - public static string DeploymentRemovedMessage { - get { - return ResourceManager.GetString("DeploymentRemovedMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Microsoft.Azure.Plugins.Caching.DiagnosticLevel. - /// - public static string DiagnosticLevelName { - get { - return ResourceManager.GetString("DiagnosticLevelName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 1. - /// - public static string DiagnosticLevelValue { - get { - return ResourceManager.GetString("DiagnosticLevelValue", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The key to add already exists in the dictionary.. - /// - public static string DictionaryAddAlreadyContainsKey { - get { - return ResourceManager.GetString("DictionaryAddAlreadyContainsKey", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The array index cannot be less than zero.. - /// - public static string DictionaryCopyToArrayIndexLessThanZero { - get { - return ResourceManager.GetString("DictionaryCopyToArrayIndexLessThanZero", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The supplied array does not have enough room to contain the copied elements.. - /// - public static string DictionaryCopyToArrayTooShort { - get { - return ResourceManager.GetString("DictionaryCopyToArrayTooShort", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The provided dns {0} doesn't exist. - /// - public static string DnsDoesNotExist { - get { - return ResourceManager.GetString("DnsDoesNotExist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Microsoft Azure Certificate. - /// - public static string EnableRemoteDesktop_FriendlyCertificateName { - get { - return ResourceManager.GetString("EnableRemoteDesktop_FriendlyCertificateName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Endpoint can't be retrieved for storage account. - /// - public static string EndPointNotFoundForBlobStorage { - get { - return ResourceManager.GetString("EndPointNotFoundForBlobStorage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0} end processing.. - /// - public static string EndProcessingLog { - get { - return ResourceManager.GetString("EndProcessingLog", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to To use Active Directory authentication, you must configure the ActiveDirectoryEndpoint, ActiveDirectoryTenantId, and ActiveDirectorServiceEndpointResourceId for environment of '{0}'. You can configure these properties for this environment using the Set-AzureEnvironment cmdlet.. - /// - public static string EnvironmentDoesNotSupportActiveDirectory { - get { - return ResourceManager.GetString("EnvironmentDoesNotSupportActiveDirectory", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The environment '{0}' already exists.. - /// - public static string EnvironmentExists { - get { - return ResourceManager.GetString("EnvironmentExists", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Environment name doesn't match one in subscription.. - /// - public static string EnvironmentNameDoesntMatchSubscription { - get { - return ResourceManager.GetString("EnvironmentNameDoesntMatchSubscription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The environment name '{0}' is not found.. - /// - public static string EnvironmentNotFound { - get { - return ResourceManager.GetString("EnvironmentNotFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to environments.xml. - /// - public static string EnvironmentsFileName { - get { - return ResourceManager.GetString("EnvironmentsFileName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Error creating VirtualMachine. - /// - public static string ErrorCreatingVirtualMachine { - get { - return ResourceManager.GetString("ErrorCreatingVirtualMachine", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unable to download available runtimes for location '{0}'. - /// - public static string ErrorRetrievingRuntimesForLocation { - get { - return ResourceManager.GetString("ErrorRetrievingRuntimesForLocation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Error updating VirtualMachine. - /// - public static string ErrorUpdatingVirtualMachine { - get { - return ResourceManager.GetString("ErrorUpdatingVirtualMachine", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Your Microsoft Azure credential in the Windows PowerShell session has expired. Please use Add-AzureAccount to login again.. - /// - public static string ExpiredRefreshToken { - get { - return ResourceManager.GetString("ExpiredRefreshToken", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Job Id {0} failed. Error: {1}, ExceptionDetails: {2}. - /// - public static string FailedJobErrorMessage { - get { - return ResourceManager.GetString("FailedJobErrorMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The HTTP request was forbidden with client authentication scheme 'Anonymous'.. - /// - public static string FirstPurchaseErrorMessage { - get { - return ResourceManager.GetString("FirstPurchaseErrorMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This add-on requires you to purchase the first instance through the Microsoft Azure Portal. Subsequent purchases can be performed through PowerShell.. - /// - public static string FirstPurchaseMessage { - get { - return ResourceManager.GetString("FirstPurchaseMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Operation Status:. - /// - public static string GatewayOperationStatus { - get { - return ResourceManager.GetString("GatewayOperationStatus", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Resources\Scaffolding\General. - /// - public static string GeneralScaffolding { - get { - return ResourceManager.GetString("GeneralScaffolding", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Getting all available Microsoft Azure Add-Ons, this may take few minutes.... - /// - public static string GetAllAddOnsWaitMessage { - get { - return ResourceManager.GetString("GetAllAddOnsWaitMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Name{0}Primary Key{0}Seconday Key. - /// - public static string GetStorageKeysHeader { - get { - return ResourceManager.GetString("GetStorageKeysHeader", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Git not found. Please install git and place it in your command line path.. - /// - public static string GitNotFound { - get { - return ResourceManager.GetString("GitNotFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Could not find publish settings. Please run Import-AzurePublishSettingsFile.. - /// - public static string GlobalSettingsManager_Load_PublishSettingsNotFound { - get { - return ResourceManager.GetString("GlobalSettingsManager_Load_PublishSettingsNotFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Could not find publish settings. Please run Import-AzurePublishSettingsFile.. - /// - public static string GlobalSettingsManager_Load_PublishSettingsNotFound1 { - get { - return ResourceManager.GetString("GlobalSettingsManager_Load_PublishSettingsNotFound1", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to iisnode.dll. - /// - public static string IISNodeDll { - get { - return ResourceManager.GetString("IISNodeDll", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to iisnode. - /// - public static string IISNodeEngineKey { - get { - return ResourceManager.GetString("IISNodeEngineKey", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to iisnode-dev\\release\\x64. - /// - public static string IISNodePath { - get { - return ResourceManager.GetString("IISNodePath", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to iisnode. - /// - public static string IISNodeRuntimeValue { - get { - return ResourceManager.GetString("IISNodeRuntimeValue", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Installing IISNode version {0} in Azure for WebRole '{1}' (the version locally installed is: {2}). - /// - public static string IISNodeVersionWarningText { - get { - return ResourceManager.GetString("IISNodeVersionWarningText", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Illegal characters in path.. - /// - public static string IllegalPath { - get { - return ResourceManager.GetString("IllegalPath", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Illegal characters in path.. - /// - public static string IllegalPath1 { - get { - return ResourceManager.GetString("IllegalPath1", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Internal Server Error. - /// - public static string InternalServerErrorMessage { - get { - return ResourceManager.GetString("InternalServerErrorMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot enable memcach protocol on a cache worker role {0}.. - /// - public static string InvalidCacheRoleName { - get { - return ResourceManager.GetString("InvalidCacheRoleName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid certificate format. Publish settings may be corrupted. Use Get-AzurePublishSettingsFile to download updated settings. - /// - public static string InvalidCertificate { - get { - return ResourceManager.GetString("InvalidCertificate", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid certificate format. Publish settings may be corrupted. Use Get-AzurePublishSettingsFile to download updated settings. - /// - public static string InvalidCertificate1 { - get { - return ResourceManager.GetString("InvalidCertificate1", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid certificate format.. - /// - public static string InvalidCertificateSingle { - get { - return ResourceManager.GetString("InvalidCertificateSingle", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The provided configuration path is invalid or doesn't exist. - /// - public static string InvalidConfigPath { - get { - return ResourceManager.GetString("InvalidConfigPath", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The country name is invalid, please use a valid two character country code, as described in ISO 3166-1 alpha-2.. - /// - public static string InvalidCountryNameMessage { - get { - return ResourceManager.GetString("InvalidCountryNameMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Credential type invalid, only handles '{0}'. - /// - public static string InvalidCredentialType { - get { - return ResourceManager.GetString("InvalidCredentialType", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No current subscription has been designated. Use Select-AzureSubscription -Current <subscriptionName> to set the current subscription.. - /// - public static string InvalidCurrentSubscription { - get { - return ResourceManager.GetString("InvalidCurrentSubscription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The ID of the current subscription is invalid. Use Set-AzureSubscription to fix the subscription ID or use Select-AzureSubscription to use a different subscription.. - /// - public static string InvalidCurrentSubscriptionId { - get { - return ResourceManager.GetString("InvalidCurrentSubscriptionId", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The management certificate of the current subscription is invalid. Use Set-AzureSubscription to fix the management certificate or use Select-AzureSubscription to use a different subscription.. - /// - public static string InvalidCurrentSuscriptionCertificate { - get { - return ResourceManager.GetString("InvalidCurrentSuscriptionCertificate", 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 Deployment with {0} does not exist. - /// - public static string InvalidDeployment { - get { - return ResourceManager.GetString("InvalidDeployment", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The deployment slot name {0} is invalid. Slot name must be either "Staging" or "Production".. - /// - public static string InvalidDeploymentSlot { - get { - return ResourceManager.GetString("InvalidDeploymentSlot", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to "{0}" is an invalid DNS name for {1}. - /// - public static string InvalidDnsName { - get { - return ResourceManager.GetString("InvalidDnsName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid service endpoint.. - /// - public static string InvalidEndpoint { - get { - return ResourceManager.GetString("InvalidEndpoint", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The provided file in {0} must be have {1} extension. - /// - public static string InvalidFileExtension { - get { - return ResourceManager.GetString("InvalidFileExtension", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File {0} has invalid characters. - /// - public static string InvalidFileName { - get { - return ResourceManager.GetString("InvalidFileName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You must create your git publishing credentials using the Microsoft Azure portal. - ///Please follow these steps in the portal: - ///1. On the left side open "Web Sites" - ///2. Click on any website - ///3. Choose "Setup Git Publishing" or "Reset deployment credentials" - ///4. Back in the PowerShell window, rerun this command by typing "New-AzureWebSite {site name} -Git -PublishingUsername {username}. - /// - public static string InvalidGitCredentials { - get { - return ResourceManager.GetString("InvalidGitCredentials", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The value {0} provided is not a valid GUID. Please provide a valid GUID.. - /// - public static string InvalidGuid { - get { - return ResourceManager.GetString("InvalidGuid", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The specified hostname does not exist. Please specify a valid hostname for the site.. - /// - public static string InvalidHostnameValidation { - get { - return ResourceManager.GetString("InvalidHostnameValidation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Role {0} instances must be greater than or equal 0 and less than or equal 20. - /// - public static string InvalidInstancesCount { - get { - return ResourceManager.GetString("InvalidInstancesCount", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to There was an error creating your webjob. Please make sure that the script is in the root folder of the zip file.. - /// - public static string InvalidJobFile { - get { - return ResourceManager.GetString("InvalidJobFile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot create instance of management client type {0}. It does not have the expected constructor.. - /// - public static string InvalidManagementClientType { - get { - return ResourceManager.GetString("InvalidManagementClientType", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Could not download a valid runtime manifest, Please check your internet connection and try again.. - /// - public static string InvalidManifestError { - get { - return ResourceManager.GetString("InvalidManifestError", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The account {0} was not found. Please specify a valid account name.. - /// - public static string InvalidMediaServicesAccount { - get { - return ResourceManager.GetString("InvalidMediaServicesAccount", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The provided name "{0}" does not match the service bus namespace naming rules.. - /// - public static string InvalidNamespaceName { - get { - return ResourceManager.GetString("InvalidNamespaceName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Value cannot be null. Parameter name: '{0}'. - /// - public static string InvalidNullArgument { - get { - return ResourceManager.GetString("InvalidNullArgument", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0} is invalid or empty. - /// - public static string InvalidOrEmptyArgumentMessage { - get { - return ResourceManager.GetString("InvalidOrEmptyArgumentMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The provided package path is invalid or doesn't exist. - /// - public static string InvalidPackagePath { - get { - return ResourceManager.GetString("InvalidPackagePath", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to '{0}' is an invalid parameter set name.. - /// - public static string InvalidParameterSetName { - get { - return ResourceManager.GetString("InvalidParameterSetName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0} doesn't exist in {1} or you've not passed valid value for it. - /// - public static string InvalidPath { - get { - return ResourceManager.GetString("InvalidPath", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Path {0} has invalid characters. - /// - public static string InvalidPathName { - get { - return ResourceManager.GetString("InvalidPathName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The provided publish settings file {0} has invalid content. Please get valid by running cmdlet Get-AzurePublishSettingsFile. - /// - public static string InvalidPublishSettingsSchema { - get { - return ResourceManager.GetString("InvalidPublishSettingsSchema", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The provided publish settings file {0} has invalid content. Please get valid by running cmdlet Get-AzurePublishSettingsFile. - /// - public static string InvalidPublishSettingsSchema1 { - get { - return ResourceManager.GetString("InvalidPublishSettingsSchema1", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The provided role name "{0}" has invalid characters. - /// - public static string InvalidRoleNameMessage { - get { - return ResourceManager.GetString("InvalidRoleNameMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A valid name for the service root folder is required. - /// - public static string InvalidRootNameMessage { - get { - return ResourceManager.GetString("InvalidRootNameMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0} is not a recognized runtime type. - /// - public static string InvalidRuntimeError { - get { - return ResourceManager.GetString("InvalidRuntimeError", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A valid language is required. - /// - public static string InvalidScaffoldingLanguageArg { - get { - return ResourceManager.GetString("InvalidScaffoldingLanguageArg", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No subscription is currently selected. Use Select-Subscription to activate a subscription.. - /// - public static string InvalidSelectedSubscription { - get { - return ResourceManager.GetString("InvalidSelectedSubscription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The provided location "{0}" does not exist in the available locations use Get-AzureSBLocation for listing available locations.. - /// - public static string InvalidServiceBusLocation { - get { - return ResourceManager.GetString("InvalidServiceBusLocation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please provide a service name or run this command from inside a service project directory.. - /// - public static string InvalidServiceName { - get { - return ResourceManager.GetString("InvalidServiceName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You must provide valid value for {0}. - /// - public static string InvalidServiceSettingElement { - get { - return ResourceManager.GetString("InvalidServiceSettingElement", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You must provide valid value for {0}. - /// - public static string InvalidServiceSettingElement1 { - get { - return ResourceManager.GetString("InvalidServiceSettingElement1", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to settings.json is invalid or doesn't exist. - /// - public static string InvalidServiceSettingMessage { - get { - return ResourceManager.GetString("InvalidServiceSettingMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The subscription named '{0}' cannot be found. Use Set-AzureSubscription to initialize the subscription data.. - /// - public static string InvalidSubscription { - get { - return ResourceManager.GetString("InvalidSubscription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The provided subscription id {0} is not valid. - /// - public static string InvalidSubscriptionId { - get { - return ResourceManager.GetString("InvalidSubscriptionId", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Must specify a non-null subscription name.. - /// - public static string InvalidSubscriptionName { - get { - return ResourceManager.GetString("InvalidSubscriptionName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A valid subscription name is required. This can be provided using the -Subscription parameter or by setting the subscription via the Set-AzureSubscription cmdlet. - /// - public static string InvalidSubscriptionNameMessage { - get { - return ResourceManager.GetString("InvalidSubscriptionNameMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The provided subscriptions file {0} has invalid content.. - /// - public static string InvalidSubscriptionsDataSchema { - get { - return ResourceManager.GetString("InvalidSubscriptionsDataSchema", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Your Azure credentials have not been set up or have expired, please run Add-AzureAccount to set up your Azure credentials.. - /// - public static string InvalidSubscriptionState { - get { - return ResourceManager.GetString("InvalidSubscriptionState", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Role {0} VM size should be ExtraSmall, Small, Medium, Large or ExtraLarge.. - /// - public static string InvalidVMSize { - get { - return ResourceManager.GetString("InvalidVMSize", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The web job file must have *.zip extension. - /// - public static string InvalidWebJobFile { - get { - return ResourceManager.GetString("InvalidWebJobFile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Singleton option works for continuous jobs only.. - /// - public static string InvalidWebJobSingleton { - get { - return ResourceManager.GetString("InvalidWebJobSingleton", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The website {0} was not found. Please specify a valid website name.. - /// - public static string InvalidWebsite { - get { - return ResourceManager.GetString("InvalidWebsite", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No job for id: {0} was found.. - /// - public static string JobNotFound { - get { - return ResourceManager.GetString("JobNotFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to engines. - /// - public static string JsonEnginesSectionName { - get { - return ResourceManager.GetString("JsonEnginesSectionName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Scaffolding for this language is not yet supported. - /// - public static string LanguageScaffoldingIsNotSupported { - get { - return ResourceManager.GetString("LanguageScaffoldingIsNotSupported", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Link already established. - /// - public static string LinkAlreadyEstablished { - get { - return ResourceManager.GetString("LinkAlreadyEstablished", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to local_package.csx. - /// - public static string LocalPackageFileName { - get { - return ResourceManager.GetString("LocalPackageFileName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to ServiceConfiguration.Local.cscfg. - /// - public static string LocalServiceConfigurationFileName { - get { - return ResourceManager.GetString("LocalServiceConfigurationFileName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Looking for {0} deployment for {1} cloud service.... - /// - public static string LookingForDeploymentMessage { - get { - return ResourceManager.GetString("LookingForDeploymentMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Looking for cloud service {0}.... - /// - public static string LookingForServiceMessage { - get { - return ResourceManager.GetString("LookingForServiceMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to managementCertificate.pem. - /// - public static string ManagementCertificateFileName { - get { - return ResourceManager.GetString("ManagementCertificateFileName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to ?whr={0}. - /// - public static string ManagementPortalRealmFormat { - get { - return ResourceManager.GetString("ManagementPortalRealmFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to //baseuri. - /// - public static string ManifestBaseUriQuery { - get { - return ResourceManager.GetString("ManifestBaseUriQuery", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to uri. - /// - public static string ManifestBlobUriKey { - get { - return ResourceManager.GetString("ManifestBlobUriKey", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to http://az413943.vo.msecnd.net/node/runtimemanifest_0.7.5.2.xml. - /// - public static string ManifestUri { - get { - return ResourceManager.GetString("ManifestUri", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to v2.5. - /// - public static string MaxSupportAzureSdkVersion { - get { - return ResourceManager.GetString("MaxSupportAzureSdkVersion", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to memcache_default. - /// - public static string MemcacheEndpointName { - get { - return ResourceManager.GetString("MemcacheEndpointName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 11211. - /// - public static string MemcacheEndpointPort { - get { - return ResourceManager.GetString("MemcacheEndpointPort", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to v2.5. - /// - public static string MinSupportAzureSdkVersion { - get { - return ResourceManager.GetString("MinSupportAzureSdkVersion", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Python 2.7 is not installed. Please install it as well as Django 1.4.. - /// - public static string MissingPythonPreReq { - get { - return ResourceManager.GetString("MissingPythonPreReq", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Multiple Add-Ons found holding name {0}. - /// - public static string MultipleAddOnsFoundMessage { - get { - return ResourceManager.GetString("MultipleAddOnsFoundMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Multiple possible publishing users. Please go to the Portal and use the listed deployment user, or click 'set/reset deployment credentials' to set up a new user account, then reurn this cmdlet and specify PublishingUsername.. - /// - public static string MultiplePublishingUsernames { - get { - return ResourceManager.GetString("MultiplePublishingUsernames", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The first publish settings file "{0}" is used. If you want to use another file specify the file name.. - /// - public static string MultiplePublishSettingsFilesFoundMessage { - get { - return ResourceManager.GetString("MultiplePublishSettingsFilesFoundMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Microsoft.Azure.Plugins.Caching.NamedCaches. - /// - public static string NamedCacheSettingName { - get { - return ResourceManager.GetString("NamedCacheSettingName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {"caches":[{"name":"default","policy":{"eviction":{"type":0},"expiration":{"defaultTTL":10,"isExpirable":true,"type":1},"serverNotification":{"isEnabled":false}},"secondaries":0}]}. - /// - public static string NamedCacheSettingValue { - get { - return ResourceManager.GetString("NamedCacheSettingValue", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A publishing username is required. Please specify one using the argument PublishingUsername.. - /// - public static string NeedPublishingUsernames { - get { - return ResourceManager.GetString("NeedPublishingUsernames", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to New Add-On Confirmation. - /// - public static string NewAddOnConformation { - get { - return ResourceManager.GetString("NewAddOnConformation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to By typing "Yes", I (a) authorize Microsoft to charge my current payment method on a monthly basis - ///for the amount indicated at {0} for {1} until my service is cancelled or terminated, and (b) - ///agree to the {2}'s terms of user and privacy statement at {0} and (c) agree to sharing my - ///contact information with {2}.. - /// - public static string NewMicrosoftAddOnMessage { - get { - return ResourceManager.GetString("NewMicrosoftAddOnMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Internal Server Error. This could happen because the namespace name is already used or due to an incorrect location name. Use Get-AzureSBLocation cmdlet to list valid names.. - /// - public static string NewNamespaceErrorMessage { - get { - return ResourceManager.GetString("NewNamespaceErrorMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to By typing "Yes", I (a) authorize Microsoft to charge my current payment method on a monthly basis - ///for the amount indicated at {0} for {1} until my service is cancelled or terminated, and (b) - ///acknowledge the offering is provided by {2}, not Microsoft, and agree to {2}'s terms of - ///use and privacy statement at {0} and (c) agree to sharing my contact information with {2}.. - /// - public static string NewNonMicrosoftAddOnMessage { - get { - return ResourceManager.GetString("NewNonMicrosoftAddOnMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Service has been created at {0}. - /// - public static string NewServiceCreatedMessage { - get { - return ResourceManager.GetString("NewServiceCreatedMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No. - /// - public static string No { - get { - return ResourceManager.GetString("No", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to There is no access token cached for subscription {0}, user id {1}. Use the Add-AzureAccount cmdlet to log in again and get a token for this subscription.. - /// - public static string NoCachedToken { - get { - return ResourceManager.GetString("NoCachedToken", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The service does not have any cache worker roles, add one first by running cmdlet Add-AzureCacheWorkerRole.. - /// - public static string NoCacheWorkerRoles { - get { - return ResourceManager.GetString("NoCacheWorkerRoles", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No clouds available. - /// - public static string NoCloudsAvailable { - get { - return ResourceManager.GetString("NoCloudsAvailable", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to nodejs. - /// - public static string NodeDirectory { - get { - return ResourceManager.GetString("NodeDirectory", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to node. - /// - public static string NodeEngineKey { - get { - return ResourceManager.GetString("NodeEngineKey", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to node.exe. - /// - public static string NodeExe { - get { - return ResourceManager.GetString("NodeExe", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to There is no default subscription set, please set a default subscription by running Set-AzureSubscription -Default <subscription name>. - /// - public static string NoDefaultSubscriptionMessage { - get { - return ResourceManager.GetString("NoDefaultSubscriptionMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Microsoft SDKs\Azure\Nodejs\Nov2011. - /// - public static string NodeModulesPath { - get { - return ResourceManager.GetString("NodeModulesPath", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to nodejs. - /// - public static string NodeProgramFilesFolderName { - get { - return ResourceManager.GetString("NodeProgramFilesFolderName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to node. - /// - public static string NodeRuntimeValue { - get { - return ResourceManager.GetString("NodeRuntimeValue", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Resources\Scaffolding\Node. - /// - public static string NodeScaffolding { - get { - return ResourceManager.GetString("NodeScaffolding", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Microsoft.Azure.Commands.CloudService.ScaffoldingResources.Node. - /// - public static string NodeScaffoldingResources { - get { - return ResourceManager.GetString("NodeScaffoldingResources", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Installing Node version {0} in Azure for Role '{1}' (the Node version locally installed is: {2}). - /// - public static string NodeVersionWarningText { - get { - return ResourceManager.GetString("NodeVersionWarningText", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No, I do not agree. - /// - public static string NoHint { - get { - return ResourceManager.GetString("NoHint", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please connect to internet before executing this cmdlet. - /// - public static string NoInternetConnection { - get { - return ResourceManager.GetString("NoInternetConnection", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please connect to internet before executing this cmdlet. - /// - public static string NoInternetConnection1 { - get { - return ResourceManager.GetString("NoInternetConnection1", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to <NONE>. - /// - public static string None { - get { - return ResourceManager.GetString("None", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No publish settings files with extension *.publishsettings are found in the directory "{0}".. - /// - public static string NoPublishSettingsFilesFoundMessage { - get { - return ResourceManager.GetString("NoPublishSettingsFilesFoundMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to There is no subscription associated with account {0}.. - /// - public static string NoSubscriptionAddedMessage { - get { - return ResourceManager.GetString("NoSubscriptionAddedMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to '{0}' must be a cache worker role. Verify that it has proper cache worker role configuration.. - /// - public static string NotCacheWorkerRole { - get { - return ResourceManager.GetString("NotCacheWorkerRole", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Certificate can't be null.. - /// - public static string NullCertificateMessage { - get { - return ResourceManager.GetString("NullCertificateMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0} could not be null or empty. - /// - public static string NullObjectMessage { - get { - return ResourceManager.GetString("NullObjectMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unable to add a null RoleSettings to {0}. - /// - public static string NullRoleSettingsMessage { - get { - return ResourceManager.GetString("NullRoleSettingsMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unable to add new role to null service definition. - /// - public static string NullServiceDefinitionMessage { - get { - return ResourceManager.GetString("NullServiceDefinitionMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The request offer '{0}' is not found.. - /// - public static string OfferNotFoundMessage { - get { - return ResourceManager.GetString("OfferNotFoundMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Operation "{0}" failed on VM with ID: {1}. - /// - public static string OperationFailedErrorMessage { - get { - return ResourceManager.GetString("OperationFailedErrorMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The REST operation failed with message '{0}' and error code '{1}'. - /// - public static string OperationFailedMessage { - get { - return ResourceManager.GetString("OperationFailedMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Job Id {0} did not complete within expected time or it is in Failed/Canceled/Invalid state.. - /// - public static string OperationTimedOutOrError { - get { - return ResourceManager.GetString("OperationTimedOutOrError", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to package. - /// - public static string Package { - get { - return ResourceManager.GetString("Package", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Package is created at service root path {0}.. - /// - public static string PackageCreated { - get { - return ResourceManager.GetString("PackageCreated", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {{ - /// "author": "", - /// - /// "name": "{0}", - /// "version": "0.0.0", - /// "dependencies":{{}}, - /// "devDependencies":{{}}, - /// "optionalDependencies": {{}}, - /// "engines": {{ - /// "node": "*", - /// "iisnode": "*" - /// }} - /// - ///}} - ///. - /// - public static string PackageJsonDefaultFile { - get { - return ResourceManager.GetString("PackageJsonDefaultFile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to package.json. - /// - public static string PackageJsonFileName { - get { - return ResourceManager.GetString("PackageJsonFileName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Path {0} doesn't exist.. - /// - public static string PathDoesNotExist { - get { - return ResourceManager.GetString("PathDoesNotExist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Path for {0} doesn't exist in {1}.. - /// - public static string PathDoesNotExistForElement { - get { - return ResourceManager.GetString("PathDoesNotExistForElement", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A value for the Peer Asn has to be provided.. - /// - public static string PeerAsnRequired { - get { - return ResourceManager.GetString("PeerAsnRequired", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 5.4.0. - /// - public static string PHPDefaultRuntimeVersion { - get { - return ResourceManager.GetString("PHPDefaultRuntimeVersion", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to php. - /// - public static string PhpRuntimeValue { - get { - return ResourceManager.GetString("PhpRuntimeValue", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Resources\Scaffolding\PHP. - /// - public static string PHPScaffolding { - get { - return ResourceManager.GetString("PHPScaffolding", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Microsoft.Azure.Commands.CloudService.ScaffoldingResources.PHP. - /// - public static string PHPScaffoldingResources { - get { - return ResourceManager.GetString("PHPScaffoldingResources", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Installing PHP version {0} for Role '{1}' (the PHP version locally installed is: {2}). - /// - public static string PHPVersionWarningText { - get { - return ResourceManager.GetString("PHPVersionWarningText", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You must create your first web site using the Microsoft Azure portal. - ///Please follow these steps in the portal: - ///1. At the bottom of the page, click on New > Web Site > Quick Create - ///2. Type {0} in the URL field - ///3. Click on "Create Web Site" - ///4. Once the site has been created, click on the site name - ///5. Click on "Set up Git publishing" or "Reset deployment credentials" and setup a publishing username and password. Use those credentials for all new websites you create.. - /// - public static string PortalInstructions { - get { - return ResourceManager.GetString("PortalInstructions", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 6. Back in the console window, rerun this command by typing "New-AzureWebsite <site name> -Git". - /// - public static string PortalInstructionsGit { - get { - return ResourceManager.GetString("PortalInstructionsGit", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A value for the Primary Peer Subnet has to be provided.. - /// - public static string PrimaryPeerSubnetRequired { - get { - return ResourceManager.GetString("PrimaryPeerSubnetRequired", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Promotion code can be used only when updating to a new plan.. - /// - public static string PromotionCodeWithCurrentPlanMessage { - get { - return ResourceManager.GetString("PromotionCodeWithCurrentPlanMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Service not published at user request.. - /// - public static string PublishAbortedAtUserRequest { - get { - return ResourceManager.GetString("PublishAbortedAtUserRequest", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Complete.. - /// - public static string PublishCompleteMessage { - get { - return ResourceManager.GetString("PublishCompleteMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Connecting.... - /// - public static string PublishConnectingMessage { - get { - return ResourceManager.GetString("PublishConnectingMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Created Deployment ID: {0}.. - /// - public static string PublishCreatedDeploymentMessage { - get { - return ResourceManager.GetString("PublishCreatedDeploymentMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Created hosted service '{0}'.. - /// - public static string PublishCreatedServiceMessage { - get { - return ResourceManager.GetString("PublishCreatedServiceMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Created Website URL: {0}.. - /// - public static string PublishCreatedWebsiteMessage { - get { - return ResourceManager.GetString("PublishCreatedWebsiteMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Creating.... - /// - public static string PublishCreatingServiceMessage { - get { - return ResourceManager.GetString("PublishCreatingServiceMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Initializing.... - /// - public static string PublishInitializingMessage { - get { - return ResourceManager.GetString("PublishInitializingMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to busy. - /// - public static string PublishInstanceStatusBusy { - get { - return ResourceManager.GetString("PublishInstanceStatusBusy", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to creating the virtual machine. - /// - public static string PublishInstanceStatusCreating { - get { - return ResourceManager.GetString("PublishInstanceStatusCreating", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Instance {0} of role {1} is {2}.. - /// - public static string PublishInstanceStatusMessage { - get { - return ResourceManager.GetString("PublishInstanceStatusMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to ready. - /// - public static string PublishInstanceStatusReady { - get { - return ResourceManager.GetString("PublishInstanceStatusReady", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Preparing deployment for {0} with Subscription ID: {1}.... - /// - public static string PublishPreparingDeploymentMessage { - get { - return ResourceManager.GetString("PublishPreparingDeploymentMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Publishing {0} to Microsoft Azure. This may take several minutes.... - /// - public static string PublishServiceStartMessage { - get { - return ResourceManager.GetString("PublishServiceStartMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to publish settings. - /// - public static string PublishSettings { - get { - return ResourceManager.GetString("PublishSettings", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Azure. - /// - public static string PublishSettingsElementName { - get { - return ResourceManager.GetString("PublishSettingsElementName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to .PublishSettings. - /// - public static string PublishSettingsFileExtention { - get { - return ResourceManager.GetString("PublishSettingsFileExtention", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to publishSettings.xml. - /// - public static string PublishSettingsFileName { - get { - return ResourceManager.GetString("PublishSettingsFileName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to &whr={0}. - /// - public static string PublishSettingsFileRealmFormat { - get { - return ResourceManager.GetString("PublishSettingsFileRealmFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Publish settings imported. - /// - public static string PublishSettingsSetSuccessfully { - get { - return ResourceManager.GetString("PublishSettingsSetSuccessfully", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to AZURE_PUBLISHINGPROFILE_URL. - /// - public static string PublishSettingsUrlEnv { - get { - return ResourceManager.GetString("PublishSettingsUrlEnv", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Starting.... - /// - public static string PublishStartingMessage { - get { - return ResourceManager.GetString("PublishStartingMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Upgrading.... - /// - public static string PublishUpgradingMessage { - get { - return ResourceManager.GetString("PublishUpgradingMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Uploading Package to storage service {0}.... - /// - public static string PublishUploadingPackageMessage { - get { - return ResourceManager.GetString("PublishUploadingPackageMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Verifying storage account '{0}'.... - /// - public static string PublishVerifyingStorageMessage { - get { - return ResourceManager.GetString("PublishVerifyingStorageMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Resources\Scaffolding\Python. - /// - public static string PythonScaffolding { - get { - return ResourceManager.GetString("PythonScaffolding", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Replace current deployment with '{0}' Id ?. - /// - public static string RedeployCommit { - get { - return ResourceManager.GetString("RedeployCommit", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to regenerate key?. - /// - public static string RegenerateKeyWarning { - get { - return ResourceManager.GetString("RegenerateKeyWarning", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Generate new key.. - /// - public static string RegenerateKeyWhatIfMessage { - get { - return ResourceManager.GetString("RegenerateKeyWhatIfMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to remove account '{0}'?. - /// - public static string RemoveAccountConfirmation { - get { - return ResourceManager.GetString("RemoveAccountConfirmation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removing account. - /// - public static string RemoveAccountMessage { - get { - return ResourceManager.GetString("RemoveAccountMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove Add-On Confirmation. - /// - public static string RemoveAddOnConformation { - get { - return ResourceManager.GetString("RemoveAddOnConformation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to If you delete this add-on, your data may be deleted and the operation may not be undone. You may have to purchase it again from the Microsoft Azure Store to use it. The price of the add-on may not be refunded. Are you sure you want to delete this add-on? Enter “Yes” to confirm.. - /// - public static string RemoveAddOnMessage { - get { - return ResourceManager.GetString("RemoveAddOnMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove-AzureBGPPeering Operation failed.. - /// - public static string RemoveAzureBGPPeeringFailed { - get { - return ResourceManager.GetString("RemoveAzureBGPPeeringFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removing Bgp Peering. - /// - public static string RemoveAzureBGPPeeringMessage { - get { - return ResourceManager.GetString("RemoveAzureBGPPeeringMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Successfully removed Azure Bgp Peering with Service Key {0}.. - /// - public static string RemoveAzureBGPPeeringSucceeded { - get { - return ResourceManager.GetString("RemoveAzureBGPPeeringSucceeded", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to remove the Bgp Peering with service key '{0}'?. - /// - public static string RemoveAzureBGPPeeringWarning { - get { - return ResourceManager.GetString("RemoveAzureBGPPeeringWarning", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to remove the Dedicated Circuit with service key '{0}'?. - /// - public static string RemoveAzureDedicatdCircuitWarning { - get { - return ResourceManager.GetString("RemoveAzureDedicatdCircuitWarning", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove-AzureDedicatedCircuit Operation failed.. - /// - public static string RemoveAzureDedicatedCircuitFailed { - get { - return ResourceManager.GetString("RemoveAzureDedicatedCircuitFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove-AzureDedicatedCircuitLink Operation failed.. - /// - public static string RemoveAzureDedicatedCircuitLinkFailed { - get { - return ResourceManager.GetString("RemoveAzureDedicatedCircuitLinkFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removing Dedicated Circui Link. - /// - public static string RemoveAzureDedicatedCircuitLinkMessage { - get { - return ResourceManager.GetString("RemoveAzureDedicatedCircuitLinkMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Successfully removed Azure Dedicated Circuit Link with Service Key {0} and Vnet Name {1}. - /// - public static string RemoveAzureDedicatedCircuitLinkSucceeded { - get { - return ResourceManager.GetString("RemoveAzureDedicatedCircuitLinkSucceeded", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to remove the Dedicated Circuit Link with service key '{0}' and virtual network name '{1}'?. - /// - public static string RemoveAzureDedicatedCircuitLinkWarning { - get { - return ResourceManager.GetString("RemoveAzureDedicatedCircuitLinkWarning", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removing Dedicated Circuit. - /// - public static string RemoveAzureDedicatedCircuitMessage { - get { - return ResourceManager.GetString("RemoveAzureDedicatedCircuitMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Successfully removed Azure Dedicated Circuit with Service Key {0}.. - /// - public static string RemoveAzureDedicatedCircuitSucceeded { - get { - return ResourceManager.GetString("RemoveAzureDedicatedCircuitSucceeded", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removing cloud service {0}.... - /// - public static string RemoveAzureServiceWaitMessage { - get { - return ResourceManager.GetString("RemoveAzureServiceWaitMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The current subscription is being removed. Use Select-AzureSubscription <subscriptionName> to select a new current subscription.. - /// - public static string RemoveCurrentSubscription { - get { - return ResourceManager.GetString("RemoveCurrentSubscription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The default subscription is being removed. Use Select-AzureSubscription -Default <subscriptionName> to select a new default subscription.. - /// - public static string RemoveDefaultSubscription { - get { - return ResourceManager.GetString("RemoveDefaultSubscription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removing {0} deployment for {1} service. - /// - public static string RemoveDeploymentWaitMessage { - get { - return ResourceManager.GetString("RemoveDeploymentWaitMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removing an environment will remove all associated subscriptions and accounts. Are you sure you want to remove an environment '{0}'?. - /// - public static string RemoveEnvironmentConfirmation { - get { - return ResourceManager.GetString("RemoveEnvironmentConfirmation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removing environment. - /// - public static string RemoveEnvironmentMessage { - get { - return ResourceManager.GetString("RemoveEnvironmentMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removing job collection. - /// - public static string RemoveJobCollectionMessage { - get { - return ResourceManager.GetString("RemoveJobCollectionMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to remove the job collection "{0}". - /// - public static string RemoveJobCollectionWarning { - get { - return ResourceManager.GetString("RemoveJobCollectionWarning", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removing job. - /// - public static string RemoveJobMessage { - get { - return ResourceManager.GetString("RemoveJobMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to remove the job "{0}". - /// - public static string RemoveJobWarning { - get { - return ResourceManager.GetString("RemoveJobWarning", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to remove the account?. - /// - public static string RemoveMediaAccountWarning { - get { - return ResourceManager.GetString("RemoveMediaAccountWarning", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Account removed.. - /// - public static string RemoveMediaAccountWhatIfMessage { - get { - return ResourceManager.GetString("RemoveMediaAccountWhatIfMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Internal Server Error. This could happen because the namespace does not exist or it does not exist under your subscription.. - /// - public static string RemoveNamespaceErrorMessage { - get { - return ResourceManager.GetString("RemoveNamespaceErrorMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removing old package {0}.... - /// - public static string RemovePackage { - get { - return ResourceManager.GetString("RemovePackage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removing the Azure profile will remove all associated environments, subscriptions, and accounts. Are you sure you want to remove the Azure profile?. - /// - public static string RemoveProfileConfirmation { - get { - return ResourceManager.GetString("RemoveProfileConfirmation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removing the Azure profile. - /// - public static string RemoveProfileMessage { - get { - return ResourceManager.GetString("RemoveProfileMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to delete the namespace '{0}'?. - /// - public static string RemoveServiceBusNamespaceConfirmation { - get { - return ResourceManager.GetString("RemoveServiceBusNamespaceConfirmation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to remove cloud service?. - /// - public static string RemoveServiceWarning { - get { - return ResourceManager.GetString("RemoveServiceWarning", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove cloud service and all it's deployments. - /// - public static string RemoveServiceWhatIfMessage { - get { - return ResourceManager.GetString("RemoveServiceWhatIfMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to remove subscription '{0}'?. - /// - public static string RemoveSubscriptionConfirmation { - get { - return ResourceManager.GetString("RemoveSubscriptionConfirmation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removing subscription. - /// - public static string RemoveSubscriptionMessage { - get { - return ResourceManager.GetString("RemoveSubscriptionMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The endpoint {0} cannot be removed from profile {1} because it's not in the profile.. - /// - public static string RemoveTrafficManagerEndpointMissing { - get { - return ResourceManager.GetString("RemoveTrafficManagerEndpointMissing", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove-AzureTrafficManagerProfile Operation failed.. - /// - public static string RemoveTrafficManagerProfileFailed { - get { - return ResourceManager.GetString("RemoveTrafficManagerProfileFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Successfully removed Traffic Manager profile with name {0}.. - /// - public static string RemoveTrafficManagerProfileSucceeded { - get { - return ResourceManager.GetString("RemoveTrafficManagerProfileSucceeded", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to remove the Traffic Manager profile "{0}"?. - /// - public static string RemoveTrafficManagerProfileWarning { - get { - return ResourceManager.GetString("RemoveTrafficManagerProfileWarning", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to delete the VM '{0}'?. - /// - public static string RemoveVMConfirmationMessage { - get { - return ResourceManager.GetString("RemoveVMConfirmationMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Deleting VM.. - /// - public static string RemoveVMMessage { - get { - return ResourceManager.GetString("RemoveVMMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removing WebJob.... - /// - public static string RemoveWebJobMessage { - get { - return ResourceManager.GetString("RemoveWebJobMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to remove job '{0}'?. - /// - public static string RemoveWebJobWarning { - get { - return ResourceManager.GetString("RemoveWebJobWarning", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removing website. - /// - public static string RemoveWebsiteMessage { - get { - return ResourceManager.GetString("RemoveWebsiteMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to remove the website "{0}". - /// - public static string RemoveWebsiteWarning { - get { - return ResourceManager.GetString("RemoveWebsiteWarning", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Removing public environment is not supported.. - /// - public static string RemovingDefaultEnvironmentsNotSupported { - get { - return ResourceManager.GetString("RemovingDefaultEnvironmentsNotSupported", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Deleting namespace. - /// - public static string RemovingNamespaceMessage { - get { - return ResourceManager.GetString("RemovingNamespaceMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Repository is not setup. You need to pass a valid site name.. - /// - public static string RepositoryNotSetup { - get { - return ResourceManager.GetString("RepositoryNotSetup", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Reserved IP with the Name:'{0}' will no longer be in use after the deployment is deleted, and it is still reserved for later use.. - /// - public static string ReservedIPNameNoLongerInUseButStillBeingReserved { - get { - return ResourceManager.GetString("ReservedIPNameNoLongerInUseButStillBeingReserved", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Resource with ID : {0} does not exist.. - /// - public static string ResourceNotFound { - get { - return ResourceManager.GetString("ResourceNotFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Restart. - /// - public static string Restart { - get { - return ResourceManager.GetString("Restart", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Resume. - /// - public static string Resume { - get { - return ResourceManager.GetString("Resume", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to /role:{0};"{1}/{0}" . - /// - public static string RoleArgTemplate { - get { - return ResourceManager.GetString("RoleArgTemplate", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to bin. - /// - public static string RoleBinFolderName { - get { - return ResourceManager.GetString("RoleBinFolderName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Role {0} is {1}. - /// - public static string RoleInstanceWaitMsg { - get { - return ResourceManager.GetString("RoleInstanceWaitMsg", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 20. - /// - public static string RoleMaxInstances { - get { - return ResourceManager.GetString("RoleMaxInstances", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to role name. - /// - public static string RoleName { - get { - return ResourceManager.GetString("RoleName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The provided role name {0} doesn't exist. - /// - public static string RoleNotFoundMessage { - get { - return ResourceManager.GetString("RoleNotFoundMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RoleSettings.xml. - /// - public static string RoleSettingsTemplateFileName { - get { - return ResourceManager.GetString("RoleSettingsTemplateFileName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Role type {0} doesn't exist. - /// - public static string RoleTypeDoesNotExist { - get { - return ResourceManager.GetString("RoleTypeDoesNotExist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to public static Dictionary<string, Location> ReverseLocations { get; private set; }. - /// - public static string RuntimeDeploymentLocationError { - get { - return ResourceManager.GetString("RuntimeDeploymentLocationError", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Preparing runtime deployment for service '{0}'. - /// - public static string RuntimeDeploymentStart { - get { - return ResourceManager.GetString("RuntimeDeploymentStart", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to WARNING Runtime Mismatch: Are you sure that you want to publish service '{0}' using an Azure runtime version that does not match your local runtime version?. - /// - public static string RuntimeMismatchWarning { - get { - return ResourceManager.GetString("RuntimeMismatchWarning", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RUNTIMEOVERRIDEURL. - /// - public static string RuntimeOverrideKey { - get { - return ResourceManager.GetString("RuntimeOverrideKey", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to /runtimemanifest/runtimes/runtime. - /// - public static string RuntimeQuery { - get { - return ResourceManager.GetString("RuntimeQuery", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RUNTIMEID. - /// - public static string RuntimeTypeKey { - get { - return ResourceManager.GetString("RuntimeTypeKey", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RUNTIMEURL. - /// - public static string RuntimeUrlKey { - get { - return ResourceManager.GetString("RuntimeUrlKey", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to RUNTIMEVERSIONPRIMARYKEY. - /// - public static string RuntimeVersionPrimaryKey { - get { - return ResourceManager.GetString("RuntimeVersionPrimaryKey", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to scaffold.xml. - /// - public static string ScaffoldXml { - get { - return ResourceManager.GetString("ScaffoldXml", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid location entered. Pick one of the locations from Get-AzureSchedulerLocation. - /// - public static string SchedulerInvalidLocation { - get { - return ResourceManager.GetString("SchedulerInvalidLocation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A value for the Secondary Peer Subnet has to be provided.. - /// - public static string SecondaryPeerSubnetRequired { - get { - return ResourceManager.GetString("SecondaryPeerSubnetRequired", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Service {0} already exists on disk in location {1}. - /// - public static string ServiceAlreadyExistsOnDisk { - get { - return ResourceManager.GetString("ServiceAlreadyExistsOnDisk", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No ServiceBus authorization rule with the given characteristics was found. - /// - public static string ServiceBusAuthorizationRuleNotFound { - get { - return ResourceManager.GetString("ServiceBusAuthorizationRuleNotFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The service bus entity '{0}' is not found.. - /// - public static string ServiceBusEntityTypeNotFound { - get { - return ResourceManager.GetString("ServiceBusEntityTypeNotFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Internal Server Error. This could happen due to an incorrect/missing namespace. - /// - public static string ServiceBusNamespaceMissingMessage { - get { - return ResourceManager.GetString("ServiceBusNamespaceMissingMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to service configuration. - /// - public static string ServiceConfiguration { - get { - return ResourceManager.GetString("ServiceConfiguration", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to service definition. - /// - public static string ServiceDefinition { - get { - return ResourceManager.GetString("ServiceDefinition", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to ServiceDefinition.csdef. - /// - public static string ServiceDefinitionFileName { - get { - return ResourceManager.GetString("ServiceDefinitionFileName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to ServiceDefinition.csdef. - /// - public static string ServiceDefinitionFileName1 { - get { - return ResourceManager.GetString("ServiceDefinitionFileName1", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0}Deploy. - /// - public static string ServiceDeploymentName { - get { - return ResourceManager.GetString("ServiceDeploymentName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The specified cloud service "{0}" does not exist.. - /// - public static string ServiceDoesNotExist { - get { - return ResourceManager.GetString("ServiceDoesNotExist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0} slot for service {1} is in {2} state, please wait until it finish and update it's status. - /// - public static string ServiceIsInTransitionState { - get { - return ResourceManager.GetString("ServiceIsInTransitionState", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unable to retrieve service key for ServicePrincipal account {0}. Please run the Add-AzureAccount cmdlet to supply the credentials for this service principal.. - /// - public static string ServiceKeyNotFound { - get { - return ResourceManager.GetString("ServiceKeyNotFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to . - /// - public static string ServiceManagementClientExceptionStringFormat { - get { - return ResourceManager.GetString("ServiceManagementClientExceptionStringFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to "An exception occurred when calling the ServiceManagement API. HTTP Status Code: {0}. Service Management Error Code: {1}. Message: {2}. Operation Tracking ID: {3}.". - /// - public static string ServiceManagementClientExceptionStringFormat1 { - get { - return ResourceManager.GetString("ServiceManagementClientExceptionStringFormat1", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Begin Operation: {0}. - /// - public static string ServiceManagementExecuteClientActionBeginOperation { - get { - return ResourceManager.GetString("ServiceManagementExecuteClientActionBeginOperation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Completed Operation: {0}. - /// - public static string ServiceManagementExecuteClientActionCompletedOperation { - get { - return ResourceManager.GetString("ServiceManagementExecuteClientActionCompletedOperation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Begin Operation: {0}. - /// - public static string ServiceManagementExecuteClientActionInOCSBeginOperation { - get { - return ResourceManager.GetString("ServiceManagementExecuteClientActionInOCSBeginOperation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Completed Operation: {0}. - /// - public static string ServiceManagementExecuteClientActionInOCSCompletedOperation { - get { - return ResourceManager.GetString("ServiceManagementExecuteClientActionInOCSCompletedOperation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to service name. - /// - public static string ServiceName { - get { - return ResourceManager.GetString("ServiceName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The provided service name {0} already exists, please pick another name. - /// - public static string ServiceNameExists { - get { - return ResourceManager.GetString("ServiceNameExists", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The provided service name {0} already exists, please pick another name. - /// - public static string ServiceNameExists1 { - get { - return ResourceManager.GetString("ServiceNameExists1", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please provide name for the hosted service. - /// - public static string ServiceNameMissingMessage { - get { - return ResourceManager.GetString("ServiceNameMissingMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to service parent directory. - /// - public static string ServiceParentDirectory { - get { - return ResourceManager.GetString("ServiceParentDirectory", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Service {0} removed successfully. - /// - public static string ServiceRemovedMessage { - get { - return ResourceManager.GetString("ServiceRemovedMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to service directory. - /// - public static string ServiceRoot { - get { - return ResourceManager.GetString("ServiceRoot", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to service settings. - /// - public static string ServiceSettings { - get { - return ResourceManager.GetString("ServiceSettings", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The storage account name '{0}' is invalid. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.. - /// - public static string ServiceSettings_ValidateStorageAccountName_InvalidName { - get { - return ResourceManager.GetString("ServiceSettings_ValidateStorageAccountName_InvalidName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The storage account name '{0}' is invalid. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.. - /// - public static string ServiceSettings_ValidateStorageAccountName_InvalidName1 { - get { - return ResourceManager.GetString("ServiceSettings_ValidateStorageAccountName_InvalidName1", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to service settings. - /// - public static string ServiceSettings1 { - get { - return ResourceManager.GetString("ServiceSettings1", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The {0} slot for cloud service {1} doesn't exist.. - /// - public static string ServiceSlotDoesNotExist { - get { - return ResourceManager.GetString("ServiceSlotDoesNotExist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0} slot for service {1} is {2}. - /// - public static string ServiceStatusChanged { - get { - return ResourceManager.GetString("ServiceStatusChanged", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Set Add-On Confirmation. - /// - public static string SetAddOnConformation { - get { - return ResourceManager.GetString("SetAddOnConformation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Profile {0} does not contain endpoint {1}. Adding it.. - /// - public static string SetInexistentTrafficManagerEndpointMessage { - get { - return ResourceManager.GetString("SetInexistentTrafficManagerEndpointMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Note - You will be charged the amount for the new plan, without being refunded for time remaining - ///in the existing plan. - ///By typing "Yes", I (a) authorize Microsoft to charge my current payment method on a monthly basis - ///for the amount indicated at {0} for {1} until my service is cancelled or terminated, and (b) - ///agree to the {2}'s terms of user and privacy statement at {0} and (c) agree to sharing my - ///contact information with {2}.. - /// - public static string SetMicrosoftAddOnMessage { - get { - return ResourceManager.GetString("SetMicrosoftAddOnMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Note - You will be charged the amount for the new plan, without being refunded for time remaining - ///in the existing plan. - ///By typing "Yes", I (a) authorize Microsoft to charge my current payment method on a monthly basis - ///for the amount indicated at {0} for {1} until my service is cancelled or terminated, and (b) - ///acknowledge the offering is provided by {2}, not Microsoft, and agree to {2}'s terms of - ///use and privacy statement at <url> and (c) agree to sharing my contact information with {2}.. - /// - public static string SetNonMicrosoftAddOnMessage { - get { - return ResourceManager.GetString("SetNonMicrosoftAddOnMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Role {0} instances are set to {1}. - /// - public static string SetRoleInstancesMessage { - get { - return ResourceManager.GetString("SetRoleInstancesMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {"Slot":"","Location":"","Subscription":"","StorageAccountName":""}. - /// - public static string SettingsFileEmptyContent { - get { - return ResourceManager.GetString("SettingsFileEmptyContent", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to deploymentSettings.json. - /// - public static string SettingsFileName { - get { - return ResourceManager.GetString("SettingsFileName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to deploymentSettings.json. - /// - public static string SettingsFileName1 { - get { - return ResourceManager.GetString("SettingsFileName1", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Insufficient parameters passed to create a new endpoint.. - /// - public static string SetTrafficManagerEndpointNeedsParameters { - get { - return ResourceManager.GetString("SetTrafficManagerEndpointNeedsParameters", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Ambiguous operation: the profile name specified doesn't match the name of the profile object.. - /// - public static string SetTrafficManagerProfileAmbiguous { - get { - return ResourceManager.GetString("SetTrafficManagerProfileAmbiguous", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Confirm. - /// - public static string ShouldProcessCaption { - get { - return ResourceManager.GetString("ShouldProcessCaption", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Confirm. - /// - public static string ShouldProcessCaption1 { - get { - return ResourceManager.GetString("ShouldProcessCaption1", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Shutdown. - /// - public static string Shutdown { - get { - return ResourceManager.GetString("Shutdown", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to /sites:{0};{1};"{2}/{0}" . - /// - public static string SitesArgTemplate { - get { - return ResourceManager.GetString("SitesArgTemplate", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 1000. - /// - public static string StandardRetryDelayInMs { - get { - return ResourceManager.GetString("StandardRetryDelayInMs", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Start. - /// - public static string Start { - get { - return ResourceManager.GetString("Start", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Started. - /// - public static string StartedEmulator { - get { - return ResourceManager.GetString("StartedEmulator", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Starting Emulator.... - /// - public static string StartingEmulator { - get { - return ResourceManager.GetString("StartingEmulator", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to start. - /// - public static string StartStorageEmulatorCommandArgument { - get { - return ResourceManager.GetString("StartStorageEmulatorCommandArgument", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Stop. - /// - public static string Stop { - get { - return ResourceManager.GetString("Stop", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Stopping emulator.... - /// - public static string StopEmulatorMessage { - get { - return ResourceManager.GetString("StopEmulatorMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Stopped. - /// - public static string StoppedEmulatorMessage { - get { - return ResourceManager.GetString("StoppedEmulatorMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to stop. - /// - public static string StopStorageEmulatorCommandArgument { - get { - return ResourceManager.GetString("StopStorageEmulatorCommandArgument", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Account Name:. - /// - public static string StorageAccountName { - get { - return ResourceManager.GetString("StorageAccountName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot find storage account '{0}' please type the name of an existing storage account.. - /// - public static string StorageAccountNotFound { - get { - return ResourceManager.GetString("StorageAccountNotFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to WAStorageEmulator.exe. - /// - public static string StorageEmulatorExe { - get { - return ResourceManager.GetString("StorageEmulatorExe", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to InstallPath. - /// - public static string StorageEmulatorInstallPathRegistryKeyValue { - get { - return ResourceManager.GetString("StorageEmulatorInstallPathRegistryKeyValue", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to SOFTWARE\Microsoft\Windows Azure Storage Emulator. - /// - public static string StorageEmulatorRegistryKey { - get { - return ResourceManager.GetString("StorageEmulatorRegistryKey", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Primary Key:. - /// - public static string StoragePrimaryKey { - get { - return ResourceManager.GetString("StoragePrimaryKey", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Secondary Key:. - /// - public static string StorageSecondaryKey { - get { - return ResourceManager.GetString("StorageSecondaryKey", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The subscription named {0} already exists.. - /// - public static string SubscriptionAlreadyExists { - get { - return ResourceManager.GetString("SubscriptionAlreadyExists", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The SubscriptionDataFile parameter is deprecated. This parameter will be removed in a future release. See https://github.com/Azure/azure-powershell/wiki/Proposed-Design-Stateless-Azure-Profile for a description of the upcoming mechanism for providing alternate sources of subscription information.. - /// - public static string SubscriptionDataFileDeprecated { - get { - return ResourceManager.GetString("SubscriptionDataFileDeprecated", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to DefaultSubscriptionData.xml. - /// - public static string SubscriptionDataFileName { - get { - return ResourceManager.GetString("SubscriptionDataFileName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The subscription data file {0} does not exist.. - /// - public static string SubscriptionDataFileNotFound { - get { - return ResourceManager.GetString("SubscriptionDataFileNotFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The subscription id {0} doesn't exist.. - /// - public static string SubscriptionIdNotFoundMessage { - get { - return ResourceManager.GetString("SubscriptionIdNotFoundMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Subscription must not be null. - /// - public static string SubscriptionMustNotBeNull { - get { - return ResourceManager.GetString("SubscriptionMustNotBeNull", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The subscription name {0} doesn't exist.. - /// - public static string SubscriptionNameNotFoundMessage { - get { - return ResourceManager.GetString("SubscriptionNameNotFoundMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Suspend. - /// - public static string Suspend { - get { - return ResourceManager.GetString("Suspend", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Swapping website production slot .... - /// - public static string SwappingWebsite { - get { - return ResourceManager.GetString("SwappingWebsite", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to swap the website '{0}' production slot with slot '{1}'?. - /// - public static string SwapWebsiteSlotWarning { - get { - return ResourceManager.GetString("SwapWebsiteSlotWarning", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unable to create Django application: {0}. - /// - public static string UnableToCreateDjangoApp { - get { - return ResourceManager.GetString("UnableToCreateDjangoApp", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Make sure you have Python 2.7 installed along with Django installed to site-packages.. - /// - public static string UnableToCreateDjangoAppFix { - get { - return ResourceManager.GetString("UnableToCreateDjangoAppFix", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unable to decode string from base 64. Please make sure the string is correctly encoded: {0}.. - /// - public static string UnableToDecodeBase64String { - get { - return ResourceManager.GetString("UnableToDecodeBase64String", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unable to update mismatching Json structured: {0} {1}.. - /// - public static string UnableToPatchJson { - get { - return ResourceManager.GetString("UnableToPatchJson", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Illegal credential type. - /// - public static string UnknownCredentialType { - get { - return ResourceManager.GetString("UnknownCredentialType", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The provider {0} is unknown.. - /// - public static string UnknownProviderMessage { - get { - return ResourceManager.GetString("UnknownProviderMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Update. - /// - public static string Update { - get { - return ResourceManager.GetString("Update", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Updated settings for subscription '{0}'. Current subscription is '{1}'.. - /// - public static string UpdatedSettings { - get { - return ResourceManager.GetString("UpdatedSettings", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A value for the VLan Id has to be provided.. - /// - public static string VlanIdRequired { - get { - return ResourceManager.GetString("VlanIdRequired", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please wait.... - /// - public static string WaitMessage { - get { - return ResourceManager.GetString("WaitMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The azure storage emulator is not installed, skip launching.... - /// - public static string WarningWhenStorageEmulatorIsMissing { - get { - return ResourceManager.GetString("WarningWhenStorageEmulatorIsMissing", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Web.cloud.config. - /// - public static string WebCloudConfig { - get { - return ResourceManager.GetString("WebCloudConfig", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to web.config. - /// - public static string WebConfigTemplateFileName { - get { - return ResourceManager.GetString("WebConfigTemplateFileName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to MSDeploy. - /// - public static string WebDeployKeywordInWebSitePublishProfile { - get { - return ResourceManager.GetString("WebDeployKeywordInWebSitePublishProfile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot build the project successfully. Please see logs in {0}.. - /// - public static string WebProjectBuildFailTemplate { - get { - return ResourceManager.GetString("WebProjectBuildFailTemplate", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to WebRole. - /// - public static string WebRole { - get { - return ResourceManager.GetString("WebRole", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to setup_web.cmd > log.txt. - /// - public static string WebRoleStartupTaskCommandLine { - get { - return ResourceManager.GetString("WebRoleStartupTaskCommandLine", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to WebRole.xml. - /// - public static string WebRoleTemplateFileName { - get { - return ResourceManager.GetString("WebRoleTemplateFileName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to WebSite with given name {0} already exists in the specified Subscription and Webspace.. - /// - public static string WebsiteAlreadyExists { - get { - return ResourceManager.GetString("WebsiteAlreadyExists", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to WebSite with given name {0} already exists in the specified Subscription and Location.. - /// - public static string WebsiteAlreadyExistsReplacement { - get { - return ResourceManager.GetString("WebsiteAlreadyExistsReplacement", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Site {0} already has repository created for it.. - /// - public static string WebsiteRepositoryAlreadyExists { - get { - return ResourceManager.GetString("WebsiteRepositoryAlreadyExists", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Workspaces/WebsiteExtension/Website/{0}/dashboard/. - /// - public static string WebsiteSufixUrl { - get { - return ResourceManager.GetString("WebsiteSufixUrl", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to https://{0}/msdeploy.axd?site={1}. - /// - public static string WebSiteWebDeployUriTemplate { - get { - return ResourceManager.GetString("WebSiteWebDeployUriTemplate", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to WorkerRole. - /// - public static string WorkerRole { - get { - return ResourceManager.GetString("WorkerRole", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to setup_worker.cmd > log.txt. - /// - public static string WorkerRoleStartupTaskCommandLine { - get { - return ResourceManager.GetString("WorkerRoleStartupTaskCommandLine", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to WorkerRole.xml. - /// - public static string WorkerRoleTemplateFileName { - get { - return ResourceManager.GetString("WorkerRoleTemplateFileName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to (x86). - /// - public static string x86InProgramFiles { - get { - return ResourceManager.GetString("x86InProgramFiles", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Yes. - /// - public static string Yes { - get { - return ResourceManager.GetString("Yes", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Yes, I agree. - /// - public static string YesHint { - get { - return ResourceManager.GetString("YesHint", resourceCulture); - } - } - } -} diff --git a/src/Common/Azure.Common.Extensions/Properties/Resources.resx b/src/Common/Azure.Common.Extensions/Properties/Resources.resx deleted file mode 100644 index be358f5d05b0..000000000000 --- a/src/Common/Azure.Common.Extensions/Properties/Resources.resx +++ /dev/null @@ -1,1579 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - The remote server returned an error: (401) Unauthorized. - - - Account "{0}" has been added. - - - To switch to a different subscription, please use Select-AzureSubscription. - - - Subscription "{0}" is selected as the default subscription. - - - To view all the subscriptions, please use Get-AzureSubscription. - - - Add-On {0} is created successfully. - - - Add-on name {0} is already used. - - - Add-On {0} not found. - - - Add-on {0} is removed successfully. - - - Add-On {0} is updated successfully. - - - Role has been created at {0}\{1}. - - - Role has been created at {0}\{1}. For easy access to Microsoft Azure services from your application code, install the Microsoft Azure client library for Node.js by running ‘npm install azure’. - - - Role has been created at {0}\{1}. For easy access to Microsoft Azure services from your application code, install the Microsoft Azure client library for PHP by running "pear Azure/Azure". - - - Role has been created at {0}\{1}. For easy access to Microsoft Azure services from your application code, install the Microsoft Azure client library for Python by running "pip Azure". - - - Unable to set role permissions. Please give the 'Network Service' user 'Read & execute' and 'Modify' permissions to the role folder, or run PowerShell as an Administrator - - - A role name '{0}' already exists - - - Windows Azure Powershell\ - - - Windows Azure Powershell - - - Emulator - - - Azure Emulator is not installed and is required - - - Azure Emulator\emulator - - - SOFTWARE\Microsoft\Windows Azure Emulator - - - https://manage.Azure.com - - - AZURE_PORTAL_URL - - - Azure SDK\{0}\ - - - InstallPath - - - SOFTWARE\Microsoft\Microsoft SDKs\ServiceHosting - - - The installed Azure SDK version is not supported. Make sure you version is between {0} and {1} inclusive - - - Azure service management error -{0} - - - Azure Authoring Tools are not installed and are required. Installation of Azure SDK for .NET is recommended with Microsoft Web Platform Installer (PI) available at http://www.microsoft.com/web/downloads/platform.aspx. - - - Base Uri was empty. - WAPackIaaS - - - {0} begin processing without ParameterSet. - - - {0} begin processing with ParameterSet '{1}'. - - - Blob with the name {0} already exists in the account. - - - https://{0}.blob.core.windows.net/ - - - AZURE_BLOBSTORAGE_TEMPLATE - - - Memcache is already enabled for role '{0}'. - - - <configuration> - <configSections> - <section name="dataCacheClients" type="Microsoft.ApplicationServer.Caching.DataCacheClientsSection, Microsoft.ApplicationServer.Caching.Core" allowLocation="true" allowDefinition="Everywhere" /> - </configSections> - <dataCacheClients> - <tracing sinkType="DiagnosticSink" traceLevel="Error" /> - <dataCacheClient name="DefaultShimConfig" useLegacyProtocol="false"> - <autoDiscover isEnabled="true" identifier="$RoleName$" /> - </dataCacheClient> - </dataCacheClients> -</configuration> - - - Microsoft.Azure.Plugins.Caching.ClientDiagnosticLevel - - - DiagnosticStore - - - Please upgrade the cache runtime of role '{0}' to '{1}' using Set-AzureServiceProjectRole -RoleName {0} -Runtime Cache -Version {1} - - - CACHERUNTIMEURL - - - cache - - - CacheRuntimeVersion - - - Resources\Scaffolding\Cache - - - setup_cache.cmd > cache_log.txt - - - Installing caching version {0} for Role '{1}' (the caching version locally installed is: {2}) - - - Microsoft.Azure.Plugins.Caching.CacheSizePercentage - - - Microsoft.Azure.Plugins.Caching.ConfigStoreConnectionString - - - DefaultEndpointsProtocol=https;AccountName={0};AccountKey={1} - - - Caching - - - Cannot find {0} with name {1}. - - - Deployment for service {0} with {1} slot doesn't exist - - - Can't find valid Microsoft Azure role in current directory {0} - - - service {0} configuration file (ServiceConfiguration.Cloud.cscfg) is either null or doesn't exist - - - Invalid service path! Cannot locate ServiceDefinition.csdef in current folder or parent folders. - - - The subscription named {0} with id {1} is not currently imported. You must import this subscription before it can be updated. - - - ManagementCertificate - - - certificate.pfx - - - Certificate imported into CurrentUser\My\{0} - - - No certificate was found in the certificate store with thumbprint {0} - - - No certificate was found in the certificate store with thumbprint {0} - - - Your account does not have access to the private key for certificate {0} - - - {0} {1} deployment for {2} service - - - Cloud service {0} is in {1} state. - - - Changing/Removing public environment '{0}' is not allowed. - - - Service {0} is set to value {1} - - - Choose which publish settings file to use: - - - Microsoft.Azure.Plugins.Caching.ClientDiagnosticLevel - - - 1 - - - cloud_package.cspkg - - - ServiceConfiguration.Cloud.cscfg - - - Add-ons for {0} - - - Communication could not be established. This could be due to an invalid subscription ID. Note that subscription IDs are case sensitive. - - - Complete - - - Complete - - - config.json - - - VirtualMachine creation failed. - WAPackIaaS - - - Creating the website failed. If this is the first website for this subscription, please create it using the management portal instead. - - - Microsoft.ApplicationServer.Caching.DataCacheClientsSection, Microsoft.ApplicationServer.Caching.Core - - - //blobcontainer[@datacenter='{0}'] - - - Setting: {0} as the default and current subscription. To view other subscriptions use Get-AzureSubscription - - - none - - - There are no hostnames which could be used for validation. - - - 8080 - - - 1000 - - - Auto - - - 80 - - - Delete - WAPackIaaS - - - The {0} slot for service {1} is already in {2} state - - - The deployment in {0} slot for service {1} is removed - - - Microsoft.Azure.Plugins.Caching.DiagnosticLevel - - - 1 - - - The key to add already exists in the dictionary. - - - The array index cannot be less than zero. - - - The supplied array does not have enough room to contain the copied elements. - - - The provided dns {0} doesn't exist - - - Microsoft Azure Certificate - - - Endpoint can't be retrieved for storage account - - - {0} end processing. - - - To use Active Directory authentication, you must configure the ActiveDirectoryEndpoint, ActiveDirectoryTenantId, and ActiveDirectorServiceEndpointResourceId for environment of '{0}'. You can configure these properties for this environment using the Set-AzureEnvironment cmdlet. - - - The environment '{0}' already exists. - - - The environment name '{0}' is not found. - - - environments.xml - - - Error creating VirtualMachine - WAPackIaaS - - - Unable to download available runtimes for location '{0}' - - - Error updating VirtualMachine - WAPackIaaS - - - Your Microsoft Azure credential in the Windows PowerShell session has expired. Please use Add-AzureAccount to login again. - - - Job Id {0} failed. Error: {1}, ExceptionDetails: {2} - WAPackIaaS - - - The HTTP request was forbidden with client authentication scheme 'Anonymous'. - - - This add-on requires you to purchase the first instance through the Microsoft Azure Portal. Subsequent purchases can be performed through PowerShell. - - - Operation Status: - - - Resources\Scaffolding\General - - - Getting all available Microsoft Azure Add-Ons, this may take few minutes... - - - Name{0}Primary Key{0}Seconday Key - - - Git not found. Please install git and place it in your command line path. - - - Could not find publish settings. Please run Import-AzurePublishSettingsFile. - - - Could not find publish settings. Please run Import-AzurePublishSettingsFile. - - - iisnode.dll - - - iisnode - - - iisnode-dev\\release\\x64 - - - iisnode - - - Installing IISNode version {0} in Azure for WebRole '{1}' (the version locally installed is: {2}) - - - Illegal characters in path. - - - Illegal characters in path. - - - Internal Server Error - - - Cannot enable memcach protocol on a cache worker role {0}. - - - Invalid certificate format. Publish settings may be corrupted. Use Get-AzurePublishSettingsFile to download updated settings - - - Invalid certificate format. Publish settings may be corrupted. Use Get-AzurePublishSettingsFile to download updated settings - - - Invalid certificate format. - - - The provided configuration path is invalid or doesn't exist - - - The country name is invalid, please use a valid two character country code, as described in ISO 3166-1 alpha-2. - - - No current subscription has been designated. Use Select-AzureSubscription -Current <subscriptionName> to set the current subscription. - - - The ID of the current subscription is invalid. Use Set-AzureSubscription to fix the subscription ID or use Select-AzureSubscription to use a different subscription. - - - The management certificate of the current subscription is invalid. Use Set-AzureSubscription to fix the management certificate or use Select-AzureSubscription to use a different subscription. - - - No default subscription has been designated. Use Select-AzureSubscription -Default <subscriptionName> to set the default subscription. - - - Deployment with {0} does not exist - - - The deployment slot name {0} is invalid. Slot name must be either "Staging" or "Production". - - - "{0}" is an invalid DNS name for {1} - - - Invalid service endpoint. - - - The provided file in {0} must be have {1} extension - - - File {0} has invalid characters - - - You must create your git publishing credentials using the Microsoft Azure portal. -Please follow these steps in the portal: -1. On the left side open "Web Sites" -2. Click on any website -3. Choose "Setup Git Publishing" or "Reset deployment credentials" -4. Back in the PowerShell window, rerun this command by typing "New-AzureWebSite {site name} -Git -PublishingUsername {username} - - - The value {0} provided is not a valid GUID. Please provide a valid GUID. - - - The specified hostname does not exist. Please specify a valid hostname for the site. - - - Role {0} instances must be greater than or equal 0 and less than or equal 20 - - - There was an error creating your webjob. Please make sure that the script is in the root folder of the zip file. - - - Cannot create instance of management client type {0}. It does not have the expected constructor. - - - Could not download a valid runtime manifest, Please check your internet connection and try again. - - - The account {0} was not found. Please specify a valid account name. - - - The provided name "{0}" does not match the service bus namespace naming rules. - - - Value cannot be null. Parameter name: '{0}' - - - {0} is invalid or empty - - - The provided package path is invalid or doesn't exist - - - '{0}' is an invalid parameter set name. - - - {0} doesn't exist in {1} or you've not passed valid value for it - - - Path {0} has invalid characters - - - The provided publish settings file {0} has invalid content. Please get valid by running cmdlet Get-AzurePublishSettingsFile - - - The provided publish settings file {0} has invalid content. Please get valid by running cmdlet Get-AzurePublishSettingsFile - - - The provided role name "{0}" has invalid characters - - - A valid name for the service root folder is required - - - {0} is not a recognized runtime type - - - A valid language is required - - - No subscription is currently selected. Use Select-Subscription to activate a subscription. - - - The provided location "{0}" does not exist in the available locations use Get-AzureSBLocation for listing available locations. - - - Please provide a service name or run this command from inside a service project directory. - - - You must provide valid value for {0} - - - You must provide valid value for {0} - - - settings.json is invalid or doesn't exist - - - The subscription named '{0}' cannot be found. Use Set-AzureSubscription to initialize the subscription data. - - - The provided subscription id {0} is not valid - - - Must specify a non-null subscription name. - - - A valid subscription name is required. This can be provided using the -Subscription parameter or by setting the subscription via the Set-AzureSubscription cmdlet - - - The provided subscriptions file {0} has invalid content. - - - Your Azure credentials have not been set up or have expired, please run Add-AzureAccount to set up your Azure credentials. - - - Role {0} VM size should be ExtraSmall, Small, Medium, Large or ExtraLarge. - - - The web job file must have *.zip extension - - - Singleton option works for continuous jobs only. - - - The website {0} was not found. Please specify a valid website name. - - - No job for id: {0} was found. - WAPackIaaS - - - engines - - - Scaffolding for this language is not yet supported - - - Link already established - - - local_package.csx - - - ServiceConfiguration.Local.cscfg - - - Looking for {0} deployment for {1} cloud service... - - - Looking for cloud service {0}... - - - managementCertificate.pem - - - ?whr={0} - - - //baseuri - - - uri - - - http://az413943.vo.msecnd.net/node/runtimemanifest_0.7.5.2.xml - - - v2.5 - - - memcache_default - - - 11211 - - - v2.5 - - - Python 2.7 is not installed. Please install it as well as Django 1.4. - - - Multiple Add-Ons found holding name {0} - - - Multiple possible publishing users. Please go to the Portal and use the listed deployment user, or click 'set/reset deployment credentials' to set up a new user account, then reurn this cmdlet and specify PublishingUsername. - - - The first publish settings file "{0}" is used. If you want to use another file specify the file name. - - - Microsoft.Azure.Plugins.Caching.NamedCaches - - - {"caches":[{"name":"default","policy":{"eviction":{"type":0},"expiration":{"defaultTTL":10,"isExpirable":true,"type":1},"serverNotification":{"isEnabled":false}},"secondaries":0}]} - - - A publishing username is required. Please specify one using the argument PublishingUsername. - - - New Add-On Confirmation - - - By typing "Yes", I (a) authorize Microsoft to charge my current payment method on a monthly basis -for the amount indicated at {0} for {1} until my service is cancelled or terminated, and (b) -agree to the {2}'s terms of user and privacy statement at {0} and (c) agree to sharing my -contact information with {2}. - - - Internal Server Error. This could happen because the namespace name is already used or due to an incorrect location name. Use Get-AzureSBLocation cmdlet to list valid names. - - - By typing "Yes", I (a) authorize Microsoft to charge my current payment method on a monthly basis -for the amount indicated at {0} for {1} until my service is cancelled or terminated, and (b) -acknowledge the offering is provided by {2}, not Microsoft, and agree to {2}'s terms of -use and privacy statement at {0} and (c) agree to sharing my contact information with {2}. - - - Service has been created at {0} - - - No - - - There is no access token cached for subscription {0}, user id {1}. Use the Add-AzureAccount cmdlet to log in again and get a token for this subscription. - - - The service does not have any cache worker roles, add one first by running cmdlet Add-AzureCacheWorkerRole. - - - No clouds available - WAPackIaaS - - - nodejs - - - node - - - node.exe - - - There is no default subscription set, please set a default subscription by running Set-AzureSubscription -Default <subscription name> - - - Microsoft SDKs\Azure\Nodejs\Nov2011 - - - nodejs - - - node - - - Resources\Scaffolding\Node - - - Microsoft.Azure.Commands.CloudService.ScaffoldingResources.Node - - - Installing Node version {0} in Azure for Role '{1}' (the Node version locally installed is: {2}) - - - No, I do not agree - - - Please connect to internet before executing this cmdlet - - - Please connect to internet before executing this cmdlet - - - No publish settings files with extension *.publishsettings are found in the directory "{0}". - - - '{0}' must be a cache worker role. Verify that it has proper cache worker role configuration. - - - Certificate can't be null. - - - {0} could not be null or empty - - - Unable to add a null RoleSettings to {0} - - - Unable to add new role to null service definition - - - The request offer '{0}' is not found. - - - Operation "{0}" failed on VM with ID: {1} - WAPackIaaS - - - The REST operation failed with message '{0}' and error code '{1}' - - - Job Id {0} did not complete within expected time or it is in Failed/Canceled/Invalid state. - WAPackIaaS - - - package - - - Package is created at service root path {0}. - - - {{ - "author": "", - - "name": "{0}", - "version": "0.0.0", - "dependencies":{{}}, - "devDependencies":{{}}, - "optionalDependencies": {{}}, - "engines": {{ - "node": "*", - "iisnode": "*" - }} - -}} - - - - package.json - - - Path {0} doesn't exist. - - - Path for {0} doesn't exist in {1}. - - - A value for the Peer Asn has to be provided. - - - 5.4.0 - - - php - - - Resources\Scaffolding\PHP - - - Microsoft.Azure.Commands.CloudService.ScaffoldingResources.PHP - - - Installing PHP version {0} for Role '{1}' (the PHP version locally installed is: {2}) - - - You must create your first web site using the Microsoft Azure portal. -Please follow these steps in the portal: -1. At the bottom of the page, click on New > Web Site > Quick Create -2. Type {0} in the URL field -3. Click on "Create Web Site" -4. Once the site has been created, click on the site name -5. Click on "Set up Git publishing" or "Reset deployment credentials" and setup a publishing username and password. Use those credentials for all new websites you create. - - - 6. Back in the console window, rerun this command by typing "New-AzureWebsite <site name> -Git" - - - A value for the Primary Peer Subnet has to be provided. - - - Promotion code can be used only when updating to a new plan. - - - Service not published at user request. - - - Complete. - - - Connecting... - - - Created Deployment ID: {0}. - - - Created hosted service '{0}'. - - - Created Website URL: {0}. - - - Creating... - - - Initializing... - - - busy - - - creating the virtual machine - - - Instance {0} of role {1} is {2}. - - - ready - - - Preparing deployment for {0} with Subscription ID: {1}... - - - Publishing {0} to Microsoft Azure. This may take several minutes... - - - publish settings - - - Azure - - - .PublishSettings - - - publishSettings.xml - - - &whr={0} - - - Publish settings imported - - - AZURE_PUBLISHINGPROFILE_URL - - - Starting... - - - Upgrading... - - - Uploading Package to storage service {0}... - - - Verifying storage account '{0}'... - - - Resources\Scaffolding\Python - - - Replace current deployment with '{0}' Id ? - - - Are you sure you want to regenerate key? - - - Generate new key. - - - Are you sure you want to remove account '{0}'? - - - Removing account - - - Remove Add-On Confirmation - - - If you delete this add-on, your data may be deleted and the operation may not be undone. You may have to purchase it again from the Microsoft Azure Store to use it. The price of the add-on may not be refunded. Are you sure you want to delete this add-on? Enter “Yes” to confirm. - - - Remove-AzureBGPPeering Operation failed. - - - Removing Bgp Peering - - - Successfully removed Azure Bgp Peering with Service Key {0}. - - - Are you sure you want to remove the Bgp Peering with service key '{0}'? - - - Are you sure you want to remove the Dedicated Circuit with service key '{0}'? - - - Remove-AzureDedicatedCircuit Operation failed. - - - Remove-AzureDedicatedCircuitLink Operation failed. - - - Removing Dedicated Circui Link - - - Successfully removed Azure Dedicated Circuit Link with Service Key {0} and Vnet Name {1} - - - Are you sure you want to remove the Dedicated Circuit Link with service key '{0}' and virtual network name '{1}'? - - - Removing Dedicated Circuit - - - Successfully removed Azure Dedicated Circuit with Service Key {0}. - - - Removing cloud service {0}... - - - The current subscription is being removed. Use Select-AzureSubscription <subscriptionName> to select a new current subscription. - - - The default subscription is being removed. Use Select-AzureSubscription -Default <subscriptionName> to select a new default subscription. - - - Removing {0} deployment for {1} service - - - Removing job collection - - - Are you sure you want to remove the job collection "{0}" - - - Removing job - - - Are you sure you want to remove the job "{0}" - - - Are you sure you want to remove the account? - - - Account removed. - - - Internal Server Error. This could happen because the namespace does not exist or it does not exist under your subscription. - - - Removing old package {0}... - - - Are you sure you want to delete the namespace '{0}'? - - - Are you sure you want to remove cloud service? - - - Remove cloud service and all it's deployments - - - Are you sure you want to remove subscription '{0}'? - - - Removing subscription - - - Are you sure you want to delete the VM '{0}'? - - - Deleting VM. - - - Removing WebJob... - - - Are you sure you want to remove job '{0}'? - - - Removing website - - - Are you sure you want to remove the website "{0}" - - - Deleting namespace - - - Repository is not setup. You need to pass a valid site name. - - - Reserved IP with the Name:'{0}' will no longer be in use after the deployment is deleted, and it is still reserved for later use. - - - Resource with ID : {0} does not exist. - WAPackIaaS - - - Restart - WAPackIaaS - - - Resume - WAPackIaaS - - - /role:{0};"{1}/{0}" - - - bin - - - Role {0} is {1} - - - 20 - - - role name - - - The provided role name {0} doesn't exist - - - RoleSettings.xml - - - Role type {0} doesn't exist - - - public static Dictionary<string, Location> ReverseLocations { get; private set; } - - - Preparing runtime deployment for service '{0}' - - - WARNING Runtime Mismatch: Are you sure that you want to publish service '{0}' using an Azure runtime version that does not match your local runtime version? - - - RUNTIMEOVERRIDEURL - - - /runtimemanifest/runtimes/runtime - - - RUNTIMEID - - - RUNTIMEURL - - - RUNTIMEVERSIONPRIMARYKEY - - - scaffold.xml - - - Invalid location entered. Pick one of the locations from Get-AzureSchedulerLocation - - - A value for the Secondary Peer Subnet has to be provided. - - - Service {0} already exists on disk in location {1} - - - No ServiceBus authorization rule with the given characteristics was found - - - The service bus entity '{0}' is not found. - - - Internal Server Error. This could happen due to an incorrect/missing namespace - - - service configuration - - - service definition - - - ServiceDefinition.csdef - - - ServiceDefinition.csdef - - - {0}Deploy - - - The specified cloud service "{0}" does not exist. - - - {0} slot for service {1} is in {2} state, please wait until it finish and update it's status - - - Begin Operation: {0} - - - Completed Operation: {0} - - - Begin Operation: {0} - - - Completed Operation: {0} - - - service name - - - The provided service name {0} already exists, please pick another name - - - The provided service name {0} already exists, please pick another name - - - Please provide name for the hosted service - - - service parent directory - - - Service {0} removed successfully - - - service directory - - - service settings - - - The storage account name '{0}' is invalid. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. - - - The storage account name '{0}' is invalid. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. - - - service settings - - - The {0} slot for cloud service {1} doesn't exist. - - - {0} slot for service {1} is {2} - - - Set Add-On Confirmation - - - Note - You will be charged the amount for the new plan, without being refunded for time remaining -in the existing plan. -By typing "Yes", I (a) authorize Microsoft to charge my current payment method on a monthly basis -for the amount indicated at {0} for {1} until my service is cancelled or terminated, and (b) -agree to the {2}'s terms of user and privacy statement at {0} and (c) agree to sharing my -contact information with {2}. - - - Note - You will be charged the amount for the new plan, without being refunded for time remaining -in the existing plan. -By typing "Yes", I (a) authorize Microsoft to charge my current payment method on a monthly basis -for the amount indicated at {0} for {1} until my service is cancelled or terminated, and (b) -acknowledge the offering is provided by {2}, not Microsoft, and agree to {2}'s terms of -use and privacy statement at <url> and (c) agree to sharing my contact information with {2}. - - - Role {0} instances are set to {1} - - - {"Slot":"","Location":"","Subscription":"","StorageAccountName":""} - - - deploymentSettings.json - - - deploymentSettings.json - - - Confirm - - - Confirm - - - Shutdown - WAPackIaaS - - - /sites:{0};{1};"{2}/{0}" - - - 1000 - - - Start - WAPackIaaS - - - Started - - - Starting Emulator... - - - start - - - Stop - WAPackIaaS - - - Stopping emulator... - - - Stopped - - - stop - - - Account Name: - - - Cannot find storage account '{0}' please type the name of an existing storage account. - - - WAStorageEmulator.exe - - - InstallPath - - - SOFTWARE\Microsoft\Windows Azure Storage Emulator - - - Primary Key: - - - Secondary Key: - - - The subscription named {0} already exists. - - - DefaultSubscriptionData.xml - - - The subscription data file {0} does not exist. - - - The subscription id {0} doesn't exist. - - - The subscription name {0} doesn't exist. - - - Subscription must not be null - WAPackIaaS - - - Suspend - WAPackIaaS - - - Swapping website production slot ... - - - Are you sure you want to swap the website '{0}' production slot with slot '{1}'? - - - Unable to create Django application: {0} - - - Make sure you have Python 2.7 installed along with Django installed to site-packages. - - - Unable to update mismatching Json structured: {0} {1}. - - - The provider {0} is unknown. - - - Update - WAPackIaaS - - - Updated settings for subscription '{0}'. Current subscription is '{1}'. - - - A value for the VLan Id has to be provided. - - - Please wait... - - - The azure storage emulator is not installed, skip launching... - - - Web.cloud.config - - - web.config - - - MSDeploy - - - Cannot build the project successfully. Please see logs in {0}. - - - WebRole - - - setup_web.cmd > log.txt - - - WebRole.xml - - - WebSite with given name {0} already exists in the specified Subscription and Webspace. - - - WebSite with given name {0} already exists in the specified Subscription and Location. - - - Site {0} already has repository created for it. - - - Workspaces/WebsiteExtension/Website/{0}/dashboard/ - - - https://{0}/msdeploy.axd?site={1} - - - WorkerRole - - - setup_worker.cmd > log.txt - - - WorkerRole.xml - - - (x86) - - - Yes - - - Yes, I agree - - - Remove-AzureTrafficManagerProfile Operation failed. - - - Successfully removed Traffic Manager profile with name {0}. - - - Are you sure you want to remove the Traffic Manager profile "{0}"? - - - Profile {0} already has an endpoint with name {1} - - - Profile {0} does not contain endpoint {1}. Adding it. - - - The endpoint {0} cannot be removed from profile {1} because it's not in the profile. - - - Insufficient parameters passed to create a new endpoint. - - - Ambiguous operation: the profile name specified doesn't match the name of the profile object. - - - <NONE> - - - - - - "An exception occurred when calling the ServiceManagement API. HTTP Status Code: {0}. Service Management Error Code: {1}. Message: {2}. Operation Tracking ID: {3}." - {0} is the HTTP status code. {1} is the Service Management Error Code. {2} is the Service Management Error message. {3} is the operation tracking ID. - - - Unable to decode string from base 64. Please make sure the string is correctly encoded: {0}. - {0} is the string that is not in a valid base 64 format. - - - -Credential parameter can only be used with Organization ID credentials. For more information, please refer to http://go.microsoft.com/fwlink/?linkid=331007&clcid=0x409 for more information about the difference between an organizational account and a Microsoft account. - - - Skipping external tenant {0}, because you are using a guest or a foreign principal object identity. In order to access this tenant, please run Add-AzureAccount without "-Credential". - - - Removing an environment will remove all associated subscriptions and accounts. Are you sure you want to remove an environment '{0}'? - - - Removing environment - - - Removing public environment is not supported. - - - Changing public environment is not supported. - - - Credential type invalid, only handles '{0}' - - - Illegal credential type - - - There is no subscription associated with account {0}. - - - Account id doesn't match one in subscription. - - - Environment name doesn't match one in subscription. - - - Unable to retrieve service key for ServicePrincipal account {0}. Please run the Add-AzureAccount cmdlet to supply the credentials for this service principal. - - - Removing the Azure profile will remove all associated environments, subscriptions, and accounts. Are you sure you want to remove the Azure profile? - - - Removing the Azure profile - - - The SubscriptionDataFile parameter is deprecated. This parameter will be removed in a future release. See https://github.com/Azure/azure-powershell/wiki/Proposed-Design-Stateless-Azure-Profile for a description of the upcoming mechanism for providing alternate sources of subscription information. - - \ No newline at end of file diff --git a/src/Common/Azure.Common.Extensions/Utilities/DictionaryExtensions.cs b/src/Common/Azure.Common.Extensions/Utilities/DictionaryExtensions.cs deleted file mode 100644 index 19c2f027c20a..000000000000 --- a/src/Common/Azure.Common.Extensions/Utilities/DictionaryExtensions.cs +++ /dev/null @@ -1,78 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using System.Linq; - -namespace Microsoft.Azure.Common.Extensions.Utilities -{ - public static class DictionaryExtensions - { - public static TValue GetProperty(this Dictionary dictionary, TKey property) - { - if (dictionary.ContainsKey(property)) - { - return dictionary[property]; - } - - return default(TValue); - } - - public static string[] GetPropertyAsArray(this Dictionary dictionary, TKey property) - { - if (dictionary.ContainsKey(property)) - { - return dictionary[property].Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries); - } - - return new string[0]; - } - - public static void SetProperty(this Dictionary dictionary, TKey property, params string[] values) - { - if (values == null || values.Length == 0) - { - if (dictionary.ContainsKey(property)) - { - dictionary.Remove(property); - } - } - else - { - dictionary[property] = string.Join(",", values); - } - } - - public static void SetOrAppendProperty(this Dictionary dictionary, TKey property, params string[] values) - { - string oldValueString = ""; - if (dictionary.ContainsKey(property)) - { - oldValueString = dictionary[property]; - } - var oldValues = oldValueString.Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries); - var newValues = oldValues.Union(values, StringComparer.CurrentCultureIgnoreCase).Where(s => !string.IsNullOrEmpty(s)).ToArray(); - if (newValues.Any()) - { - dictionary[property] = string.Join(",", newValues); - } - } - - public static bool IsPropertySet(this Dictionary dictionary, TKey property) - { - return dictionary.ContainsKey(property) && !string.IsNullOrEmpty(dictionary[property]); - } - } -} diff --git a/src/Common/Azure.Common.Extensions/Utilities/FileUtilities.cs b/src/Common/Azure.Common.Extensions/Utilities/FileUtilities.cs deleted file mode 100644 index 0a1aa121f2a9..000000000000 --- a/src/Common/Azure.Common.Extensions/Utilities/FileUtilities.cs +++ /dev/null @@ -1,322 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Common.Extensions.Interfaces; -using Microsoft.Azure.Common.Extensions.Models; -using Microsoft.Azure.Common.Extensions.Properties; -using System; -using System.Diagnostics; -using System.IO; -using System.Linq; -using System.Reflection; -using System.Text; - -namespace Microsoft.Azure.Common.Extensions -{ - public static class FileUtilities - { - static FileUtilities() - { - DataStore = new DiskDataStore(); - } - - public static IDataStore DataStore { get; set; } - - public static string GetAssemblyDirectory() - { - var assemblyPath = Uri.UnescapeDataString(new Uri(Assembly.GetExecutingAssembly().CodeBase).AbsolutePath); - return Path.GetDirectoryName(assemblyPath); - } - - public static string GetContentFilePath(string fileName) - { - return GetContentFilePath(GetAssemblyDirectory(), fileName); - } - - public static string GetContentFilePath(string startDirectory, string fileName) - { - string path = Path.Combine(startDirectory, fileName); - - // Try search in the subdirectories in case that the file path does not exist in root path - if (!DataStore.FileExists(path) && !DataStore.DirectoryExists(path)) - { - try - { - path = DataStore.GetDirectories(startDirectory, fileName, SearchOption.AllDirectories).FirstOrDefault(); - - if (string.IsNullOrEmpty(path)) - { - path = DataStore.GetFiles(startDirectory, fileName, SearchOption.AllDirectories).First(); - } - } - catch - { - throw new FileNotFoundException(Path.Combine(startDirectory, fileName)); - } - } - - return path; - } - - public static string GetWithProgramFilesPath(string directoryName, bool throwIfNotFound) - { - string programFilesPath = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles); - if (DataStore.DirectoryExists(Path.Combine(programFilesPath, directoryName))) - { - return Path.Combine(programFilesPath, directoryName); - } - else - { - if (programFilesPath.IndexOf(Resources.x86InProgramFiles, StringComparison.InvariantCultureIgnoreCase) == -1) - { - programFilesPath += Resources.x86InProgramFiles; - if (throwIfNotFound) - { - Validate.ValidateDirectoryExists(Path.Combine(programFilesPath, directoryName)); - } - return Path.Combine(programFilesPath, directoryName); - } - else - { - programFilesPath = programFilesPath.Replace(Resources.x86InProgramFiles, String.Empty); - if (throwIfNotFound) - { - Validate.ValidateDirectoryExists(Path.Combine(programFilesPath, directoryName)); - } - return Path.Combine(programFilesPath, directoryName); - } - } - } - - /// - /// Copies a directory. - /// - /// The source directory name - /// The destination directory name - /// Should the copy be recursive - public static void DirectoryCopy(string sourceDirName, string destDirName, bool copySubDirs) - { - var dirs = DataStore.GetDirectories(sourceDirName); - - if (!DataStore.DirectoryExists(sourceDirName)) - { - throw new DirectoryNotFoundException(String.Format(Resources.PathDoesNotExist, sourceDirName)); - } - - DataStore.CreateDirectory(destDirName); - - var files = DataStore.GetFiles(sourceDirName); - foreach (var file in files) - { - string tempPath = Path.Combine(destDirName, Path.GetFileName(file)); - DataStore.CopyFile(file, tempPath); - } - - if (copySubDirs) - { - foreach (var subdir in dirs) - { - string temppath = Path.Combine(destDirName, Path.GetDirectoryName(subdir)); - DirectoryCopy(subdir, temppath, copySubDirs); - } - } - } - - /// - /// Ensures that a directory exists beofre attempting to write a file - /// - /// The path to the file that will be created - public static void EnsureDirectoryExists(string pathName) - { - Validate.ValidateStringIsNullOrEmpty(pathName, "Settings directory"); - string directoryPath = Path.GetDirectoryName(pathName); - if (!DataStore.DirectoryExists(directoryPath)) - { - DataStore.CreateDirectory(directoryPath); - } - } - - /// - /// Create a unique temp directory. - /// - /// Path to the temp directory. - public static string CreateTempDirectory() - { - string tempPath; - do - { - tempPath = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()); - } - while (DataStore.DirectoryExists(tempPath) || DataStore.FileExists(tempPath)); - - DataStore.CreateDirectory(tempPath); - return tempPath; - } - - /// - /// Copy a directory from one path to another. - /// - /// Source directory. - /// Destination directory. - public static void CopyDirectory(string sourceDirectory, string destinationDirectory) - { - Debug.Assert(!String.IsNullOrEmpty(sourceDirectory), "sourceDictory cannot be null or empty!"); - Debug.Assert(Directory.Exists(sourceDirectory), "sourceDirectory must exist!"); - Debug.Assert(!String.IsNullOrEmpty(destinationDirectory), "destinationDirectory cannot be null or empty!"); - Debug.Assert(!Directory.Exists(destinationDirectory), "destinationDirectory must not exist!"); - - foreach (string file in DataStore.GetFiles(sourceDirectory, "*", SearchOption.AllDirectories)) - { - string relativePath = file.Substring( - sourceDirectory.Length + 1, - file.Length - sourceDirectory.Length - 1); - string destinationPath = Path.Combine(destinationDirectory, relativePath); - - string destinationDir = Path.GetDirectoryName(destinationPath); - if (!DataStore.DirectoryExists(destinationDir)) - { - DataStore.CreateDirectory(destinationDir); - } - - DataStore.CopyFile(file, destinationPath); - } - } - - public static Encoding GetFileEncoding(string path) - { - Encoding encoding; - - - if (DataStore.FileExists(path)) - { - using (StreamReader r = new StreamReader(DataStore.ReadFileAsStream(path))) - { - encoding = r.CurrentEncoding; - } - } - else - { - encoding = Encoding.Default; - } - - return encoding; - } - - public static string CombinePath(params string[] paths) - { - return Path.Combine(paths); - } - - /// - /// Returns true if path is a valid directory. - /// - /// - /// - public static bool IsValidDirectoryPath(string path) - { - if (String.IsNullOrEmpty(path)) - { - return false; - } - - try - { - FileAttributes attributes = DataStore.GetFileAttributes(path); - - if ((attributes & FileAttributes.Directory) == FileAttributes.Directory) - { - return true; - } - else - { - return false; - } - } - catch - { - return false; - } - } - - public static void RecreateDirectory(string dir) - { - if (DataStore.DirectoryExists(dir)) - { - DataStore.DeleteDirectory(dir); - } - - DataStore.CreateDirectory(dir); - } - - /// - /// Gets the root installation path for the given Azure module. - /// - /// The module name - /// The module full path - public static string GetPSModulePathForModule(AzureModule module) - { - return GetContentFilePath(GetInstallPath(), GetModuleFolderName(module)); - } - - /// - /// Gets the root directory for all modules installation. - /// - /// The install path - public static string GetInstallPath() - { - string currentPath = GetAssemblyDirectory(); - while (!currentPath.EndsWith(GetModuleFolderName(AzureModule.AzureProfile)) && - !currentPath.EndsWith(GetModuleFolderName(AzureModule.AzureResourceManager)) && - !currentPath.EndsWith(GetModuleFolderName(AzureModule.AzureServiceManagement))) - { - currentPath = Directory.GetParent(currentPath).FullName; - } - - // The assemption is that the install directory looks like that: - // ServiceManagement - // AzureServiceManagement - // - // ResourceManager - // AzureResourceManager - // - // Profile - // AzureProfile - // - return Directory.GetParent(currentPath).FullName; - } - - public static string GetModuleName(AzureModule module) - { - switch (module) - { - case AzureModule.AzureServiceManagement: - return "Azure"; - - case AzureModule.AzureResourceManager: - return "AzureResourceManager"; - - case AzureModule.AzureProfile: - return "AzureProfile"; - - default: - throw new ArgumentOutOfRangeException(module.ToString()); - } - } - - public static string GetModuleFolderName(AzureModule module) - { - return module.ToString().Replace("Azure", ""); - } - } -} diff --git a/src/Common/Azure.Common.Extensions/Utilities/JsonUtilities.cs b/src/Common/Azure.Common.Extensions/Utilities/JsonUtilities.cs deleted file mode 100644 index 775718642225..000000000000 --- a/src/Common/Azure.Common.Extensions/Utilities/JsonUtilities.cs +++ /dev/null @@ -1,204 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Common.Extensions.Properties; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; -using System; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; - -namespace Microsoft.Azure.Common.Extensions -{ - public static class JsonUtilities - { - [SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Justification = "Handling the failure by returning the original string.")] - public static string TryFormatJson(string str) - { - try - { - object parsedJson = JsonConvert.DeserializeObject(str); - return JsonConvert.SerializeObject(parsedJson, Formatting.Indented); - } - catch - { - // can't parse JSON, return the original string - return str; - } - } - - public static Dictionary DeserializeJson(string jsonString, bool throwExceptionOnFailure = false) - { - Dictionary result = new Dictionary(); - if (jsonString == null) - { - return null; - } - if (String.IsNullOrWhiteSpace(jsonString)) - { - return result; - } - - try - { - JToken responseDoc = JToken.Parse(jsonString); - - if (responseDoc != null && responseDoc.Type == JTokenType.Object) - { - result = DeserializeJObject(responseDoc as JObject); - } - } - catch - { - if (throwExceptionOnFailure) - { - throw; - } - result = null; - } - return result; - } - - private static Dictionary DeserializeJObject(JObject jsonObject) - { - Dictionary result = new Dictionary(); - if (jsonObject == null || jsonObject.Type == JTokenType.Null) - { - return result; - } - foreach (var property in jsonObject) - { - if (property.Value.Type == JTokenType.Object) - { - result[property.Key] = DeserializeJObject(property.Value as JObject); - } - else if (property.Value.Type == JTokenType.Array) - { - result[property.Key] = DeserializeJArray(property.Value as JArray); - } - else - { - result[property.Key] = DeserializeJValue(property.Value as JValue); - } - } - return result; - } - - private static List DeserializeJArray(JArray jsonArray) - { - List result = new List(); - if (jsonArray == null || jsonArray.Type == JTokenType.Null) - { - return result; - } - foreach (var token in jsonArray) - { - if (token.Type == JTokenType.Object) - { - result.Add(DeserializeJObject(token as JObject)); - } - else if (token.Type == JTokenType.Array) - { - result.Add(DeserializeJArray(token as JArray)); - } - else - { - result.Add(DeserializeJValue(token as JValue)); - } - } - return result; - } - - private static object DeserializeJValue(JValue jsonObject) - { - if (jsonObject == null || jsonObject.Type == JTokenType.Null) - { - return null; - } - - return jsonObject.Value; - } - - public static string Patch(string originalJsonString, string patchJsonString) - { - if (string.IsNullOrWhiteSpace(originalJsonString)) - { - return patchJsonString; - } - else if (string.IsNullOrWhiteSpace(patchJsonString)) - { - return originalJsonString; - } - - JToken originalJson = JToken.Parse(originalJsonString); - JToken patchJson = JToken.Parse(patchJsonString); - - if (originalJson != null && originalJson.Type == JTokenType.Object && - patchJson != null && patchJson.Type == JTokenType.Object) - { - PatchJObject(originalJson as JObject, patchJson as JObject); - } - else if (originalJson != null && originalJson.Type == JTokenType.Array && - patchJson != null && patchJson.Type == JTokenType.Array) - { - originalJson = patchJson; - } - else if (originalJson != null && patchJson != null && originalJson.Type == patchJson.Type) - { - originalJson = patchJson; - } - else - { - throw new ArgumentException(string.Format(Resources.UnableToPatchJson, originalJson, patchJson)); - } - - return originalJson.ToString(Formatting.None); - } - - private static void PatchJObject(JObject originalJsonObject, JObject patchJsonObject) - { - foreach (var patchProperty in patchJsonObject) - { - if (originalJsonObject[patchProperty.Key] != null) - { - JToken originalJson = originalJsonObject[patchProperty.Key]; - JToken patchJson = patchProperty.Value; - - if (originalJson != null && originalJson.Type == JTokenType.Object && - patchJson != null && patchJson.Type == JTokenType.Object) - { - PatchJObject(originalJson as JObject, patchJson as JObject); - } - else if (originalJson != null && originalJson.Type == JTokenType.Array && - patchJson != null && patchJson.Type == JTokenType.Array) - { - originalJsonObject[patchProperty.Key] = patchJson; - } - else if (originalJson != null && patchJson != null && originalJson.Type == patchJson.Type) - { - originalJsonObject[patchProperty.Key] = patchJson; - } - else - { - throw new ArgumentException(string.Format(Resources.UnableToPatchJson, originalJson, patchJson)); - } - } - else - { - originalJsonObject[patchProperty.Key] = patchProperty.Value; - } - } - } - } -} diff --git a/src/Common/Azure.Common.Extensions/Utilities/XmlUtilities.cs b/src/Common/Azure.Common.Extensions/Utilities/XmlUtilities.cs deleted file mode 100644 index 834c12df07bc..000000000000 --- a/src/Common/Azure.Common.Extensions/Utilities/XmlUtilities.cs +++ /dev/null @@ -1,129 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using Microsoft.Azure.Common.Extensions.Properties; -using System; -using System.IO; -using System.Text; -using System.Xml; -using System.Xml.Linq; -using System.Xml.Serialization; - -namespace Microsoft.Azure.Common.Extensions -{ - public static class XmlUtilities - { - public static T DeserializeXmlFile(string fileName, string exceptionMessage = null) - { - // TODO: fix and uncomment. second parameter is wrong - // Validate.ValidateFileFull(fileName, string.Format(Resources.PathDoesNotExistForElement, string.Empty, fileName)); - - T item = default(T); - - XmlSerializer xmlSerializer = new XmlSerializer(typeof(T)); - using (TextReader reader = new StreamReader(FileUtilities.DataStore.ReadFileAsStream(fileName))) - { - try { item = (T)xmlSerializer.Deserialize(reader); } - catch - { - if (!String.IsNullOrEmpty(exceptionMessage)) - { - throw new InvalidOperationException(exceptionMessage); - } - else - { - throw; - } - } - } - - return item; - } - - public static void SerializeXmlFile(T obj, string fileName) - { - Validate.ValidatePathName(fileName, String.Format(Resources.PathDoesNotExistForElement, String.Empty, fileName)); - Validate.ValidateStringIsNullOrEmpty(fileName, String.Empty); - - XmlSerializer xmlSerializer = new XmlSerializer(typeof(T)); - StringBuilder sBuilder = new StringBuilder(); - using (StringWriter writer = new StringWriter(sBuilder)) - { - xmlSerializer.Serialize(writer, obj); - } - FileUtilities.DataStore.WriteFile(fileName, sBuilder.ToString(), Encoding.Unicode); - } - - public static string SerializeXmlString(T obj) - { - XmlSerializer xmlSerializer = new XmlSerializer(typeof(T)); - StringBuilder sBuilder = new StringBuilder(); - - using (StringWriter writer = new StringWriter(sBuilder)) - { - xmlSerializer.Serialize(writer, obj); - } - - return sBuilder.ToString(); - } - - /// - /// Formats the given XML into indented way. - /// - /// The input xml string - /// The formatted xml string - public static string TryFormatXml(string content) - { - try - { - XDocument doc = XDocument.Parse(content); - return doc.ToString(); - } - catch (Exception) - { - return content; - } - } - - /// - /// Formats given string into well formatted XML. - /// - /// The unformatted xml string - /// The formatted XML string - public static string Beautify(string unformattedXml) - { - string formattedXml = String.Empty; - if (!String.IsNullOrEmpty(unformattedXml)) - { - XmlDocument doc = new XmlDocument(); - doc.LoadXml(unformattedXml); - StringBuilder stringBuilder = new StringBuilder(); - XmlWriterSettings settings = new XmlWriterSettings() - { - Indent = true, - IndentChars = "\t", - NewLineChars = Environment.NewLine, - NewLineHandling = NewLineHandling.Replace - }; - using (XmlWriter writer = XmlWriter.Create(stringBuilder, settings)) - { - doc.Save(writer); - } - formattedXml = stringBuilder.ToString(); - } - - return formattedXml; - } - } -} diff --git a/src/Common/Azure.Common.Extensions/XmlSchema/PublishProfile.cs b/src/Common/Azure.Common.Extensions/XmlSchema/PublishProfile.cs deleted file mode 100644 index 852dff1f026e..000000000000 --- a/src/Common/Azure.Common.Extensions/XmlSchema/PublishProfile.cs +++ /dev/null @@ -1,219 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.17020 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System.Xml.Serialization; - -namespace Microsoft.Azure.Common.Extensions.XmlSchema -{ - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [XmlType(AnonymousType = true)] - [XmlRoot(Namespace = "", IsNullable = false)] - public partial class PublishData - { - - private PublishDataPublishProfile[] itemsField; - - /// - [XmlElement("PublishProfile", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] - public PublishDataPublishProfile[] Items - { - get - { - return this.itemsField; - } - set - { - this.itemsField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [XmlType(AnonymousType = true)] - public partial class PublishDataPublishProfile - { - - private PublishDataPublishProfileSubscription[] subscriptionField; - - private string publishMethodField; - - private string urlField; - - private string managementCertificateField; - - private string SchemaVersionField; - - /// - [XmlElement("Subscription", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] - public PublishDataPublishProfileSubscription[] Subscription - { - get - { - return this.subscriptionField; - } - set - { - this.subscriptionField = value; - } - } - - /// - [XmlAttribute()] - public string PublishMethod - { - get - { - return this.publishMethodField; - } - set - { - this.publishMethodField = value; - } - } - - /// - [XmlAttribute()] - public string Url - { - get - { - return this.urlField; - } - set - { - this.urlField = value; - } - } - - /// - [XmlAttribute()] - public string ManagementCertificate - { - get - { - return this.managementCertificateField; - } - set - { - this.managementCertificateField = value; - } - } - - /// - [XmlAttribute()] - public string SchemaVersion - { - get - { - return this.SchemaVersionField; - } - set - { - this.SchemaVersionField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [XmlType(AnonymousType = true)] - public partial class PublishDataPublishProfileSubscription - { - - private string idField; - - private string nameField; - - private string serviceManagementUrlField; - - private string managementCertificateField; - - /// - [XmlAttribute()] - public string Id - { - get - { - return this.idField; - } - set - { - this.idField = value; - } - } - - /// - [XmlAttribute()] - public string Name - { - get - { - return this.nameField; - } - set - { - this.nameField = value; - } - } - - /// - [XmlAttribute()] - public string ServiceManagementUrl - { - get - { - return this.serviceManagementUrlField; - } - set - { - this.serviceManagementUrlField = value; - } - } - - /// - [XmlAttribute()] - public string ManagementCertificate - { - get - { - return this.managementCertificateField; - } - set - { - this.managementCertificateField = value; - } - } - } -} \ No newline at end of file diff --git a/src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj b/src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj index 89eb2b979a81..e2faf0ece2d5 100644 --- a/src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj +++ b/src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj @@ -50,19 +50,19 @@ False - ..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll False - ..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll False - ..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll False @@ -77,12 +77,12 @@ ..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - + False - ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -99,9 +99,9 @@ ..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll - + False - ..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll False diff --git a/src/Common/Commands.Common.Storage/WindowsAzureSubscriptionExtensions.cs b/src/Common/Commands.Common.Storage/WindowsAzureSubscriptionExtensions.cs index 9e9294f98d9b..0ba9d67a5da3 100644 --- a/src/Common/Commands.Common.Storage/WindowsAzureSubscriptionExtensions.cs +++ b/src/Common/Commands.Common.Storage/WindowsAzureSubscriptionExtensions.cs @@ -15,11 +15,11 @@ using System; using System.Collections.Generic; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Storage; using Microsoft.WindowsAzure.Management.Storage; using Microsoft.WindowsAzure.Storage; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Utilities.Common { @@ -27,14 +27,14 @@ public static class WindowsAzureSubscriptionExtensions { private static Dictionary storageAccountCache = new Dictionary(); - public static CloudStorageAccount GetCloudStorageAccount(this AzureSubscription subscription) + public static CloudStorageAccount GetCloudStorageAccount(this AzureSubscription subscription, AzureProfile profile) { if (subscription == null) { return null; } - using (var storageClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement)) + using (var storageClient = AzureSession.ClientFactory.CreateClient(profile, subscription, AzureEnvironment.Endpoint.ServiceManagement)) { return StorageUtilities.GenerateCloudStorageAccount( storageClient, subscription.GetProperty(AzureSubscription.Property.StorageAccount)); diff --git a/src/Common/Commands.Common.Storage/packages.config b/src/Common/Commands.Common.Storage/packages.config index e4506f130cef..4885e3ffca56 100644 --- a/src/Common/Commands.Common.Storage/packages.config +++ b/src/Common/Commands.Common.Storage/packages.config @@ -1,9 +1,9 @@  - - + + + - @@ -11,10 +11,10 @@ - + - + diff --git a/src/Common/Commands.Common.Test/Commands.Common.Test.csproj b/src/Common/Commands.Common.Test/Commands.Common.Test.csproj index e03df699a4ab..c4ca22e8dd06 100644 --- a/src/Common/Commands.Common.Test/Commands.Common.Test.csproj +++ b/src/Common/Commands.Common.Test/Commands.Common.Test.csproj @@ -49,24 +49,24 @@ - ..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\packages\Microsoft.Azure.Common.2.0.3\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\packages\Microsoft.Azure.Common.2.0.3\lib\net45\Microsoft.Azure.Common.NetFramework.dll ..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll False - ..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5486.28526-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll + ..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll ..\..\packages\Microsoft.Data.Edm.5.6.0\lib\net40\Microsoft.Data.Edm.dll @@ -77,13 +77,13 @@ ..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - + False - ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - + False - ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -101,11 +101,13 @@ ..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll - - ..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + False + ..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll - - ..\..\packages\Microsoft.WindowsAzure.Management.Compute.8.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll + + False + ..\..\packages\Microsoft.WindowsAzure.Management.Compute.9.2.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll ..\..\packages\Microsoft.WindowsAzure.Management.Storage.5.0.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll @@ -153,8 +155,7 @@ - - + diff --git a/src/Common/Commands.Common.Test/Common/AuthenticationFactoryTests.cs b/src/Common/Commands.Common.Test/Common/AuthenticationFactoryTests.cs index 1c40dff9da38..787e2da883bc 100644 --- a/src/Common/Commands.Common.Test/Common/AuthenticationFactoryTests.cs +++ b/src/Common/Commands.Common.Test/Common/AuthenticationFactoryTests.cs @@ -15,10 +15,10 @@ using System.Collections.Generic; using Xunit; using System; -using Microsoft.Azure.Common.Extensions.Factories; +using Microsoft.Azure.Common.Authentication.Factories; using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Microsoft.Azure.Common.Extensions.Authentication; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; namespace Microsoft.WindowsAzure.Commands.Common.Test.Common { @@ -34,10 +34,16 @@ public void VerifySubscriptionTokenCacheRemove() var subscriptionId = Guid.NewGuid(); - var credential = authFactory.GetSubscriptionCloudCredentials(new AzureContext - { - Environment = AzureEnvironment.PublicEnvironments["AzureCloud"], - Account = new AzureAccount + var credential = authFactory.GetSubscriptionCloudCredentials(new AzureContext( + new AzureSubscription + { + Id = subscriptionId, + Properties = new Dictionary + { + { AzureSubscription.Property.Tenants, "123"} + } + }, + new AzureAccount { Id = "testuser", Type = AzureAccount.AccountType.User, @@ -46,16 +52,9 @@ public void VerifySubscriptionTokenCacheRemove() { AzureAccount.Property.Tenants, "123" } } }, - Subscription = new AzureSubscription - { - Id = subscriptionId, - Properties = new Dictionary - { - { AzureSubscription.Property.Tenants, "123"} - } - } + AzureEnvironment.PublicEnvironments["AzureCloud"] - }); + )); Assert.True(credential is AccessTokenCredential); Assert.Equal(subscriptionId, new Guid(((AccessTokenCredential)credential).SubscriptionId)); diff --git a/src/Common/Commands.Common.Test/Common/ConversionUtilitiesTests.cs b/src/Common/Commands.Common.Test/Common/ConversionUtilitiesTests.cs index 68cf9479d686..72d0961ad985 100644 --- a/src/Common/Commands.Common.Test/Common/ConversionUtilitiesTests.cs +++ b/src/Common/Commands.Common.Test/Common/ConversionUtilitiesTests.cs @@ -15,7 +15,7 @@ using System.Collections.Generic; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Xunit; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Common.Test { diff --git a/src/Common/Commands.Common.Test/Common/Data.cs b/src/Common/Commands.Common.Test/Common/Data.cs index 18c6d3189341..65a7e521ebbd 100644 --- a/src/Common/Commands.Common.Test/Common/Data.cs +++ b/src/Common/Commands.Common.Test/Common/Data.cs @@ -20,7 +20,7 @@ using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.Utilities.Common { @@ -66,7 +66,7 @@ public static class Data static Data() { - AzureAppDir = Path.Combine(Directory.GetCurrentDirectory(), Resources.AzureDirectoryName); + AzureAppDir = AzureSession.ProfileDirectory; AzureSdkAppDir = Path.Combine(Directory.GetCurrentDirectory(), "Microsoft Azure PowerShell"); TestResultDirectory = FileUtilities.GetAssemblyDirectory(); diff --git a/src/Common/Commands.Common.Test/Common/GeneralTests.cs b/src/Common/Commands.Common.Test/Common/GeneralTests.cs index 52c47af4e469..a6497020f8c5 100644 --- a/src/Common/Commands.Common.Test/Common/GeneralTests.cs +++ b/src/Common/Commands.Common.Test/Common/GeneralTests.cs @@ -16,7 +16,7 @@ using System.IO; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Xunit; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Common.Test.Common { diff --git a/src/Common/Commands.Common.Test/Common/JsonUtilitiesTests.cs b/src/Common/Commands.Common.Test/Common/JsonUtilitiesTests.cs index 9d01c351e8e7..bb6345ef2b3d 100644 --- a/src/Common/Commands.Common.Test/Common/JsonUtilitiesTests.cs +++ b/src/Common/Commands.Common.Test/Common/JsonUtilitiesTests.cs @@ -19,7 +19,7 @@ using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Xunit; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Common.Test.Common { diff --git a/src/Common/Commands.Common.Test/Common/MockSubsciptionFactory.cs b/src/Common/Commands.Common.Test/Common/MockSubsciptionFactory.cs new file mode 100644 index 000000000000..128f03e5bfb0 --- /dev/null +++ b/src/Common/Commands.Common.Test/Common/MockSubsciptionFactory.cs @@ -0,0 +1,79 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Microsoft.Azure.Common.Authentication; +using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; + +namespace Microsoft.WindowsAzure.Commands.Common.Test.Common +{ + public class MockSubsciptionFactory : IClientFactory + { + public void AddAction(Azure.Common.Authentication.Models.IClientAction action) + { + throw new NotImplementedException(); + } + + public TClient CreateClient(Azure.Common.Authentication.Models.AzureProfile profile, Azure.Common.Authentication.Models.AzureSubscription subscription, Azure.Common.Authentication.Models.AzureEnvironment.Endpoint endpoint) where TClient : Hyak.Common.ServiceClient + { + throw new NotImplementedException(); + } + + public TClient CreateClient(Azure.Common.Authentication.Models.AzureProfile profile, Azure.Common.Authentication.Models.AzureEnvironment.Endpoint endpoint) where TClient : Hyak.Common.ServiceClient + { + throw new NotImplementedException(); + } + + public TClient CreateClient(Azure.Common.Authentication.Models.AzureContext context, Azure.Common.Authentication.Models.AzureEnvironment.Endpoint endpoint) where TClient : Hyak.Common.ServiceClient + { + throw new NotImplementedException(); + } + + public TClient CreateCustomClient(params object[] parameters) where TClient : Hyak.Common.ServiceClient + { + throw new NotImplementedException(); + } + + public System.Net.Http.HttpClient CreateHttpClient(string endpoint, System.Net.Http.HttpMessageHandler effectiveHandler) + { + throw new NotImplementedException(); + } + + public System.Net.Http.HttpClient CreateHttpClient(string endpoint, System.Net.ICredentials credentials) + { + throw new NotImplementedException(); + } + + public void RemoveAction(Type actionType) + { + throw new NotImplementedException(); + } + + public List UserAgents + { + get + { + throw new NotImplementedException(); + } + set + { + throw new NotImplementedException(); + } + } + } +} diff --git a/src/Common/Commands.Common.Test/Common/ProfileClientTests.cs b/src/Common/Commands.Common.Test/Common/ProfileClientTests.cs deleted file mode 100644 index 334469eefacf..000000000000 --- a/src/Common/Commands.Common.Test/Common/ProfileClientTests.cs +++ /dev/null @@ -1,1692 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using Microsoft.Azure.Subscriptions.Models; -using Microsoft.Azure.Common.Extensions.Models; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Profile; -using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions.Authentication; -using Xunit; -using Microsoft.Azure.Common.Extensions; - -namespace Microsoft.WindowsAzure.Commands.Common.Test.Common -{ - public class ProfileClientTests - { - private string oldProfileData; - private string oldProfileDataBadSubscription; - private string oldProfileDataCorruptedFile; - private string oldProfileDataPath; - private string oldProfileDataPathError; - private string newProfileDataPath; - private string jsonProfileWithoutAccount; - private string jsonProfileWithBadData; - private string defaultSubscription = "06E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1F"; - private WindowsAzure.Subscriptions.Models.SubscriptionListOperationResponse.Subscription rdfeSubscription1; - private WindowsAzure.Subscriptions.Models.SubscriptionListOperationResponse.Subscription rdfeSubscription2; - private Azure.Subscriptions.Models.Subscription csmSubscription1; - private Azure.Subscriptions.Models.Subscription csmSubscription1withDuplicateId; - private Azure.Subscriptions.Models.Subscription csmSubscription2; - private AzureSubscription azureSubscription1; - private AzureSubscription azureSubscription2; - private AzureSubscription azureSubscription3withoutUser; - private AzureEnvironment azureEnvironment; - private AzureAccount azureAccount; - private TenantIdDescription commonTenant; - private TenantIdDescription guestTenant; - private Subscriptions.Models.SubscriptionListOperationResponse.Subscription guestRdfeSubscription; - private Subscription guestCsmSubscription; - - public ProfileClientTests() - { - SetMockData(); - AzureSession.SetCurrentContext(null, null, null); - } - - [Fact] - public void ProfileGetsCreatedWithNonExistingFile() - { - ProfileClient.DataStore = new MockDataStore(); - ProfileClient client = new ProfileClient(); - } - - [Fact] - public void ProfileMigratesOldData() - { - MockDataStore dataStore = new MockDataStore(); - dataStore.VirtualStore[oldProfileDataPath] = oldProfileData; - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - - Assert.False(dataStore.FileExists(oldProfileDataPath)); - Assert.True(dataStore.FileExists(newProfileDataPath)); - } - - [Fact] - public void ProfileMigratesOldDataOnce() - { - MockDataStore dataStore = new MockDataStore(); - dataStore.VirtualStore[oldProfileDataPath] = oldProfileData; - ProfileClient.DataStore = dataStore; - ProfileClient client1 = new ProfileClient(); - - Assert.False(dataStore.FileExists(oldProfileDataPath)); - Assert.True(dataStore.FileExists(newProfileDataPath)); - - ProfileClient client2 = new ProfileClient(); - - Assert.False(dataStore.FileExists(oldProfileDataPath)); - Assert.True(dataStore.FileExists(newProfileDataPath)); - } - - [Fact] - public void ProfileMigratesAccountsAndDefaultSubscriptions() - { - MockDataStore dataStore = new MockDataStore(); - dataStore.VirtualStore[oldProfileDataPath] = oldProfileData; - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - - // Verify Environment migration - Assert.Equal(4, client.Profile.Environments.Count); - Assert.Equal("Current", client.Profile.Environments["Current"].Name); - Assert.Equal("Dogfood", client.Profile.Environments["Dogfood"].Name); - Assert.Equal("https://login.windows-ppe.net/", client.Profile.Environments["Dogfood"].Endpoints[AzureEnvironment.Endpoint.AdTenant]); - Assert.Equal("https://management.core.windows.net/", client.Profile.Environments["Dogfood"].Endpoints[AzureEnvironment.Endpoint.ActiveDirectoryServiceEndpointResourceId]); - Assert.Equal("https://df.gallery.azure-test.net", client.Profile.Environments["Dogfood"].Endpoints[AzureEnvironment.Endpoint.Gallery]); - Assert.Equal("https://windows.azure-test.net", client.Profile.Environments["Dogfood"].Endpoints[AzureEnvironment.Endpoint.ManagementPortalUrl]); - Assert.Equal("https://auxnext.windows.azure-test.net/publishsettings/index", client.Profile.Environments["Dogfood"].Endpoints[AzureEnvironment.Endpoint.PublishSettingsFileUrl]); - Assert.Equal("https://api-dogfood.resources.windows-int.net", client.Profile.Environments["Dogfood"].Endpoints[AzureEnvironment.Endpoint.ResourceManager]); - Assert.Equal("https://management-preview.core.windows-int.net/", client.Profile.Environments["Dogfood"].Endpoints[AzureEnvironment.Endpoint.ServiceManagement]); - Assert.Equal(".database.windows.net", client.Profile.Environments["Dogfood"].Endpoints[AzureEnvironment.Endpoint.SqlDatabaseDnsSuffix]); - - // Verify subscriptions - Assert.Equal(3, client.Profile.Subscriptions.Count); - Assert.False(client.Profile.Subscriptions.ContainsKey(new Guid("06E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E"))); - Assert.True(client.Profile.Subscriptions.ContainsKey(new Guid("06E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1F"))); - Assert.Equal("Test 2", client.Profile.Subscriptions[new Guid("06E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1F")].Name); - Assert.True(client.Profile.Subscriptions[new Guid("06E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1F")].IsPropertySet(AzureSubscription.Property.Default)); - Assert.Equal("test@mail.com", client.Profile.Subscriptions[new Guid("06E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1F")].Account); - Assert.Equal("Dogfood", client.Profile.Subscriptions[new Guid("06E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1F")].Environment); - Assert.Equal("123", client.Profile.Subscriptions[new Guid("06E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1F")].Properties[AzureSubscription.Property.Tenants]); - Assert.True(client.Profile.Subscriptions.ContainsKey(new Guid("d1e52cbc-b073-42e2-a0a0-c2f547118a6f"))); - Assert.Equal("Test 3", client.Profile.Subscriptions[new Guid("d1e52cbc-b073-42e2-a0a0-c2f547118a6f")].Name); - Assert.False(client.Profile.Subscriptions[new Guid("d1e52cbc-b073-42e2-a0a0-c2f547118a6f")].IsPropertySet(AzureSubscription.Property.Default)); - Assert.Equal("test@mail.com", client.Profile.Subscriptions[new Guid("d1e52cbc-b073-42e2-a0a0-c2f547118a6f")].Account); - Assert.Equal("72f988bf-86f1-41af-91ab-2d7cd011db47", client.Profile.Subscriptions[new Guid("d1e52cbc-b073-42e2-a0a0-c2f547118a6f")].Properties[AzureSubscription.Property.Tenants]); - Assert.Equal(EnvironmentName.AzureCloud, client.Profile.Subscriptions[new Guid("d1e52cbc-b073-42e2-a0a0-c2f547118a6f")].Environment); - Assert.Equal(EnvironmentName.AzureChinaCloud, client.Profile.Subscriptions[new Guid("c14d7dc5-ed4d-4346-a02f-9f1bcf78fb66")].Environment); - - // Verify accounts - Assert.Equal(2, client.Profile.Accounts.Count); - Assert.Equal("test@mail.com", client.Profile.Accounts["test@mail.com"].Id); - Assert.Equal(AzureAccount.AccountType.User, client.Profile.Accounts["test@mail.com"].Type); - Assert.True(client.Profile.Accounts["test@mail.com"].GetPropertyAsArray(AzureAccount.Property.Subscriptions) - .Contains(new Guid("06E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1F").ToString())); - Assert.True(client.Profile.Accounts["test@mail.com"].GetPropertyAsArray(AzureAccount.Property.Subscriptions) - .Contains(new Guid("d1e52cbc-b073-42e2-a0a0-c2f547118a6f").ToString())); - Assert.True(client.Profile.Accounts["3AF24D48B97730E5C4C9CCB12397B5E046F79E09"].GetPropertyAsArray(AzureAccount.Property.Subscriptions) - .Contains(new Guid("d1e52cbc-b073-42e2-a0a0-c2f547118a6f").ToString())); - Assert.True(client.Profile.Accounts["test@mail.com"].GetPropertyAsArray(AzureAccount.Property.Tenants) - .Contains("72f988bf-86f1-41af-91ab-2d7cd011db47")); - Assert.True(client.Profile.Accounts["test@mail.com"].GetPropertyAsArray(AzureAccount.Property.Tenants) - .Contains("123")); - Assert.Equal("3AF24D48B97730E5C4C9CCB12397B5E046F79E09", client.Profile.Accounts["3AF24D48B97730E5C4C9CCB12397B5E046F79E09"].Id); - Assert.Equal(AzureAccount.AccountType.Certificate, client.Profile.Accounts["3AF24D48B97730E5C4C9CCB12397B5E046F79E09"].Type); - Assert.Equal(0, client.Profile.Accounts["3AF24D48B97730E5C4C9CCB12397B5E046F79E09"].GetPropertyAsArray(AzureAccount.Property.Tenants).Length); - Assert.Equal(2, client.Profile.Accounts["3AF24D48B97730E5C4C9CCB12397B5E046F79E09"].GetPropertyAsArray(AzureAccount.Property.Subscriptions).Length); - } - - [Fact] - public void ProfileMigratesAccountsSkipsBadOnesAndBacksUpFile() - { - MockDataStore dataStore = new MockDataStore(); - dataStore.VirtualStore[oldProfileDataPath] = oldProfileDataBadSubscription; - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - - // Verify Environment migration - Assert.Equal(2, client.Profile.Environments.Count); - - // Verify subscriptions - Assert.Equal(3, client.Profile.Subscriptions.Count); - Assert.True(client.Profile.Subscriptions.ContainsKey(new Guid("06E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1F"))); - Assert.Equal("Test Bad Management Endpoint", client.Profile.Subscriptions[new Guid("06E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1F")].Name); - Assert.Equal(EnvironmentName.AzureCloud, client.Profile.Subscriptions[new Guid("06E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1F")].Environment); - Assert.Equal("Test Null Management Endpoint", client.Profile.Subscriptions[new Guid("06E3F6FD-A3AA-439A-8FC4-1F5C41D2ADFF")].Name); - Assert.Equal(EnvironmentName.AzureCloud, client.Profile.Subscriptions[new Guid("06E3F6FD-A3AA-439A-8FC4-1F5C41D2ADFF")].Environment); - - Assert.True(client.Profile.Subscriptions.ContainsKey(new Guid("d1e52cbc-b073-42e2-a0a0-c2f547118a6f"))); - Assert.Equal("Test Bad Cert", client.Profile.Subscriptions[new Guid("d1e52cbc-b073-42e2-a0a0-c2f547118a6f")].Name); - - // Verify accounts - Assert.Equal(2, client.Profile.Accounts.Count); - Assert.Equal("test@mail.com", client.Profile.Accounts["test@mail.com"].Id); - Assert.Equal(AzureAccount.AccountType.User, client.Profile.Accounts["test@mail.com"].Type); - Assert.True(client.Profile.Accounts["test@mail.com"].GetPropertyAsArray(AzureAccount.Property.Subscriptions) - .Contains(new Guid("06E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1F").ToString())); - Assert.True(client.Profile.Accounts["test@mail.com"].GetPropertyAsArray(AzureAccount.Property.Subscriptions) - .Contains(new Guid("d1e52cbc-b073-42e2-a0a0-c2f547118a6f").ToString())); - Assert.True(client.Profile.Accounts["3AF24D48B97730E5C4C9CCB12397B5E046F79E99"].GetPropertyAsArray(AzureAccount.Property.Subscriptions) - .Contains(new Guid("d1e52cbc-b073-42e2-a0a0-c2f547118a6f").ToString())); - Assert.True(client.Profile.Accounts["test@mail.com"].GetPropertyAsArray(AzureAccount.Property.Tenants) - .Contains("72f988bf-86f1-41af-91ab-2d7cd011db47")); - Assert.False(client.Profile.Accounts["test@mail.com"].GetPropertyAsArray(AzureAccount.Property.Tenants) - .Contains("123")); - Assert.Equal("3AF24D48B97730E5C4C9CCB12397B5E046F79E99", client.Profile.Accounts["3AF24D48B97730E5C4C9CCB12397B5E046F79E99"].Id); - Assert.Equal(AzureAccount.AccountType.Certificate, client.Profile.Accounts["3AF24D48B97730E5C4C9CCB12397B5E046F79E99"].Type); - Assert.Equal(0, client.Profile.Accounts["3AF24D48B97730E5C4C9CCB12397B5E046F79E99"].GetPropertyAsArray(AzureAccount.Property.Tenants).Length); - Assert.Equal(1, client.Profile.Accounts["3AF24D48B97730E5C4C9CCB12397B5E046F79E99"].GetPropertyAsArray(AzureAccount.Property.Subscriptions).Length); - - // Verify backup file - Assert.True(dataStore.FileExists(oldProfileDataPathError)); - Assert.False(dataStore.FileExists(oldProfileDataPath)); - Assert.Equal(oldProfileDataBadSubscription, dataStore.ReadFileAsText(oldProfileDataPathError)); - } - - [Fact] - public void ProfileMigratesCorruptedFileAndCreatedBackup() - { - MockDataStore dataStore = new MockDataStore(); - dataStore.VirtualStore[oldProfileDataPath] = oldProfileDataCorruptedFile; - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - - // Verify Environment migration - Assert.Equal(2, client.Profile.Environments.Count); - - // Verify subscriptions - Assert.Equal(0, client.Profile.Subscriptions.Count); - - // Verify accounts - Assert.Equal(0, client.Profile.Accounts.Count); - - // Verify backup file - Assert.True(dataStore.FileExists(oldProfileDataPathError)); - Assert.False(dataStore.FileExists(oldProfileDataPath)); - Assert.Equal(oldProfileDataCorruptedFile, dataStore.ReadFileAsText(oldProfileDataPathError)); - } - - [Fact] - public void CmdletStartsWithCorruptedJson() - { - MockDataStore dataStore = new MockDataStore(); - dataStore.VirtualStore[newProfileDataPath] = jsonProfileWithBadData; - ProfileClient.DataStore = dataStore; - - GetAzureSubscriptionCommand cmdlt = new GetAzureSubscriptionCommand(); - - ProfileClient client = new ProfileClient(); - - Assert.Equal(0, client.Profile.Subscriptions.Count); - Assert.Null(AzureSession.CurrentContext.Subscription); - Assert.Null(AzureSession.CurrentContext.Account); - } - - [Fact] - public void CmdletStartsWithJsonWithoutAccounts() - { - MockDataStore dataStore = new MockDataStore(); - dataStore.VirtualStore[newProfileDataPath] = jsonProfileWithoutAccount; - ProfileClient.DataStore = dataStore; - - GetAzureSubscriptionCommand cmdlt = new GetAzureSubscriptionCommand(); - - ProfileClient client = new ProfileClient(); - - Assert.Equal(1, client.Profile.Subscriptions.Count); - Assert.Null(AzureSession.CurrentContext.Subscription); - Assert.Null(AzureSession.CurrentContext.Account); - } - - [Fact] - public void AddAzureAccountReturnsAccountWithAllSubscriptionsInRdfeMode() - { - SetMocks(new[] { rdfeSubscription1, rdfeSubscription2 }.ToList(), new[] { csmSubscription1 }.ToList()); - MockDataStore dataStore = new MockDataStore(); - dataStore.VirtualStore[oldProfileDataPath] = oldProfileData; - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - - var account = client.AddAccountAndLoadSubscriptions(new AzureAccount { Id = "test", Type = AzureAccount.AccountType.User }, AzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud], null); - - Assert.Equal("test", account.Id); - Assert.Equal(3, account.GetSubscriptions(client.Profile).Count); - Assert.True(account.GetSubscriptions(client.Profile).Any(s => s.Id == new Guid(rdfeSubscription1.SubscriptionId))); - Assert.True(account.GetSubscriptions(client.Profile).Any(s => s.Id == new Guid(rdfeSubscription2.SubscriptionId))); - Assert.True(account.GetSubscriptions(client.Profile).Any(s => s.Id == new Guid(csmSubscription1.SubscriptionId))); - } - - [Fact] - public void AddAzureAccountReturnsAccountWithAllSubscriptionsInCsmMode() - { - SetMocks(new[] { rdfeSubscription1, rdfeSubscription2 }.ToList(), new[] { csmSubscription1 }.ToList()); - MockDataStore dataStore = new MockDataStore(); - dataStore.VirtualStore[oldProfileDataPath] = oldProfileData; - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - - var account = client.AddAccountAndLoadSubscriptions(new AzureAccount { Id = "test", Type = AzureAccount.AccountType.User }, AzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud], null); - - Assert.Equal("test", account.Id); - Assert.Equal(3, account.GetSubscriptions(client.Profile).Count); - Assert.True(account.GetSubscriptions(client.Profile).Any(s => s.Id == new Guid(rdfeSubscription1.SubscriptionId))); - Assert.True(account.GetSubscriptions(client.Profile).Any(s => s.Id == new Guid(rdfeSubscription2.SubscriptionId))); - Assert.True(account.GetSubscriptions(client.Profile).Any(s => s.Id == new Guid(csmSubscription1.SubscriptionId))); - } - - /// - /// Verify that if a user has a different identity in one tenant, the identity is not added if it has no - /// access to subscriptions - /// - [Fact] - public void AddAzureAccountWithImpersonatedGuestWithNoSubscriptions() - { - SetMocks(new[] { rdfeSubscription1 }.ToList(), new List(), - new[] { commonTenant, guestTenant }.ToList(), - (userAccount, environment, tenant) => - { - var token = new MockAccessToken - { - UserId = tenant == commonTenant.TenantId ? userAccount.Id : "UserB", - AccessToken = "def", - LoginType = LoginType.OrgId - }; - userAccount.Id = token.UserId; - return token; - }); - MockDataStore dataStore = new MockDataStore(); - dataStore.VirtualStore[oldProfileDataPath] = oldProfileData; - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - - var account = client.AddAccountAndLoadSubscriptions(new AzureAccount { Id = "UserA", Type = AzureAccount.AccountType.User }, AzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud], null); - - Assert.Equal("UserA", account.Id); - Assert.Equal(1, account.GetSubscriptions(client.Profile).Count); - var subrdfe1 = account.GetSubscriptions(client.Profile).FirstOrDefault(s => s.Id == new Guid(rdfeSubscription1.SubscriptionId)); - var userA = client.GetAccount("UserA"); - var userB = client.GetAccount("UserB"); - Assert.NotNull(userA); - Assert.NotNull(userB); - Assert.Contains(rdfeSubscription1.SubscriptionId, userA.GetPropertyAsArray(AzureAccount.Property.Subscriptions), StringComparer.OrdinalIgnoreCase); - Assert.False(userB.HasSubscription(new Guid(rdfeSubscription1.SubscriptionId))); - Assert.NotNull(subrdfe1); - Assert.Equal("UserA", subrdfe1.Account); - } - - /// - /// Verify that multiple accounts can be added if a user has different identitities in different domains, linked to the same login - /// Verify that subscriptions with admin access forall accounts are added - /// - [Fact] - public void AddAzureAccountWithImpersonatedGuestWithSubscriptions() - { - SetMocks(new[] { rdfeSubscription1, guestRdfeSubscription }.ToList(), new List(), new[] { commonTenant, guestTenant }.ToList(), - (userAccount, environment, tenant) => - { - var token = new MockAccessToken - { - UserId = tenant == commonTenant.TenantId ? userAccount.Id : "UserB", - AccessToken = "def", - LoginType = LoginType.OrgId - }; - userAccount.Id = token.UserId; - return token; - }); - MockDataStore dataStore = new MockDataStore(); - dataStore.VirtualStore[oldProfileDataPath] = oldProfileData; - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - - var account = client.AddAccountAndLoadSubscriptions(new AzureAccount { Id = "UserA", Type = AzureAccount.AccountType.User }, - AzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud], null); - - Assert.Equal("UserA", account.Id); - Assert.Equal(1, account.GetSubscriptions(client.Profile).Count); - var subrdfe1 = account.GetSubscriptions(client.Profile).FirstOrDefault(s => s.Id == new Guid(rdfeSubscription1.SubscriptionId)); - var userA = client.GetAccount("UserA"); - var userB = client.GetAccount("UserB"); - var subGuest = userB.GetSubscriptions(client.Profile).FirstOrDefault(s => s.Id == new Guid(guestRdfeSubscription.SubscriptionId)); - Assert.NotNull(userA); - Assert.NotNull(userB); - Assert.Contains(rdfeSubscription1.SubscriptionId, userA.GetPropertyAsArray(AzureAccount.Property.Subscriptions), StringComparer.OrdinalIgnoreCase); - Assert.Contains(guestRdfeSubscription.SubscriptionId, userB.GetPropertyAsArray(AzureAccount.Property.Subscriptions), StringComparer.OrdinalIgnoreCase); - Assert.NotNull(subrdfe1); - Assert.NotNull(subGuest); - Assert.Equal("UserA", subrdfe1.Account); - Assert.Equal("UserB", subGuest.Account); - } - /// - /// Test that when account is added more than once with different capitalization, only a single account is added - /// and that accounts can be retrieved case-insensitively - /// - [Fact] - public void AddAzureAccountIsCaseInsensitive() - { - SetMocks(new[] { rdfeSubscription1, guestRdfeSubscription }.ToList(), new List(), new[] { commonTenant, guestTenant }.ToList(), - (userAccount, environment, tenant) => - { - var token = new MockAccessToken - { - UserId = tenant == commonTenant.TenantId ? userAccount.Id : "USERA", - AccessToken = "def", - LoginType = LoginType.OrgId - }; - userAccount.Id = token.UserId; - return token; - }); - MockDataStore dataStore = new MockDataStore(); - dataStore.VirtualStore[oldProfileDataPath] = oldProfileData; - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - - var account = client.AddAccountAndLoadSubscriptions(new AzureAccount { Id = "UserA", Type = AzureAccount.AccountType.User }, - AzureEnvironment.PublicEnvironments[EnvironmentName.AzureCloud], null); - - var userA = client.GetAccount("UserA"); - var secondUserA = client.GetAccount("USERA"); - Assert.NotNull(userA); - Assert.NotNull(secondUserA); - Assert.Equal(userA.Id, secondUserA.Id); - } - - [Fact] - public void GetAzureAccountReturnsAccountWithSubscriptions() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - client.Profile.Subscriptions[azureSubscription1.Id] = azureSubscription1; - client.Profile.Subscriptions[azureSubscription2.Id] = azureSubscription2; - client.Profile.Subscriptions[azureSubscription3withoutUser.Id] = azureSubscription3withoutUser; - client.Profile.Accounts[azureAccount.Id] = azureAccount; - client.Profile.Environments[azureEnvironment.Name] = azureEnvironment; - - var account = client.ListAccounts("test").ToList(); - - Assert.Equal(1, account.Count); - Assert.Equal("test", account[0].Id); - Assert.Equal(2, account[0].GetSubscriptions(client.Profile).Count); - Assert.True(account[0].GetSubscriptions(client.Profile).Any(s => s.Id == azureSubscription1.Id)); - Assert.True(account[0].GetSubscriptions(client.Profile).Any(s => s.Id == azureSubscription2.Id)); - } - - [Fact] - public void GetAzureAccountWithoutEnvironmentReturnsAccount() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - client.Profile.Subscriptions[azureSubscription1.Id] = azureSubscription1; - client.Profile.Subscriptions[azureSubscription2.Id] = azureSubscription2; - client.Profile.Subscriptions[azureSubscription3withoutUser.Id] = azureSubscription3withoutUser; - client.Profile.Accounts[azureAccount.Id] = azureAccount; - client.Profile.Environments[azureEnvironment.Name] = azureEnvironment; - - var account = client.ListAccounts("test").ToList(); - - Assert.Equal(1, account.Count); - Assert.Equal("test", account[0].Id); - Assert.Equal(2, account[0].GetSubscriptions(client.Profile).Count); - Assert.True(account[0].GetSubscriptions(client.Profile).Any(s => s.Id == azureSubscription1.Id)); - Assert.True(account[0].GetSubscriptions(client.Profile).Any(s => s.Id == azureSubscription2.Id)); - } - - [Fact] - public void GetAzureAccountReturnsEmptyEnumerationForNonExistingUser() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - client.Profile.Subscriptions[azureSubscription1.Id] = azureSubscription1; - client.Profile.Subscriptions[azureSubscription2.Id] = azureSubscription2; - client.Profile.Subscriptions[azureSubscription3withoutUser.Id] = azureSubscription3withoutUser; - client.Profile.Accounts[azureAccount.Id] = azureAccount; - client.Profile.Environments[azureEnvironment.Name] = azureEnvironment; - - var account = client.ListAccounts("test2").ToList(); - - Assert.Equal(1, account.Count); - } - - [Fact] - public void GetAzureAccountReturnsAllAccountsWithNullUser() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - client.Profile.Subscriptions[azureSubscription1.Id] = azureSubscription1; - client.Profile.Subscriptions[azureSubscription2.Id] = azureSubscription2; - client.Profile.Accounts[azureAccount.Id] = azureAccount; - azureSubscription3withoutUser.Account = "test2"; - client.Profile.Accounts["test2"] = new AzureAccount - { - Id = "test2", - Type = AzureAccount.AccountType.User, - Properties = new Dictionary - { - {AzureAccount.Property.Subscriptions, azureSubscription3withoutUser.Id.ToString()} - } - }; - client.Profile.Subscriptions[azureSubscription3withoutUser.Id] = azureSubscription3withoutUser; - client.Profile.Environments[azureEnvironment.Name] = azureEnvironment; - - var account = client.ListAccounts(null).ToList(); - - Assert.Equal(2, account.Count); - } - - [Fact] - public void RemoveAzureAccountRemovesSubscriptions() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - client.Profile.Subscriptions[azureSubscription1.Id] = azureSubscription1; - client.Profile.Subscriptions[azureSubscription2.Id] = azureSubscription2; - client.Profile.Accounts[azureAccount.Id] = azureAccount; - azureSubscription3withoutUser.Account = "test2"; - client.Profile.Accounts["test2"] = new AzureAccount - { - Id = "test2", - Type = AzureAccount.AccountType.User, - Properties = new Dictionary - { - {AzureAccount.Property.Subscriptions, azureSubscription3withoutUser.Id.ToString()} - } - }; - client.Profile.Subscriptions[azureSubscription3withoutUser.Id] = azureSubscription3withoutUser; - client.Profile.Environments[azureEnvironment.Name] = azureEnvironment; - List log = new List(); - client.WarningLog = log.Add; - - Assert.Equal(3, client.Profile.Subscriptions.Count); - - client.RemoveAccount("test2"); - - Assert.Equal(2, client.Profile.Subscriptions.Count); - Assert.Equal(0, log.Count); - } - - [Fact] - public void RemoveAzureAccountRemovesDefaultSubscriptionAndWritesWarning() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - client.Profile.Subscriptions[azureSubscription1.Id] = azureSubscription1; - client.Profile.Subscriptions[azureSubscription2.Id] = azureSubscription2; - client.Profile.Accounts[azureAccount.Id] = azureAccount; - azureSubscription3withoutUser.Account = "test2"; - client.Profile.Accounts["test2"] = new AzureAccount - { - Id = "test2", - Type = AzureAccount.AccountType.User, - Properties = new Dictionary - { - {AzureAccount.Property.Subscriptions, azureSubscription3withoutUser.Id.ToString()} - } - }; - client.Profile.Subscriptions[azureSubscription3withoutUser.Id] = azureSubscription3withoutUser; - client.Profile.Environments[azureEnvironment.Name] = azureEnvironment; - List log = new List(); - client.WarningLog = log.Add; - - Assert.Equal(3, client.Profile.Subscriptions.Count); - - var account = client.RemoveAccount("test"); - - Assert.Equal(1, client.Profile.Subscriptions.Count); - Assert.Equal("test", account.Id); - Assert.Equal(2, account.GetPropertyAsArray(AzureAccount.Property.Subscriptions).Length); - Assert.Equal(1, log.Count); - Assert.Equal( - "The default subscription is being removed. Use Select-AzureSubscription -Default to select a new default subscription.", - log[0]); - } - - [Fact] - public void RemoveAzureAccountRemovesDefaultAccountFromSubscription() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - client.Profile.Subscriptions[azureSubscription1.Id] = azureSubscription1; - client.Profile.Subscriptions[azureSubscription2.Id] = azureSubscription2; - client.Profile.Accounts[azureAccount.Id] = azureAccount; - azureSubscription3withoutUser.Account = "test2"; - client.Profile.Accounts["test2"] = new AzureAccount - { - Id = "test2", - Type = AzureAccount.AccountType.User, - Properties = new Dictionary - { - {AzureAccount.Property.Subscriptions, azureSubscription1.Id.ToString()} - } - }; - client.Profile.Subscriptions[azureSubscription1.Id].Account = azureAccount.Id; - client.Profile.Environments[azureEnvironment.Name] = azureEnvironment; - - var account = client.RemoveAccount(azureAccount.Id); - - Assert.Equal("test2", client.Profile.Subscriptions[azureSubscription1.Id].Account); - } - - [Fact] - public void RemoveAzureAccountRemovesInMemoryAccount() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - client.Profile.Subscriptions[azureSubscription1.Id] = azureSubscription1; - client.Profile.Subscriptions[azureSubscription2.Id] = azureSubscription2; - client.Profile.Accounts[azureAccount.Id] = azureAccount; - azureSubscription3withoutUser.Account = "test2"; - client.Profile.Accounts["test2"] = new AzureAccount - { - Id = "test2", - Type = AzureAccount.AccountType.User, - Properties = new Dictionary - { - {AzureAccount.Property.Subscriptions, azureSubscription1.Id.ToString()} - } - }; - client.Profile.Subscriptions[azureSubscription1.Id].Account = azureAccount.Id; - client.Profile.Environments[azureEnvironment.Name] = azureEnvironment; - AzureSession.SetCurrentContext(azureSubscription1, azureEnvironment, azureAccount); - - client.RemoveAccount(azureAccount.Id); - - Assert.Equal("test2", AzureSession.CurrentContext.Account.Id); - Assert.Equal("test2", AzureSession.CurrentContext.Subscription.Account); - Assert.Equal(azureSubscription1.Id, AzureSession.CurrentContext.Subscription.Id); - - client.RemoveAccount("test2"); - - Assert.Null(AzureSession.CurrentContext.Account); - Assert.Null(AzureSession.CurrentContext.Subscription); - Assert.Equal(EnvironmentName.AzureCloud, AzureSession.CurrentContext.Environment.Name); - } - - [Fact] - public void AddAzureEnvironmentAddsEnvironment() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - - Assert.Equal(2, client.Profile.Environments.Count); - - Assert.Throws(() => client.AddOrSetEnvironment(null)); - var env = client.AddOrSetEnvironment(azureEnvironment); - - Assert.Equal(3, client.Profile.Environments.Count); - Assert.Equal(env, azureEnvironment); - } - - [Fact] - public void GetAzureEnvironmentsListsEnvironments() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - - var env1 = client.ListEnvironments(null); - - Assert.Equal(2, env1.Count); - - var env2 = client.ListEnvironments("bad"); - - Assert.Equal(0, env2.Count); - - var env3 = client.ListEnvironments(EnvironmentName.AzureCloud); - - Assert.Equal(1, env3.Count); - } - - [Fact] - public void RemoveAzureEnvironmentRemovesEnvironmentSubscriptionsAndAccounts() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - - client.Profile.Accounts[azureAccount.Id] = azureAccount; - client.Profile.Environments[azureEnvironment.Name] = azureEnvironment; - client.Profile.Subscriptions[azureSubscription1.Id] = azureSubscription1; - client.Profile.Subscriptions[azureSubscription2.Id] = azureSubscription2; - - Assert.Equal(2, client.Profile.Subscriptions.Values.Count(s => s.Environment == "Test")); - Assert.Equal(3, client.Profile.Environments.Count); - Assert.Equal(1, client.Profile.Accounts.Count); - - Assert.Throws(() => client.RemoveEnvironment(null)); - Assert.Throws(() => client.RemoveEnvironment("bad")); - - var env = client.RemoveEnvironment(azureEnvironment.Name); - - Assert.Equal(azureEnvironment.Name, env.Name); - Assert.Equal(0, client.Profile.Subscriptions.Values.Count(s => s.Environment == "Test")); - Assert.Equal(2, client.Profile.Environments.Count); - Assert.Equal(0, client.Profile.Accounts.Count); - } - - [Fact] - public void RemoveAzureEnvironmentDoesNotRemoveEnvironmentSubscriptionsAndAccountsForAzureCloudOrChinaCloud() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - - client.Profile.Accounts[azureAccount.Id] = azureAccount; - azureSubscription1.Environment = EnvironmentName.AzureCloud; - azureSubscription2.Environment = EnvironmentName.AzureChinaCloud; - client.Profile.Subscriptions[azureSubscription1.Id] = azureSubscription1; - client.Profile.Subscriptions[azureSubscription2.Id] = azureSubscription2; - - Assert.Equal(1, client.Profile.Subscriptions.Values.Count(s => s.Environment == EnvironmentName.AzureCloud)); - Assert.Equal(1, client.Profile.Subscriptions.Values.Count(s => s.Environment == EnvironmentName.AzureChinaCloud)); - Assert.Equal(2, client.Profile.Environments.Count); - Assert.Equal(1, client.Profile.Accounts.Count); - - Assert.Throws(() => client.RemoveEnvironment(EnvironmentName.AzureCloud)); - Assert.Throws(() => client.RemoveEnvironment(EnvironmentName.AzureChinaCloud)); - - Assert.Equal(1, client.Profile.Subscriptions.Values.Count(s => s.Environment == EnvironmentName.AzureCloud)); - Assert.Equal(1, client.Profile.Subscriptions.Values.Count(s => s.Environment == EnvironmentName.AzureChinaCloud)); - Assert.Equal(2, client.Profile.Environments.Count); - Assert.Equal(1, client.Profile.Accounts.Count); - } - - [Fact] - public void SetAzureEnvironmentUpdatesEnvironment() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - - Assert.Equal(2, client.Profile.Environments.Count); - - Assert.Throws(() => client.AddOrSetEnvironment(null)); - - var env2 = client.AddOrSetEnvironment(azureEnvironment); - Assert.Equal(env2.Name, azureEnvironment.Name); - Assert.NotNull(env2.Endpoints[AzureEnvironment.Endpoint.ServiceManagement]); - AzureEnvironment newEnv = new AzureEnvironment - { - Name = azureEnvironment.Name - }; - newEnv.Endpoints[AzureEnvironment.Endpoint.Graph] = "foo"; - env2 = client.AddOrSetEnvironment(newEnv); - Assert.Equal("foo", env2.Endpoints[AzureEnvironment.Endpoint.Graph]); - Assert.NotNull(env2.Endpoints[AzureEnvironment.Endpoint.ServiceManagement]); - } - - [Fact] - public void GetAzureEnvironmentReturnsCorrectValue() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - client.AddOrSetEnvironment(azureEnvironment); - - Assert.Equal(EnvironmentName.AzureCloud, AzureSession.CurrentContext.Environment.Name); - - var defaultEnv = client.GetEnvironmentOrDefault(null); - - Assert.Equal(EnvironmentName.AzureCloud, defaultEnv.Name); - - var newEnv = client.GetEnvironmentOrDefault(azureEnvironment.Name); - - Assert.Equal(azureEnvironment.Name, newEnv.Name); - - Assert.Throws(() => client.GetEnvironmentOrDefault("bad")); - } - - [Fact] - public void GetCurrentEnvironmentReturnsCorrectValue() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - - AzureSession.SetCurrentContext(azureSubscription1, azureEnvironment, azureAccount); - - var newEnv = client.GetEnvironmentOrDefault(azureEnvironment.Name); - - Assert.Equal(azureEnvironment.Name, newEnv.Name); - } - - [Fact] - public void AddOrSetAzureSubscriptionChecksAndUpdates() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - - client.AddOrSetAccount(azureAccount); - client.AddOrSetEnvironment(azureEnvironment); - client.AddOrSetSubscription(azureSubscription1); - - Assert.Equal(1, client.Profile.Subscriptions.Count); - - var subscription = client.AddOrSetSubscription(azureSubscription1); - - Assert.Equal(1, client.Profile.Subscriptions.Count); - Assert.Equal(1, client.Profile.Accounts.Count); - Assert.Equal(subscription, azureSubscription1); - Assert.Throws(() => client.AddOrSetSubscription(null)); - Assert.Throws(() => client.AddOrSetSubscription( - new AzureSubscription { Id = new Guid(), Environment = null, Name = "foo" })); - } - - [Fact] - public void AddOrSetAzureSubscriptionUpdatesInMemory() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - - client.AddOrSetAccount(azureAccount); - client.AddOrSetEnvironment(azureEnvironment); - client.AddOrSetSubscription(azureSubscription1); - AzureSession.SetCurrentContext(azureSubscription1, azureEnvironment, azureAccount); - azureSubscription1.Properties[AzureSubscription.Property.StorageAccount] = "testAccount"; - Assert.Equal(azureSubscription1.Id, AzureSession.CurrentContext.Subscription.Id); - Assert.Equal(azureSubscription1.Properties[AzureSubscription.Property.StorageAccount], - AzureSession.CurrentContext.Subscription.Properties[AzureSubscription.Property.StorageAccount]); - - var newSubscription = new AzureSubscription - { - Id = azureSubscription1.Id, - Environment = azureSubscription1.Environment, - Account = azureSubscription1.Account, - Name = azureSubscription1.Name - }; - newSubscription.Properties[AzureSubscription.Property.StorageAccount] = "testAccount1"; - - client.AddOrSetSubscription(newSubscription); - var newSubscriptionFromProfile = client.Profile.Subscriptions[newSubscription.Id]; - - Assert.Equal(newSubscription.Id, AzureSession.CurrentContext.Subscription.Id); - Assert.Equal(newSubscription.Id, newSubscriptionFromProfile.Id); - Assert.Equal(newSubscription.Properties[AzureSubscription.Property.StorageAccount], - AzureSession.CurrentContext.Subscription.Properties[AzureSubscription.Property.StorageAccount]); - Assert.Equal(newSubscription.Properties[AzureSubscription.Property.StorageAccount], - newSubscriptionFromProfile.Properties[AzureSubscription.Property.StorageAccount]); - } - - [Fact] - public void RemoveAzureSubscriptionChecksAndRemoves() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - - client.Profile.Accounts[azureAccount.Id] = azureAccount; - client.AddOrSetEnvironment(azureEnvironment); - client.AddOrSetSubscription(azureSubscription1); - client.SetSubscriptionAsCurrent(azureSubscription1.Name, azureSubscription1.Account); - client.SetSubscriptionAsDefault(azureSubscription1.Name, azureSubscription1.Account); - - Assert.Equal(1, client.Profile.Subscriptions.Count); - - List log = new List(); - client.WarningLog = log.Add; - - var subscription = client.RemoveSubscription(azureSubscription1.Name); - - Assert.Equal(0, client.Profile.Subscriptions.Count); - Assert.Equal(azureSubscription1.Name, subscription.Name); - Assert.Equal(2, log.Count); - Assert.Equal( - "The default subscription is being removed. Use Select-AzureSubscription -Default to select a new default subscription.", - log[0]); - Assert.Equal( - "The current subscription is being removed. Use Select-AzureSubscription to select a new current subscription.", - log[1]); - Assert.Throws(() => client.RemoveSubscription("bad")); - Assert.Throws(() => client.RemoveSubscription(null)); - } - - [Fact] - public void RefreshSubscriptionsUpdatesAccounts() - { - SetMocks(new[] { rdfeSubscription1, rdfeSubscription2 }.ToList(), new[] { csmSubscription1, csmSubscription1withDuplicateId }.ToList()); - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - client.AddOrSetEnvironment(azureEnvironment); - client.Profile.Accounts[azureAccount.Id] = azureAccount; - client.AddOrSetSubscription(azureSubscription1); - - var subscriptions = client.RefreshSubscriptions(azureEnvironment); - - Assert.True(client.Profile.Accounts[azureAccount.Id].HasSubscription(new Guid(rdfeSubscription1.SubscriptionId))); - Assert.True(client.Profile.Accounts[azureAccount.Id].HasSubscription(new Guid(rdfeSubscription2.SubscriptionId))); - Assert.True(client.Profile.Accounts[azureAccount.Id].HasSubscription(new Guid(csmSubscription1.SubscriptionId))); - Assert.True(client.Profile.Accounts[azureAccount.Id].HasSubscription(new Guid(csmSubscription1withDuplicateId.SubscriptionId))); - } - - [Fact] - public void RefreshSubscriptionsMergesFromServer() - { - SetMocks(new[] { rdfeSubscription1, rdfeSubscription2 }.ToList(), new[] { csmSubscription1, csmSubscription1withDuplicateId }.ToList()); - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - client.AddOrSetEnvironment(azureEnvironment); - client.Profile.Accounts[azureAccount.Id] = azureAccount; - client.AddOrSetSubscription(azureSubscription1); - - var subscriptions = client.RefreshSubscriptions(azureEnvironment); - - Assert.Equal(4, subscriptions.Count); - Assert.Equal(4, subscriptions.Count(s => s.Account == "test")); - Assert.Equal(1, subscriptions.Count(s => s.Id == azureSubscription1.Id)); - Assert.Equal(1, subscriptions.Count(s => s.Id == new Guid(rdfeSubscription1.SubscriptionId))); - Assert.Equal(2, subscriptions.First(s => s.Id == new Guid(rdfeSubscription1.SubscriptionId)).GetPropertyAsArray(AzureSubscription.Property.SupportedModes).Count()); - Assert.Equal(1, subscriptions.Count(s => s.Id == new Guid(rdfeSubscription2.SubscriptionId))); - Assert.Equal(1, subscriptions.Count(s => s.Id == new Guid(csmSubscription1.SubscriptionId))); - } - - [Fact] - public void RefreshSubscriptionsWorksWithMooncake() - { - SetMocks(new[] { rdfeSubscription1, rdfeSubscription2 }.ToList(), new[] { csmSubscription1, csmSubscription1withDuplicateId }.ToList()); - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - - client.Profile.Accounts[azureAccount.Id] = azureAccount; - - var subscriptions = client.RefreshSubscriptions(client.Profile.Environments[EnvironmentName.AzureChinaCloud]); - - Assert.Equal(2, subscriptions.Count); - Assert.Equal(2, subscriptions.Count(s => s.Account == "test")); - Assert.Equal(1, subscriptions.Count(s => s.Id == new Guid(rdfeSubscription1.SubscriptionId))); - Assert.Equal(1, subscriptions.First(s => s.Id == new Guid(rdfeSubscription1.SubscriptionId)).GetPropertyAsArray(AzureSubscription.Property.SupportedModes).Count()); - Assert.Equal(1, subscriptions.Count(s => s.Id == new Guid(rdfeSubscription2.SubscriptionId))); - } - - [Fact] - public void RefreshSubscriptionsListsAllSubscriptions() - { - SetMocks(new[] { rdfeSubscription1, rdfeSubscription2 }.ToList(), new[] { csmSubscription1, csmSubscription1withDuplicateId }.ToList()); - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - client.AddOrSetAccount(azureAccount); - client.AddOrSetEnvironment(azureEnvironment); - client.AddOrSetSubscription(azureSubscription1); - - var subscriptions = client.RefreshSubscriptions(azureEnvironment); - - Assert.Equal(4, subscriptions.Count); - Assert.Equal(1, subscriptions.Count(s => s.Id == new Guid(rdfeSubscription1.SubscriptionId))); - Assert.Equal(1, subscriptions.Count(s => s.Id == new Guid(rdfeSubscription2.SubscriptionId))); - Assert.Equal(1, subscriptions.Count(s => s.Id == new Guid(csmSubscription1.SubscriptionId))); - Assert.True(subscriptions.All(s => s.Environment == "Test")); - Assert.True(subscriptions.All(s => s.Account == "test")); - } - - [Fact] - public void GetAzureSubscriptionByNameChecksAndReturnsOnlyLocal() - { - SetMocks(new[] { rdfeSubscription1, rdfeSubscription2 }.ToList(), new[] { csmSubscription1, csmSubscription1withDuplicateId }.ToList()); - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - client.AddOrSetAccount(azureAccount); - client.AddOrSetEnvironment(azureEnvironment); - client.AddOrSetSubscription(azureSubscription1); - client.AddOrSetSubscription(azureSubscription2); - - var subscriptions = client.GetSubscription(azureSubscription1.Name); - - Assert.Equal(azureSubscription1.Id, subscriptions.Id); - Assert.Throws(() => client.GetSubscription(new Guid())); - } - - [Fact] - public void GetAzureSubscriptionByIdChecksAndReturnsOnlyLocal() - { - SetMocks(new[] { rdfeSubscription1, rdfeSubscription2 }.ToList(), new[] { csmSubscription1, csmSubscription1withDuplicateId }.ToList()); - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - client.AddOrSetAccount(azureAccount); - client.AddOrSetEnvironment(azureEnvironment); - client.AddOrSetSubscription(azureSubscription1); - client.AddOrSetSubscription(azureSubscription2); - - var subscriptions = client.GetSubscription(azureSubscription1.Id); - - Assert.Equal(azureSubscription1.Id, subscriptions.Id); - Assert.Throws(() => client.GetSubscription(new Guid())); - } - - [Fact] - public void SetAzureSubscriptionAsDefaultSetsDefaultAndCurrent() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - client.Profile.Accounts[azureAccount.Id] = azureAccount; - client.AddOrSetEnvironment(azureEnvironment); - client.AddOrSetSubscription(azureSubscription2); - - Assert.Null(client.Profile.DefaultSubscription); - - client.SetSubscriptionAsDefault(azureSubscription2.Name, azureSubscription2.Account); - - Assert.Equal(azureSubscription2.Id, client.Profile.DefaultSubscription.Id); - Assert.Equal(azureSubscription2.Id, AzureSession.CurrentContext.Subscription.Id); - Assert.Throws(() => client.SetSubscriptionAsDefault("bad", null)); - Assert.Throws(() => client.SetSubscriptionAsDefault(null, null)); - } - - [Fact] - public void ClearDefaultAzureSubscriptionClearsDefault() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - client.Profile.Accounts[azureAccount.Id] = azureAccount; - client.AddOrSetEnvironment(azureEnvironment); - client.AddOrSetSubscription(azureSubscription2); - - Assert.Null(client.Profile.DefaultSubscription); - client.SetSubscriptionAsDefault(azureSubscription2.Name, azureSubscription2.Account); - Assert.Equal(azureSubscription2.Id, client.Profile.DefaultSubscription.Id); - - client.ClearDefaultSubscription(); - - Assert.Null(client.Profile.DefaultSubscription); - } - - [Fact] - public void SetAzureSubscriptionAsCurrentSetsCurrent() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - client.Profile.Accounts[azureAccount.Id] = azureAccount; - client.AddOrSetEnvironment(azureEnvironment); - client.AddOrSetSubscription(azureSubscription1); - client.AddOrSetSubscription(azureSubscription2); - - Assert.Null(AzureSession.CurrentContext.Subscription); - - client.SetSubscriptionAsCurrent(azureSubscription2.Name, azureSubscription2.Account); - - Assert.Equal(azureSubscription2.Id, AzureSession.CurrentContext.Subscription.Id); - Assert.Throws(() => client.SetSubscriptionAsCurrent("bad", null)); - Assert.Throws(() => client.SetSubscriptionAsCurrent(null, null)); - } - - [Fact] - public void ImportPublishSettingsLoadsAndReturnsSubscriptions() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - - dataStore.WriteFile("ImportPublishSettingsLoadsAndReturnsSubscriptions.publishsettings", - Properties.Resources.ValidProfile); - - client.AddOrSetEnvironment(azureEnvironment); - var subscriptions = client.ImportPublishSettings("ImportPublishSettingsLoadsAndReturnsSubscriptions.publishsettings", azureEnvironment.Name); - var account = client.Profile.Accounts.Values.First(); - - Assert.True(subscriptions.All(s => s.Account == account.Id)); - Assert.Equal(6, subscriptions.Count); - Assert.Equal(6, client.Profile.Subscriptions.Count); - } - - [Fact] - public void ImportPublishSettingsDefaultsToAzureCloudEnvironmentWithManagementUrl() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - client.AddOrSetAccount(azureAccount); - client.AddOrSetEnvironment(azureEnvironment); - client.AddOrSetSubscription(azureSubscription1); - client.SetSubscriptionAsDefault(azureSubscription1.Name, azureAccount.Id); - client.Profile.Save(); - - client = new ProfileClient(); - - dataStore.WriteFile("ImportPublishSettingsLoadsAndReturnsSubscriptions.publishsettings", - Properties.Resources.ValidProfile); - - client.AddOrSetEnvironment(azureEnvironment); - var subscriptions = client.ImportPublishSettings("ImportPublishSettingsLoadsAndReturnsSubscriptions.publishsettings", null); - - Assert.True(subscriptions.All(s => s.Environment == EnvironmentName.AzureCloud)); - Assert.Equal(6, subscriptions.Count); - Assert.Equal(7, client.Profile.Subscriptions.Count); - } - - [Fact] - public void ImportPublishSettingsUsesProperEnvironmentWithManagementUrl() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - client.AddOrSetAccount(azureAccount); - azureEnvironment.Endpoints[AzureEnvironment.Endpoint.ServiceManagement] = "https://newmanagement.core.windows.net/"; - client.AddOrSetEnvironment(azureEnvironment); - client.AddOrSetSubscription(azureSubscription1); - client.SetSubscriptionAsDefault(azureSubscription1.Name, azureAccount.Id); - client.Profile.Save(); - - client = new ProfileClient(); - - dataStore.WriteFile("ImportPublishSettingsLoadsAndReturnsSubscriptions.publishsettings", - Properties.Resources.ValidProfile3); - - client.AddOrSetEnvironment(azureEnvironment); - var subscriptions = client.ImportPublishSettings("ImportPublishSettingsLoadsAndReturnsSubscriptions.publishsettings", null); - - Assert.True(subscriptions.All(s => s.Environment == azureEnvironment.Name)); - Assert.Equal(6, subscriptions.Count); - Assert.Equal(7, client.Profile.Subscriptions.Count); - } - - [Fact] - public void ImportPublishSettingsUsesProperEnvironmentWithChinaManagementUrl() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - - dataStore.WriteFile("ImportPublishSettingsLoadsAndReturnsSubscriptions.publishsettings", - Properties.Resources.ValidProfileChina); - - client.AddOrSetEnvironment(azureEnvironment); - var subscriptions = client.ImportPublishSettings("ImportPublishSettingsLoadsAndReturnsSubscriptions.publishsettings", null); - - Assert.True(subscriptions.All(s => s.Environment == EnvironmentName.AzureChinaCloud)); - Assert.Equal(6, subscriptions.Count); - Assert.Equal(6, client.Profile.Subscriptions.Count); - } - - [Fact] - public void ImportPublishSettingsUsesProperEnvironmentWithChinaManagementUrlOld() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - - dataStore.WriteFile("ImportPublishSettingsLoadsAndReturnsSubscriptions.publishsettings", - Properties.Resources.ValidProfileChinaOld); - - client.AddOrSetEnvironment(azureEnvironment); - var subscriptions = client.ImportPublishSettings("ImportPublishSettingsLoadsAndReturnsSubscriptions.publishsettings", null); - - Assert.True(subscriptions.All(s => s.Environment == EnvironmentName.AzureChinaCloud)); - Assert.Equal(1, subscriptions.Count); - Assert.Equal(1, client.Profile.Subscriptions.Count); - } - - [Fact] - public void ImportPublishSettingsDefaultsToAzureCloudWithIncorrectManagementUrl() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - client.AddOrSetAccount(azureAccount); - client.AddOrSetEnvironment(azureEnvironment); - client.AddOrSetSubscription(azureSubscription1); - client.SetSubscriptionAsDefault(azureSubscription1.Name, azureAccount.Id); - client.Profile.Save(); - - client = new ProfileClient(); - - dataStore.WriteFile("ImportPublishSettingsLoadsAndReturnsSubscriptions.publishsettings", - Properties.Resources.ValidProfile3); - - client.AddOrSetEnvironment(azureEnvironment); - var subscriptions = client.ImportPublishSettings("ImportPublishSettingsLoadsAndReturnsSubscriptions.publishsettings", null); - - Assert.True(subscriptions.All(s => s.Environment == EnvironmentName.AzureCloud)); - Assert.Equal(6, subscriptions.Count); - Assert.Equal(7, client.Profile.Subscriptions.Count); - } - - [Fact] - public void ImportPublishSettingsUsesPassedInEnvironment() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - client.AddOrSetAccount(azureAccount); - client.AddOrSetEnvironment(azureEnvironment); - client.AddOrSetSubscription(azureSubscription1); - client.SetSubscriptionAsDefault(azureSubscription1.Name, azureAccount.Id); - client.Profile.Save(); - - client = new ProfileClient(); - - dataStore.WriteFile("ImportPublishSettingsLoadsAndReturnsSubscriptions.publishsettings", - Properties.Resources.ValidProfile3); - - client.AddOrSetEnvironment(azureEnvironment); - var subscriptions = client.ImportPublishSettings("ImportPublishSettingsLoadsAndReturnsSubscriptions.publishsettings", azureEnvironment.Name); - - Assert.True(subscriptions.All(s => s.Environment == azureEnvironment.Name)); - Assert.Equal(6, subscriptions.Count); - Assert.Equal(7, client.Profile.Subscriptions.Count); - } - - [Fact] - public void SelectAzureSubscriptionByIdWorks() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - - var tempSubscriptions = new List - { - new AzureSubscription - { - Id = new Guid("11111111-1383-4740-8A69-748C5B63ADBA"), - Name = "Same Name Subscription", - Environment = azureEnvironment.Name, - Account = azureAccount.Id, - Properties = new Dictionary - { - { AzureSubscription.Property.Default, "True" } - } - }, - - new AzureSubscription - { - Id = new Guid("22222222-1383-4740-8A69-748C5B63ADBA"), - Name = "Same Name Subscription", - Environment = azureEnvironment.Name, - Account = azureAccount.Id, - Properties = new Dictionary() - }, - - new AzureSubscription - { - Id = new Guid("33333333-1383-4740-8A69-748C5B63ADBA"), - Name = "Same Name Subscription", - Environment = azureEnvironment.Name, - Account = azureAccount.Id, - Properties = new Dictionary() - } - }; - - client.Profile.Accounts[azureAccount.Id] = azureAccount; - client.AddOrSetEnvironment(azureEnvironment); - - foreach (var s in tempSubscriptions) - { - client.AddOrSetSubscription(s); - } - - client.SetSubscriptionAsCurrent(tempSubscriptions[0].Name, tempSubscriptions[0].Account); - client.Profile.Save(); - - Assert.Equal(tempSubscriptions[0].Id, AzureSession.CurrentContext.Subscription.Id); - - var cmdlt = new SelectAzureSubscriptionCommand(); - - cmdlt.CommandRuntime = new MockCommandRuntime(); - cmdlt.SubscriptionId = tempSubscriptions[2].Id.ToString(); - cmdlt.SetParameterSet("SelectSubscriptionByIdParameterSet"); - - // Act - cmdlt.InvokeBeginProcessing(); - cmdlt.ExecuteCmdlet(); - cmdlt.InvokeEndProcessing(); - - Assert.Equal(tempSubscriptions[2].Id, AzureSession.CurrentContext.Subscription.Id); - } - - [Fact] - public void ImportPublishSettingsAddsSecondCertificate() - { - MockDataStore dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; - ProfileClient client = new ProfileClient(); - var newSubscription = new AzureSubscription - { - Id = new Guid("f62b1e05-af8f-4203-8f97-421089adc053"), - Name = "Microsoft Azure Sandbox 9-220", - Environment = EnvironmentName.AzureCloud, - Account = azureAccount.Id - }; - azureAccount.SetProperty(AzureAccount.Property.Subscriptions, newSubscription.Id.ToString()); - client.AddOrSetAccount(azureAccount); - client.AddOrSetSubscription(newSubscription); - client.Profile.Save(); - - client = new ProfileClient(); - - dataStore.WriteFile("ImportPublishSettingsLoadsAndReturnsSubscriptions.publishsettings", - Properties.Resources.ValidProfile); - - client.AddOrSetEnvironment(azureEnvironment); - var subscriptions = client.ImportPublishSettings("ImportPublishSettingsLoadsAndReturnsSubscriptions.publishsettings", azureEnvironment.Name); - - Assert.Equal(2, client.Profile.Accounts.Count()); - var certAccount = client.Profile.Accounts.Values.First(a => a.Type == AzureAccount.AccountType.Certificate); - var userAccount = client.Profile.Accounts.Values.First(a => a.Type == AzureAccount.AccountType.User); - - Assert.True(subscriptions.All(s => s.Account == certAccount.Id)); - Assert.Equal(azureAccount.Id, client.Profile.Subscriptions.Values.First(s => s.Id == newSubscription.Id).Account); - - Assert.True(userAccount.GetPropertyAsArray(AzureAccount.Property.Subscriptions).Contains(newSubscription.Id.ToString())); - Assert.True(certAccount.GetPropertyAsArray(AzureAccount.Property.Subscriptions).Contains(newSubscription.Id.ToString())); - - Assert.Equal(6, subscriptions.Count); - Assert.Equal(6, client.Profile.Subscriptions.Count); - } - - private void SetMocks(List rdfeSubscriptions, - List csmSubscriptions, - List tenants = null, - Func tokenProvider = null) - { - ClientMocks clientMocks = new ClientMocks(new Guid(defaultSubscription)); - - clientMocks.LoadRdfeSubscriptions(rdfeSubscriptions); - clientMocks.LoadCsmSubscriptions(csmSubscriptions); - clientMocks.LoadTenants(tenants); - - AzureSession.ClientFactory = new MockClientFactory(new object[] { clientMocks.RdfeSubscriptionClientMock.Object, - clientMocks.CsmSubscriptionClientMock.Object }); - - var mockFactory = new MockTokenAuthenticationFactory(); - if (tokenProvider != null) - { - mockFactory.TokenProvider = tokenProvider; - } - - AzureSession.AuthenticationFactory = mockFactory; - } - - private void SetMockData() - { - commonTenant = new TenantIdDescription - { - Id = "Common", - TenantId = "Common" - }; - guestTenant = new TenantIdDescription - { - Id = "Guest", - TenantId = "Guest" - }; - rdfeSubscription1 = new Subscriptions.Models.SubscriptionListOperationResponse.Subscription - { - SubscriptionId = "16E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E", - SubscriptionName = "RdfeSub1", - SubscriptionStatus = Subscriptions.Models.SubscriptionStatus.Active, - ActiveDirectoryTenantId = "Common" - }; - rdfeSubscription2 = new Subscriptions.Models.SubscriptionListOperationResponse.Subscription - { - SubscriptionId = "26E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E", - SubscriptionName = "RdfeSub2", - SubscriptionStatus = Subscriptions.Models.SubscriptionStatus.Active, - ActiveDirectoryTenantId = "Common" - }; - guestRdfeSubscription = new Subscriptions.Models.SubscriptionListOperationResponse.Subscription - { - SubscriptionId = "26E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1C", - SubscriptionName = "RdfeSub2", - SubscriptionStatus = Subscriptions.Models.SubscriptionStatus.Active, - ActiveDirectoryTenantId = "Guest" - }; - csmSubscription1 = new Azure.Subscriptions.Models.Subscription - { - Id = "Subscriptions/36E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E", - DisplayName = "CsmSub1", - State = "Active", - SubscriptionId = "36E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E" - }; - csmSubscription1withDuplicateId = new Azure.Subscriptions.Models.Subscription - { - Id = "Subscriptions/16E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E", - DisplayName = "RdfeSub1", - State = "Active", - SubscriptionId = "16E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E" - }; - csmSubscription2 = new Azure.Subscriptions.Models.Subscription - { - Id = "Subscriptions/46E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E", - DisplayName = "CsmSub2", - State = "Active", - SubscriptionId = "46E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E" - }; - guestCsmSubscription = new Azure.Subscriptions.Models.Subscription - { - Id = "Subscriptions/76E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1D", - DisplayName = "CsmGuestSub", - State = "Active", - SubscriptionId = "76E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1D" - }; - azureSubscription1 = new AzureSubscription - { - Id = new Guid("56E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E"), - Name = "LocalSub1", - Environment = "Test", - Account = "test", - Properties = new Dictionary - { - { AzureSubscription.Property.Default, "True" } - } - }; - azureSubscription2 = new AzureSubscription - { - Id = new Guid("66E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E"), - Name = "LocalSub2", - Environment = "Test", - Account = "test" - }; - azureSubscription3withoutUser = new AzureSubscription - { - Id = new Guid("76E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E"), - Name = "LocalSub3", - Environment = "Test", - }; - azureEnvironment = new AzureEnvironment - { - Name = "Test", - Endpoints = new Dictionary - { - { AzureEnvironment.Endpoint.ServiceManagement, "https://umapi.rdfetest.dnsdemo4.com:8443/" }, - { AzureEnvironment.Endpoint.ManagementPortalUrl, "https://windows.azure-test.net" }, - { AzureEnvironment.Endpoint.AdTenant, "https://login.windows-ppe.net/" }, - { AzureEnvironment.Endpoint.ActiveDirectory, "https://login.windows-ppe.net/" }, - { AzureEnvironment.Endpoint.Gallery, "https://current.gallery.azure-test.net" }, - { AzureEnvironment.Endpoint.ResourceManager, "https://api-current.resources.windows-int.net/" }, - { AzureEnvironment.Endpoint.AzureKeyVaultDnsSuffix, "vault-int.azure-int.net"}, - { AzureEnvironment.Endpoint.AzureKeyVaultServiceEndpointResourceId, "https://vault-int.azure-int.net/"} - } - }; - azureAccount = new AzureAccount - { - Id = "test", - Type = AzureAccount.AccountType.User, - Properties = new Dictionary - { - { AzureAccount.Property.Subscriptions, azureSubscription1.Id + "," + azureSubscription2.Id } - } - }; - newProfileDataPath = System.IO.Path.Combine(AzurePowerShell.ProfileDirectory, AzurePowerShell.ProfileFile); - oldProfileDataPath = System.IO.Path.Combine(AzurePowerShell.ProfileDirectory, AzurePowerShell.OldProfileFile); - oldProfileDataPathError = System.IO.Path.Combine(AzurePowerShell.ProfileDirectory, AzurePowerShell.OldProfileFileBackup); - oldProfileData = @" - - AzureCloud - - - https://management.core.windows.net/ - https://login.windows-ppe.net/ - Common - https://current.gallery.azure-test.net - http://go.microsoft.com/fwlink/?LinkId=254433 - Current - d:\Code\azure.publishsettings - https://api-current.resources.windows-int.net/ - https://umapi.rdfetest.dnsdemo4.com:8443/ - .database.windows.net - - trafficmanager.net - - - https://management.core.windows.net/ - https://login.windows-ppe.net/ - Common - https://df.gallery.azure-test.net - https://windows.azure-test.net - Dogfood - https://auxnext.windows.azure-test.net/publishsettings/index - https://api-dogfood.resources.windows-int.net - https://management-preview.core.windows-int.net/ - .database.windows.net - - trafficmanager.net - - - - - - - - - - - true - - - https://management.core.windows.net/ - Test - - - .database.windows.net - 06E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1E - trafficmanager.net - - - - - 123 - test@mail.com - - - true - - - https://management-preview.core.windows-int.net/ - Test 2 - - - .database.windows.net - 06E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1F - trafficmanager.net - - - https://login.windows.net/ - https://management.core.windows.net/ - 72f988bf-86f1-41af-91ab-2d7cd011db47 - test@mail.com - - - false - - 3AF24D48B97730E5C4C9CCB12397B5E046F79E09 - https://management.core.windows.net/ - Test 3 - - - .database.windows.net - d1e52cbc-b073-42e2-a0a0-c2f547118a6f - trafficmanager.net - - - - - - - - - false - - 3AF24D48B97730E5C4C9CCB12397B5E046F79E09 - https://management.core.chinacloudapi.cn/ - Mooncake Test - - - .database.windows.net - c14d7dc5-ed4d-4346-a02f-9f1bcf78fb66 - trafficmanager.net - - - "; - - oldProfileDataBadSubscription = @" - - AzureCloud - - - - - - - - - - - true - - - https://management.core.windows.net/ - Test Nill ID - - - .database.windows.net - - trafficmanager.net - - - - - - test@mail.com - - - true - - - Bad Data - Test Bad Management Endpoint - - - .database.windows.net - 06E3F6FD-A3AA-439A-8FC4-1F5C41D2AD1F - trafficmanager.net - - - - - - test@mail.com - - - true - - - - Test Null Management Endpoint - - - .database.windows.net - 06E3F6FD-A3AA-439A-8FC4-1F5C41D2ADFF - trafficmanager.net - - - https://login.windows.net/ - https://management.core.windows.net/ - 72f988bf-86f1-41af-91ab-2d7cd011db47 - test@mail.com - - - false - - 3AF24D48B97730E5C4C9CCB12397B5E046F79E99 - https://management.core.windows.net/ - Test Bad Cert - - - .database.windows.net - d1e52cbc-b073-42e2-a0a0-c2f547118a6f - trafficmanager.net - - - "; - - oldProfileDataCorruptedFile = @" - - AzureCloud - - - https://management.core.windows.net/ - https://login.windows-ppe.net/ - Common - https://current.gallery.azure-test.net - http://go.microsoft.com/fwlink/?LinkId=254433 - Current - d:\Code\azure.publishsettings - https://api-current.resources.windows-int.net/ - https://umapi.rdfetest.dnsdemo4.com:8443/ - .database.windows.net - - trafficmanager.net - - - - "; - - jsonProfileWithoutAccount = @"{ - ""Environments"": [], - ""Subscriptions"": [ - { - ""Id"": ""7e11f45f-70e6-430a-a4fc-af338aa22c11"", - ""Name"": ""Test"", - ""Environment"": ""AzureCloud"", - ""Account"": ""test@mail.com"", - ""Properties"": { - ""SupportedModes"": ""AzureServiceManagement"", - ""Default"": ""True"", - ""StorageAccount"": ""rjfmmanagement"" - } - } - ], - ""Accounts"": [] - }"; - - jsonProfileWithBadData = @"{ - ""Environments"": [], - ""Subscriptions"": { - { - ""Id"": ""7e11f45f-70e6-430a-a4fc-af338aa22c11"", - ""Name"": ""Test"", - ""Environment"": ""AzureCloud"", - ""Account"": ""test@mail.com"", - ""Properties"": { - ""SupportedModes"": ""AzureServiceManagement"", - ""Default"": ""True"", - ""StorageAccount"": ""rjfmmanagement"" - } - } - ], - ""Accounts"": [] - }"; - } - } -} diff --git a/src/Common/Commands.Common.Test/Common/RemoveAzurePublishSettings.cs b/src/Common/Commands.Common.Test/Common/RemoveAzurePublishSettings.cs index 6c5fa8acfa92..aea3d567dfd0 100644 --- a/src/Common/Commands.Common.Test/Common/RemoveAzurePublishSettings.cs +++ b/src/Common/Commands.Common.Test/Common/RemoveAzurePublishSettings.cs @@ -12,7 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Microsoft.WindowsAzure.Commands.Common; namespace Microsoft.WindowsAzure.Commands.Test.Utilities.Common @@ -21,7 +21,7 @@ public class RemoveAzurePublishSettingsCommand { public void RemovePublishSettingsProcess(string azureSdkDirPath) { - ProfileClient.DataStore.EmptyDirectory(azureSdkDirPath); + AzureSession.DataStore.EmptyDirectory(azureSdkDirPath); } } } \ No newline at end of file diff --git a/src/Common/Commands.Common.Test/Common/ServicePrincipalStoreTests.cs b/src/Common/Commands.Common.Test/Common/ServicePrincipalStoreTests.cs index 727260cdbf2a..9e14767655db 100644 --- a/src/Common/Commands.Common.Test/Common/ServicePrincipalStoreTests.cs +++ b/src/Common/Commands.Common.Test/Common/ServicePrincipalStoreTests.cs @@ -12,7 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Common.Extensions.Authentication; +using Microsoft.Azure.Common.Authentication; using System; using System.Runtime.InteropServices; using System.Security; diff --git a/src/Common/Commands.Common.Test/Common/TestBase.cs b/src/Common/Commands.Common.Test/Common/TestBase.cs index 9e36cc6c2c61..eab7d2c7dfbf 100644 --- a/src/Common/Commands.Common.Test/Common/TestBase.cs +++ b/src/Common/Commands.Common.Test/Common/TestBase.cs @@ -16,10 +16,10 @@ using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.Utilities.Common { @@ -28,6 +28,8 @@ namespace Microsoft.WindowsAzure.Commands.Test.Utilities.Common /// public abstract class TestBase { + protected AzureProfile currentProfile; + public TestBase() { BaseSetup(); @@ -39,17 +41,17 @@ public TestBase() [TestInitialize] public void BaseSetup() { - if (ProfileClient.DataStore != null && !(ProfileClient.DataStore is MockDataStore)) + if (AzureSession.DataStore != null && !(AzureSession.DataStore is MockDataStore)) { - ProfileClient.DataStore = new MockDataStore(); + AzureSession.DataStore = new MockDataStore(); } - if (AzureSession.CurrentContext.Subscription == null) + currentProfile = new AzureProfile(); + + if (currentProfile.Context.Subscription == null) { var newGuid = Guid.NewGuid(); - AzureSession.SetCurrentContext( - new AzureSubscription { Id = newGuid, Name = "test", Environment = EnvironmentName.AzureCloud, Account = "test" }, - null, - new AzureAccount + currentProfile.Subscriptions[newGuid] = new AzureSubscription { Id = newGuid, Name = "test", Environment = EnvironmentName.AzureCloud, Account = "test" }; + currentProfile.Accounts["test"] = new AzureAccount { Id = "test", Type = AzureAccount.AccountType.User, @@ -57,7 +59,8 @@ public void BaseSetup() { {AzureAccount.Property.Subscriptions, newGuid.ToString()} } - }); + }; + currentProfile.DefaultSubscription = currentProfile.Subscriptions[newGuid]; } AzureSession.AuthenticationFactory = new MockTokenAuthenticationFactory(); } diff --git a/src/Common/Commands.Common.Test/Common/Testing.cs b/src/Common/Commands.Common.Test/Common/Testing.cs index 0e546b0aff7a..aa441770f3d4 100644 --- a/src/Common/Commands.Common.Test/Common/Testing.cs +++ b/src/Common/Commands.Common.Test/Common/Testing.cs @@ -75,7 +75,7 @@ public static void AssertThrows(Action action, string expectedMessage) catch (Exception ex) { Assert.IsInstanceOfType(ex, typeof(T)); - Assert.AreEqual(expectedMessage, ex.Message); + Assert.AreEqual(expectedMessage, ex.Message, ex.ToString()); } } diff --git a/src/Common/Commands.Common.Test/Mocks/MockAccessToken.cs b/src/Common/Commands.Common.Test/Mocks/MockAccessToken.cs index 72037f0e2809..4acccb09d00f 100644 --- a/src/Common/Commands.Common.Test/Mocks/MockAccessToken.cs +++ b/src/Common/Commands.Common.Test/Mocks/MockAccessToken.cs @@ -13,7 +13,7 @@ // ---------------------------------------------------------------------------------- using System; -using Microsoft.Azure.Common.Extensions.Authentication; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Common.Test.Mocks { diff --git a/src/Common/Commands.Common.Test/Mocks/MockAccessTokenProvider.cs b/src/Common/Commands.Common.Test/Mocks/MockAccessTokenProvider.cs index 34bfe4adb8d6..8b14461bc714 100644 --- a/src/Common/Commands.Common.Test/Mocks/MockAccessTokenProvider.cs +++ b/src/Common/Commands.Common.Test/Mocks/MockAccessTokenProvider.cs @@ -13,9 +13,9 @@ // ---------------------------------------------------------------------------------- using System.Security; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.Azure.Common.Extensions.Authentication; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.Utilities.Common { diff --git a/src/Common/Commands.Common.Test/Mocks/MockCertificateAuthenticationFactory.cs b/src/Common/Commands.Common.Test/Mocks/MockCertificateAuthenticationFactory.cs index 03b03e09fa52..65328c311d27 100644 --- a/src/Common/Commands.Common.Test/Mocks/MockCertificateAuthenticationFactory.cs +++ b/src/Common/Commands.Common.Test/Mocks/MockCertificateAuthenticationFactory.cs @@ -13,9 +13,8 @@ // ---------------------------------------------------------------------------------- using Microsoft.Azure; -using Microsoft.Azure.Common.Extensions; -using Microsoft.Azure.Common.Extensions.Authentication; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; using System.Security; using System.Security.Cryptography.X509Certificates; diff --git a/src/Common/Commands.Common.Test/Mocks/MockClientFactory.cs b/src/Common/Commands.Common.Test/Mocks/MockClientFactory.cs index 68b6858db97f..0d4dd8a15061 100644 --- a/src/Common/Commands.Common.Test/Mocks/MockClientFactory.cs +++ b/src/Common/Commands.Common.Test/Mocks/MockClientFactory.cs @@ -14,19 +14,23 @@ 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 Hyak.Common; using Microsoft.Azure.Test.HttpRecorder; using Microsoft.Azure.Common; -using Microsoft.Azure.Common.Extensions.Factories; -using Microsoft.Azure.Common.Extensions.Models; -using Microsoft.Azure.Common.Extensions; +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 : ClientFactory + public class MockClientFactory : IClientFactory { private readonly bool throwWhenNotAvailable; @@ -34,31 +38,56 @@ public class MockClientFactory : ClientFactory public MockClientFactory(IEnumerable clients, bool throwIfClientNotSpecified = true) { + UserAgents = new List(); ManagementClients = clients.ToList(); throwWhenNotAvailable = throwIfClientNotSpecified; } - public override TClient CreateClient(AzureSubscription subscription, AzureEnvironment.Endpoint endpoint) + public TClient CreateClient(AzureContext context, AzureEnvironment.Endpoint endpoint) where TClient : ServiceClient { + Debug.Assert(context != null); + + SubscriptionCloudCredentials creds = AzureSession.AuthenticationFactory.GetSubscriptionCloudCredentials(context); + TClient client = CreateCustomClient(creds, context.Environment.GetEndpointAsUri(endpoint)); + + return client; + } + + public TClient CreateClient(AzureProfile profile, AzureEnvironment.Endpoint endpoint) where TClient : ServiceClient + { + throw new NotImplementedException(); + } + + public TClient CreateClient(AzureProfile profile, AzureSubscription subscription, AzureEnvironment.Endpoint endpoint) where TClient : ServiceClient + { + if (subscription == null) + { + throw new ArgumentException(Commands.Common.Properties.Resources.InvalidDefaultSubscription); + } + + if (profile == null) + { + profile = new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile)); + } + SubscriptionCloudCredentials creds = new TokenCloudCredentials(subscription.Id.ToString(), "fake_token"); if (HttpMockServer.GetCurrentMode() != HttpRecorderMode.Playback) { - ProfileClient profileClient = new ProfileClient(); - AzureContext context = new AzureContext() - { - Account = profileClient.GetAccount(subscription.Account), - Environment = profileClient.GetEnvironmentOrDefault(subscription.Environment), - Subscription = subscription - }; + ProfileClient profileClient = new ProfileClient(profile); + AzureContext context = new AzureContext( + subscription, + profileClient.GetAccount(subscription.Account), + profileClient.GetEnvironmentOrDefault(subscription.Environment) + ); creds = AzureSession.AuthenticationFactory.GetSubscriptionCloudCredentials(context); } - Uri endpointUri = (new ProfileClient()).Profile.Environments[subscription.Environment].GetEndpointAsUri(endpoint); + Uri endpointUri = profile.Environments[subscription.Environment].GetEndpointAsUri(endpoint); return CreateCustomClient(creds, endpointUri); } - public override TClient CreateCustomClient(params object[] parameters) + public TClient CreateCustomClient(params object[] parameters) where TClient : ServiceClient { TClient client = ManagementClients.FirstOrDefault(o => o is TClient) as TClient; if (client == null) @@ -71,7 +100,8 @@ public override TClient CreateCustomClient(params object[] parameters) } else { - var realClient = base.CreateCustomClient(parameters); + var realClientFactory = new ClientFactory(); + var realClient = realClientFactory.CreateCustomClient(parameters); var newRealClient = realClient.WithHandler(HttpMockServer.CreateInstance()); realClient.Dispose(); return newRealClient; @@ -81,7 +111,12 @@ public override TClient CreateCustomClient(params object[] parameters) return client; } - public override HttpClient CreateHttpClient(string serviceUrl, HttpMessageHandler effectiveHandler) + public HttpClient CreateHttpClient(string endpoint, ICredentials credentials) + { + return CreateHttpClient(endpoint, ClientFactory.CreateHttpClientHandler(endpoint, credentials)); + } + + public HttpClient CreateHttpClient(string serviceUrl, HttpMessageHandler effectiveHandler) { if (serviceUrl == null) { @@ -104,5 +139,17 @@ public override HttpClient CreateHttpClient(string serviceUrl, HttpMessageHandle return client; } + + public void AddAction(IClientAction action) + { + // Do nothing + } + + public void RemoveAction(Type actionType) + { + // Do nothing + } + + public List UserAgents { get; set; } } } diff --git a/src/Common/Commands.Common.Test/Mocks/MockDataStore.cs b/src/Common/Commands.Common.Test/Mocks/MockDataStore.cs index 55b2f053632b..a6f72ecd94f2 100644 --- a/src/Common/Commands.Common.Test/Mocks/MockDataStore.cs +++ b/src/Common/Commands.Common.Test/Mocks/MockDataStore.cs @@ -19,7 +19,7 @@ using System.Security.Cryptography.X509Certificates; using System.Text; using System.Text.RegularExpressions; -using Microsoft.Azure.Common.Extensions.Interfaces; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Common.Test.Mocks { diff --git a/src/Common/Commands.Common.Test/Mocks/MockTokenAuthenticationFactory.cs b/src/Common/Commands.Common.Test/Mocks/MockTokenAuthenticationFactory.cs index a6d4523c4fe9..8f8a7de1b81c 100644 --- a/src/Common/Commands.Common.Test/Mocks/MockTokenAuthenticationFactory.cs +++ b/src/Common/Commands.Common.Test/Mocks/MockTokenAuthenticationFactory.cs @@ -13,9 +13,8 @@ // ---------------------------------------------------------------------------------- using Microsoft.Azure; -using Microsoft.Azure.Common.Extensions; -using Microsoft.Azure.Common.Extensions.Authentication; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; using System; using System.Security; @@ -52,6 +51,8 @@ public MockTokenAuthenticationFactory(string userId, string accessToken) LoginType = LoginType.OrgId, AccessToken = accessToken }; + + TokenProvider = ((account, environment, tenant) => Token); } public IAccessToken Authenticate(AzureAccount account, AzureEnvironment environment, string tenant, SecureString password, ShowDialog promptBehavior, @@ -62,7 +63,19 @@ public IAccessToken Authenticate(AzureAccount account, AzureEnvironment environm account.Id = "test"; } - return TokenProvider(account, environment, tenant); + if (TokenProvider == null) + { + return new MockAccessToken() + { + AccessToken = account.Id, + LoginType = LoginType.OrgId, + UserId = account.Id + }; + } + else + { + return TokenProvider(account, environment, tenant); + } } public SubscriptionCloudCredentials GetSubscriptionCloudCredentials(AzureContext context) diff --git a/src/Common/Commands.Common.Test/Properties/Resources.Designer.cs b/src/Common/Commands.Common.Test/Properties/Resources.Designer.cs index e4a20eaa2fb9..f3da5ecc0ad9 100644 --- a/src/Common/Commands.Common.Test/Properties/Resources.Designer.cs +++ b/src/Common/Commands.Common.Test/Properties/Resources.Designer.cs @@ -70,15 +70,6 @@ public static byte[] Azure { } } - /// - /// Looks up a localized string similar to http://az413943.vo.msecnd.net/cache/2.5.2.exe. - /// - public static string CacheRuntimeUrl { - get { - return ResourceManager.GetString("CacheRuntimeUrl", resourceCulture); - } - } - /// /// Looks up a localized resource of type System.Byte[]. /// diff --git a/src/Common/Commands.Common.Test/Properties/Resources.resx b/src/Common/Commands.Common.Test/Properties/Resources.resx index a3bbf003c590..ebf1d9dfbd53 100644 --- a/src/Common/Commands.Common.Test/Properties/Resources.resx +++ b/src/Common/Commands.Common.Test/Properties/Resources.resx @@ -121,9 +121,6 @@ ..\Resources\Azure.publishsettings;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - http://az413943.vo.msecnd.net/cache/2.5.2.exe - ..\Resources\InvalidProfile.PublishSettings;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 diff --git a/src/Common/Commands.Common.Test/packages.config b/src/Common/Commands.Common.Test/packages.config index 37c24bf2f41f..2c46ee484ad7 100644 --- a/src/Common/Commands.Common.Test/packages.config +++ b/src/Common/Commands.Common.Test/packages.config @@ -1,22 +1,22 @@  - - + + + - - + - + - - + + diff --git a/src/Common/Commands.Common/AzurePSCmdlet.cs b/src/Common/Commands.Common/AzurePSCmdlet.cs index abf5f1496930..fd811d1e0b54 100644 --- a/src/Common/Commands.Common/AzurePSCmdlet.cs +++ b/src/Common/Commands.Common/AzurePSCmdlet.cs @@ -12,19 +12,32 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Common.Extensions; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; +using Microsoft.IdentityModel.Clients.ActiveDirectory; using Microsoft.WindowsAzure.Commands.Common; using Microsoft.WindowsAzure.Commands.Common.Properties; using System; using System.Diagnostics; +using System.IO; using System.Management.Automation; namespace Microsoft.WindowsAzure.Commands.Utilities.Common { public abstract class AzurePSCmdlet : PSCmdlet { - private readonly RecordingTracingInterceptor httpTracingInterceptor = new RecordingTracingInterceptor(); + private readonly RecordingTracingInterceptor _httpTracingInterceptor = new RecordingTracingInterceptor(); + + [Parameter(Mandatory = false, HelpMessage = "In-memory profile.")] + public AzureProfile Profile { get; set; } + + public static AzureProfile CurrentProfile { get; set; } + + protected static TokenCache DefaultDiskTokenCache { get; set; } + + protected static TokenCache DefaultMemoryTokenCache { get; set; } + + protected static AzureProfile DefaultProfile { get; set; } static AzurePSCmdlet() { @@ -34,42 +47,129 @@ static AzurePSCmdlet() } AzureSession.ClientFactory.UserAgents.Add(AzurePowerShell.UserAgentValue); + if (!TestMockSupport.RunningMocked) + { + InitializeTokenCaches(); + DefaultProfile = InitializeDefaultProfile(); + CurrentProfile = DefaultProfile; + UpdateSessionStateForProfile(CurrentProfile); + AzureSession.DataStore = new DiskDataStore(); + } } - public AzurePSCmdlet() + /// + /// Create the default profile, based on the default profile path + /// + /// The default prpofile, serialized from the default location on disk + protected static AzureProfile InitializeDefaultProfile() { - DefaultProfileClient = new ProfileClient(); - - if (AzureSession.CurrentContext.Subscription == null && - DefaultProfileClient.Profile.DefaultSubscription != null) + if (!string.IsNullOrEmpty(AzureSession.ProfileDirectory) && !string.IsNullOrEmpty(AzureSession.ProfileFile)) { try { - AzureSession.SetCurrentContext( - DefaultProfileClient.Profile.DefaultSubscription, - DefaultProfileClient.GetEnvironmentOrDefault( - DefaultProfileClient.Profile.DefaultSubscription.Environment), - DefaultProfileClient.GetAccountOrNull(DefaultProfileClient.Profile.DefaultSubscription.Account)); + return new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile)); } catch { - // Ignore anything at this point + // swallow exceptions in creating the profile from disk } } + return new AzureProfile(); } - public AzureContext CurrentContext + protected static void InitializeTokenCaches() { - get { return AzureSession.CurrentContext; } + DefaultMemoryTokenCache = new TokenCache(); + if (!string.IsNullOrWhiteSpace(AzureSession.ProfileDirectory) && + !string.IsNullOrWhiteSpace(AzureSession.TokenCacheFile)) + { + DefaultDiskTokenCache = new ProtectedFileTokenCache(Path.Combine(AzureSession.ProfileDirectory, AzureSession.TokenCacheFile)); + } + else + { + DefaultDiskTokenCache = DefaultMemoryTokenCache; + } } - public bool HasCurrentSubscription + /// + /// Update the token cache when setting the profile + /// + /// + protected static void UpdateSessionStateForProfile(AzureProfile profile) { - get { return AzureSession.CurrentContext.Subscription != null; } + var defaultProfilePath = Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile); + if (string.Equals(profile.ProfilePath, defaultProfilePath, StringComparison.OrdinalIgnoreCase)) + { + AzureSession.TokenCache = DefaultDiskTokenCache; + } + else + { + AzureSession.TokenCache = DefaultMemoryTokenCache; + } } - public ProfileClient DefaultProfileClient { get; private set; } + /// + /// Cmdlet begin process. Write to logs, setup Http Tracing and initialize profile + /// + protected override void BeginProcessing() + { + InitializeProfile(); + if (string.IsNullOrEmpty(ParameterSetName)) + { + WriteDebugWithTimestamp(string.Format(Resources.BeginProcessingWithoutParameterSetLog, this.GetType().Name)); + } + else + { + WriteDebugWithTimestamp(string.Format(Resources.BeginProcessingWithParameterSetLog, this.GetType().Name, ParameterSetName)); + } + + if (Profile.Context != null && Profile.Context.Account != null && Profile.Context.Account.Id != null) + { + WriteDebugWithTimestamp(string.Format("using account id '{0}'...", Profile.Context.Account.Id)); + } + + RecordingTracingInterceptor.AddToContext(_httpTracingInterceptor); + + base.BeginProcessing(); + } + + /// + /// Ensure that there is a profile for the command + /// + private void InitializeProfile() + { + if (Profile == null) + { + Profile = AzurePSCmdlet.CurrentProfile; + } + + UpdateSessionStateForProfile(Profile); + } + + /// + /// End processing. Flush messages in tracing interceptor and save profile. + /// + protected override void EndProcessing() + { + string message = string.Format(Resources.EndProcessingLog, this.GetType().Name); + WriteDebugWithTimestamp(message); + + RecordingTracingInterceptor.RemoveFromContext(_httpTracingInterceptor); + FlushMessagesFromTracingInterceptor(); + + base.EndProcessing(); + } + + /*public AzureContext Profile.Context + { + get { return Profile.Context; } + }*/ + + public bool HasCurrentSubscription + { + get { return Profile.Context.Subscription != null; } + } protected string CurrentPath() { @@ -207,53 +307,15 @@ protected override void ProcessRecord() } } - /// - /// Cmdlet begin process - /// - protected override void BeginProcessing() - { - if (string.IsNullOrEmpty(ParameterSetName)) - { - WriteDebugWithTimestamp(string.Format(Resources.BeginProcessingWithoutParameterSetLog, this.GetType().Name)); - } - else - { - WriteDebugWithTimestamp(string.Format(Resources.BeginProcessingWithParameterSetLog, this.GetType().Name, ParameterSetName)); - } - - if (CurrentContext != null && CurrentContext.Account != null && CurrentContext.Account.Id != null) - { - WriteDebugWithTimestamp(string.Format("using account id '{0}'...", CurrentContext.Account.Id)); - } - - RecordingTracingInterceptor.AddToContext(httpTracingInterceptor); - - base.BeginProcessing(); - } - private void FlushMessagesFromTracingInterceptor() { string message; - while (httpTracingInterceptor.MessageQueue.TryDequeue(out message)) + while (_httpTracingInterceptor.MessageQueue.TryDequeue(out message)) { base.WriteDebug(message); } } - /// - /// End processing - /// - protected override void EndProcessing() - { - string message = string.Format(Resources.EndProcessingLog, this.GetType().Name); - WriteDebugWithTimestamp(message); - - RecordingTracingInterceptor.RemoveFromContext(httpTracingInterceptor); - FlushMessagesFromTracingInterceptor(); - - base.EndProcessing(); - } - /// /// Asks for confirmation before executing the action. /// diff --git a/src/Common/Commands.Common/AzurePowerShell.cs b/src/Common/Commands.Common/AzurePowerShell.cs index 8a83a71d76c5..63648b9f3f0d 100644 --- a/src/Common/Commands.Common/AzurePowerShell.cs +++ b/src/Common/Commands.Common/AzurePowerShell.cs @@ -12,7 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Common.Extensions.Properties; +using Microsoft.Azure.Common.Authentication.Properties; using System; using System.IO; using System.Net.Http.Headers; @@ -27,9 +27,9 @@ public class AzurePowerShell public const string AssemblyCopyright = "Copyright © Microsoft"; - public const string AssemblyVersion = "0.8.13"; + public const string AssemblyVersion = "0.8.14"; - public const string AssemblyFileVersion = "0.8.13"; + public const string AssemblyFileVersion = "0.8.14"; public const string ProfileFile = "AzureProfile.json"; diff --git a/src/Common/Commands.Common/CloudBaseCmdlet.cs b/src/Common/Commands.Common/CloudBaseCmdlet.cs index b8a8ee7a4412..9d9463a3e207 100644 --- a/src/Common/Commands.Common/CloudBaseCmdlet.cs +++ b/src/Common/Commands.Common/CloudBaseCmdlet.cs @@ -12,8 +12,8 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Common.Extensions; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Properties; using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; using System; @@ -81,14 +81,14 @@ protected virtual void InitChannelCurrentSubscription(bool force) protected void DoInitChannelCurrentSubscription(bool force) { - if (CurrentContext.Subscription == null) + if (Profile.Context.Subscription == null) { - throw new ArgumentException(Resources.InvalidCurrentSubscription); + throw new ArgumentException(Resources.InvalidDefaultSubscription); } - if (CurrentContext.Account == null) + if (Profile.Context.Account == null) { - throw new ArgumentException(Resources.InvalidCurrentSuscriptionCertificate); + throw new ArgumentException(Resources.AccountNeedsToBeSpecified); } if (Channel == null || force) @@ -127,19 +127,19 @@ protected virtual T CreateChannel() return Channel; } - string certificateThumbprint = CurrentContext.Account.Id; - Debug.Assert(DefaultProfileClient.Profile.Accounts[certificateThumbprint].Type == AzureAccount.AccountType.Certificate); + string certificateThumbprint = Profile.Context.Account.Id; + Debug.Assert(Profile.Accounts[certificateThumbprint].Type == AzureAccount.AccountType.Certificate); return ChannelHelper.CreateServiceManagementChannel( ServiceBinding, - CurrentContext.Environment.GetEndpointAsUri(AzureEnvironment.Endpoint.ServiceManagement), - ProfileClient.DataStore.GetCertificate(certificateThumbprint), + Profile.Context.Environment.GetEndpointAsUri(AzureEnvironment.Endpoint.ServiceManagement), + AzureSession.DataStore.GetCertificate(certificateThumbprint), new HttpRestMessageInspector(WriteDebug)); } protected void RetryCall(Action call) { - RetryCall(CurrentContext.Subscription.Id, call); + RetryCall(Profile.Context.Subscription.Id, call); } protected void RetryCall(Guid subsId, Action call) @@ -172,7 +172,7 @@ protected void RetryCall(Guid subsId, Action call) protected TResult RetryCall(Func call) { - return RetryCall(CurrentContext.Subscription.Id, call); + return RetryCall(Profile.Context.Subscription.Id, call); } protected TResult RetryCall(Guid subsId, Func call) diff --git a/src/Common/Commands.Common/CmdletExtensions.cs b/src/Common/Commands.Common/CmdletExtensions.cs index c1cb970e42a3..9942a85f769a 100644 --- a/src/Common/Commands.Common/CmdletExtensions.cs +++ b/src/Common/Commands.Common/CmdletExtensions.cs @@ -123,6 +123,13 @@ public static void InvokeEndProcessing(this PSCmdlet cmdlt) MethodInfo dynMethod = (typeof(PSCmdlet)).GetMethod("EndProcessing", BindingFlags.NonPublic | BindingFlags.Instance); dynMethod.Invoke(cmdlt, null); } + public static void ExecuteWithProcessing(this AzurePSCmdlet cmdlt) + { + cmdlt.InvokeBeginProcessing(); + cmdlt.ExecuteCmdlet(); + cmdlt.InvokeEndProcessing(); + + } #endregion } diff --git a/src/Common/Commands.Common/Commands.Common.csproj b/src/Common/Commands.Common/Commands.Common.csproj index 3215eca634f9..9577c1a7c976 100644 --- a/src/Common/Commands.Common/Commands.Common.csproj +++ b/src/Common/Commands.Common/Commands.Common.csproj @@ -52,19 +52,19 @@ False - ..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll False - ..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll False - ..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll False @@ -79,13 +79,13 @@ ..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - + False - ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll False - ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -99,9 +99,9 @@ False ..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - + False - ..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll ..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll diff --git a/src/Common/Commands.Common/Common/ManagementConstants.cs b/src/Common/Commands.Common/Common/ManagementConstants.cs index 0de6c33ad716..08da1656a6bc 100644 --- a/src/Common/Commands.Common/Common/ManagementConstants.cs +++ b/src/Common/Commands.Common/Common/ManagementConstants.cs @@ -41,21 +41,6 @@ public static class ApiConstants } - public class SDKVersion - { - public const string Version180 = "1.8.0"; - - public const string Version200 = "2.0.0"; - - public const string Version220 = "2.2.0"; - - public const string Version230 = "2.3.0"; - - public const string Version240 = "2.4.0"; - - public const string Version250 = "2.5.0"; - } - public enum DevEnv { Local, diff --git a/src/Common/Commands.Common/Constants.cs b/src/Common/Commands.Common/Constants.cs index 33794d1e455d..65543c7b00df 100644 --- a/src/Common/Commands.Common/Constants.cs +++ b/src/Common/Commands.Common/Constants.cs @@ -34,6 +34,11 @@ public static class ApiConstants } + public static class StorSimpleConstants + { + public const string DefaultStorageAccountEndpoint = "core.windows.net"; + } + public class SDKVersion { public const string Version180 = "1.8.0"; diff --git a/src/Common/Commands.Common/GeneralUtilities.cs b/src/Common/Commands.Common/GeneralUtilities.cs index 776b11817439..787b18fe10a5 100644 --- a/src/Common/Commands.Common/GeneralUtilities.cs +++ b/src/Common/Commands.Common/GeneralUtilities.cs @@ -13,8 +13,7 @@ // ---------------------------------------------------------------------------------- using Hyak.Common; -using Microsoft.Azure.Common.Extensions; -using Microsoft.Azure.Common.Extensions.Properties; +using Microsoft.Azure.Common.Authentication; using Microsoft.WindowsAzure.Commands.Common; using System; using System.Collections.Generic; @@ -52,7 +51,9 @@ private static bool TryFindCertificatesInStore(string thumbprint, public static string GetNodeModulesPath() { - return Path.Combine(FileUtilities.GetAssemblyDirectory(), Resources.NodeModulesPath); + return Path.Combine( + FileUtilities.GetAssemblyDirectory(), + Microsoft.WindowsAzure.Commands.Common.Properties.Resources.NodeModulesPath); } [PermissionSet(SecurityAction.LinkDemand, Name = "FullTrust")] @@ -72,7 +73,9 @@ public static X509Certificate2 GetCertificateFromStore(string thumbprint) } else { - throw new ArgumentException(string.Format(Resources.CertificateNotFoundInStore, thumbprint)); + throw new ArgumentException(string.Format( + Microsoft.Azure.Common.Authentication.Properties.Resources.CertificateNotFoundInStore, + thumbprint)); } } diff --git a/src/Common/Commands.Common/HttpClientExtensions.cs b/src/Common/Commands.Common/HttpClientExtensions.cs index 1571324e132f..5f7e313644d2 100644 --- a/src/Common/Commands.Common/HttpClientExtensions.cs +++ b/src/Common/Commands.Common/HttpClientExtensions.cs @@ -13,7 +13,7 @@ // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Microsoft.WindowsAzure.Commands.Common; using Newtonsoft.Json; using System; diff --git a/src/Common/Commands.Common/PSAzureAccount.cs b/src/Common/Commands.Common/PSAzureAccount.cs index f39fcd405d0c..c01ef746316f 100644 --- a/src/Common/Commands.Common/PSAzureAccount.cs +++ b/src/Common/Commands.Common/PSAzureAccount.cs @@ -12,7 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -namespace Microsoft.Azure.Common.Extensions.Models +namespace Microsoft.Azure.Common.Authentication.Models { public class PSAzureAccount { diff --git a/src/Common/Commands.Common/ProfileClientExtensions.cs b/src/Common/Commands.Common/ProfileClientExtensions.cs index 5a14b5d566c7..20b734ed808f 100644 --- a/src/Common/Commands.Common/ProfileClientExtensions.cs +++ b/src/Common/Commands.Common/ProfileClientExtensions.cs @@ -12,7 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; namespace Microsoft.WindowsAzure.Commands.Common { diff --git a/src/Common/Commands.Common/Properties/Resources.Designer.cs b/src/Common/Commands.Common/Properties/Resources.Designer.cs index aadcee8cea7b..3c11d0565fdc 100644 --- a/src/Common/Commands.Common/Properties/Resources.Designer.cs +++ b/src/Common/Commands.Common/Properties/Resources.Designer.cs @@ -8,10 +8,10 @@ // //------------------------------------------------------------------------------ -namespace Microsoft.WindowsAzure.Commands.Common.Properties -{ - - +namespace Microsoft.WindowsAzure.Commands.Common.Properties { + using System; + + /// /// A strongly-typed resource class, for looking up localized strings, etc. /// @@ -78,6 +78,15 @@ public static string AccountIdDoesntMatchSubscription { } } + /// + /// Looks up a localized string similar to Account needs to be specified. + /// + public static string AccountNeedsToBeSpecified { + get { + return ResourceManager.GetString("AccountNeedsToBeSpecified", resourceCulture); + } + } + /// /// Looks up a localized string similar to Account "{0}" has been added.. /// @@ -240,61 +249,6 @@ public static string AzureDirectory { } } - /// - /// Looks up a localized string similar to Windows Azure Powershell. - /// - public static string AzureDirectoryName { - get { - return ResourceManager.GetString("AzureDirectoryName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Emulator. - /// - public static string AzureEmulatorDirectory { - get { - return ResourceManager.GetString("AzureEmulatorDirectory", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Azure Emulator is not installed and is required. - /// - public static string AzureEmulatorNotInstalledMessage { - get { - return ResourceManager.GetString("AzureEmulatorNotInstalledMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Azure Emulator\emulator. - /// - public static string AzureEmulatorPathPortion { - get { - return ResourceManager.GetString("AzureEmulatorPathPortion", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to SOFTWARE\Microsoft\Windows Azure Emulator. - /// - public static string AzureEmulatorRegistryKey { - get { - return ResourceManager.GetString("AzureEmulatorRegistryKey", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Azure service management error - ///{0}. - /// - public static string AzureException_WrapExistingError_DetailedErrorFormat { - get { - return ResourceManager.GetString("AzureException_WrapExistingError_DetailedErrorFormat", resourceCulture); - } - } - /// /// Looks up a localized string similar to https://manage.windowsazure.com. /// @@ -322,42 +276,6 @@ public static string AzureSdkDirectory { } } - /// - /// Looks up a localized string similar to InstallPath. - /// - public static string AzureSdkInstallPathRegistryKeyValue { - get { - return ResourceManager.GetString("AzureSdkInstallPathRegistryKeyValue", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to SOFTWARE\Microsoft\Microsoft SDKs\ServiceHosting. - /// - public static string AzureSdkRegistryKeyName { - get { - return ResourceManager.GetString("AzureSdkRegistryKeyName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The installed Azure SDK version is not supported. Make sure you version is between {0} and {1} inclusive. - /// - public static string AzureSdkVersionNotSupported { - get { - return ResourceManager.GetString("AzureSdkVersionNotSupported", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Azure Authoring Tools are not installed and are required. Installation of Azure SDK for .NET is recommended with Microsoft Web Platform Installer (PI) available at http://www.microsoft.com/web/downloads/platform.aspx.. - /// - public static string AzureToolsNotInstalledMessage { - get { - return ResourceManager.GetString("AzureToolsNotInstalledMessage", resourceCulture); - } - } - /// /// Looks up a localized string similar to Base Uri was empty.. /// @@ -412,60 +330,6 @@ public static string BlobEndpointUriEnv { } } - /// - /// Looks up a localized string similar to Memcache is already enabled for role '{0}'.. - /// - public static string CacheAlreadyEnabledMessage { - get { - return ResourceManager.GetString("CacheAlreadyEnabledMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to <configuration> - /// <configSections> - /// <section name="dataCacheClients" type="Microsoft.ApplicationServer.Caching.DataCacheClientsSection, Microsoft.ApplicationServer.Caching.Core" allowLocation="true" allowDefinition="Everywhere" /> - /// </configSections> - /// <dataCacheClients> - /// <tracing sinkType="DiagnosticSink" traceLevel="Error" /> - /// <dataCacheClient name="DefaultShimConfig" useLegacyProtocol="false"> - /// <autoDiscover isEnabled="true" identifier="$RoleName$" /> - /// </dataCacheClient> - /// </da [rest of string was truncated]";. - /// - public static string CacheAutoDiscoveryConfig { - get { - return ResourceManager.GetString("CacheAutoDiscoveryConfig", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Microsoft.WindowsAzure.Plugins.Caching.ClientDiagnosticLevel. - /// - public static string CacheClientDiagnosticLevelAssemblyName { - get { - return ResourceManager.GetString("CacheClientDiagnosticLevelAssemblyName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to DiagnosticStore. - /// - public static string CacheDiagnosticStoreName { - get { - return ResourceManager.GetString("CacheDiagnosticStoreName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please upgrade the cache runtime of role '{0}' to '{1}' using Set-AzureServiceProjectRole -RoleName {0} -Runtime Cache -Version {1}. - /// - public static string CacheMismatchMessage { - get { - return ResourceManager.GetString("CacheMismatchMessage", resourceCulture); - } - } - /// /// Looks up a localized string similar to CACHERUNTIMEURL. /// @@ -493,24 +357,6 @@ public static string CacheRuntimeVersionKey { } } - /// - /// Looks up a localized string similar to Resources\Scaffolding\Cache. - /// - public static string CacheScaffolding { - get { - return ResourceManager.GetString("CacheScaffolding", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to setup_cache.cmd > cache_log.txt. - /// - public static string CacheStartupCommand { - get { - return ResourceManager.GetString("CacheStartupCommand", resourceCulture); - } - } - /// /// Looks up a localized string similar to Installing caching version {0} for Role '{1}' (the caching version locally installed is: {2}). /// @@ -520,42 +366,6 @@ public static string CacheVersionWarningText { } } - /// - /// Looks up a localized string similar to Microsoft.WindowsAzure.Plugins.Caching.CacheSizePercentage. - /// - public static string CachingCacheSizePercentageSettingName { - get { - return ResourceManager.GetString("CachingCacheSizePercentageSettingName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Microsoft.WindowsAzure.Plugins.Caching.ConfigStoreConnectionString. - /// - public static string CachingConfigStoreConnectionStringSettingName { - get { - return ResourceManager.GetString("CachingConfigStoreConnectionStringSettingName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to DefaultEndpointsProtocol=https;AccountName={0};AccountKey={1}. - /// - public static string CachingConfigStoreConnectionStringSettingValue { - get { - return ResourceManager.GetString("CachingConfigStoreConnectionStringSettingValue", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Caching. - /// - public static string CachingModuleName { - get { - return ResourceManager.GetString("CachingModuleName", resourceCulture); - } - } - /// /// Looks up a localized string similar to Cannot find {0} with name {1}.. /// @@ -637,24 +447,6 @@ public static string CertificateImportedMessage { } } - /// - /// Looks up a localized string similar to No certificate was found in the certificate store with thumbprint {0}. - /// - public static string CertificateNotFoundInStore { - get { - return ResourceManager.GetString("CertificateNotFoundInStore", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No certificate was found in the certificate store with thumbprint {0}. - /// - public static string CertificateNotFoundInStore1 { - get { - return ResourceManager.GetString("CertificateNotFoundInStore1", resourceCulture); - } - } - /// /// Looks up a localized string similar to Your account does not have access to the private key for certificate {0}. /// @@ -700,15 +492,6 @@ public static string ChangeSettingsElementMessage { } } - /// - /// Looks up a localized string similar to Changing public environment is not supported.. - /// - public static string ChangingDefaultEnvironmentNotSupported { - get { - return ResourceManager.GetString("ChangingDefaultEnvironmentNotSupported", resourceCulture); - } - } - /// /// Looks up a localized string similar to Choose which publish settings file to use:. /// @@ -781,15 +564,6 @@ public static string CompleteMessage { } } - /// - /// Looks up a localized string similar to Complete. - /// - public static string CompleteMessage1 { - get { - return ResourceManager.GetString("CompleteMessage1", resourceCulture); - } - } - /// /// Looks up a localized string similar to config.json. /// @@ -817,15 +591,6 @@ public static string CreateWebsiteFailed { } } - /// - /// Looks up a localized string similar to -Credential parameter can only be used with Organization ID credentials. For more information, please refer to http://go.microsoft.com/fwlink/?linkid=331007&clcid=0x409 for more information about the difference between an organizational account and a Microsoft account.. - /// - public static string CredentialOrganizationIdMessage { - get { - return ResourceManager.GetString("CredentialOrganizationIdMessage", resourceCulture); - } - } - /// /// Looks up a localized string similar to Microsoft.ApplicationServer.Caching.DataCacheClientsSection, Microsoft.ApplicationServer.Caching.Core. /// @@ -1042,15 +807,6 @@ public static string EnvironmentNameDoesntMatchSubscription { } } - /// - /// Looks up a localized string similar to The environment name '{0}' is not found.. - /// - public static string EnvironmentNotFound { - get { - return ResourceManager.GetString("EnvironmentNotFound", resourceCulture); - } - } - /// /// Looks up a localized string similar to environments.xml. /// @@ -1087,15 +843,6 @@ public static string ErrorUpdatingVirtualMachine { } } - /// - /// Looks up a localized string similar to Your Microsoft Azure credential in the Windows PowerShell session has expired. Please use Add-AzureAccount to login again.. - /// - public static string ExpiredRefreshToken { - get { - return ResourceManager.GetString("ExpiredRefreshToken", resourceCulture); - } - } - /// /// Looks up a localized string similar to Job Id {0} failed. Error: {1}, ExceptionDetails: {2}. /// @@ -1177,15 +924,6 @@ public static string GlobalSettingsManager_Load_PublishSettingsNotFound { } } - /// - /// Looks up a localized string similar to Could not find publish settings. Please run Import-AzurePublishSettingsFile.. - /// - public static string GlobalSettingsManager_Load_PublishSettingsNotFound1 { - get { - return ResourceManager.GetString("GlobalSettingsManager_Load_PublishSettingsNotFound1", resourceCulture); - } - } - /// /// Looks up a localized string similar to iisnode.dll. /// @@ -1231,24 +969,6 @@ public static string IISNodeVersionWarningText { } } - /// - /// Looks up a localized string similar to Illegal characters in path.. - /// - public static string IllegalPath { - get { - return ResourceManager.GetString("IllegalPath", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Illegal characters in path.. - /// - public static string IllegalPath1 { - get { - return ResourceManager.GetString("IllegalPath1", resourceCulture); - } - } - /// /// Looks up a localized string similar to Internal Server Error. /// @@ -1267,24 +987,6 @@ public static string InvalidCacheRoleName { } } - /// - /// Looks up a localized string similar to Invalid certificate format. Publish settings may be corrupted. Use Get-AzurePublishSettingsFile to download updated settings. - /// - public static string InvalidCertificate { - get { - return ResourceManager.GetString("InvalidCertificate", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Invalid certificate format. Publish settings may be corrupted. Use Get-AzurePublishSettingsFile to download updated settings. - /// - public static string InvalidCertificate1 { - get { - return ResourceManager.GetString("InvalidCertificate1", resourceCulture); - } - } - /// /// Looks up a localized string similar to Invalid certificate format.. /// @@ -1312,42 +1014,6 @@ public static string InvalidCountryNameMessage { } } - /// - /// Looks up a localized string similar to Credential type invalid, only handles '{0}'. - /// - public static string InvalidCredentialType { - get { - return ResourceManager.GetString("InvalidCredentialType", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No current subscription has been designated. Use Select-AzureSubscription -Current <subscriptionName> to set the current subscription.. - /// - public static string InvalidCurrentSubscription { - get { - return ResourceManager.GetString("InvalidCurrentSubscription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The ID of the current subscription is invalid. Use Set-AzureSubscription to fix the subscription ID or use Select-AzureSubscription to use a different subscription.. - /// - public static string InvalidCurrentSubscriptionId { - get { - return ResourceManager.GetString("InvalidCurrentSubscriptionId", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The management certificate of the current subscription is invalid. Use Set-AzureSubscription to fix the management certificate or use Select-AzureSubscription to use a different subscription.. - /// - public static string InvalidCurrentSuscriptionCertificate { - get { - return ResourceManager.GetString("InvalidCurrentSuscriptionCertificate", resourceCulture); - } - } - /// /// Looks up a localized string similar to No default subscription has been designated. Use Select-AzureSubscription -Default <subscriptionName> to set the default subscription.. /// @@ -1375,15 +1041,6 @@ public static string InvalidDeploymentSlot { } } - /// - /// Looks up a localized string similar to "{0}" is an invalid DNS name for {1}. - /// - public static string InvalidDnsName { - get { - return ResourceManager.GetString("InvalidDnsName", resourceCulture); - } - } - /// /// Looks up a localized string similar to Invalid service endpoint.. /// @@ -1393,15 +1050,6 @@ public static string InvalidEndpoint { } } - /// - /// Looks up a localized string similar to The provided file in {0} must be have {1} extension. - /// - public static string InvalidFileExtension { - get { - return ResourceManager.GetString("InvalidFileExtension", resourceCulture); - } - } - /// /// Looks up a localized string similar to File {0} has invalid characters. /// @@ -1461,15 +1109,6 @@ public static string InvalidJobFile { } } - /// - /// Looks up a localized string similar to Cannot create instance of management client type {0}. It does not have the expected constructor.. - /// - public static string InvalidManagementClientType { - get { - return ResourceManager.GetString("InvalidManagementClientType", resourceCulture); - } - } - /// /// Looks up a localized string similar to Could not download a valid runtime manifest, Please check your internet connection and try again.. /// @@ -1498,20 +1137,20 @@ public static string InvalidNamespaceName { } /// - /// Looks up a localized string similar to Value cannot be null. Parameter name: '{0}'. + /// Looks up a localized string similar to Path must specify a valid path to an Azure profile.. /// - public static string InvalidNullArgument { + public static string InvalidNewProfilePath { get { - return ResourceManager.GetString("InvalidNullArgument", resourceCulture); + return ResourceManager.GetString("InvalidNewProfilePath", resourceCulture); } } /// - /// Looks up a localized string similar to {0} is invalid or empty. + /// Looks up a localized string similar to Value cannot be null. Parameter name: '{0}'. /// - public static string InvalidOrEmptyArgumentMessage { + public static string InvalidNullArgument { get { - return ResourceManager.GetString("InvalidOrEmptyArgumentMessage", resourceCulture); + return ResourceManager.GetString("InvalidNullArgument", resourceCulture); } } @@ -1552,20 +1191,20 @@ public static string InvalidPathName { } /// - /// Looks up a localized string similar to The provided publish settings file {0} has invalid content. Please get valid by running cmdlet Get-AzurePublishSettingsFile. + /// Looks up a localized string similar to Property bag Hashtable must contain one of the following sets of properties: {SubscriptionId, Certificate}, {SubscriptionId, Username, Password}, {SubscriptionId, ServicePrincipal, Password, Tenant}, {SubscriptionId, AccountId, Token}. /// - public static string InvalidPublishSettingsSchema { + public static string InvalidProfileProperties { get { - return ResourceManager.GetString("InvalidPublishSettingsSchema", resourceCulture); + return ResourceManager.GetString("InvalidProfileProperties", resourceCulture); } } /// /// Looks up a localized string similar to The provided publish settings file {0} has invalid content. Please get valid by running cmdlet Get-AzurePublishSettingsFile. /// - public static string InvalidPublishSettingsSchema1 { + public static string InvalidPublishSettingsSchema { get { - return ResourceManager.GetString("InvalidPublishSettingsSchema1", resourceCulture); + return ResourceManager.GetString("InvalidPublishSettingsSchema", resourceCulture); } } @@ -1641,15 +1280,6 @@ public static string InvalidServiceSettingElement { } } - /// - /// Looks up a localized string similar to You must provide valid value for {0}. - /// - public static string InvalidServiceSettingElement1 { - get { - return ResourceManager.GetString("InvalidServiceSettingElement1", resourceCulture); - } - } - /// /// Looks up a localized string similar to settings.json is invalid or doesn't exist. /// @@ -1677,15 +1307,6 @@ public static string InvalidSubscriptionId { } } - /// - /// Looks up a localized string similar to Must specify a non-null subscription name.. - /// - public static string InvalidSubscriptionName { - get { - return ResourceManager.GetString("InvalidSubscriptionName", resourceCulture); - } - } - /// /// Looks up a localized string similar to A valid subscription name is required. This can be provided using the -Subscription parameter or by setting the subscription via the Set-AzureSubscription cmdlet. /// @@ -1704,15 +1325,6 @@ public static string InvalidSubscriptionsDataSchema { } } - /// - /// Looks up a localized string similar to Your Azure credentials have not been set up or have expired, please run Add-AzureAccount to set up your Azure credentials.. - /// - public static string InvalidSubscriptionState { - get { - return ResourceManager.GetString("InvalidSubscriptionState", resourceCulture); - } - } - /// /// Looks up a localized string similar to Role {0} VM size should be ExtraSmall, Small, Medium, Large or ExtraLarge.. /// @@ -1867,47 +1479,38 @@ public static string ManifestUri { } /// - /// Looks up a localized string similar to v2.5. + /// Looks up a localized string similar to Property bag Hashtable must contain a 'Certificate' of type 'X509Certificate2'.. /// - public static string MaxSupportAzureSdkVersion { + public static string MissingCertificateInProfileProperties { get { - return ResourceManager.GetString("MaxSupportAzureSdkVersion", resourceCulture); + return ResourceManager.GetString("MissingCertificateInProfileProperties", resourceCulture); } } /// - /// Looks up a localized string similar to memcache_default. + /// Looks up a localized string similar to Property bag Hashtable must contain a 'Password' with an associated 'Username' or 'ServicePrincipal'.. /// - public static string MemcacheEndpointName { + public static string MissingPasswordInProfileProperties { get { - return ResourceManager.GetString("MemcacheEndpointName", resourceCulture); + return ResourceManager.GetString("MissingPasswordInProfileProperties", resourceCulture); } } /// - /// Looks up a localized string similar to 11211. - /// - public static string MemcacheEndpointPort { - get { - return ResourceManager.GetString("MemcacheEndpointPort", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to v2.5. + /// Looks up a localized string similar to Python 2.7 is not installed. Please install it as well as Django 1.4.. /// - public static string MinSupportAzureSdkVersion { + public static string MissingPythonPreReq { get { - return ResourceManager.GetString("MinSupportAzureSdkVersion", resourceCulture); + return ResourceManager.GetString("MissingPythonPreReq", resourceCulture); } } /// - /// Looks up a localized string similar to Python 2.7 is not installed. Please install it as well as Django 1.4.. + /// Looks up a localized string similar to Property bag Hashtable must contain a 'SubscriptionId'.. /// - public static string MissingPythonPreReq { + public static string MissingSubscriptionInProfileProperties { get { - return ResourceManager.GetString("MissingPythonPreReq", resourceCulture); + return ResourceManager.GetString("MissingSubscriptionInProfileProperties", resourceCulture); } } @@ -2151,24 +1754,6 @@ public static string NoHint { } } - /// - /// Looks up a localized string similar to Please connect to internet before executing this cmdlet. - /// - public static string NoInternetConnection { - get { - return ResourceManager.GetString("NoInternetConnection", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please connect to internet before executing this cmdlet. - /// - public static string NoInternetConnection1 { - get { - return ResourceManager.GetString("NoInternetConnection1", resourceCulture); - } - } - /// /// Looks up a localized string similar to <NONE>. /// @@ -2327,24 +1912,6 @@ public static string PackageJsonFileName { } } - /// - /// Looks up a localized string similar to Path {0} doesn't exist.. - /// - public static string PathDoesNotExist { - get { - return ResourceManager.GetString("PathDoesNotExist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Path for {0} doesn't exist in {1}.. - /// - public static string PathDoesNotExistForElement { - get { - return ResourceManager.GetString("PathDoesNotExistForElement", resourceCulture); - } - } - /// /// Looks up a localized string similar to A value for the Peer Asn has to be provided.. /// @@ -2603,15 +2170,6 @@ public static string PublishSettingsFileName { } } - /// - /// Looks up a localized string similar to &whr={0}. - /// - public static string PublishSettingsFileRealmFormat { - get { - return ResourceManager.GetString("PublishSettingsFileRealmFormat", resourceCulture); - } - } - /// /// Looks up a localized string similar to Publish settings imported. /// @@ -2855,24 +2413,6 @@ public static string RemoveAzureServiceWaitMessage { } } - /// - /// Looks up a localized string similar to The current subscription is being removed. Use Select-AzureSubscription <subscriptionName> to select a new current subscription.. - /// - public static string RemoveCurrentSubscription { - get { - return ResourceManager.GetString("RemoveCurrentSubscription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The default subscription is being removed. Use Select-AzureSubscription -Default <subscriptionName> to select a new default subscription.. - /// - public static string RemoveDefaultSubscription { - get { - return ResourceManager.GetString("RemoveDefaultSubscription", resourceCulture); - } - } - /// /// Looks up a localized string similar to Removing {0} deployment for {1} service. /// @@ -3125,15 +2665,6 @@ public static string RemoveWebsiteWarning { } } - /// - /// Looks up a localized string similar to Removing public environment is not supported.. - /// - public static string RemovingDefaultEnvironmentsNotSupported { - get { - return ResourceManager.GetString("RemovingDefaultEnvironmentsNotSupported", resourceCulture); - } - } - /// /// Looks up a localized string similar to Deleting namespace. /// @@ -3422,15 +2953,6 @@ public static string ServiceDefinitionFileName { } } - /// - /// Looks up a localized string similar to ServiceDefinition.csdef. - /// - public static string ServiceDefinitionFileName1 { - get { - return ResourceManager.GetString("ServiceDefinitionFileName1", resourceCulture); - } - } - /// /// Looks up a localized string similar to {0}Deploy. /// @@ -3459,16 +2981,7 @@ public static string ServiceIsInTransitionState { } /// - /// Looks up a localized string similar to Unable to retrieve service key for ServicePrincipal account {0}. Please run the Add-AzureAccount cmdlet to supply the credentials for this service principal.. - /// - public static string ServiceKeyNotFound { - get { - return ResourceManager.GetString("ServiceKeyNotFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to . + /// Looks up a localized string similar to "An exception occurred when calling the ServiceManagement API. HTTP Status Code: {0}. Service Management Error Code: {1}. Message: {2}. Operation Tracking ID: {3}.". /// public static string ServiceManagementClientExceptionStringFormat { get { @@ -3476,15 +2989,6 @@ public static string ServiceManagementClientExceptionStringFormat { } } - /// - /// Looks up a localized string similar to "An exception occurred when calling the ServiceManagement API. HTTP Status Code: {0}. Service Management Error Code: {1}. Message: {2}. Operation Tracking ID: {3}.". - /// - public static string ServiceManagementClientExceptionStringFormat1 { - get { - return ResourceManager.GetString("ServiceManagementClientExceptionStringFormat1", resourceCulture); - } - } - /// /// Looks up a localized string similar to Begin Operation: {0}. /// @@ -3530,24 +3034,6 @@ public static string ServiceName { } } - /// - /// Looks up a localized string similar to The provided service name {0} already exists, please pick another name. - /// - public static string ServiceNameExists { - get { - return ResourceManager.GetString("ServiceNameExists", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The provided service name {0} already exists, please pick another name. - /// - public static string ServiceNameExists1 { - get { - return ResourceManager.GetString("ServiceNameExists1", resourceCulture); - } - } - /// /// Looks up a localized string similar to Please provide name for the hosted service. /// @@ -3602,24 +3088,6 @@ public static string ServiceSettings_ValidateStorageAccountName_InvalidName { } } - /// - /// Looks up a localized string similar to The storage account name '{0}' is invalid. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.. - /// - public static string ServiceSettings_ValidateStorageAccountName_InvalidName1 { - get { - return ResourceManager.GetString("ServiceSettings_ValidateStorageAccountName_InvalidName1", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to service settings. - /// - public static string ServiceSettings1 { - get { - return ResourceManager.GetString("ServiceSettings1", resourceCulture); - } - } - /// /// Looks up a localized string similar to The {0} slot for cloud service {1} doesn't exist.. /// @@ -3711,15 +3179,6 @@ public static string SettingsFileName { } } - /// - /// Looks up a localized string similar to deploymentSettings.json. - /// - public static string SettingsFileName1 { - get { - return ResourceManager.GetString("SettingsFileName1", resourceCulture); - } - } - /// /// Looks up a localized string similar to Insufficient parameters passed to create a new endpoint.. /// @@ -3747,15 +3206,6 @@ public static string ShouldProcessCaption { } } - /// - /// Looks up a localized string similar to Confirm. - /// - public static string ShouldProcessCaption1 { - get { - return ResourceManager.GetString("ShouldProcessCaption1", resourceCulture); - } - } - /// /// Looks up a localized string similar to Shutdown. /// @@ -3954,15 +3404,6 @@ public static string SubscriptionDataFileNotFound { } } - /// - /// Looks up a localized string similar to The subscription id {0} doesn't exist.. - /// - public static string SubscriptionIdNotFoundMessage { - get { - return ResourceManager.GetString("SubscriptionIdNotFoundMessage", resourceCulture); - } - } - /// /// Looks up a localized string similar to Subscription must not be null. /// @@ -3972,15 +3413,6 @@ public static string SubscriptionMustNotBeNull { } } - /// - /// Looks up a localized string similar to The subscription name {0} doesn't exist.. - /// - public static string SubscriptionNameNotFoundMessage { - get { - return ResourceManager.GetString("SubscriptionNameNotFoundMessage", resourceCulture); - } - } - /// /// Looks up a localized string similar to Suspend. /// @@ -4035,24 +3467,6 @@ public static string UnableToDecodeBase64String { } } - /// - /// Looks up a localized string similar to Unable to update mismatching Json structured: {0} {1}.. - /// - public static string UnableToPatchJson { - get { - return ResourceManager.GetString("UnableToPatchJson", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Illegal credential type. - /// - public static string UnknownCredentialType { - get { - return ResourceManager.GetString("UnknownCredentialType", resourceCulture); - } - } - /// /// Looks up a localized string similar to The provider {0} is unknown.. /// @@ -4242,15 +3656,6 @@ public static string WorkerRoleTemplateFileName { } } - /// - /// Looks up a localized string similar to (x86). - /// - public static string x86InProgramFiles { - get { - return ResourceManager.GetString("x86InProgramFiles", resourceCulture); - } - } - /// /// Looks up a localized string similar to Yes. /// diff --git a/src/Common/Commands.Common/Properties/Resources.resx b/src/Common/Commands.Common/Properties/Resources.resx index 9295f82d4c57..de937f830079 100644 --- a/src/Common/Commands.Common/Properties/Resources.resx +++ b/src/Common/Commands.Common/Properties/Resources.resx @@ -168,21 +168,6 @@ Windows Azure Powershell\ - - Windows Azure Powershell - - - Emulator - - - Azure Emulator is not installed and is required - - - Azure Emulator\emulator - - - SOFTWARE\Microsoft\Windows Azure Emulator - https://manage.windowsazure.com @@ -192,22 +177,6 @@ Azure SDK\{0}\ - - InstallPath - - - SOFTWARE\Microsoft\Microsoft SDKs\ServiceHosting - - - The installed Azure SDK version is not supported. Make sure you version is between {0} and {1} inclusive - - - Azure service management error -{0} - - - Azure Authoring Tools are not installed and are required. Installation of Azure SDK for .NET is recommended with Microsoft Web Platform Installer (PI) available at http://www.microsoft.com/web/downloads/platform.aspx. - Base Uri was empty. WAPackIaaS @@ -227,31 +196,6 @@ AZURE_BLOBSTORAGE_TEMPLATE - - Memcache is already enabled for role '{0}'. - - - <configuration> - <configSections> - <section name="dataCacheClients" type="Microsoft.ApplicationServer.Caching.DataCacheClientsSection, Microsoft.ApplicationServer.Caching.Core" allowLocation="true" allowDefinition="Everywhere" /> - </configSections> - <dataCacheClients> - <tracing sinkType="DiagnosticSink" traceLevel="Error" /> - <dataCacheClient name="DefaultShimConfig" useLegacyProtocol="false"> - <autoDiscover isEnabled="true" identifier="$RoleName$" /> - </dataCacheClient> - </dataCacheClients> -</configuration> - - - Microsoft.WindowsAzure.Plugins.Caching.ClientDiagnosticLevel - - - DiagnosticStore - - - Please upgrade the cache runtime of role '{0}' to '{1}' using Set-AzureServiceProjectRole -RoleName {0} -Runtime Cache -Version {1} - CACHERUNTIMEURL @@ -261,27 +205,9 @@ CacheRuntimeVersion - - Resources\Scaffolding\Cache - - - setup_cache.cmd > cache_log.txt - Installing caching version {0} for Role '{1}' (the caching version locally installed is: {2}) - - Microsoft.WindowsAzure.Plugins.Caching.CacheSizePercentage - - - Microsoft.WindowsAzure.Plugins.Caching.ConfigStoreConnectionString - - - DefaultEndpointsProtocol=https;AccountName={0};AccountKey={1} - - - Caching - Cannot find {0} with name {1}. @@ -309,12 +235,6 @@ Certificate imported into CurrentUser\My\{0} - - No certificate was found in the certificate store with thumbprint {0} - - - No certificate was found in the certificate store with thumbprint {0} - Your account does not have access to the private key for certificate {0} @@ -354,9 +274,6 @@ Complete - - Complete - config.json @@ -437,9 +354,6 @@ The environment '{0}' already exists. - - The environment name '{0}' is not found. - environments.xml @@ -454,9 +368,6 @@ Error updating VirtualMachine WAPackIaaS - - Your Microsoft Azure credential in the Windows PowerShell session has expired. Please use Add-AzureAccount to login again. - Job Id {0} failed. Error: {1}, ExceptionDetails: {2} WAPackIaaS @@ -485,9 +396,6 @@ Could not find publish settings. Please run Import-AzurePublishSettingsFile. - - Could not find publish settings. Please run Import-AzurePublishSettingsFile. - iisnode.dll @@ -503,24 +411,12 @@ Installing IISNode version {0} in Azure for WebRole '{1}' (the version locally installed is: {2}) - - Illegal characters in path. - - - Illegal characters in path. - Internal Server Error Cannot enable memcach protocol on a cache worker role {0}. - - Invalid certificate format. Publish settings may be corrupted. Use Get-AzurePublishSettingsFile to download updated settings - - - Invalid certificate format. Publish settings may be corrupted. Use Get-AzurePublishSettingsFile to download updated settings - Invalid certificate format. @@ -530,33 +426,15 @@ The country name is invalid, please use a valid two character country code, as described in ISO 3166-1 alpha-2. - - No current subscription has been designated. Use Select-AzureSubscription -Current <subscriptionName> to set the current subscription. - - - The ID of the current subscription is invalid. Use Set-AzureSubscription to fix the subscription ID or use Select-AzureSubscription to use a different subscription. - - - The management certificate of the current subscription is invalid. Use Set-AzureSubscription to fix the management certificate or use Select-AzureSubscription to use a different subscription. - - - No default subscription has been designated. Use Select-AzureSubscription -Default <subscriptionName> to set the default subscription. - Deployment with {0} does not exist The deployment slot name {0} is invalid. Slot name must be either "Staging" or "Production". - - "{0}" is an invalid DNS name for {1} - Invalid service endpoint. - - The provided file in {0} must be have {1} extension - File {0} has invalid characters @@ -580,9 +458,6 @@ Please follow these steps in the portal: There was an error creating your webjob. Please make sure that the script is in the root folder of the zip file. - - Cannot create instance of management client type {0}. It does not have the expected constructor. - Could not download a valid runtime manifest, Please check your internet connection and try again. @@ -595,9 +470,6 @@ Please follow these steps in the portal: Value cannot be null. Parameter name: '{0}' - - {0} is invalid or empty - The provided package path is invalid or doesn't exist @@ -613,9 +485,6 @@ Please follow these steps in the portal: The provided publish settings file {0} has invalid content. Please get valid by running cmdlet Get-AzurePublishSettingsFile - - The provided publish settings file {0} has invalid content. Please get valid by running cmdlet Get-AzurePublishSettingsFile - The provided role name "{0}" has invalid characters @@ -640,9 +509,6 @@ Please follow these steps in the portal: You must provide valid value for {0} - - You must provide valid value for {0} - settings.json is invalid or doesn't exist @@ -652,18 +518,12 @@ Please follow these steps in the portal: The provided subscription id {0} is not valid - - Must specify a non-null subscription name. - A valid subscription name is required. This can be provided using the -Subscription parameter or by setting the subscription via the Set-AzureSubscription cmdlet The provided subscriptions file {0} has invalid content. - - Your Azure credentials have not been set up or have expired, please run Add-AzureAccount to set up your Azure credentials. - Role {0} VM size should be ExtraSmall, Small, Medium, Large or ExtraLarge. @@ -716,18 +576,6 @@ Please follow these steps in the portal: http://az413943.vo.msecnd.net/node/runtimemanifest_0.7.5.2.xml - - v2.5 - - - memcache_default - - - 11211 - - - v2.5 - Python 2.7 is not installed. Please install it as well as Django 1.4. @@ -816,12 +664,6 @@ use and privacy statement at {0} and (c) agree to sharing my contact information No, I do not agree - - Please connect to internet before executing this cmdlet - - - Please connect to internet before executing this cmdlet - No publish settings files with extension *.publishsettings are found in the directory "{0}". @@ -880,12 +722,6 @@ use and privacy statement at {0} and (c) agree to sharing my contact information package.json - - Path {0} doesn't exist. - - - Path for {0} doesn't exist in {1}. - A value for the Peer Asn has to be provided. @@ -976,9 +812,6 @@ Please follow these steps in the portal: publishSettings.xml - - &whr={0} - Publish settings imported @@ -1060,12 +893,6 @@ Please follow these steps in the portal: Removing cloud service {0}... - - The current subscription is being removed. Use Select-AzureSubscription <subscriptionName> to select a new current subscription. - - - The default subscription is being removed. Use Select-AzureSubscription -Default <subscriptionName> to select a new default subscription. - Removing {0} deployment for {1} service @@ -1225,9 +1052,6 @@ Please follow these steps in the portal: ServiceDefinition.csdef - - ServiceDefinition.csdef - {0}Deploy @@ -1252,12 +1076,6 @@ Please follow these steps in the portal: service name - - The provided service name {0} already exists, please pick another name - - - The provided service name {0} already exists, please pick another name - Please provide name for the hosted service @@ -1276,12 +1094,6 @@ Please follow these steps in the portal: The storage account name '{0}' is invalid. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. - - The storage account name '{0}' is invalid. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. - - - service settings - The {0} slot for cloud service {1} doesn't exist. @@ -1316,15 +1128,9 @@ use and privacy statement at <url> and (c) agree to sharing my contact inf deploymentSettings.json - - deploymentSettings.json - Confirm - - Confirm - Shutdown WAPackIaaS @@ -1391,12 +1197,6 @@ use and privacy statement at <url> and (c) agree to sharing my contact inf The subscription data file {0} does not exist. - - The subscription id {0} doesn't exist. - - - The subscription name {0} doesn't exist. - Subscription must not be null WAPackIaaS @@ -1417,9 +1217,6 @@ use and privacy statement at <url> and (c) agree to sharing my contact inf Make sure you have Python 2.7 installed along with Django installed to site-packages. - - Unable to update mismatching Json structured: {0} {1}. - The provider {0} is unknown. @@ -1484,9 +1281,6 @@ use and privacy statement at <url> and (c) agree to sharing my contact inf WorkerRole.xml - - (x86) - Yes @@ -1521,9 +1315,6 @@ use and privacy statement at <url> and (c) agree to sharing my contact inf <NONE> - - - "An exception occurred when calling the ServiceManagement API. HTTP Status Code: {0}. Service Management Error Code: {1}. Message: {2}. Operation Tracking ID: {3}." {0} is the HTTP status code. {1} is the Service Management Error Code. {2} is the Service Management Error message. {3} is the operation tracking ID. @@ -1531,9 +1322,6 @@ use and privacy statement at <url> and (c) agree to sharing my contact inf Unable to decode string from base 64. Please make sure the string is correctly encoded: {0}. {0} is the string that is not in a valid base 64 format. - - -Credential parameter can only be used with Organization ID credentials. For more information, please refer to http://go.microsoft.com/fwlink/?linkid=331007&clcid=0x409 for more information about the difference between an organizational account and a Microsoft account. - Skipping external tenant {0}, because you are using a guest or a foreign principal object identity. In order to access this tenant, please run Add-AzureAccount without "-Credential". @@ -1543,18 +1331,6 @@ use and privacy statement at <url> and (c) agree to sharing my contact inf Removing environment - - Removing public environment is not supported. - - - Changing public environment is not supported. - - - Credential type invalid, only handles '{0}' - - - Illegal credential type - There is no subscription associated with account {0}. @@ -1564,9 +1340,6 @@ use and privacy statement at <url> and (c) agree to sharing my contact inf Environment name doesn't match one in subscription. - - Unable to retrieve service key for ServicePrincipal account {0}. Please run the Add-AzureAccount cmdlet to supply the credentials for this service principal. - Removing the Azure profile will remove all associated environments, subscriptions, and accounts. Are you sure you want to remove the Azure profile? @@ -1576,4 +1349,25 @@ use and privacy statement at <url> and (c) agree to sharing my contact inf The SubscriptionDataFile parameter is deprecated. This parameter will be removed in a future release. See https://github.com/Azure/azure-powershell/wiki/Proposed-Design-Stateless-Azure-Profile for a description of the upcoming mechanism for providing alternate sources of subscription information. + + Account needs to be specified + + + No default subscription has been designated. Use Select-AzureSubscription -Default <subscriptionName> to set the default subscription. + + + Path must specify a valid path to an Azure profile. + + + Property bag Hashtable must contain one of the following sets of properties: {SubscriptionId, Certificate}, {SubscriptionId, Username, Password}, {SubscriptionId, ServicePrincipal, Password, Tenant}, {SubscriptionId, AccountId, Token} + + + Property bag Hashtable must contain a 'Certificate' of type 'X509Certificate2'. + + + Property bag Hashtable must contain a 'Password' with an associated 'Username' or 'ServicePrincipal'. + + + Property bag Hashtable must contain a 'SubscriptionId'. + \ No newline at end of file diff --git a/src/Common/Commands.Common/RecordingTracingInterceptor.cs b/src/Common/Commands.Common/RecordingTracingInterceptor.cs index 6fed19616660..b0364c18a29b 100644 --- a/src/Common/Commands.Common/RecordingTracingInterceptor.cs +++ b/src/Common/Commands.Common/RecordingTracingInterceptor.cs @@ -20,7 +20,7 @@ using System.Collections.Generic; using System.Net.Http; -namespace Microsoft.Azure.Common.Extensions.Models +namespace Microsoft.Azure.Common.Authentication.Models { public class RecordingTracingInterceptor : Hyak.Common.ICloudTracingInterceptor { diff --git a/src/Common/Commands.Common/ServiceManagementTypes.cs b/src/Common/Commands.Common/ServiceManagementTypes.cs index b2aeb7aaa4b4..d3746fc01154 100644 --- a/src/Common/Commands.Common/ServiceManagementTypes.cs +++ b/src/Common/Commands.Common/ServiceManagementTypes.cs @@ -1615,6 +1615,51 @@ public string IOType this.SetValue("IOType", value); } } + + [DataMember(Name = "ResizedSizeInGB", EmitDefaultValue = false, Order = 6)] + public int? ResizedSizeInGB + { + get + { + return this.GetValue("ResizedSizeInGB"); + } + set + { + this.SetValue("ResizedSizeInGB", value); + } + } + } + #endregion + + #region VMImageInput + [DataContract(Namespace = Constants.ServiceManagementNS)] + public class VMImageInput : Mergable + { + [DataMember(Name = "OSDiskConfiguration", EmitDefaultValue = false, Order = 1)] + public OSDiskConfiguration OSDiskConfiguration + { + get + { + return this.GetValue("OSDiskConfiguration"); + } + set + { + this.SetValue("OSDiskConfiguration", value); + } + } + + [DataMember(Name = "DataDiskConfigurations", EmitDefaultValue = false, Order = 2)] + public DataDiskConfigurationList DataDiskConfigurations + { + get + { + return this.GetValue("DataDiskConfigurations"); + } + set + { + this.SetValue("DataDiskConfigurations", value); + } + } } #endregion @@ -1959,6 +2004,19 @@ public string State base.SetValue("State", value); } } + + [DataMember(Name = "ForceUpdate", EmitDefaultValue = false, Order = 7)] + public bool? ForceUpdate + { + get + { + return base.GetValue("ForceUpdate"); + } + set + { + base.SetValue("ForceUpdate", value); + } + } } [CollectionDataContract(Name = "ResourceExtensionReferences", Namespace = Constants.ServiceManagementNS)] @@ -2610,6 +2668,13 @@ public string IOType set; } + [DataMember(EmitDefaultValue = false, Order = 7)] + public int ResizedSizeInGB + { + get; + set; + } + public ExtensionDataObject ExtensionData { get; set; } } @@ -2658,6 +2723,13 @@ public string IOType set; } + [DataMember(EmitDefaultValue = false, Order = 6)] + public int ResizedSizeInGB + { + get; + set; + } + public ExtensionDataObject ExtensionData { get; set; } } diff --git a/src/Common/Commands.Common/SubscriptionCmdletBase.cs b/src/Common/Commands.Common/SubscriptionCmdletBase.cs index 91031a45c851..53c8f04ca45b 100644 --- a/src/Common/Commands.Common/SubscriptionCmdletBase.cs +++ b/src/Common/Commands.Common/SubscriptionCmdletBase.cs @@ -12,10 +12,8 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Common.Extensions; -using Microsoft.WindowsAzure.Commands.Common.Properties; +using Microsoft.Azure.Common.Authentication; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using System.Management.Automation; namespace Microsoft.WindowsAzure.Commands.Utilities.Profile { @@ -26,39 +24,32 @@ namespace Microsoft.WindowsAzure.Commands.Utilities.Profile /// public abstract class SubscriptionCmdletBase : AzurePSCmdlet { - [Parameter(Mandatory = false, HelpMessage = "[Deprecated]: File storing subscription data, if not set uses default.")] - public string SubscriptionDataFile { get; set; } - private readonly bool _saveProfile; - protected SubscriptionCmdletBase(bool saveProfile) + protected SubscriptionCmdletBase(bool saveProfile) { - this._saveProfile = saveProfile; + _saveProfile = saveProfile; } protected override void BeginProcessing() { - if (!string.IsNullOrEmpty(SubscriptionDataFile)) - { - ProfileClient = new ProfileClient(SubscriptionDataFile); - WriteWarning(Resources.SubscriptionDataFileDeprecated); - } - else - { - ProfileClient = new ProfileClient(); - } + base.BeginProcessing(); + + ProfileClient = new ProfileClient(Profile); ProfileClient.WarningLog = WriteWarning; ProfileClient.DebugLog = WriteDebug; } - protected override void EndProcessing() { + if (_saveProfile) { - ProfileClient.Profile.Save(); + Profile.Save(); } - } + base.EndProcessing(); + } public ProfileClient ProfileClient { get; set; } + } } \ No newline at end of file diff --git a/src/Common/Commands.Common/packages.config b/src/Common/Commands.Common/packages.config index a2d042d901c1..92146ed29d16 100644 --- a/src/Common/Commands.Common/packages.config +++ b/src/Common/Commands.Common/packages.config @@ -1,10 +1,10 @@  - + - + + - @@ -12,9 +12,9 @@ - + - + \ No newline at end of file diff --git a/src/Common/Commands.Profile/Account/AddAzureAccount.cs b/src/Common/Commands.Profile/Account/AddAzureAccount.cs index d6793e6522d9..d2efb315a0d1 100644 --- a/src/Common/Commands.Profile/Account/AddAzureAccount.cs +++ b/src/Common/Commands.Profile/Account/AddAzureAccount.cs @@ -15,9 +15,8 @@ using System.Management.Automation; using System.Security; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Properties; -using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Profile; namespace Microsoft.WindowsAzure.Commands.Profile diff --git a/src/Common/Commands.Profile/Account/GetAzureAccount.cs b/src/Common/Commands.Profile/Account/GetAzureAccount.cs index ad63b8dc70ee..d088ebddc317 100644 --- a/src/Common/Commands.Profile/Account/GetAzureAccount.cs +++ b/src/Common/Commands.Profile/Account/GetAzureAccount.cs @@ -12,9 +12,10 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using System.Linq; using System.Management.Automation; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Utilities.Profile; using System.Collections.Generic; @@ -37,7 +38,7 @@ public GetAzureAccount() : base(false) public override void ExecuteCmdlet() { - IEnumerable accounts = DefaultProfileClient.ListAccounts(Name); + IEnumerable accounts = Profile.Accounts.Values.Where(a => Name == null || a.Id == Name); List output = new List(); foreach (AzureAccount account in accounts) { output.Add(account.ToPSAzureAccount()); diff --git a/src/Common/Commands.Profile/Account/RemoveAzureAccount.cs b/src/Common/Commands.Profile/Account/RemoveAzureAccount.cs index 5e16e019cf35..7cf8484c336e 100644 --- a/src/Common/Commands.Profile/Account/RemoveAzureAccount.cs +++ b/src/Common/Commands.Profile/Account/RemoveAzureAccount.cs @@ -13,7 +13,7 @@ // ---------------------------------------------------------------------------------- using System.Management.Automation; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Properties; using Microsoft.WindowsAzure.Commands.Utilities.Profile; diff --git a/src/Common/Commands.Profile/Commands.Profile.csproj b/src/Common/Commands.Profile/Commands.Profile.csproj index 42fa311e25ad..9996a94dfd0c 100644 --- a/src/Common/Commands.Profile/Commands.Profile.csproj +++ b/src/Common/Commands.Profile/Commands.Profile.csproj @@ -48,30 +48,30 @@ - ..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll ..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - + False - ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll False - ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -89,8 +89,9 @@ False ..\lib\Microsoft.Web.Deployment.dll - - ..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + False + ..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll ..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll @@ -126,9 +127,12 @@ + - + + + diff --git a/src/Common/Commands.Profile/Environment/AddAzureEnvironment.cs b/src/Common/Commands.Profile/Environment/AddAzureEnvironment.cs index 1af9a1b1ff14..0ae5955a60c4 100644 --- a/src/Common/Commands.Profile/Environment/AddAzureEnvironment.cs +++ b/src/Common/Commands.Profile/Environment/AddAzureEnvironment.cs @@ -14,7 +14,7 @@ using System.Management.Automation; using System.Security.Permissions; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Utilities.Profile; using System.Collections.Generic; using System; diff --git a/src/Common/Commands.Profile/Environment/GetAzureEnvironment.cs b/src/Common/Commands.Profile/Environment/GetAzureEnvironment.cs index d57fb27a1379..8411f45464b6 100644 --- a/src/Common/Commands.Profile/Environment/GetAzureEnvironment.cs +++ b/src/Common/Commands.Profile/Environment/GetAzureEnvironment.cs @@ -15,7 +15,7 @@ using System.Collections.Generic; using System.Management.Automation; using System.Security.Permissions; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Utilities.Profile; using System; diff --git a/src/Common/Commands.Profile/Environment/RemoveAzureEnvironment.cs b/src/Common/Commands.Profile/Environment/RemoveAzureEnvironment.cs index 941b0724c871..05d3c700c464 100644 --- a/src/Common/Commands.Profile/Environment/RemoveAzureEnvironment.cs +++ b/src/Common/Commands.Profile/Environment/RemoveAzureEnvironment.cs @@ -14,7 +14,7 @@ using System.Management.Automation; using System.Security.Permissions; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Properties; using Microsoft.WindowsAzure.Commands.Utilities.Profile; diff --git a/src/Common/Commands.Profile/Environment/SetAzureEnvironment.cs b/src/Common/Commands.Profile/Environment/SetAzureEnvironment.cs index f8f7743450fa..e43d3d7e3bba 100644 --- a/src/Common/Commands.Profile/Environment/SetAzureEnvironment.cs +++ b/src/Common/Commands.Profile/Environment/SetAzureEnvironment.cs @@ -14,7 +14,7 @@ using System.Management.Automation; using System.Security.Permissions; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Utilities.Profile; namespace Microsoft.WindowsAzure.Commands.Profile diff --git a/src/Common/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.format.ps1xml b/src/Common/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.format.ps1xml index 3e2281e8506c..b34dcf874e8b 100644 --- a/src/Common/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.format.ps1xml +++ b/src/Common/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.format.ps1xml @@ -2,9 +2,9 @@ - Microsoft.Azure.Common.Extensions.Models.PSAzureAccount + Microsoft.Azure.Common.Authentication.Models.PSAzureAccount - Microsoft.Azure.Common.Extensions.Models.PSAzureAccount + Microsoft.Azure.Common.Authentication.Models.PSAzureAccount diff --git a/src/Common/Commands.Profile/Models/AzureProfileSettings.cs b/src/Common/Commands.Profile/Models/AzureProfileSettings.cs new file mode 100644 index 000000000000..b68ad11e27a2 --- /dev/null +++ b/src/Common/Commands.Profile/Models/AzureProfileSettings.cs @@ -0,0 +1,57 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using System.Security.Cryptography.X509Certificates; +using Microsoft.Azure.Common.Authentication.Models; + +namespace Microsoft.WindowsAzure.Commands.Profile.Models +{ + /// + /// Configuration for generating an Azure Profile using certificate or AAD credentials + /// + public class AzureProfileSettings + { + public AzureEnvironment Environment { get; set; } + + public string SubscriptionId { get; set; } + + public string StorageAccount { get; set; } + + public X509Certificate2 Certificate { get; set; } + + public PSCredential Credential { get; set; } + + public string Tenant { get; set; } + + public string AccessToken { get; set; } + + public string AccountId { get; set; } + + public static AzureProfileSettings Create(NewAzureProfileCommand command) + { + return new AzureProfileSettings + { + Environment = command.Environment, + SubscriptionId = command.SubscriptionId, + StorageAccount = command.StorageAccount, + Certificate = command.Certificate, + Credential = command.Credential, + Tenant = command.Tenant, + AccessToken = command.AccessToken, + AccountId = command.AccountId + }; + } + } +} diff --git a/src/Common/Commands.Profile/Models/PsAzureSubscription.cs b/src/Common/Commands.Profile/Models/PsAzureSubscription.cs index 9a549b133113..8e1e6846086e 100644 --- a/src/Common/Commands.Profile/Models/PsAzureSubscription.cs +++ b/src/Common/Commands.Profile/Models/PsAzureSubscription.cs @@ -12,7 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; namespace Microsoft.WindowsAzure.Commands.Profile.Models { diff --git a/src/Common/Commands.Profile/Models/PsAzureSubscriptionExtended.cs b/src/Common/Commands.Profile/Models/PsAzureSubscriptionExtended.cs index c4894d9e73b9..763647ff2b26 100644 --- a/src/Common/Commands.Profile/Models/PsAzureSubscriptionExtended.cs +++ b/src/Common/Commands.Profile/Models/PsAzureSubscriptionExtended.cs @@ -13,7 +13,7 @@ // ---------------------------------------------------------------------------------- using System.Security.Cryptography.X509Certificates; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; namespace Microsoft.WindowsAzure.Commands.Profile.Models { diff --git a/src/Common/Commands.Profile/ProfileDoctor/ClearAzureProfile.cs b/src/Common/Commands.Profile/Profile/ClearAzureProfile.cs similarity index 95% rename from src/Common/Commands.Profile/ProfileDoctor/ClearAzureProfile.cs rename to src/Common/Commands.Profile/Profile/ClearAzureProfile.cs index a60306b008f7..f7e883de7414 100644 --- a/src/Common/Commands.Profile/ProfileDoctor/ClearAzureProfile.cs +++ b/src/Common/Commands.Profile/Profile/ClearAzureProfile.cs @@ -14,7 +14,7 @@ using System.Management.Automation; using System.Security.Permissions; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Properties; using Microsoft.WindowsAzure.Commands.Utilities.Profile; @@ -45,7 +45,7 @@ public override void ExecuteCmdlet() public void RemoveProfileProcess() { - ProfileClient.ClearAll(); + ProfileClient.ClearAll(); } } } diff --git a/src/Common/Commands.Profile/Profile/NewAzureProfile.cs b/src/Common/Commands.Profile/Profile/NewAzureProfile.cs new file mode 100644 index 000000000000..37d8a1b127e8 --- /dev/null +++ b/src/Common/Commands.Profile/Profile/NewAzureProfile.cs @@ -0,0 +1,251 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.IO; +using System.Linq; +using System.Security; +using System.Security.Cryptography.X509Certificates; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; +using Microsoft.WindowsAzure.Commands.Common.Properties; +using Microsoft.WindowsAzure.Commands.Profile.Models; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using System.Management.Automation; +using System.Security.Permissions; + +namespace Microsoft.WindowsAzure.Commands.Profile +{ + /// + /// Creates new Microsoft Azure profile. + /// + [Cmdlet(VerbsCommon.New, "AzureProfile"), OutputType(typeof(AzureProfile))] + public class NewAzureProfileCommand : AzurePSCmdlet + { + internal const string CertificateParameterSet = "Certificate"; + internal const string CredentialsParameterSet = "Credentials"; + internal const string ServicePrincipalParameterSet = "ServicePrincipal"; + internal const string AccessTokenParameterSet = "Token"; + internal const string FileParameterSet = "File"; + internal const string PropertyBagParameterSet = "PropertyBag"; + + internal const string SubscriptionIdKey = "SubscriptionId"; + internal const string CertificateKey = "Certificate"; + internal const string UsernameKey = "Username"; + internal const string PasswordKey = "Password"; + internal const string SPNKey = "ServicePrincipal"; + internal const string TenantKey = "Tenant"; + internal const string AccountIdKey = "AccountId"; + internal const string TokenKey = "Token"; + internal const string EnvironmentKey = "Environment"; + internal const string StorageAccountKey = "StorageAccount"; + + + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = CertificateParameterSet)] + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = ServicePrincipalParameterSet)] + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = AccessTokenParameterSet)] + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = CredentialsParameterSet)] + public AzureEnvironment Environment { get; set; } + + [Parameter(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true, ParameterSetName = CertificateParameterSet)] + [Parameter(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true, ParameterSetName = ServicePrincipalParameterSet)] + [Parameter(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true, ParameterSetName = AccessTokenParameterSet)] + [Parameter(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true, ParameterSetName = CredentialsParameterSet)] + public string SubscriptionId { get; set; } + + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = CertificateParameterSet)] + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = ServicePrincipalParameterSet)] + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = AccessTokenParameterSet)] + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, ParameterSetName = CredentialsParameterSet)] + public string StorageAccount { get; set; } + + [Parameter(Mandatory = true, Position = 1, ValueFromPipelineByPropertyName = true, ParameterSetName = CertificateParameterSet)] + public X509Certificate2 Certificate { get; set; } + + [Parameter(Mandatory = true, Position = 1, ValueFromPipelineByPropertyName = true, ParameterSetName = CredentialsParameterSet)] + [Parameter(Mandatory = true, Position = 1, ValueFromPipelineByPropertyName = true, ParameterSetName = ServicePrincipalParameterSet)] + public PSCredential Credential { get; set; } + + [Parameter(Mandatory = false, Position = 2, ValueFromPipelineByPropertyName = true, ParameterSetName = CredentialsParameterSet)] + [Parameter(Mandatory = true, Position = 2, ValueFromPipelineByPropertyName = true, ParameterSetName = ServicePrincipalParameterSet)] + public string Tenant { get; set; } + + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = ServicePrincipalParameterSet)] + public SwitchParameter ServicePrincipal { get; set; } + + [Parameter(Mandatory = true, Position = 2, ValueFromPipelineByPropertyName = true, ParameterSetName = AccessTokenParameterSet)] + public string AccessToken { get; set; } + + [Parameter(Mandatory = true, Position = 1, ValueFromPipelineByPropertyName = true, ParameterSetName = AccessTokenParameterSet)] + public string AccountId { get; set; } + + [Parameter(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true, ParameterSetName = FileParameterSet)] + public string Path { get; set; } + + [Parameter(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true, ParameterSetName = PropertyBagParameterSet)] + public Hashtable Properties { get; set; } + + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + public override void ExecuteCmdlet() + { + AzureProfile azureProfile; + AzureProfileSettings settings; + if (ParameterSetName == PropertyBagParameterSet) + { + azureProfile = new AzureProfile(); + var actualParameterSet = ParseHashTableParameters(Properties, out settings); + InitializeAzureProfile(azureProfile, actualParameterSet, settings); + } + else if (ParameterSetName == FileParameterSet) + { + if (string.IsNullOrEmpty(Path) || !File.Exists(Path)) + { + throw new ArgumentException(Resources.InvalidNewProfilePath); + } + + azureProfile = new AzureProfile(Path); + } + else + { + azureProfile = new AzureProfile(); + settings = AzureProfileSettings.Create(this); + InitializeAzureProfile(azureProfile, ParameterSetName, settings); + } + + WriteObject(azureProfile); + } + + private void InitializeAzureProfile(AzureProfile profile, string parameterSet, AzureProfileSettings settings) + { + var profileClient = new ProfileClient(profile); + if (settings.Environment == null) + { + settings.Environment = AzureEnvironment.PublicEnvironments["AzureCloud"]; + } + switch (parameterSet) + { + case CertificateParameterSet: + profileClient.InitializeProfile(settings.Environment, new Guid(settings.SubscriptionId), settings.Certificate, + settings.StorageAccount); + break; + case CredentialsParameterSet: + var userAccount = new AzureAccount + { + Id = settings.Credential.UserName, + Type = AzureAccount.AccountType.User + }; + profileClient.InitializeProfile(settings.Environment, new Guid(settings.SubscriptionId), userAccount, + settings.Credential.Password, settings.StorageAccount); + break; + case AccessTokenParameterSet: + profileClient.InitializeProfile(settings.Environment, new Guid(settings.SubscriptionId), settings.AccessToken, + settings.AccountId, settings.StorageAccount); + break; + case ServicePrincipalParameterSet: + var servicePrincipalAccount = new AzureAccount + { + Id = settings.Credential.UserName, + Type = AzureAccount.AccountType.ServicePrincipal + }; + profileClient.InitializeProfile(settings.Environment, new Guid(settings.SubscriptionId), servicePrincipalAccount, + settings.Credential.Password, settings.StorageAccount); + break; + } + } + + private string ParseHashTableParameters(Hashtable propertyBag, out AzureProfileSettings settings) + { + settings = new AzureProfileSettings(); + string parametSetName = null; + if (!propertyBag.ContainsKey(SubscriptionIdKey)) + { + throw new ArgumentException(Resources.MissingSubscriptionInProfileProperties); + } + + settings.SubscriptionId = (string) propertyBag[SubscriptionIdKey]; + if (propertyBag.ContainsKey(StorageAccountKey)) + { + settings.StorageAccount = (string)propertyBag[StorageAccountKey]; + } + + if (propertyBag.ContainsKey(EnvironmentKey)) + { + var environmentValue = (string)propertyBag[EnvironmentKey]; + if (AzureEnvironment.PublicEnvironments.ContainsKey(environmentValue)) + { + settings.Environment = AzureEnvironment.PublicEnvironments[environmentValue]; + } + } + + if (propertyBag.ContainsKey(CertificateKey)) + { + if (!propertyBag[CertificateKey].GetType().IsAssignableFrom(typeof(X509Certificate2))) + { + throw new ArgumentException(Resources.MissingCertificateInProfileProperties); + } + + settings.Certificate = (X509Certificate2)propertyBag[CertificateKey]; + parametSetName = CertificateParameterSet; + } + else if (propertyBag.ContainsKey(UsernameKey)) + { + settings.Credential = CreatePsCredential((string)propertyBag[UsernameKey], propertyBag); + if (propertyBag.ContainsKey(TenantKey)) + { + settings.Tenant = (string)propertyBag[TenantKey]; + } + parametSetName = CredentialsParameterSet; + } + else if (propertyBag.ContainsKey(SPNKey) && propertyBag.ContainsKey(TenantKey)) + { + settings.Credential = CreatePsCredential((string)propertyBag[SPNKey], propertyBag); + if (propertyBag.ContainsKey(TenantKey)) + { + settings.Tenant = (string)propertyBag[TenantKey]; + } + parametSetName = ServicePrincipalParameterSet; + } + else if (propertyBag.ContainsKey(AccountIdKey) && propertyBag.ContainsKey(TokenKey)) + { + settings.AccountId = (string)propertyBag[AccountIdKey]; + settings.AccessToken = (string)propertyBag[TokenKey]; + parametSetName = AccessTokenParameterSet; + } + else + { + throw new ArgumentException(Resources.InvalidProfileProperties); + } + + return parametSetName; + } + + + private PSCredential CreatePsCredential(string username, Hashtable propertyBag) + { + if (!propertyBag.ContainsKey(PasswordKey)) + { + throw new ArgumentException(Resources.MissingPasswordInProfileProperties); + } + + var password = new SecureString(); + foreach (var passwordchar in (string)propertyBag[PasswordKey]) + { + password.AppendChar(passwordchar); + } + + return new PSCredential(username, password); + } + } +} diff --git a/src/Common/Commands.Profile/Profile/SelectAzureProfile.cs b/src/Common/Commands.Profile/Profile/SelectAzureProfile.cs new file mode 100644 index 000000000000..72be68366ea1 --- /dev/null +++ b/src/Common/Commands.Profile/Profile/SelectAzureProfile.cs @@ -0,0 +1,69 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections; +using System.IO; +using System.Linq; +using System.Security; +using System.Security.Cryptography.X509Certificates; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; +using Microsoft.WindowsAzure.Commands.Common.Properties; +using Microsoft.WindowsAzure.Commands.Profile.Models; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using System.Management.Automation; +using System.Security.Permissions; +using Microsoft.WindowsAzure.Commands.Utilities.Profile; + +namespace Microsoft.WindowsAzure.Commands.Profile +{ + /// + /// Creates new Microsoft Azure profile. + /// + [Cmdlet(VerbsCommon.Select, "AzureProfile"), OutputType(typeof(AzureProfile))] + public class SelectAzureProfileCommand : SubscriptionCmdletBase + { + internal const string NewProfileParameterSet = "NewProfile"; + internal const string DefaultProfilePrameterSet = "DefaultProfile"; + + [Parameter(ParameterSetName=NewProfileParameterSet, Mandatory=true, Position=0, ValueFromPipelineByPropertyName=true)] + public new AzureProfile Profile { get; set; } + + [Parameter(ParameterSetName=DefaultProfilePrameterSet, Mandatory=true)] + public SwitchParameter Default { get; set; } + + public SelectAzureProfileCommand() : base(true) + { + } + + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + public override void ExecuteCmdlet() + { + if (ParameterSetName == DefaultProfilePrameterSet) + { + Profile = AzurePSCmdlet.DefaultProfile; + } + + if (Profile == null) + { + throw new ArgumentException("Selected profile must not be null."); + } + + AzurePSCmdlet.CurrentProfile = Profile; + AzurePSCmdlet.UpdateSessionStateForProfile(AzurePSCmdlet.CurrentProfile); + WriteObject(Profile); + } + } +} diff --git a/src/Common/Commands.Profile/Properties/AssemblyInfo.cs b/src/Common/Commands.Profile/Properties/AssemblyInfo.cs index 5d990696d836..01731f9f8e05 100644 --- a/src/Common/Commands.Profile/Properties/AssemblyInfo.cs +++ b/src/Common/Commands.Profile/Properties/AssemblyInfo.cs @@ -51,6 +51,7 @@ [assembly: InternalsVisibleTo("Microsoft.WindowsAzure.Commands.SqlDatabase.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")] #else [assembly: InternalsVisibleTo("Microsoft.WindowsAzure.Commands.Test")] +[assembly: InternalsVisibleTo("Microsoft.WindowsAzure.Commands.Common.Test")] [assembly: InternalsVisibleTo("Microsoft.WindowsAzure.Commands.CloudService.Test")] [assembly: InternalsVisibleTo("Microsoft.WindowsAzure.Commands.SqlDatabase.Test")] #endif diff --git a/src/Common/Commands.Profile/Subscription/GetAzurePublishSettingsFile.cs b/src/Common/Commands.Profile/Subscription/GetAzurePublishSettingsFile.cs index 4cea0c630855..3cb69cddae84 100644 --- a/src/Common/Commands.Profile/Subscription/GetAzurePublishSettingsFile.cs +++ b/src/Common/Commands.Profile/Subscription/GetAzurePublishSettingsFile.cs @@ -14,7 +14,7 @@ using System.Management.Automation; using System.Security.Permissions; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Profile; diff --git a/src/Common/Commands.Profile/Subscription/GetAzureSubscription.cs b/src/Common/Commands.Profile/Subscription/GetAzureSubscription.cs index 39670163cf34..f5824b361792 100644 --- a/src/Common/Commands.Profile/Subscription/GetAzureSubscription.cs +++ b/src/Common/Commands.Profile/Subscription/GetAzureSubscription.cs @@ -17,13 +17,13 @@ using System.Linq; using System.Management.Automation; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Properties; using Microsoft.WindowsAzure.Commands.Profile.Models; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Profile; using Microsoft.WindowsAzure.Management; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Profile { @@ -64,7 +64,7 @@ public override void ExecuteCmdlet() switch (ParameterSetName) { case "ByName": - WriteSubscriptions(ProfileClient.RefreshSubscriptions(AzureSession.CurrentContext.Environment) + WriteSubscriptions(ProfileClient.RefreshSubscriptions(Profile.Context.Environment) .Where(s => SubscriptionName == null || s.Name.Equals(SubscriptionName, StringComparison.InvariantCultureIgnoreCase))); break; case "ById": @@ -103,7 +103,7 @@ public void GetCurrent() // since current is strictly in-memory and we want the real // current subscription. // - if (AzureSession.CurrentContext.Subscription == null) + if (Profile.Context.Subscription == null) { WriteError(new ErrorRecord( new InvalidOperationException(Resources.InvalidSelectedSubscription), @@ -112,7 +112,7 @@ public void GetCurrent() } else { - WriteSubscriptions(AzureSession.CurrentContext.Subscription); + WriteSubscriptions(Profile.Context.Subscription); } } @@ -148,7 +148,7 @@ private PSAzureSubscription ConstructPsAzureSubscription(AzureSubscription subsc psObject.DefaultAccount = subscription.Account; psObject.Accounts = ProfileClient.Profile.Accounts.Values.Where(a => a.HasSubscription(subscription.Id)).ToArray(); psObject.IsDefault = subscription.IsPropertySet(AzureSubscription.Property.Default); - psObject.IsCurrent = AzureSession.CurrentContext.Subscription != null && AzureSession.CurrentContext.Subscription.Id == subscription.Id; + psObject.IsCurrent = Profile.Context.Subscription != null && Profile.Context.Subscription.Id == subscription.Id; psObject.CurrentStorageAccountName = subscription.GetProperty(AzureSubscription.Property.StorageAccount); psObject.TenantId = subscription.GetPropertyAsArray(AzureSubscription.Property.Tenants).FirstOrDefault(); return psObject; @@ -156,11 +156,11 @@ private PSAzureSubscription ConstructPsAzureSubscription(AzureSubscription subsc private PSAzureSubscriptionExtended ConstructPsAzureSubscriptionExtended(AzureSubscription subscription, IClientFactory clientFactory) { - using (var client = clientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement)) + using (var client = clientFactory.CreateClient(Profile, subscription, AzureEnvironment.Endpoint.ServiceManagement)) { var response = client.Subscriptions.Get(); var environment = ProfileClient.GetEnvironmentOrDefault(subscription.Environment); - var account = DefaultProfileClient.Profile.Accounts[subscription.Account]; + var account = ProfileClient.Profile.Accounts[subscription.Account]; bool isCert = account.Type == AzureAccount.AccountType.Certificate; PSAzureSubscriptionExtended result = new PSAzureSubscriptionExtended(ConstructPsAzureSubscription(subscription)) @@ -186,7 +186,7 @@ private PSAzureSubscriptionExtended ConstructPsAzureSubscriptionExtended(AzureSu ResourceManagerEndpoint = environment.GetEndpoint(AzureEnvironment.Endpoint.ResourceManager), IsDefault = subscription.GetProperty(AzureSubscription.Property.Default) != null, Account = account, - Certificate = isCert ? ProfileClient.DataStore.GetCertificate(subscription.Account) : null, + Certificate = isCert ? AzureSession.DataStore.GetCertificate(subscription.Account) : null, CurrentStorageAccountName = subscription.GetProperty(AzureSubscription.Property.StorageAccount) }; diff --git a/src/Common/Commands.Profile/Subscription/ImportAzurePublishSettings.cs b/src/Common/Commands.Profile/Subscription/ImportAzurePublishSettings.cs index 1e0c6ca498b4..8b47e0c1832b 100644 --- a/src/Common/Commands.Profile/Subscription/ImportAzurePublishSettings.cs +++ b/src/Common/Commands.Profile/Subscription/ImportAzurePublishSettings.cs @@ -17,13 +17,13 @@ using System.Linq; using System.Management.Automation; using System.Security.Permissions; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Properties; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Profile; using Microsoft.WindowsAzure.Commands.Common; using System.Diagnostics; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Profile { @@ -54,14 +54,7 @@ public override void ExecuteCmdlet() } AzureSubscription defaultSubscription = ProfileClient.Profile.DefaultSubscription; - Debug.Assert(AzureSession.CurrentContext != null); - if (defaultSubscription != null && AzureSession.CurrentContext.Subscription == null) - { - AzureSession.SetCurrentContext( - defaultSubscription, - ProfileClient.Profile.Environments[defaultSubscription.Environment], - ProfileClient.Profile.Accounts[defaultSubscription.Account]); - } + Debug.Assert(Profile.Context != null); } private bool IsDirectory() diff --git a/src/Common/Commands.Profile/Subscription/RemoveAzureSubscription.cs b/src/Common/Commands.Profile/Subscription/RemoveAzureSubscription.cs index e12a652d4ca1..fb4b83cd8729 100644 --- a/src/Common/Commands.Profile/Subscription/RemoveAzureSubscription.cs +++ b/src/Common/Commands.Profile/Subscription/RemoveAzureSubscription.cs @@ -14,7 +14,7 @@ using System; using System.Management.Automation; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Properties; using Microsoft.WindowsAzure.Commands.Utilities.Profile; diff --git a/src/Common/Commands.Profile/Subscription/SelectAzureSubscription.cs b/src/Common/Commands.Profile/Subscription/SelectAzureSubscription.cs index 51b5adf693b8..1f5c08f2023d 100644 --- a/src/Common/Commands.Profile/Subscription/SelectAzureSubscription.cs +++ b/src/Common/Commands.Profile/Subscription/SelectAzureSubscription.cs @@ -13,12 +13,13 @@ // ---------------------------------------------------------------------------------- using System; +using System.Linq; using System.Management.Automation; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Properties; using Microsoft.WindowsAzure.Commands.Utilities.Profile; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Profile { @@ -94,23 +95,25 @@ public override void ExecuteCmdlet() switch (ParameterSetName) { case SelectSubscriptionByNameParameterSet: - azureSubscription = ProfileClient.SetSubscriptionAsCurrent(SubscriptionName, Account); + azureSubscription = ProfileClient.SetSubscriptionAsDefault(SubscriptionName, GetAccount()); break; case SelectSubscriptionByIdParameterSet: - azureSubscription = ProfileClient.SetSubscriptionAsCurrent(SubscriptionIdAsGuid(), Account); + azureSubscription = ProfileClient.SetSubscriptionAsDefault(SubscriptionIdAsGuid(), GetAccount()); break; case SelectDefaultSubscriptionByNameParameterSet: - azureSubscription = ProfileClient.SetSubscriptionAsDefault(SubscriptionName, Account); + azureSubscription = ProfileClient.SetSubscriptionAsDefault(SubscriptionName, GetAccount()); + WriteWarning("Current and Default parameters have been deprecated. Select-AzureSubscription will always update the Default Subscription."); break; case SelectDefaultSubscriptionByIdParameterSet: - azureSubscription = ProfileClient.SetSubscriptionAsDefault(SubscriptionIdAsGuid(), Account); + azureSubscription = ProfileClient.SetSubscriptionAsDefault(SubscriptionIdAsGuid(), GetAccount()); + WriteWarning("Current and Default parameters have been deprecated. Select-AzureSubscription will always update the Default Subscription."); break; case NoCurrentSubscriptionParameterSet: - AzureSession.SetCurrentContext(null, null, null); + WriteWarning("Current parameter set has been deprecated. Use Select-AzureSubscription -NoDefault instead."); break; case NoDefaultSubscriptionParameterSet: @@ -124,6 +127,31 @@ public override void ExecuteCmdlet() } } + /// + /// Returns Account specified in the parameter or current account of the subscription + /// + /// + private string GetAccount() + { + if (!string.IsNullOrEmpty(Account)) + { + return Account; + } + + AzureSubscription subscription = ProfileClient.Profile.Subscriptions.Values + .FirstOrDefault(s => s.Name.Equals(SubscriptionName, StringComparison.InvariantCultureIgnoreCase) || + s.Id.ToString().Equals(SubscriptionId, StringComparison.InvariantCultureIgnoreCase)); + + if (subscription != null) + { + return subscription.Account; + } + else + { + return null; + } + } + private Guid SubscriptionIdAsGuid() { Guid subscriptionIdGuid; diff --git a/src/Common/Commands.Profile/Subscription/SetAzureSubscription.cs b/src/Common/Commands.Profile/Subscription/SetAzureSubscription.cs index 52a97162a980..52545c5afa31 100644 --- a/src/Common/Commands.Profile/Subscription/SetAzureSubscription.cs +++ b/src/Common/Commands.Profile/Subscription/SetAzureSubscription.cs @@ -16,7 +16,8 @@ using System.Linq; using System.Management.Automation; using System.Security.Cryptography.X509Certificates; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Profile; @@ -106,7 +107,8 @@ public override void ExecuteCmdlet() AzureEnvironment environment = ProfileClient.GetEnvironment(Environment, ServiceEndpoint, ResourceManagerEndpoint); if (environment == null) { - environment = DefaultProfileClient.GetEnvironment(Environment, ServiceEndpoint, ResourceManagerEndpoint); + var profileClient = new ProfileClient(Profile); + environment = profileClient.GetEnvironment(Environment, ServiceEndpoint, ResourceManagerEndpoint); } if (environment == null) diff --git a/src/Common/Commands.Profile/SwitchAzureMode.cs b/src/Common/Commands.Profile/SwitchAzureMode.cs index 7d9ad67780f8..10e8392fb452 100644 --- a/src/Common/Commands.Profile/SwitchAzureMode.cs +++ b/src/Common/Commands.Profile/SwitchAzureMode.cs @@ -15,7 +15,7 @@ using System; using System.Management.Automation; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Profile { diff --git a/src/Common/Commands.Profile/packages.config b/src/Common/Commands.Profile/packages.config index bdde83a6dc79..49bb4d5275cf 100644 --- a/src/Common/Commands.Profile/packages.config +++ b/src/Common/Commands.Profile/packages.config @@ -1,15 +1,15 @@  - - + + + - - + - + \ No newline at end of file diff --git a/src/Common/Commands.ScenarioTest/AutomationTests/AutomationTests.cs b/src/Common/Commands.ScenarioTest/AutomationTests/AutomationTests.cs index 12f15d9dd2c2..53491d71cb96 100644 --- a/src/Common/Commands.ScenarioTest/AutomationTests/AutomationTests.cs +++ b/src/Common/Commands.ScenarioTest/AutomationTests/AutomationTests.cs @@ -19,7 +19,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.Azure.Test; using Xunit; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.ScenarioTest { diff --git a/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj b/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj index 2e72218aa9cd..d1c729bec428 100644 --- a/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj +++ b/src/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj @@ -39,26 +39,26 @@ - ..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\packages\Microsoft.Azure.Common.2.0.3\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\packages\Microsoft.Azure.Common.2.0.3\lib\net45\Microsoft.Azure.Common.NetFramework.dll ..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - ..\..\packages\Microsoft.Azure.Test.Framework.1.0.5486.28526-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll + ..\..\packages\Microsoft.Azure.Test.Framework.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll - ..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5486.28526-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll + ..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll ..\..\packages\Microsoft.Data.Edm.5.6.0\lib\net40\Microsoft.Data.Edm.dll @@ -69,13 +69,13 @@ ..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - + False - ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll False - ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -97,11 +97,12 @@ ..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll - - ..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + False + ..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll - ..\..\packages\Microsoft.WindowsAzure.Management.Compute.8.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll + ..\..\packages\Microsoft.WindowsAzure.Management.Compute.9.2.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll ..\..\packages\Microsoft.WindowsAzure.Management.Storage.5.0.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll diff --git a/src/Common/Commands.ScenarioTest/Common/PowerShellTest.cs b/src/Common/Commands.ScenarioTest/Common/PowerShellTest.cs index 27dc682af445..d6be6a7f8e02 100644 --- a/src/Common/Commands.ScenarioTest/Common/PowerShellTest.cs +++ b/src/Common/Commands.ScenarioTest/Common/PowerShellTest.cs @@ -20,7 +20,7 @@ using Microsoft.WindowsAzure.Commands.Common.Test.Common; using Microsoft.WindowsAzure.Commands.ScenarioTest.Resources; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.ScenarioTest.Common { diff --git a/src/Common/Commands.ScenarioTest/Common/ServiceManagementTestEnvironmentFactory.cs b/src/Common/Commands.ScenarioTest/Common/ServiceManagementTestEnvironmentFactory.cs index 6b9faa273a0e..914cefc0ccb6 100644 --- a/src/Common/Commands.ScenarioTest/Common/ServiceManagementTestEnvironmentFactory.cs +++ b/src/Common/Commands.ScenarioTest/Common/ServiceManagementTestEnvironmentFactory.cs @@ -21,8 +21,8 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema; -using Microsoft.Azure.Common.Extensions; -using Microsoft.Azure.Common.Extensions.XmlSchema; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.XmlSchema; using Hyak.Common; using Microsoft.Azure; diff --git a/src/Common/Commands.ScenarioTest/Common/WindowsAzurePowerShellCertificateTest.cs b/src/Common/Commands.ScenarioTest/Common/WindowsAzurePowerShellCertificateTest.cs index a8786a3ad86c..476681ca1132 100644 --- a/src/Common/Commands.ScenarioTest/Common/WindowsAzurePowerShellCertificateTest.cs +++ b/src/Common/Commands.ScenarioTest/Common/WindowsAzurePowerShellCertificateTest.cs @@ -22,8 +22,8 @@ using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.Azure.Test; -using Microsoft.Azure.Common.Extensions; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; namespace Microsoft.WindowsAzure.Commands.ScenarioTest.Common { @@ -55,7 +55,7 @@ public AzurePowerShellCertificateTest(params string[] modules) string dummyCredentialFile = Path.Combine(Environment.CurrentDirectory, TestCredentialHelper.DefaultCredentialFile); if (!File.Exists(dummyCredentialFile)) { - ProfileClient.DataStore.WriteFile(dummyCredentialFile, Properties.Resources.RdfeTestDummy); + AzureSession.DataStore.WriteFile(dummyCredentialFile, Properties.Resources.RdfeTestDummy); } this.credentialFile = dummyCredentialFile; } @@ -65,7 +65,7 @@ public AzurePowerShellCertificateTest(params string[] modules) this.credentialFile = TestCredentialHelper.DefaultCredentialFile; this.profileFile = TestCredentialHelper.WindowsAzureProfileFile; } - ProfileClient.DataStore = new MockDataStore(); + AzureSession.DataStore = new MockDataStore(); if (Environment.GetEnvironmentVariable(outputDirKey) != null) { diff --git a/src/Common/Commands.ScenarioTest/CredentialTests/AddAccountForArmTests.cs b/src/Common/Commands.ScenarioTest/CredentialTests/AddAccountForArmTests.cs index c29a3c4f28ad..4bbe3c544681 100644 --- a/src/Common/Commands.ScenarioTest/CredentialTests/AddAccountForArmTests.cs +++ b/src/Common/Commands.ScenarioTest/CredentialTests/AddAccountForArmTests.cs @@ -12,7 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Xunit; using Xunit.Extensions; diff --git a/src/Common/Commands.ScenarioTest/CredentialTests/CredentialTestBase.cs b/src/Common/Commands.ScenarioTest/CredentialTests/CredentialTestBase.cs index 5a6c8dd425c0..d731e743012f 100644 --- a/src/Common/Commands.ScenarioTest/CredentialTests/CredentialTestBase.cs +++ b/src/Common/Commands.ScenarioTest/CredentialTests/CredentialTestBase.cs @@ -16,7 +16,7 @@ using System.Linq; using System.Management.Automation; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.ScenarioTest.CredentialTests { diff --git a/src/Common/Commands.ScenarioTest/CredentialTests/CredentialTestHelper.cs b/src/Common/Commands.ScenarioTest/CredentialTests/CredentialTestHelper.cs index a764f52988d6..7b103d5bf913 100644 --- a/src/Common/Commands.ScenarioTest/CredentialTests/CredentialTestHelper.cs +++ b/src/Common/Commands.ScenarioTest/CredentialTests/CredentialTestHelper.cs @@ -19,7 +19,7 @@ using Microsoft.WindowsAzure.Commands.Common; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.ScenarioTest.CredentialTests { @@ -29,7 +29,7 @@ internal class CredentialTestHelper public CredentialTestHelper() { - ProfileClient.DataStore = new MockDataStore(); + AzureSession.DataStore = new MockDataStore(); // Ignore SSL errors System.Net.ServicePointManager.ServerCertificateValidationCallback += (se, cert, chain, sslerror) => true; } diff --git a/src/Common/Commands.ScenarioTest/Resources/Automation/AutomationTests.ps1 b/src/Common/Commands.ScenarioTest/Resources/Automation/AutomationTests.ps1 index 62285b98090c..9cee718e407d 100644 --- a/src/Common/Commands.ScenarioTest/Resources/Automation/AutomationTests.ps1 +++ b/src/Common/Commands.ScenarioTest/Resources/Automation/AutomationTests.ps1 @@ -17,7 +17,8 @@ Checks whether the first string contains the second one #> -$accountName='AutomationAccount' +$accountName='safeer' +$location = "East US" function AssertContains { @@ -108,10 +109,10 @@ function Test-RunbookWithParameter $runbook = CreateRunbook $runbookPath Assert-NotNull $runbook "runBook $runbookPath does not import successfully." - $automationAccount | Publish-AzureAutomationRunbook -Id $runbook.Id + $automationAccount | Publish-AzureAutomationRunbook -Name $runbook.Name #Test - $job = $automationAccount | Start-AzureAutomationRunbook -Id $runbook.Id -Parameters $parameters + $job = $automationAccount | Start-AzureAutomationRunbook -Name $runbook.Name -Parameters $parameters WaitForJobStatus -Id $job.Id -Status "Completed" $jobOutput = $automationAccount | Get-AzureAutomationJobOutput -Id $job.Id -Stream Output $automationAccount | Remove-AzureAutomationRunbook -Name $runbook.Name -Force @@ -126,16 +127,15 @@ function Test-AutomationStartAndStopRunbook { param([string] $runbookPath) - #Setup - $automationAccount = Get-AzureAutomationAccount -Name $accountName + $automationAccount = Get-AzureAutomationAccount -Name $accountName Assert-NotNull $automationAccount "Automation account $accountName does not exist." $runbook = CreateRunbook $runbookPath Assert-NotNull $runbook "runBook $runbookPath does not import successfully." - $automationAccount | Publish-AzureAutomationRunbook -Id $runbook.Id + $automationAccount | Publish-AzureAutomationRunbook -Name $runbook.Name #Test - $job = $automationAccount | Start-AzureAutomationRunbook -Id $runbook.Id + $job = Start-AzureAutomationRunbook -Name $runbook.Name -AutomationAccountName $accountName WaitForJobStatus -Id $job.Id -Status "Running" $automationAccount | Stop-AzureAutomationJob -Id $job.Id WaitForJobStatus -Id $job.Id -Status "Stopped" @@ -153,31 +153,28 @@ function Test-AutomationPublishAndEditRunbook $runbook = CreateRunbook $runbookPath $true - #Test - - Assert-Null $runbook.PublishedRunbookVersionId - Assert-NotNull $runbook.DraftRunbookVersionId #Publish Runbook - $publishedRunbook = Publish-AzureAutomationRunbook $accountName -Id $runbook.Id - Assert-NotNull $publishedRunbook.PublishedRunbookVersionId - Assert-Null $publishedRunbook.DraftRunbookVersionId - $publishedRunbookDefn = Get-AzureAutomationRunbookDefinition $accountName -VersionId $publishedRunbook.PublishedRunbookVersionId + Publish-AzureAutomationRunbook $accountName -Name $runbook.Name + $publishedRunbook = Get-AzureAutomationRunbook $accountName -Name $runbook.Name + $runbookState = "Published" + Assert-AreEqual $publishedRunbook.State $runbookState "Runbook should be in $runbookState state" + $publishedRunbookDefn = Get-AzureAutomationRunbookDefinition $accountName -Name $runbook.Name #Edit Runbook - Set-AzureAutomationRunbookDefinition $accountName -Id $runbook.Id -Path $runbookPath -Overwrite + Set-AzureAutomationRunbookDefinition $accountName -Name $runbook.Name -Path $runbookPath -Overwrite $runbook = Get-AzureAutomationRunbook $accountName -Name $runbook.Name - Assert-AreEqual $publishedRunbook.PublishedRunbookVersionId $runbook.PublishedRunbookVersionId - Assert-NotNull $runbook.DraftRunbookVersionId "Runbook should be in draft mode" - $editedRunbookDefn = Get-AzureAutomationRunbookDefinition $accountName -VersionId $runbook.DraftRunbookVersionId + $runbookState = "Edit" + Assert-AreEqual $runbook.State $runbookState "Runbook should be in $runbookState state" + $editedRunbookDefn = Get-AzureAutomationRunbookDefinition $accountName -Name $runbook.Name -Slot "Draft" Assert-AreNotEqual $editedRunbookDefn.Content $publishedRunbookDefn.Content "Old content and edited content of the runbook shouldn't be equal" Assert-Throws {Set-AzureAutomationRunbookDefinition $accountName -Name $runbook.Name -Path $editRunbookPath -PassThru -ErrorAction Stop} Set-AzureAutomationRunbookDefinition $accountName -Name $runbook.Name -Path $editRunbookPath -Overwrite - $editedRunbookDefn2 = Get-AzureAutomationRunbookDefinition $accountName -VersionId $runbook.DraftRunbookVersionId + $editedRunbookDefn2 = Get-AzureAutomationRunbookDefinition $accountName -Name $runbook.Name -Slot "Draft" Assert-AreNotEqual $editedRunbookDefn2.Content $editedRunbookDefn.Content "Old content and edited content of the runbook shouldn't be equal" - Remove-AzureAutomationRunbook $accountName -Id $runbook.Id -Force - Assert-Throws {Get-AzureAutomationRunbook $accountName -Id $runbook.Id} + Remove-AzureAutomationRunbook $accountName -Name $runbook.Name -Force + Assert-Throws {Get-AzureAutomationRunbook $accountName -Name $runbook.Name} } @@ -194,30 +191,26 @@ function Test-AutomationConfigureRunbook Assert-NotNull $automationAccount "Automation account $accountName does not exist." $runbook = CreateRunbook $runbookPath Assert-NotNull $runbook "runbook ($runbookPath) isn't imported successfully." - Publish-AzureAutomationRunbook -Id $runbook.Id -AutomationAccountName $accountName + Publish-AzureAutomationRunbook -Name $runbook.Name -AutomationAccountName $accountName #Test #Change the runbook configuration - $automationAccount | Set-AzureAutomationRunbook -Id $runbook.Id -LogDebug $true -LogVerbose $true -LogProgress $false + $automationAccount | Set-AzureAutomationRunbook -Name $runbook.Name -LogVerbose $true -LogProgress $false $runbook = $automationAccount | Get-AzureAutomationRunbook -Name $runbook.Name Assert-NotNull $runbook "Runbook shouldn't be Null" - Assert-AreEqual $true $runbook.LogDebug "Log Debug mode should be true." Assert-AreEqual $true $runbook.LogVerbose "Log Verbose mode should be true." Assert-AreEqual $false $runbook.LogProgress "Log Progress mode should be false." #Start runbook and wait for job complete - $job = $automationAccount | Start-AzureAutomationRunbook -Id $runbook.Id + $job = $automationAccount | Start-AzureAutomationRunbook -Name $runbook.Name WaitForJobStatus -Id $job.Id -Status "Completed" #Check job output streams $jobOutputs = $automationAccount | Get-AzureAutomationJobOutput -Id $job.Id -Stream "Output" Assert-AreEqual 1 $jobOutputs.Count AssertContains $jobOutputs[0].Text "output message" "The output stream is wrong." - #Verify that debug and verbose streams are logged - $jobDebugOutputs = $automationAccount | Get-AzureAutomationJobOutput -Id $job.Id -Stream "Debug" - Assert-AreEqual 1 $jobDebugOutputs.Count - AssertContains $jobDebugOutputs[0].Text "debug message" "The debug stream is wrong." + #Verify that verbose streams are logged $jobVerboseOutputs = Get-AzureAutomationJobOutput $accountName -Id $job.Id -Stream "Verbose" Assert-AreEqual 1 $jobVerboseOutputs.Count AssertContains $jobVerboseOutputs[0].Text "verbose message" "The verbose stream is wrong." @@ -226,26 +219,24 @@ function Test-AutomationConfigureRunbook Assert-AreEqual 0 $jobProgressOutputs.Count #Change the runbook configuration again and start the runbook - Set-AzureAutomationRunbook $accountName -Id $runbook.Id -LogDebug $false -LogVerbose $false -LogProgress $true + Set-AzureAutomationRunbook $accountName -Name $runbook.Name -LogVerbose $false -LogProgress $true $job = Start-AzureAutomationRunbook $accountName -Name $runbook.Name WaitForJobStatus -Id $job.Id -Status "Completed" #Verify that progress stream is logged $jobProgressOutputs = Get-AzureAutomationJobOutput $accountName -Id $job.Id -Stream "Progress" Assert-AreNotEqual 0 $jobProgressOutputs.Count Assert-AreEqual $jobProgressOutputs[0].Type "Progress" - #Verify that debug and verbose streams aren't logged - $jobDebugOutputs = Get-AzureAutomationJobOutput $accountName -Id $job.Id -Stream "Debug" - Assert-AreEqual 0 $jobDebugOutputs.Count + #Verify that verbose streams aren't logged $jobVerboseOutputs = Get-AzureAutomationJobOutput $accountName -Id $job.Id -Stream "Verbose" Assert-AreEqual 0 $jobVerboseOutputs.Count #Check whether the total number of jobs for the runbook is correct - $jobs = Get-AzureAutomationJob $accountName -RunbookId $runbook.Id + $jobs = Get-AzureAutomationJob $accountName -RunbookName $runbook.Name Assert-AreEqual 2 $jobs.Count "There should be 2 jobs in total for this runbook." #Remove runbook $automationAccount | Remove-AzureAutomationRunbook -Name $runbook.Name -Force - Assert-Throws {$automationAccount | Get-AzureAutomationRunbook -Id $runbook.Id} + Assert-Throws {$automationAccount | Get-AzureAutomationRunbook -Name $runbook.Name} } <# @@ -263,9 +254,9 @@ function Test-AutomationSuspendAndResumeJob #Test - $automationAccount | Publish-AzureAutomationRunbook -Id $runbook.Id + $automationAccount | Publish-AzureAutomationRunbook -Name $runbook.Name #Start, suspend, and then resume job - $job = Start-AzureAutomationRunbook $accountName -Id $runbook.Id + $job = Start-AzureAutomationRunbook $accountName -Name $runbook.Name WaitForJobStatus -Id $job.Id -Status "Running" Suspend-AzureAutomationJob $accountName -Id $job.Id WaitForJobStatus -Id $job.Id -Status "Suspended" @@ -273,7 +264,7 @@ function Test-AutomationSuspendAndResumeJob WaitForJobStatus -Id $job.Id -Status "Completed" #Remove runbook - Remove-AzureAutomationRunbook -AutomationAccountName $accountName -Id $runbook.Id -Force + Remove-AzureAutomationRunbook -AutomationAccountName $accountName -Name $runbook.Name -Force Assert-Throws {Get-AzureAutomationRunbook $accountName -Name $runbook.Name} } @@ -319,31 +310,34 @@ function Test-AutomationStartRunbookOnASchedule $runbook = Register-AzureAutomationScheduledRunbook $accountName -Name $runbook.Name -ScheduleName $oneTimeScheName Assert-AreEqual $oneTimeScheName $runbook.ScheduleNames "The runbook should be associated with $oneTimeScheName" - $runbook = Register-AzureAutomationScheduledRunbook $accountName -Id $runbook.Id -ScheduleName $dailyScheName + $runbook = Register-AzureAutomationScheduledRunbook $accountName -Name $runbook.Name -ScheduleName $dailyScheName Assert-True { $runbook.ScheduleNames -Contains $dailyScheName} "The runbook should be associated with $dailyScheName" #waiting for seven minutes Wait-Seconds 420 - $job = Get-AzureAutomationJob $accountName -RunbookId $runbook.Id | where {$_.ScheduleName -eq $oneTimeScheName} + $job = Get-AzureAutomationJob $accountName -Name $runbook.Name | where {$_.ScheduleName -eq $oneTimeScheName} + $jobSchedule = Get-AzureAutomationScheduledRunbook $accountName -RunbookName $runbook.Name -ScheduleName $oneTimeScheName + Assert-AreEqual 1 $jobSchedule.Count Assert-AreEqual 1 $job.Count WaitForJobStatus -Id $job.Id -Status "Completed" #Edit schedule $description = "Daily Schedule Description" - Set-AzureAutomationSchedule $accountName -Name $oneTimeScheName -Description $description - $dailySchedule = Get-AzureAutomationSchedule $accountName -Name $oneTimeScheName + Set-AzureAutomationSchedule $accountName -Name $dailyScheName -Description $description + $dailySchedule = Get-AzureAutomationSchedule $accountName -Name $dailyScheName Assert-AreEqual $description $dailySchedule.Description - $runbook = Unregister-AzureAutomationScheduledRunbook $accountName -Name $runbook.Name -ScheduleName $dailyScheName - Assert-False {$runbook.ScheduleNames -Contains $dailyScheName} "The runbook shouldn't have an association with $dailyScheName" + Unregister-AzureAutomationScheduledRunbook $accountName -Name $runbook.Name -ScheduleName $dailyScheName + $jobSchedule = Get-AzureAutomationScheduledRunbook $accountName -RunbookName $runbook.Name -ScheduleName $dailyScheName + Assert-Null $jobSchedule "The runbook shouldn't have an association with $dailyScheName" #Remove runbook and schedule Remove-AzureAutomationSchedule $accountName -Name $oneTimeScheName -Force Assert-Throws {$automationAccount | Get-AzureAutomationSchedule -Name $oneTimeScheName} $automationAccount | Remove-AzureAutomationSchedule -Name $dailyScheName -Force Assert-Throws {$automationAccount | Get-AzureAutomationSchedule -Name $dailyScheName} - Remove-AzureAutomationRunbook $accountName -Id $runbook.Id -Force - Assert-Throws {Get-AzureAutomationRunbook $accountName -Id $runbook.Id} + Remove-AzureAutomationRunbook $accountName -Name $runbook.Name -Force + Assert-Throws {Get-AzureAutomationRunbook $accountName -Name $runbook.Name} } <# @@ -362,8 +356,8 @@ function Test-AutomationStartUnpublishedRunbook Assert-NotNull $runbook "runBook $runbookPath does not import successfully." Assert-NotNull $runbook.Tags "Tags of the runbook shouldn't be Null." Assert-NotNull $runbook.Description "Description of the runbook shouldn't be Null." - Assert-Throws {Start-AzureAutomationRunbook $accountName -Id $runbook.Id -Parameters $runbookParameters -PassThru -ErrorAction Stop} + Assert-Throws {Start-AzureAutomationRunbook $accountName -Name $runbook.Name -Parameters $runbookParameters -PassThru -ErrorAction Stop} - Remove-AzureAutomationRunbook $accountName -Id $runbook.Id -Force - Assert-Throws {Get-AzureAutomationRunbook $accountName -Id $runbook.Id -Parameters $runbookParameters -PassThru -ErrorAction Stop} + Remove-AzureAutomationRunbook $accountName -Name $runbook.Name -Force + Assert-Throws {Get-AzureAutomationRunbook $accountName -Name $runbook.Name -Parameters $runbookParameters -PassThru -ErrorAction Stop} } diff --git a/src/Common/Commands.ScenarioTest/Scheduler/SchedulerTests.cs b/src/Common/Commands.ScenarioTest/Scheduler/SchedulerTests.cs index c60721acf51f..16308717cf74 100644 --- a/src/Common/Commands.ScenarioTest/Scheduler/SchedulerTests.cs +++ b/src/Common/Commands.ScenarioTest/Scheduler/SchedulerTests.cs @@ -20,7 +20,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.Azure.Test; using Xunit; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.ScenarioTest { diff --git a/src/Common/Commands.ScenarioTest/TrafficManagerTests/TrafficManagerTests.cs b/src/Common/Commands.ScenarioTest/TrafficManagerTests/TrafficManagerTests.cs index 5ffbb328c31a..6dc3045cebc5 100644 --- a/src/Common/Commands.ScenarioTest/TrafficManagerTests/TrafficManagerTests.cs +++ b/src/Common/Commands.ScenarioTest/TrafficManagerTests/TrafficManagerTests.cs @@ -20,7 +20,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.Azure.Test; using Xunit; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.ScenarioTest { diff --git a/src/Common/Commands.ScenarioTest/WebsitesTests/WebsitesTestsBase.cs b/src/Common/Commands.ScenarioTest/WebsitesTests/WebsitesTestsBase.cs index 940ae28da5e3..0b4aa74d80f2 100644 --- a/src/Common/Commands.ScenarioTest/WebsitesTests/WebsitesTestsBase.cs +++ b/src/Common/Commands.ScenarioTest/WebsitesTests/WebsitesTestsBase.cs @@ -20,7 +20,7 @@ using Microsoft.WindowsAzure.Management.Storage; using Microsoft.WindowsAzure.Management.WebSites; using Microsoft.Azure.Test; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.ScenarioTest.WebsitesTests { diff --git a/src/Common/Commands.ScenarioTest/packages.config b/src/Common/Commands.ScenarioTest/packages.config index 366cc8d0a73a..e6d047fcd332 100644 --- a/src/Common/Commands.ScenarioTest/packages.config +++ b/src/Common/Commands.ScenarioTest/packages.config @@ -1,23 +1,23 @@  - - + + + - - - + + - + - - + + diff --git a/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj b/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj index 9822e8b9c83f..865107474cf7 100644 --- a/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj +++ b/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj @@ -38,34 +38,34 @@ - ..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll ..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - ..\..\packages\Microsoft.Azure.Test.Framework.1.0.5486.28526-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll + ..\..\packages\Microsoft.Azure.Test.Framework.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll - ..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5486.28526-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll + ..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll - + False - ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll False - ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -79,8 +79,9 @@ ..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + False + ..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll ..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll diff --git a/src/Common/Commands.ScenarioTests.Common/Common.ps1 b/src/Common/Commands.ScenarioTests.Common/Common.ps1 index 1c3cb8780edb..7db463ec80be 100644 --- a/src/Common/Commands.ScenarioTests.Common/Common.ps1 +++ b/src/Common/Commands.ScenarioTests.Common/Common.ps1 @@ -348,7 +348,21 @@ function Retry-Function function getAssetName { $stack = Get-PSCallStack - $testName = $null; + $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")) @@ -356,8 +370,177 @@ function getAssetName $testName = $frame.Command } } - - $assetName = [Microsoft.Azure.Test.HttpRecorder.HttpMockServer]::GetAssetName($testName, "onesdk") - return $assetName -} \ No newline at end of file + 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.Common/EnvironmentSetupHelper.cs b/src/Common/Commands.ScenarioTests.Common/EnvironmentSetupHelper.cs index 00a1a65b9cf5..f40857afc23c 100644 --- a/src/Common/Commands.ScenarioTests.Common/EnvironmentSetupHelper.cs +++ b/src/Common/Commands.ScenarioTests.Common/EnvironmentSetupHelper.cs @@ -18,14 +18,15 @@ using System.Management.Automation; using System.Security.Cryptography.X509Certificates; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Utilities.Common; using System.Diagnostics; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Microsoft.Azure.Test; using Microsoft.Azure.Test.HttpRecorder; using Microsoft.Azure; +using System.IO; namespace Microsoft.WindowsAzure.Commands.ScenarioTest { @@ -36,12 +37,13 @@ public class EnvironmentSetupHelper private AzureSubscription testSubscription; private AzureAccount testAccount; protected List modules; - private ProfileClient client; + protected ProfileClient ProfileClient { get; set; } public EnvironmentSetupHelper() { - ProfileClient.DataStore = new MockDataStore(); - client = new ProfileClient(); + AzureSession.DataStore = new MockDataStore(); + AzurePSCmdlet.CurrentProfile = new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile)); + ProfileClient = new ProfileClient(AzurePSCmdlet.CurrentProfile); // Ignore SSL errors System.Net.ServicePointManager.ServerCertificateValidationCallback += (se, cert, chain, sslerror) => true; @@ -50,6 +52,10 @@ public EnvironmentSetupHelper() { TestMockSupport.RunningMocked = true; } + else + { + TestMockSupport.RunningMocked = false; + } } /// @@ -74,7 +80,7 @@ public void SetupEnvironment(AzureModule mode) { SetupAzureEnvironmentFromEnvironmentVariables(mode); - client.Profile.Save(); + ProfileClient.Profile.Save(); } private void SetupAzureEnvironmentFromEnvironmentVariables(AzureModule mode) @@ -106,9 +112,9 @@ private void SetupAzureEnvironmentFromEnvironmentVariables(AzureModule mode) environment.Endpoints[AzureEnvironment.Endpoint.ServiceManagement] = rdfeEnvironment.BaseUri.AbsoluteUri; } - if (!client.Profile.Environments.ContainsKey(testEnvironmentName)) + if (!ProfileClient.Profile.Environments.ContainsKey(testEnvironmentName)) { - client.AddOrSetEnvironment(environment); + ProfileClient.AddOrSetEnvironment(environment); } if (currentEnvironment.SubscriptionId != null) @@ -139,9 +145,9 @@ private void SetupAzureEnvironmentFromEnvironmentVariables(AzureModule mode) } }; - client.Profile.Subscriptions[testSubscription.Id] = testSubscription; - client.Profile.Accounts[testAccount.Id] = testAccount; - client.SetSubscriptionAsCurrent(testSubscription.Name, testSubscription.Account); + ProfileClient.Profile.Subscriptions[testSubscription.Id] = testSubscription; + ProfileClient.Profile.Accounts[testAccount.Id] = testAccount; + ProfileClient.SetSubscriptionAsDefault(testSubscription.Name, testSubscription.Account); } } @@ -260,8 +266,8 @@ private void SetupPowerShellModules(System.Management.Automation.PowerShell powe 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\""); + 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.Common/packages.config b/src/Common/Commands.ScenarioTests.Common/packages.config index 924f1c43ed10..9ae19e496db5 100644 --- a/src/Common/Commands.ScenarioTests.Common/packages.config +++ b/src/Common/Commands.ScenarioTests.Common/packages.config @@ -1,18 +1,18 @@  - - + + + - - - + + - + - + \ No newline at end of file diff --git a/src/ResourceManager.sln b/src/ResourceManager.sln index e314673ade56..6aa7abaea885 100644 --- a/src/ResourceManager.sln +++ b/src/ResourceManager.sln @@ -1,6 +1,6 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 2013 -VisualStudioVersion = 12.0.30501.0 +VisualStudioVersion = 12.0.30723.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8531411A-0137-4E27-9C5E-49E07C245048}" ProjectSection(SolutionItems) = preProject @@ -47,6 +47,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.StreamAnalytics", EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.StreamAnalytics.Test", "ResourceManager\StreamAnalytics\Commands.StreamAnalytics.Test\Commands.StreamAnalytics.Test.csproj", "{7E6683BE-ECFF-4709-89EB-1325E9E70512}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Insights", "ResourceManager\Insights\Commands.Insights\Commands.Insights.csproj", "{DEA446A1-84E2-46CC-B780-EB4AFDE2460E}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -125,6 +127,10 @@ Global {7E6683BE-ECFF-4709-89EB-1325E9E70512}.Debug|Any CPU.Build.0 = Debug|Any CPU {7E6683BE-ECFF-4709-89EB-1325E9E70512}.Release|Any CPU.ActiveCfg = Release|Any CPU {7E6683BE-ECFF-4709-89EB-1325E9E70512}.Release|Any CPU.Build.0 = Release|Any CPU + {DEA446A1-84E2-46CC-B780-EB4AFDE2460E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DEA446A1-84E2-46CC-B780-EB4AFDE2460E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DEA446A1-84E2-46CC-B780-EB4AFDE2460E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DEA446A1-84E2-46CC-B780-EB4AFDE2460E}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/GetBatchAccountCommandTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/GetBatchAccountCommandTests.cs index bb477cdcd0cd..90906bed6566 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/GetBatchAccountCommandTests.cs +++ b/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/GetBatchAccountCommandTests.cs @@ -18,6 +18,7 @@ using System.Collections.Generic; using System.Management.Automation; using Xunit; +using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient; namespace Microsoft.Azure.Commands.Batch.Test.Accounts { diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/GetBatchAccountKeysCommandTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/GetBatchAccountKeysCommandTests.cs index 8aa149ab7dd0..edd99761c4dc 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/GetBatchAccountKeysCommandTests.cs +++ b/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/GetBatchAccountKeysCommandTests.cs @@ -18,6 +18,7 @@ using System.Collections.Generic; using System.Management.Automation; using Xunit; +using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient; namespace Microsoft.Azure.Commands.Batch.Test.Accounts { diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/NewBatchAccountCommandTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/NewBatchAccountCommandTests.cs index 0d53433eccb9..508a2775dca6 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/NewBatchAccountCommandTests.cs +++ b/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/NewBatchAccountCommandTests.cs @@ -19,6 +19,7 @@ using System.Collections.Generic; using System.Management.Automation; using Xunit; +using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient; namespace Microsoft.Azure.Commands.Batch.Test.Accounts { diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/RegenBatchAccountKeyCommandTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/RegenBatchAccountKeyCommandTests.cs index 1f827ea59cdb..cfb25a30fdd3 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/RegenBatchAccountKeyCommandTests.cs +++ b/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/RegenBatchAccountKeyCommandTests.cs @@ -18,6 +18,7 @@ using System.Collections.Generic; using System.Management.Automation; using Xunit; +using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient; namespace Microsoft.Azure.Commands.Batch.Test.Accounts { diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/RemoveBatchAccountCommandTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/RemoveBatchAccountCommandTests.cs index 67a45117e89e..930fc4243785 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/RemoveBatchAccountCommandTests.cs +++ b/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/RemoveBatchAccountCommandTests.cs @@ -17,6 +17,7 @@ using Moq; using System.Management.Automation; using Xunit; +using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient; namespace Microsoft.Azure.Commands.Batch.Test.Accounts { diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/SetBatchAccountCommandTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/SetBatchAccountCommandTests.cs index f4895d51d87f..3b3cb50749b1 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/SetBatchAccountCommandTests.cs +++ b/src/ResourceManager/Batch/Commands.Batch.Test/Accounts/SetBatchAccountCommandTests.cs @@ -19,6 +19,7 @@ using System.Collections.Generic; using System.Management.Automation; using Xunit; +using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient; namespace Microsoft.Azure.Commands.Batch.Test.Accounts { diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/BatchTestHelpers.cs b/src/ResourceManager/Batch/Commands.Batch.Test/BatchTestHelpers.cs index 8bf7040956d3..a8724f907d88 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/BatchTestHelpers.cs +++ b/src/ResourceManager/Batch/Commands.Batch.Test/BatchTestHelpers.cs @@ -12,20 +12,46 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using System.IO; +using System.Linq; +using System.Net; +using System.Net.Http; +using System.Threading.Tasks; +using Microsoft.Azure.Batch; +using Microsoft.Azure.Batch.Common; +using Microsoft.Azure.Batch.Protocol; +using Microsoft.Azure.Batch.Protocol.Entities; +using Microsoft.Azure.Commands.Batch.Models; +using Microsoft.Azure.Commands.Batch.Test.ScenarioTests; +using Microsoft.Azure.Management.Batch; using Microsoft.Azure.Management.Batch.Models; +using System; using System.Collections; using System.Collections.Generic; +using System.Reflection; +using Microsoft.Azure.Management.Resources; +using Microsoft.Azure.Management.Resources.Models; +using Microsoft.Azure.Test.HttpRecorder; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; +using Microsoft.WindowsAzure.Storage.Shared.Protocol; using Xunit; +using JobExecutionEnvironment = Microsoft.Azure.Batch.Protocol.Entities.JobExecutionEnvironment; namespace Microsoft.Azure.Commands.Batch.Test { + /// + /// Helper methods for the Batch cmdlet tests + /// public static class BatchTestHelpers { + /// + /// Builds an AccountResource object using the specified parameters + /// public static AccountResource CreateAccountResource(string accountName, string resourceGroupName, Hashtable[] tags = null) { string tenantUrlEnding = "batch-test.windows-int.net"; string endpoint = string.Format("{0}.{1}", accountName, tenantUrlEnding); - string subscription = "00000000-0000-0000-0000-000000000000"; + string subscription = Guid.Empty.ToString(); string resourceGroup = resourceGroupName; AccountResource resource = new AccountResource() @@ -39,9 +65,27 @@ public static AccountResource CreateAccountResource(string accountName, string r { resource.Tags = Microsoft.Azure.Commands.Batch.Helpers.CreateTagDictionary(tags, true); } + return resource; } + /// + /// Builds a BatchAccountContext object with the keys set for testing + /// + public static BatchAccountContext CreateBatchContextWithKeys() + { + AccountResource resource = CreateAccountResource("account", "resourceGroup"); + BatchAccountContext context = BatchAccountContext.ConvertAccountResourceToNewAccountContext(resource); + string dummyKey = "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"; + SetProperty(context, "PrimaryAccountKey", dummyKey); + SetProperty(context, "SecondaryAccountKey", dummyKey); + + return context; + } + + /// + /// Verifies that two BatchAccountContext objects are equal + /// public static void AssertBatchAccountContextsAreEqual(BatchAccountContext context1, BatchAccountContext context2) { if (context1 == null) @@ -67,5 +111,190 @@ public static void AssertBatchAccountContextsAreEqual(BatchAccountContext contex Assert.Equal(context1.TagsTable, context2.TagsTable); Assert.Equal(context1.TaskTenantUrl, context2.TaskTenantUrl); } + + /// + /// Builds a PSCloudWorkItem for testing + /// + public static PSCloudWorkItem CreatePSCloudWorkItem() + { + BatchAccountContext context = CreateBatchContextWithKeys(); + using (IWorkItemManager wiManager = context.BatchOMClient.OpenWorkItemManager()) + { + ICloudWorkItem workItem = wiManager.CreateWorkItem("testWorkItem"); + return new PSCloudWorkItem(workItem); + } + } + + /// + /// Builds a GetPoolResponse object + /// + public static GetPoolResponse CreateGetPoolResponse(string poolName) + { + GetPoolResponse response = new GetPoolResponse(); + SetProperty(response, "StatusCode", HttpStatusCode.OK); + + Pool pool = new Pool(); + SetProperty(pool, "Name", poolName); + + SetProperty(response, "Pool", pool); + + return response; + } + + /// + /// Builds a ListPoolsResponse object + /// + public static ListPoolsResponse CreateListPoolsResponse(IEnumerable poolNames) + { + ListPoolsResponse response = new ListPoolsResponse(); + SetProperty(response, "StatusCode", HttpStatusCode.OK); + + List pools = new List(); + + foreach (string name in poolNames) + { + Pool pool = new Pool(); + SetProperty(pool, "Name", name); + pools.Add(pool); + } + + SetProperty(response, "Pools", pools); + + return response; + } + + /// + /// Builds a GetWorkItemResponse object + /// + public static GetWorkItemResponse CreateGetWorkItemResponse(string workItemName) + { + GetWorkItemResponse response = new GetWorkItemResponse(); + SetProperty(response, "StatusCode", HttpStatusCode.OK); + + JobExecutionEnvironment jee = new JobExecutionEnvironment(); + + WorkItem workItem = new WorkItem(workItemName, jee); + SetProperty(response, "WorkItem", workItem); + + return response; + } + + /// + /// Builds a ListWorkItemsResponse object + /// + public static ListWorkItemsResponse CreateListWorkItemsResponse(IEnumerable workItemNames) + { + ListWorkItemsResponse response = new ListWorkItemsResponse(); + SetProperty(response, "StatusCode", HttpStatusCode.OK); + + List workItems = new List(); + JobExecutionEnvironment jee = new JobExecutionEnvironment(); + + foreach (string name in workItemNames) + { + workItems.Add(new WorkItem(name, jee)); + } + + SetProperty(response, "WorkItems", workItems); + + return response; + } + + /// + /// Builds a GetJobResponse object + /// + public static GetJobResponse CreateGetJobResponse(string jobName) + { + GetJobResponse response = new GetJobResponse(); + SetProperty(response, "StatusCode", HttpStatusCode.OK); + + Job job = new Job(); + SetProperty(job, "Name", jobName); + + SetProperty(response, "Job", job); + + return response; + } + + /// + /// Builds a ListJobsResponse object + /// + public static ListJobsResponse CreateListJobsResponse(IEnumerable jobNames) + { + ListJobsResponse response = new ListJobsResponse(); + SetProperty(response, "StatusCode", HttpStatusCode.OK); + + List jobs = new List(); + + foreach (string name in jobNames) + { + Job job = new Job(); + SetProperty(job, "Name", name); + jobs.Add(job); + } + + SetProperty(response, "Jobs", jobs); + + return response; + } + + /// + /// Builds a GetTaskResponse object + /// + public static GetTaskResponse CreateGetTaskResponse(string taskName) + { + GetTaskResponse response = new GetTaskResponse(); + SetProperty(response, "StatusCode", HttpStatusCode.OK); + + Azure.Batch.Protocol.Entities.Task task = new Azure.Batch.Protocol.Entities.Task(); + SetProperty(task, "Name", taskName); + + SetProperty(response, "Task", task); + + return response; + } + + /// + /// Builds a ListTasksResponse object + /// + public static ListTasksResponse CreateListTasksResponse(IEnumerable taskNames) + { + ListTasksResponse response = new ListTasksResponse(); + SetProperty(response, "StatusCode", HttpStatusCode.OK); + + List tasks = new List(); + + foreach (string name in taskNames) + { + Azure.Batch.Protocol.Entities.Task task = new Azure.Batch.Protocol.Entities.Task(); + SetProperty(task, "Name", name); + tasks.Add(task); + } + + SetProperty(response, "Tasks", tasks); + + return response; + } + + + /// + /// Uses Reflection to set a property value on an object. Can be used to bypass restricted set accessors. + /// + internal static void SetProperty(object obj, string propertyName, object propertyValue) + { + Type t = obj.GetType(); + PropertyInfo propInfo = t.GetProperty(propertyName); + propInfo.SetValue(obj, propertyValue); + } + + /// + /// Uses Reflection to set a property value on an object. + /// + internal static void SetField(object obj, string fieldName, object fieldValue) + { + Type t = obj.GetType(); + FieldInfo fieldInfo = t.GetField(fieldName, BindingFlags.NonPublic | BindingFlags.Instance); + fieldInfo.SetValue(obj, fieldValue); + } } } diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Commands.Batch.Test.csproj b/src/ResourceManager/Batch/Commands.Batch.Test/Commands.Batch.Test.csproj index 0b9a7c54d6e6..d1a9d4de5bc2 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/Commands.Batch.Test.csproj +++ b/src/ResourceManager/Batch/Commands.Batch.Test/Commands.Batch.Test.csproj @@ -14,6 +14,7 @@ ..\ true + 49379715 true @@ -39,55 +40,87 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll + + + False + ..\..\..\packages\Azure.Batch.1.2.0\lib\net45\Microsoft.Azure.Batch.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll ..\..\..\packages\Microsoft.Azure.Gallery.2.6.0-preview\lib\net40\Microsoft.Azure.Gallery.dll - ..\..\..\packages\Microsoft.Azure.Management.Authorization.0.16.0-preview\lib\net40\Microsoft.Azure.Management.Authorization.dll + ..\..\..\packages\Microsoft.Azure.Management.Authorization.0.17.0-preview\lib\net40\Microsoft.Azure.Management.Authorization.dll ..\..\..\packages\Microsoft.Azure.Management.Batch.1.3.0-preview\lib\net40\Microsoft.Azure.Management.Batch.dll - ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll + False + ..\..\..\packages\Microsoft.Azure.Management.Resources.2.13.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - + False - ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5486.28526-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll + ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll False - ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5486.28526-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll + ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll + + + ..\..\..\packages\Microsoft.Data.Edm.5.6.0\lib\net40\Microsoft.Data.Edm.dll + + + ..\..\..\packages\Microsoft.Data.OData.5.6.0\lib\net40\Microsoft.Data.OData.dll - + + ..\..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll + + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + + + ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.1.8.0.0\lib\net35-full\Microsoft.WindowsAzure.Configuration.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + False + ..\..\..\packages\WindowsAzure.Storage.4.0.0\lib\net40\Microsoft.WindowsAzure.Storage.dll + + + False + ..\..\..\packages\Hydra.SpecTestSupport.1.0.5417.13285-prerelease\lib\net45\Microsoft.WindowsAzure.Testing.dll + + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll ..\..\..\packages\Moq.4.2.1402.2112\lib\net40\Moq.dll + + False + ..\..\..\packages\xunit.1.9.2\lib\net20\xunit.dll + + + False D:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll @@ -103,9 +136,11 @@ ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll - - ..\..\..\packages\xunit.1.9.2\lib\net20\xunit.dll + + ..\..\..\packages\System.Spatial.5.6.0\lib\net40\System.Spatial.dll + + False ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll @@ -119,10 +154,19 @@ + + + + + + + + + @@ -135,6 +179,18 @@ PreserveNewest + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + PreserveNewest @@ -156,6 +212,66 @@ PreserveNewest + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + @@ -178,6 +294,9 @@ + + + diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Jobs/GetBatchJobCommandTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/Jobs/GetBatchJobCommandTests.cs new file mode 100644 index 000000000000..7f9389135d92 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/Jobs/GetBatchJobCommandTests.cs @@ -0,0 +1,222 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Batch; +using Microsoft.Azure.Batch.Protocol; +using Microsoft.Azure.Batch.Protocol.Entities; +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.Jobs +{ + public class GetBatchJobCommandTests + { + private GetBatchJobCommand cmdlet; + private Mock batchClientMock; + private Mock commandRuntimeMock; + + public GetBatchJobCommandTests() + { + batchClientMock = new Mock(); + commandRuntimeMock = new Mock(); + cmdlet = new GetBatchJobCommand() + { + CommandRuntime = commandRuntimeMock.Object, + BatchClient = batchClientMock.Object, + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void GetBatchJobTest() + { + // Setup cmdlet to get a Job by name + BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys(); + cmdlet.BatchContext = context; + cmdlet.WorkItemName = "workItem"; + cmdlet.Name = "job-0000000001"; + cmdlet.Filter = null; + + // Build a Job instead of querying the service on a GetJob call + YieldInjectionInterceptor interceptor = new YieldInjectionInterceptor((opContext, request) => + { + if (request is GetJobRequest) + { + GetJobResponse response = BatchTestHelpers.CreateGetJobResponse(cmdlet.Name); + Task task = Task.Factory.StartNew(() => { return response; }); + return task; + } + return null; + }); + cmdlet.AdditionalBehaviors = new List() { interceptor }; + + // Setup the cmdlet to write pipeline output to a list that can be examined later + List pipeline = new List(); + commandRuntimeMock.Setup(r => r.WriteObject(It.IsAny())).Callback(j => pipeline.Add((PSCloudJob)j)); + + cmdlet.ExecuteCmdlet(); + + // Verify that the cmdlet wrote the Job returned from the OM to the pipeline + Assert.Equal(1, pipeline.Count); + Assert.Equal(cmdlet.Name, pipeline[0].Name); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void ListBatchJobsByODataFilterTest() + { + // Setup cmdlet to list Jobs using an OData filter. Use WorkItemName input. + BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys(); + cmdlet.BatchContext = context; + cmdlet.WorkItemName = "workItem"; + cmdlet.Name = null; + cmdlet.Filter = "state -eq 'active'"; + + string[] namesOfConstructedJobs = new[] { "job-0000000001", "job-0000000002" }; + + // Build some Jobs instead of querying the service on a ListJobs call + YieldInjectionInterceptor interceptor = new YieldInjectionInterceptor((opContext, request) => + { + if (request is ListJobsRequest) + { + ListJobsResponse response = BatchTestHelpers.CreateListJobsResponse(namesOfConstructedJobs); + Task task = Task.Factory.StartNew(() => { return response; }); + return task; + } + return null; + }); + cmdlet.AdditionalBehaviors = new List() { interceptor }; + + // Setup the cmdlet to write pipeline output to a list that can be examined later + List pipeline = new List(); + commandRuntimeMock.Setup(r => + r.WriteObject(It.IsAny())) + .Callback(j => pipeline.Add((PSCloudJob)j)); + + cmdlet.ExecuteCmdlet(); + + // Verify that the cmdlet wrote the constructed Jobs to the pipeline + Assert.Equal(2, pipeline.Count); + int jobCount = 0; + foreach (PSCloudJob j in pipeline) + { + Assert.True(namesOfConstructedJobs.Contains(j.Name)); + jobCount++; + } + Assert.Equal(namesOfConstructedJobs.Length, jobCount); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void ListBatchJobsWithoutFiltersTest() + { + // Setup cmdlet to list Jobs without filters. Use WorkItem input. + BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys(); + cmdlet.BatchContext = context; + cmdlet.WorkItem = BatchTestHelpers.CreatePSCloudWorkItem(); + cmdlet.Name = null; + cmdlet.Filter = null; + + string[] namesOfConstructedJobs = new[] { "job-0000000001", "job-0000000002", "job-0000000003" }; + + // Build some Jobs instead of querying the service on a ListJobs call + YieldInjectionInterceptor interceptor = new YieldInjectionInterceptor((opContext, request) => + { + if (request is ListJobsRequest) + { + ListJobsResponse response = BatchTestHelpers.CreateListJobsResponse(namesOfConstructedJobs); + Task task = Task.Factory.StartNew(() => { return response; }); + return task; + } + return null; + }); + cmdlet.AdditionalBehaviors = new List() { interceptor }; + + // Setup the cmdlet to write pipeline output to a list that can be examined later + List pipeline = new List(); + commandRuntimeMock.Setup(r => + r.WriteObject(It.IsAny())) + .Callback(j => pipeline.Add((PSCloudJob)j)); + + cmdlet.ExecuteCmdlet(); + + // Verify that the cmdlet wrote the constructed Jobs to the pipeline + Assert.Equal(3, pipeline.Count); + int jobCount = 0; + foreach (PSCloudJob j in pipeline) + { + Assert.True(namesOfConstructedJobs.Contains(j.Name)); + jobCount++; + } + Assert.Equal(namesOfConstructedJobs.Length, jobCount); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void ListJobsMaxCountTest() + { + // Verify default max count + Assert.Equal(Microsoft.Azure.Commands.Batch.Utils.Constants.DefaultMaxCount, cmdlet.MaxCount); + + // Setup cmdlet to list Jobs without filters and a max count + BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys(); + cmdlet.BatchContext = context; + cmdlet.WorkItem = BatchTestHelpers.CreatePSCloudWorkItem(); + cmdlet.Name = null; + cmdlet.Filter = null; + int maxCount = 2; + cmdlet.MaxCount = maxCount; + + string[] namesOfConstructedJobs = new[] { "job-0000000001", "job-0000000002", "job-0000000003" }; + + // Build some Jobs instead of querying the service on a ListJobs call + YieldInjectionInterceptor interceptor = new YieldInjectionInterceptor((opContext, request) => + { + if (request is ListJobsRequest) + { + ListJobsResponse response = BatchTestHelpers.CreateListJobsResponse(namesOfConstructedJobs); + Task task = Task.Factory.StartNew(() => { return response; }); + return task; + } + return null; + }); + cmdlet.AdditionalBehaviors = new List() { interceptor }; + + // Setup the cmdlet to write pipeline output to a list that can be examined later + List pipeline = new List(); + commandRuntimeMock.Setup(r => + r.WriteObject(It.IsAny())) + .Callback(j => pipeline.Add((PSCloudJob)j)); + + cmdlet.ExecuteCmdlet(); + + // Verify that the max count was respected + Assert.Equal(maxCount, pipeline.Count); + + // Verify setting max count <= 0 doesn't return nothing + cmdlet.MaxCount = -5; + pipeline.Clear(); + cmdlet.ExecuteCmdlet(); + + Assert.Equal(namesOfConstructedJobs.Length, pipeline.Count); + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Pools/GetBatchPoolCommandTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/Pools/GetBatchPoolCommandTests.cs new file mode 100644 index 000000000000..0aa00cca5cc1 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/Pools/GetBatchPoolCommandTests.cs @@ -0,0 +1,218 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Batch; +using Microsoft.Azure.Batch.Protocol; +using Microsoft.Azure.Batch.Protocol.Entities; +using Microsoft.Azure.Commands.Batch.Models; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using System.Threading.Tasks; +using Xunit; +using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient; + +namespace Microsoft.Azure.Commands.Batch.Test.Pools +{ + public class GetBatchPoolCommandTests + { + private GetBatchPoolCommand cmdlet; + private Mock batchClientMock; + private Mock commandRuntimeMock; + + public GetBatchPoolCommandTests() + { + batchClientMock = new Mock(); + commandRuntimeMock = new Mock(); + cmdlet = new GetBatchPoolCommand() + { + CommandRuntime = commandRuntimeMock.Object, + BatchClient = batchClientMock.Object, + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void GetBatchPoolTest() + { + // Setup cmdlet to get a Pool by name + BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys(); + cmdlet.BatchContext = context; + cmdlet.Name = "testPool"; + cmdlet.Filter = null; + + // Build a Pool instead of querying the service on a GetPool call + YieldInjectionInterceptor interceptor = new YieldInjectionInterceptor((opContext, request) => + { + if (request is GetPoolRequest) + { + GetPoolResponse response = BatchTestHelpers.CreateGetPoolResponse(cmdlet.Name); + Task task = Task.Factory.StartNew(() => { return response; }); + return task; + } + return null; + }); + cmdlet.AdditionalBehaviors = new List() { interceptor }; + + // Setup the cmdlet to write pipeline output to a list that can be examined later + List pipeline = new List(); + commandRuntimeMock.Setup(r => r.WriteObject(It.IsAny())).Callback(p => pipeline.Add((PSCloudPool)p)); + + cmdlet.ExecuteCmdlet(); + + // Verify that the cmdlet wrote the Pool returned from the OM to the pipeline + Assert.Equal(1, pipeline.Count); + Assert.Equal(cmdlet.Name, pipeline[0].Name); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void ListBatchPoolByODataFilterTest() + { + // Setup cmdlet to list Pools using an OData filter + BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys(); + cmdlet.BatchContext = context; + cmdlet.Name = null; + cmdlet.Filter = "startswith(name,'test')"; + + string[] namesOfConstructedPools = new[] { "test1", "test2" }; + + // Build some Pools instead of querying the service on a ListPools call + YieldInjectionInterceptor interceptor = new YieldInjectionInterceptor((opContext, request) => + { + if (request is ListPoolsRequest) + { + ListPoolsResponse response = BatchTestHelpers.CreateListPoolsResponse(namesOfConstructedPools); + Task task = Task.Factory.StartNew(() => { return response; }); + return task; + } + return null; + }); + cmdlet.AdditionalBehaviors = new List() { interceptor }; + + // Setup the cmdlet to write pipeline output to a list that can be examined later + List pipeline = new List(); + commandRuntimeMock.Setup(r => + r.WriteObject(It.IsAny())) + .Callback(p => pipeline.Add((PSCloudPool)p)); + + cmdlet.ExecuteCmdlet(); + + // Verify that the cmdlet wrote the constructed Pools to the pipeline + Assert.Equal(2, pipeline.Count); + int poolCount = 0; + foreach (PSCloudPool p in pipeline) + { + Assert.True(namesOfConstructedPools.Contains(p.Name)); + poolCount++; + } + Assert.Equal(namesOfConstructedPools.Length, poolCount); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void ListBatchPoolWithoutFiltersTest() + { + // Setup cmdlet to list Pools without filters + BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys(); + cmdlet.BatchContext = context; + cmdlet.Name = null; + cmdlet.Filter = null; + + string[] namesOfConstructedPools = new[] { "name1", "name2", "name3" }; + + // Build some Pools instead of querying the service on a ListPools call + YieldInjectionInterceptor interceptor = new YieldInjectionInterceptor((opContext, request) => + { + if (request is ListPoolsRequest) + { + ListPoolsResponse response = BatchTestHelpers.CreateListPoolsResponse(namesOfConstructedPools); + Task task = Task.Factory.StartNew(() => { return response; }); + return task; + } + return null; + }); + cmdlet.AdditionalBehaviors = new List() { interceptor }; + + // Setup the cmdlet to write pipeline output to a list that can be examined later + List pipeline = new List(); + commandRuntimeMock.Setup(r => + r.WriteObject(It.IsAny())) + .Callback(p => pipeline.Add((PSCloudPool)p)); + + cmdlet.ExecuteCmdlet(); + + // Verify that the cmdlet wrote the constructed Pools to the pipeline + Assert.Equal(3, pipeline.Count); + int poolCount = 0; + foreach (PSCloudPool p in pipeline) + { + Assert.True(namesOfConstructedPools.Contains(p.Name)); + poolCount++; + } + Assert.Equal(namesOfConstructedPools.Length, poolCount); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void ListPoolsMaxCountTest() + { + // Verify default max count + Assert.Equal(Microsoft.Azure.Commands.Batch.Utils.Constants.DefaultMaxCount, cmdlet.MaxCount); + + // Setup cmdlet to list Pools without filters and a max count + BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys(); + cmdlet.BatchContext = context; + cmdlet.Name = null; + cmdlet.Filter = null; + int maxCount = 2; + cmdlet.MaxCount = maxCount; + + string[] namesOfConstructedPools = new[] { "name1", "name2", "name3" }; + + // Build some Pools instead of querying the service on a ListPools call + YieldInjectionInterceptor interceptor = new YieldInjectionInterceptor((opContext, request) => + { + if (request is ListPoolsRequest) + { + ListPoolsResponse response = BatchTestHelpers.CreateListPoolsResponse(namesOfConstructedPools); + Task task = Task.Factory.StartNew(() => { return response; }); + return task; + } + return null; + }); + cmdlet.AdditionalBehaviors = new List() { interceptor }; + + // Setup the cmdlet to write pipeline output to a list that can be examined later + List pipeline = new List(); + commandRuntimeMock.Setup(r => + r.WriteObject(It.IsAny())) + .Callback(p => pipeline.Add((PSCloudPool)p)); + + cmdlet.ExecuteCmdlet(); + + // Verify that the max count was respected + Assert.Equal(maxCount, pipeline.Count); + + // Verify setting max count <= 0 doesn't return nothing + cmdlet.MaxCount = -5; + pipeline.Clear(); + cmdlet.ExecuteCmdlet(); + + Assert.Equal(namesOfConstructedPools.Length, pipeline.Count); + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchController.cs b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchController.cs index fb3848dee18d..facb4ff526a7 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchController.cs +++ b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/BatchController.cs @@ -12,15 +12,13 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Microsoft.Azure.Gallery; using Microsoft.Azure.Management.Authorization; using Microsoft.Azure.Management.Batch; using Microsoft.Azure.Management.Resources; using Microsoft.Azure.Test; using Microsoft.WindowsAzure.Commands.ScenarioTest; -using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Test; using System; using System.Linq; @@ -28,8 +26,6 @@ namespace Microsoft.Azure.Commands.Batch.Test.ScenarioTests { public class BatchController { - private const string AADTenant = @"de371010-e80c-4257-8fdc-4bfa4d6efe08"; - private CSMTestEnvironmentFactory csmTestFactory; private EnvironmentSetupHelper helper; @@ -71,7 +67,7 @@ public void RunPsTest(params string[] scripts) public void RunPsTestWorkflow( Func scriptBuilder, - Action initialize, + Action initialize, Action cleanup, string callingClassType, string mockName) @@ -81,12 +77,6 @@ public void RunPsTestWorkflow( context.Start(callingClassType, mockName); this.csmTestFactory = SetupCSMTestEnvironmentFactory(); - - if (initialize != null) - { - initialize(this.csmTestFactory); - } - SetupManagementClients(); helper.SetupEnvironment(AzureModule.AzureResourceManager); @@ -97,10 +87,17 @@ public void RunPsTestWorkflow( helper.SetupModules( AzureModule.AzureResourceManager, "ScenarioTests\\Common.ps1", - "ScenarioTests\\" + callingClassName + ".ps1"); + "ScenarioTests\\" + callingClassName + ".ps1", + "Microsoft.Azure.Commands.Batch.Test.dll" + ); try { + if (initialize != null) + { + initialize(); + } + if (scriptBuilder != null) { var psScripts = scriptBuilder(); @@ -126,7 +123,6 @@ private CSMTestEnvironmentFactory SetupCSMTestEnvironmentFactory() CSMTestEnvironmentFactory factory = new CSMTestEnvironmentFactory(); // to set test environment to Current add Environment=Current in TEST_CSM_ORGID_AUTHENTICATION env. variable // available configurations are: Prod/Dogfood/Next/Current - factory.CustomEnvValues[TestEnvironment.AADTenantKey] = AADTenant; return factory; } diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/JobTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/JobTests.cs new file mode 100644 index 000000000000..7a3319cab061 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/JobTests.cs @@ -0,0 +1,215 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using Microsoft.Azure.Batch; +using Microsoft.Azure.Commands.Batch.Models; +using Microsoft.Azure.Test; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using System.Collections.Generic; +using System.Management.Automation; +using Xunit; +using Constants = Microsoft.Azure.Commands.Batch.Utils.Constants; + +namespace Microsoft.Azure.Commands.Batch.Test.ScenarioTests +{ + public class JobTests + { + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetJobRequiredParameters() + { + BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-get-job-params"; + string accountName = "testgetjobparams"; + string location = "eastus"; + BatchAccountContext context = null; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-GetJobRequiredParameters '{0}'", accountName) }; }, + () => + { + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + }, + () => + { + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetJobByName() + { + BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-get-job"; + string accountName = "testgetjob"; + string location = "eastus"; + string workItemName = "testName"; + string jobName = null; + BatchAccountContext context = null; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-GetJobByName '{0}' '{1}' '{2}'", accountName, workItemName, jobName) }; }, + () => + { + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + ScenarioTestHelpers.CreateTestWorkItem(context, workItemName); + jobName = ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName); + }, + () => + { + ScenarioTestHelpers.DeleteWorkItem(context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestListJobsByFilter() + { + BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-list-job-filter"; + string accountName = "testlistjobfilter"; + string location = "eastus"; + string workItemName = "testWorkItem"; + string state = "active"; + int matches = 1; + BatchAccountContext context = null; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-ListJobsByFilter '{0}' '{1}' '{2}' '{3}'", accountName, workItemName, state, matches) }; }, + () => + { + TimeSpan recurrence = TimeSpan.FromMinutes(1); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + ScenarioTestHelpers.CreateTestWorkItem(context, workItemName, recurrence); + string jobName = ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName); + ScenarioTestHelpers.TerminateJob(context, workItemName, jobName); + ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName, jobName); + }, + () => + { + ScenarioTestHelpers.DeleteWorkItem(context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestListJobsWithMaxCount() + { + BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-list-job-maxcount"; + string accountName = "testlistjobmaxcount"; + string location = "eastus"; + string workItemName = "testWorkItem"; + int maxCount = 1; + BatchAccountContext context = null; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-ListJobsWithMaxCount '{0}' '{1}' '{2}'", accountName, workItemName, maxCount) }; }, + () => + { + TimeSpan recurrence = TimeSpan.FromMinutes(1); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + ScenarioTestHelpers.CreateTestWorkItem(context, workItemName, recurrence); + string jobName = ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName); + ScenarioTestHelpers.TerminateJob(context, workItemName, jobName); + ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName, jobName); + }, + () => + { + ScenarioTestHelpers.DeleteWorkItem(context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestListAllJobs() + { + BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-list-job"; + string accountName = "testlistjob"; + string location = "eastus"; + string workItemName = "testWorkItem"; + int count = 2; + BatchAccountContext context = null; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-ListAllJobs '{0}' '{1}' '{2}'", accountName, workItemName, count) }; }, + () => + { + TimeSpan recurrence = TimeSpan.FromMinutes(1); + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + ScenarioTestHelpers.CreateTestWorkItem(context, workItemName, recurrence); + string jobName = ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName); + ScenarioTestHelpers.TerminateJob(context, workItemName, jobName); + ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName, jobName); + }, + () => + { + ScenarioTestHelpers.DeleteWorkItem(context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestListJobPipeline() + { + BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-list-job-pipe"; + string accountName = "testlistjobpipe"; + string location = "eastus"; + string workItemName = "testWorkItem"; + string jobName = null; + + BatchAccountContext context = null; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-ListJobPipeline '{0}' '{1}' '{2}'", accountName, workItemName, jobName) }; }, + () => + { + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + ScenarioTestHelpers.CreateTestWorkItem(context, workItemName); + jobName = ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName); + }, + () => + { + ScenarioTestHelpers.DeleteWorkItem(context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + } + + // Cmdlets that use the HTTP Recorder interceptor for use with scenario tests + [Cmdlet(VerbsCommon.Get, "AzureBatchJob_ST", DefaultParameterSetName = Constants.ODataFilterParameterSet)] + public class GetBatchJobScenarioTestCommand : GetBatchJobCommand + { + public override void ExecuteCmdlet() + { + AdditionalBehaviors = new List() { ScenarioTestHelpers.CreateHttpRecordingInterceptor() }; + base.ExecuteCmdlet(); + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/JobTests.ps1 b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/JobTests.ps1 new file mode 100644 index 000000000000..df4134ea3064 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/JobTests.ps1 @@ -0,0 +1,128 @@ +# ---------------------------------------------------------------------------------- +# +# 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. +# ---------------------------------------------------------------------------------- + +<# +.SYNOPSIS +Tests that calling Get-AzureBatchJob without required parameters throws error +#> +function Test-GetJobRequiredParameters +{ + param([string]$accountName) + + $context = Get-AzureBatchAccountKeys -Name $accountName + Assert-Throws { Get-AzureBatchJob_ST -BatchContext $context } +} + +<# +.SYNOPSIS +Tests querying for a Batch Job by name +#> +function Test-GetJobByName +{ + param([string]$accountName, [string]$wiName, [string]$jobName) + + $context = Get-AzureBatchAccountKeys -Name $accountName + $job = Get-AzureBatchJob_ST -WorkItemName $wiName -Name $jobName -BatchContext $context + + Assert-AreEqual $jobName $job.Name + + # Verify positional parameters also work + $job = Get-AzureBatchJob_ST $wiName $jobName -BatchContext $context + + Assert-AreEqual $jobName $job.Name +} + +<# +.SYNOPSIS +Tests querying for Batch Jobs using a filter +#> +function Test-ListJobsByFilter +{ + param([string]$accountName, [string]$workItemName, [string]$state, [string]$matches) + + $context = Get-AzureBatchAccountKeys -Name $accountName + $filter = "state eq '" + "$state" + "'" + + $jobs = Get-AzureBatchJob_ST -WorkItemName $workItemName -Filter $filter -BatchContext $context + + Assert-AreEqual $matches $jobs.Length + foreach($job in $jobs) + { + Assert-AreEqual $state $job.State.ToString().ToLower() + } + + # Verify parent object parameter set also works + $workItem = Get-AzureBatchWorkItem_ST $workItemName -BatchContext $context + $jobs = Get-AzureBatchJob_ST -WorkItem $workItem -Filter $filter -BatchContext $context + + Assert-AreEqual $matches $jobs.Length + foreach($job in $jobs) + { + Assert-AreEqual $state $job.State.ToString().ToLower() + } +} + +<# +.SYNOPSIS +Tests querying for Batch Jobs and supplying a max count +#> +function Test-ListJobsWithMaxCount +{ + param([string]$accountName, [string]$workItemName, [string]$maxCount) + + $context = Get-AzureBatchAccountKeys -Name $accountName + $jobs = Get-AzureBatchJob_ST -WorkItemName $workItemName -MaxCount $maxCount -BatchContext $context + + Assert-AreEqual $maxCount $jobs.Length + + # Verify parent object parameter set also works + $workItem = Get-AzureBatchWorkItem_ST $workItemName -BatchContext $context + $jobs = Get-AzureBatchJob_ST -WorkItem $workItem -MaxCount $maxCount -BatchContext $context + + Assert-AreEqual $maxCount $jobs.Length +} + +<# +.SYNOPSIS +Tests querying for all Jobs under a WorkItem +#> +function Test-ListAllJobs +{ + param([string]$accountName, [string]$workItemName, [string]$count) + + $context = Get-AzureBatchAccountKeys -Name $accountName + $jobs = Get-AzureBatchJob_ST -WorkItemName $workItemName -BatchContext $context + + Assert-AreEqual $count $jobs.Length + + # Verify parent object parameter set also works + $workItem = Get-AzureBatchWorkItem_ST $workItemName -BatchContext $context + $jobs = Get-AzureBatchJob_ST -WorkItem $workItem -BatchContext $context + + Assert-AreEqual $count $jobs.Length +} + +<# +.SYNOPSIS +Tests piping Get-AzureBatchWorkItem into Get-AzureBatchJob +#> +function Test-ListJobPipeline +{ + param([string]$accountName, [string]$workItemName, [string]$jobName) + + $context = Get-AzureBatchAccountKeys -Name $accountName + $job = Get-AzureBatchWorkItem_ST -Name $workItemName -BatchContext $context | Get-AzureBatchJob_ST -BatchContext $context + + Assert-AreEqual $jobName $job.Name +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/PoolTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/PoolTests.cs new file mode 100644 index 000000000000..af6d9fb934b5 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/PoolTests.cs @@ -0,0 +1,165 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Batch; +using Microsoft.Azure.Test; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using System.Collections.Generic; +using System.Management.Automation; +using Xunit; +using Constants = Microsoft.Azure.Commands.Batch.Utils.Constants; + +namespace Microsoft.Azure.Commands.Batch.Test.ScenarioTests +{ + public class PoolTests + { + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetPoolByName() + { + BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-get-pool"; + string accountName = "testgetpool"; + string location = "eastus"; + string poolName = "testName"; + BatchAccountContext context = null; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-GetPoolByName '{0}' '{1}'", accountName, poolName) }; }, + () => + { + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + ScenarioTestHelpers.CreateTestPool(context, poolName); + }, + () => + { + ScenarioTestHelpers.DeletePool(context, poolName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestListPoolsByFilter() + { + BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-list-pool-filter"; + string accountName = "testlistpoolfilter"; + string location = "eastus"; + string poolName1 = "testName1"; + string poolName2 = "testName2"; + string poolName3 = "thirdtestName"; + string poolPrefix = "testName"; + int matches = 2; + BatchAccountContext context = null; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-ListPoolsByFilter '{0}' '{1}' '{2}'", accountName, poolPrefix, matches) }; }, + () => + { + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + ScenarioTestHelpers.CreateTestPool(context, poolName1); + ScenarioTestHelpers.CreateTestPool(context, poolName2); + ScenarioTestHelpers.CreateTestPool(context, poolName3); + }, + () => + { + ScenarioTestHelpers.DeletePool(context, poolName1); + ScenarioTestHelpers.DeletePool(context, poolName2); + ScenarioTestHelpers.DeletePool(context, poolName3); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestListPoolsWithMaxCount() + { + BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-list-pool-maxcount"; + string accountName = "testlistpoolmaxcount"; + string location = "eastus"; + string poolName1 = "testName1"; + string poolName2 = "testName2"; + string poolName3 = "thirdtestName"; + int maxCount = 1; + BatchAccountContext context = null; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-ListPoolsWithMaxCount '{0}' '{1}'", accountName, maxCount) }; }, + () => + { + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + ScenarioTestHelpers.CreateTestPool(context, poolName1); + ScenarioTestHelpers.CreateTestPool(context, poolName2); + ScenarioTestHelpers.CreateTestPool(context, poolName3); + }, + () => + { + ScenarioTestHelpers.DeletePool(context, poolName1); + ScenarioTestHelpers.DeletePool(context, poolName2); + ScenarioTestHelpers.DeletePool(context, poolName3); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestListAllPools() + { + BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-list-pool"; + string accountName = "testlistpool"; + string location = "eastus"; + string poolName1 = "testName1"; + string poolName2 = "testName2"; + string poolName3 = "thirdtestName"; + int count = 3; + BatchAccountContext context = null; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-ListAllPools '{0}' '{1}'", accountName, count) }; }, + () => + { + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + ScenarioTestHelpers.CreateTestPool(context, poolName1); + ScenarioTestHelpers.CreateTestPool(context, poolName2); + ScenarioTestHelpers.CreateTestPool(context, poolName3); + }, + () => + { + ScenarioTestHelpers.DeletePool(context, poolName1); + ScenarioTestHelpers.DeletePool(context, poolName2); + ScenarioTestHelpers.DeletePool(context, poolName3); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + } + + // Cmdlets that use the HTTP Recorder interceptor for use with scenario tests + [Cmdlet(VerbsCommon.Get, "AzureBatchPool_ST", DefaultParameterSetName = Constants.ODataFilterParameterSet)] + public class GetBatchPoolScenarioTestCommand : GetBatchPoolCommand + { + public override void ExecuteCmdlet() + { + AdditionalBehaviors = new List() { ScenarioTestHelpers.CreateHttpRecordingInterceptor() }; + base.ExecuteCmdlet(); + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/PoolTests.ps1 b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/PoolTests.ps1 new file mode 100644 index 000000000000..d7c2ee77f558 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/PoolTests.ps1 @@ -0,0 +1,74 @@ +# ---------------------------------------------------------------------------------- +# +# 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. +# ---------------------------------------------------------------------------------- + +<# +.SYNOPSIS +Tests querying for a Batch Pool by name +#> +function Test-GetPoolByName +{ + param([string]$accountName, [string]$poolName) + + $context = Get-AzureBatchAccountKeys -Name $accountName + $pool = Get-AzureBatchPool_ST -Name $poolName -BatchContext $context + + Assert-AreEqual $poolName $pool.Name +} + +<# +.SYNOPSIS +Tests querying for Batch Pools using a filter +#> +function Test-ListPoolsByFilter +{ + param([string]$accountName, [string]$poolPrefix, [string]$matches) + + $context = Get-AzureBatchAccountKeys -Name $accountName + $poolFilter = "startswith(name,'" + "$poolPrefix" + "')" + $pools = Get-AzureBatchPool_ST -Filter $poolFilter -BatchContext $context + + Assert-AreEqual $matches $pools.Length + foreach($pool in $pools) + { + Assert-True { $pool.Name.StartsWith("$poolPrefix") } + } +} + +<# +.SYNOPSIS +Tests querying for Batch Pools and supplying a max count +#> +function Test-ListPoolsWithMaxCount +{ + param([string]$accountName, [string]$maxCount) + + $context = Get-AzureBatchAccountKeys -Name $accountName + $pools = Get-AzureBatchPool_ST -MaxCount $maxCount -BatchContext $context + + Assert-AreEqual $maxCount $pools.Length +} + +<# +.SYNOPSIS +Tests querying for all Pools under an account +#> +function Test-ListAllPools +{ + param([string]$accountName, [string]$count) + + $context = Get-AzureBatchAccountKeys -Name $accountName + $workItems = Get-AzureBatchPool_ST -BatchContext $context + + Assert-AreEqual $count $workItems.Length +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/ScenarioTestHelpers.cs b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/ScenarioTestHelpers.cs new file mode 100644 index 000000000000..65ed953731d3 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/ScenarioTestHelpers.cs @@ -0,0 +1,342 @@ +// ---------------------------------------------------------------------------------- +// +// 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.IO; +using System.Linq; +using System.Net; +using System.Net.Http; +using System.Threading; +using System.Threading.Tasks; +using Microsoft.Azure.Batch; +using Microsoft.Azure.Batch.Common; +using Microsoft.Azure.Batch.Protocol.Entities; +using Microsoft.Azure.Commands.Batch.Models; +using Microsoft.Azure.Management.Batch; +using Microsoft.Azure.Management.Batch.Models; +using System; +using System.Reflection; +using Microsoft.Azure.Management.Resources; +using Microsoft.Azure.Management.Resources.Models; +using Microsoft.Azure.Test.HttpRecorder; +using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient; +using Constants = Microsoft.Azure.Commands.Batch.Utils.Constants; + +namespace Microsoft.Azure.Commands.Batch.Test.ScenarioTests +{ + /// + /// Helper methods for the Batch cmdlet scenario tests + /// + public static class ScenarioTestHelpers + { + /// + /// Creates an account and resource group for use with the Scenario tests + /// + public static BatchAccountContext CreateTestAccountAndResourceGroup(BatchController controller, string resourceGroupName, string accountName, string location) + { + controller.ResourceManagementClient.ResourceGroups.CreateOrUpdate(resourceGroupName, new ResourceGroup() { Location = location }); + BatchAccountCreateResponse createResponse = controller.BatchManagementClient.Accounts.Create(resourceGroupName, accountName, new BatchAccountCreateParameters() { Location = location }); + BatchAccountContext context = BatchAccountContext.ConvertAccountResourceToNewAccountContext(createResponse.Resource); + BatchAccountListKeyResponse response = controller.BatchManagementClient.Accounts.ListKeys(resourceGroupName, accountName); + context.PrimaryAccountKey = response.PrimaryKey; + context.SecondaryAccountKey = response.SecondaryKey; + return context; + } + + /// + /// Cleans up an account and resource group used in a Scenario test. + /// + public static void CleanupTestAccount(BatchController controller, string resourceGroupName, string accountName) + { + controller.BatchManagementClient.Accounts.Delete(resourceGroupName, accountName); + controller.ResourceManagementClient.ResourceGroups.Delete(resourceGroupName); + } + + /// + /// Creates a test Pool for use in Scenario tests. + /// TODO: Replace with new Pool client method when it exists. + /// + public static void CreateTestPool(BatchAccountContext context, string poolName) + { + if (HttpMockServer.Mode == HttpRecorderMode.Record) + { + using (IPoolManager poolManager = context.BatchOMClient.OpenPoolManager()) + { + ICloudPool pool = poolManager.CreatePool(poolName, "4", "small", 3); + pool.Commit(); + } + } + } + + /// + /// Deletes a Pool used in a Scenario test. + /// TODO: Replace with remove Pool client method when it exists. + /// + public static void DeletePool(BatchAccountContext context, string poolName) + { + if (HttpMockServer.Mode == HttpRecorderMode.Record) + { + using (IPoolManager poolManager = context.BatchOMClient.OpenPoolManager()) + { + poolManager.DeletePool(poolName); + } + } + } + + /// + /// Creates a test WorkItem for use in Scenario tests. + /// TODO: Replace with new WorkItem client method when it exists. + /// + public static void CreateTestWorkItem(BatchAccountContext context, string workItemName, TimeSpan? recurrenceInterval) + { + if (HttpMockServer.Mode == HttpRecorderMode.Record) + { + using (IWorkItemManager wiManager = context.BatchOMClient.OpenWorkItemManager()) + { + ICloudWorkItem workItem = wiManager.CreateWorkItem(workItemName); + workItem.JobExecutionEnvironment = new Azure.Batch.JobExecutionEnvironment(); + workItem.JobExecutionEnvironment.PoolName = "testPool"; + if (recurrenceInterval != null) + { + workItem.Schedule = new Azure.Batch.WorkItemSchedule(); + workItem.Schedule.RecurrenceInterval = recurrenceInterval; + } + workItem.Commit(); + } + } + } + + /// + /// Creates a test WorkItem for use in Scenario tests. + /// + public static void CreateTestWorkItem(BatchAccountContext context, string workItemName) + { + CreateTestWorkItem(context, workItemName, null); + } + + /// + /// Waits for a Recent Job on a WorkItem and returns its name. If a previous job is specified, this method waits until a new Recent Job is created. + /// + public static string WaitForRecentJob(BatchController controller, BatchAccountContext context, string workItemName, string previousJob = null) + { + DateTime timeout = DateTime.Now.AddMinutes(2); + + YieldInjectionInterceptor interceptor = CreateHttpRecordingInterceptor(); + BatchClientBehavior[] behaviors = new BatchClientBehavior[] { interceptor }; + BatchClient client = new BatchClient(controller.BatchManagementClient, controller.ResourceManagementClient); + + ListWorkItemOptions options = new ListWorkItemOptions() + { + Context = context, + WorkItemName = workItemName, + Filter = null, + MaxCount = Constants.DefaultMaxCount, + AdditionalBehaviors = behaviors + }; + PSCloudWorkItem workItem = client.ListWorkItems(options).First(); + + while (workItem.ExecutionInformation.RecentJob == null || string.Equals(workItem.ExecutionInformation.RecentJob.Name, previousJob, StringComparison.OrdinalIgnoreCase)) + { + if (DateTime.Now > timeout) + { + throw new TimeoutException("Timed out waiting for recent job"); + } + Sleep(5000); + workItem = client.ListWorkItems(options).First(); + } + return workItem.ExecutionInformation.RecentJob.Name; + } + + /// + /// Creates a test Task for use in Scenario tests. + /// TODO: Replace with new Task client method when it exists. + /// + public static void CreateTestTask(BatchAccountContext context, string workItemName, string jobName, string taskName) + { + if (HttpMockServer.Mode == HttpRecorderMode.Record) + { + using (IWorkItemManager wiManager = context.BatchOMClient.OpenWorkItemManager()) + { + ICloudTask task = new CloudTask(taskName, "cmd /c dir /s"); + wiManager.AddTask(workItemName, jobName, task); + } + } + } + + /// + /// Deletes a WorkItem used in a Scenario test. + /// TODO: Replace with remove WorkItem client method when it exists. + /// + public static void DeleteWorkItem(BatchAccountContext context, string workItemName) + { + if (HttpMockServer.Mode == HttpRecorderMode.Record) + { + using (IWorkItemManager wiManager = context.BatchOMClient.OpenWorkItemManager()) + { + wiManager.DeleteWorkItem(workItemName); + } + } + } + + /// + /// Terminates a Job + /// TODO: Replace with terminate Job client method when it exists. + /// + public static void TerminateJob(BatchAccountContext context, string workItemName, string jobName) + { + if (HttpMockServer.Mode == HttpRecorderMode.Record) + { + using (IWorkItemManager wiManager = context.BatchOMClient.OpenWorkItemManager()) + { + wiManager.TerminateJob(workItemName, jobName); + } + } + } + + /// + /// Creates an interceptor that can be used to support the HTTP recorder scenario tests. + /// This behavior grabs the outgoing Protocol request, converts it to an HttpRequestMessage compatible with the + /// HTTP recorder, sends the request through the HTTP recorder, and converts the response to an HttpWebResponse + /// for serialization by the Protocol Layer. + /// NOTE: This is a temporary behavior that should no longer be needed when the Batch OM switches to Hyak. + /// + public static YieldInjectionInterceptor CreateHttpRecordingInterceptor() + { + YieldInjectionInterceptor interceptor = new YieldInjectionInterceptor((opContext, batchRequest) => + { + Task task = Task.Factory.StartNew(() => + { + object batchResponse = null; + + HttpRequestMessage request = GenerateHttpRequest((BatchRequest)batchRequest); + + // Setup HTTP recorder and send the request + HttpMockServer mockServer = HttpMockServer.CreateInstance(); + mockServer.InnerHandler = new HttpClientHandler(); + HttpClient client = new HttpClient(mockServer); + Task responseTask = client.SendAsync(request); + responseTask.Wait(); + HttpResponseMessage response = responseTask.Result; + + Task getContentTask = response.Content.ReadAsStreamAsync(); + getContentTask.Wait(); + Stream body = getContentTask.Result; + + HttpWebResponse webResponse = ConvertResponseMessageToWebResponse(response); + + batchResponse = GenerateBatchResponse((BatchRequest)batchRequest, webResponse, body); + + return batchResponse; + }); + return task; + }); + return interceptor; + } + + /// + /// Generates an HttpRequestMessage from the BatchRequest. + /// + private static HttpRequestMessage GenerateHttpRequest(BatchRequest batchRequest) + { + HttpRequestMessage requestMessage = null; + Uri uri = null; + // Since we aren't directly using the Protocol Layer to send the request, we have to extract the pieces to create the signed web request + // that we can convert into a format compatible with the HTTP Recorder. + MethodInfo getResourceMethod = batchRequest.GetType().GetMethod("GetResourceUri", BindingFlags.NonPublic | BindingFlags.Instance); + if (getResourceMethod != null) + { + uri = getResourceMethod.Invoke(batchRequest, null) as Uri; + } + MethodInfo createWebRequestMethod = batchRequest.GetType().GetMethod("CreateWebRequest", BindingFlags.NonPublic | BindingFlags.Instance); + if (createWebRequestMethod != null && uri != null) + { + HttpWebRequest webRequest = createWebRequestMethod.Invoke(batchRequest, new object[] { uri, null, null }) as HttpWebRequest; + if (webRequest != null) + { + batchRequest.AuthenticationHandler.SignRequest(webRequest, null); + + // Convert the signed HttpWebRequest into an HttpRequestMessage for use with the HTTP Recorder + requestMessage = new HttpRequestMessage(new HttpMethod(webRequest.Method), webRequest.RequestUri); + foreach (var header in webRequest.Headers) + { + string key = header.ToString(); + string value = webRequest.Headers[key]; + requestMessage.Headers.Add(key, value); + } + } + } + return requestMessage; + } + + /// + /// Converts the HttpResponseMessage into an HttpWebResponse that can be used by the Protocol layer + /// + private static HttpWebResponse ConvertResponseMessageToWebResponse(HttpResponseMessage responseMessage) + { + HttpWebResponse webResponse = null; + + // The HttpWebResponse class isn't meant to be built on the fly outside of the .NET framework internals, so we use Reflection. + ConstructorInfo constructor = typeof(HttpWebResponse).GetConstructor(new Type[] { }); + if (constructor != null) + { + webResponse = constructor.Invoke(null) as HttpWebResponse; + if (webResponse != null) + { + BatchTestHelpers.SetField(webResponse, "m_HttpResponseHeaders", new WebHeaderCollection()); + foreach (var header in responseMessage.Headers) + { + webResponse.Headers.Add(header.Key, header.Value.FirstOrDefault()); + } + webResponse.Headers.Add("Content-Type", "application/json;odata=minimalmetadata"); + BatchTestHelpers.SetField(webResponse, "m_StatusCode", responseMessage.StatusCode); + } + } + return webResponse; + } + + /// + /// Serializes an HttpWebRespone and response body into a BatchResponse + /// + private static object GenerateBatchResponse(BatchRequest batchRequest, HttpWebResponse webResponse, Stream responseBody) + { + object batchResponse = null; + Type requestBaseType = batchRequest.GetType().BaseType; + if (requestBaseType != null) + { + Type batchResponseType = requestBaseType.GetGenericArguments()[0]; + MethodInfo processMethod = batchResponseType.GetMethod("ProcessResponse", BindingFlags.NonPublic | BindingFlags.Instance); + ConstructorInfo constructor = batchResponseType.GetConstructor(new Type[] { }); + if (constructor != null) + { + batchResponse = constructor.Invoke(null); + if (processMethod != null) + { + processMethod.Invoke(batchResponse, new object[] { webResponse, responseBody, null }); + } + } + } + return batchResponse; + } + + /// + /// Sleep method used for Scenario Tests. Only sleep when recording. + /// + private static void Sleep(int milliseconds) + { + if (HttpMockServer.Mode == HttpRecorderMode.Record) + { + Thread.Sleep(milliseconds); + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/TaskTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/TaskTests.cs new file mode 100644 index 000000000000..c2d750ffbab2 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/TaskTests.cs @@ -0,0 +1,230 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using Microsoft.Azure.Batch; +using Microsoft.Azure.Commands.Batch.Models; +using Microsoft.Azure.Test; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using System.Collections.Generic; +using System.Management.Automation; +using Xunit; +using Constants = Microsoft.Azure.Commands.Batch.Utils.Constants; + +namespace Microsoft.Azure.Commands.Batch.Test.ScenarioTests +{ + public class TaskTests + { + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetTaskRequiredParameters() + { + BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-get-task-params"; + string accountName = "testgettaskparams"; + string location = "eastus"; + BatchAccountContext context = null; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-GetTaskRequiredParameters '{0}'", accountName) }; }, + () => + { + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + }, + () => + { + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetTaskByName() + { + BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-get-task"; + string accountName = "testgettaskbyname"; + string location = "eastus"; + string workItemName = "testName"; + string jobName = null; + string taskName = "testTask"; + BatchAccountContext context = null; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-GetTaskByName '{0}' '{1}' '{2}' '{3}'", accountName, workItemName, jobName, taskName) }; }, + () => + { + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + ScenarioTestHelpers.CreateTestWorkItem(context, workItemName); + jobName = ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName); + ScenarioTestHelpers.CreateTestTask(context, workItemName, jobName, taskName); + }, + () => + { + ScenarioTestHelpers.DeleteWorkItem(context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestListTasksByFilter() + { + BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-list-task-filter"; + string accountName = "testlisttaskfilter"; + string location = "eastus"; + string workItemName = "testWorkItem"; + string jobName = null; + string taskName1 = "testTask1"; + string taskName2 = "testTask2"; + string taskName3 = "thirdTestTask"; + string taskPrefix = "testTask"; + int matches = 2; + BatchAccountContext context = null; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-ListTasksByFilter '{0}' '{1}' '{2}' '{3}' '{4}'", accountName, workItemName, jobName, taskPrefix, matches) }; }, + () => + { + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + ScenarioTestHelpers.CreateTestWorkItem(context, workItemName); + jobName = ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName); + ScenarioTestHelpers.CreateTestTask(context, workItemName, jobName, taskName1); + ScenarioTestHelpers.CreateTestTask(context, workItemName, jobName, taskName2); + ScenarioTestHelpers.CreateTestTask(context, workItemName, jobName, taskName3); + }, + () => + { + ScenarioTestHelpers.DeleteWorkItem(context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestListTasksWithMaxCount() + { + BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-list-task-maxcount"; + string accountName = "testlisttaskmaxcount"; + string location = "eastus"; + string workItemName = "testWorkItem"; + string jobName = null; + string taskName1 = "testTask1"; + string taskName2 = "testTask2"; + string taskName3 = "testTask3"; + int maxCount = 1; + BatchAccountContext context = null; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-ListTasksWithMaxCount '{0}' '{1}' '{2}' '{3}'", accountName, workItemName, jobName, maxCount) }; }, + () => + { + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + ScenarioTestHelpers.CreateTestWorkItem(context, workItemName); + jobName = ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName); + ScenarioTestHelpers.CreateTestTask(context, workItemName, jobName, taskName1); + ScenarioTestHelpers.CreateTestTask(context, workItemName, jobName, taskName2); + ScenarioTestHelpers.CreateTestTask(context, workItemName, jobName, taskName3); + }, + () => + { + ScenarioTestHelpers.DeleteWorkItem(context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestListAllTasks() + { + BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-list-task"; + string accountName = "testlisttask"; + string location = "eastus"; + string workItemName = "testWorkItem"; + string jobName = null; + string taskName1 = "testTask1"; + string taskName2 = "testTask2"; + string taskName3 = "testTask3"; + int count = 3; + BatchAccountContext context = null; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-ListAllTasks '{0}' '{1}' '{2}' '{3}'", accountName, workItemName, jobName, count) }; }, + () => + { + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + ScenarioTestHelpers.CreateTestWorkItem(context, workItemName); + jobName = ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName); + ScenarioTestHelpers.CreateTestTask(context, workItemName, jobName, taskName1); + ScenarioTestHelpers.CreateTestTask(context, workItemName, jobName, taskName2); + ScenarioTestHelpers.CreateTestTask(context, workItemName, jobName, taskName3); + }, + () => + { + ScenarioTestHelpers.DeleteWorkItem(context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestListTaskPipeline() + { + BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-list-task-pipe"; + string accountName = "testlisttaskpipe"; + string location = "eastus"; + string workItemName = "testWorkItem"; + string jobName = null; + string taskName = "testTask"; + BatchAccountContext context = null; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-ListTaskPipeline '{0}' '{1}' '{2}' '{3}'", accountName, workItemName, jobName, taskName) }; }, + () => + { + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + ScenarioTestHelpers.CreateTestWorkItem(context, workItemName); + jobName = ScenarioTestHelpers.WaitForRecentJob(controller, context, workItemName); + ScenarioTestHelpers.CreateTestTask(context, workItemName, jobName, taskName); + }, + () => + { + ScenarioTestHelpers.DeleteWorkItem(context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + } + + // Cmdlets that use the HTTP Recorder interceptor for use with scenario tests + [Cmdlet(VerbsCommon.Get, "AzureBatchTask_ST", DefaultParameterSetName = Constants.ODataFilterParameterSet)] + public class GetBatchTaskScenarioTestCommand : GetBatchTaskCommand + { + public override void ExecuteCmdlet() + { + AdditionalBehaviors = new List() { ScenarioTestHelpers.CreateHttpRecordingInterceptor() }; + base.ExecuteCmdlet(); + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/TaskTests.ps1 b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/TaskTests.ps1 new file mode 100644 index 000000000000..639a9f74bfc3 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/TaskTests.ps1 @@ -0,0 +1,135 @@ +# ---------------------------------------------------------------------------------- +# +# 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. +# ---------------------------------------------------------------------------------- + +<# +.SYNOPSIS +Tests that calling Get-AzureBatchTask without required parameters throws error +#> +function Test-GetTaskRequiredParameters +{ + param([string]$accountName) + + $context = Get-AzureBatchAccountKeys -Name $accountName + Assert-Throws { Get-AzureBatchTask_ST -BatchContext $context } + Assert-Throws { Get-AzureBatchTask_ST -WorkItemName "wi" -BatchContext $context } + Assert-Throws { Get-AzureBatchTask_ST -JobName "job" -BatchContext $context } +} + +<# +.SYNOPSIS +Tests querying for a Batch Task by name +#> +function Test-GetTaskByName +{ + param([string]$accountName, [string]$wiName, [string]$jobName, [string]$taskName) + + $context = Get-AzureBatchAccountKeys -Name $accountName + $task = Get-AzureBatchTask_ST -WorkItemName $wiName -JobName $jobName -Name $taskName -BatchContext $context + + Assert-AreEqual $taskName $task.Name + + # Verify positional parameters also work + $task = Get-AzureBatchTask_ST $wiName $jobName $taskName -BatchContext $context + + Assert-AreEqual $taskName $task.Name +} + +<# +.SYNOPSIS +Tests querying for Batch Tasks using a filter +#> +function Test-ListTasksByFilter +{ + param([string]$accountName, [string]$workItemName, [string]$jobName, [string]$taskPrefix, [string]$matches) + + $context = Get-AzureBatchAccountKeys -Name $accountName + $filter = "startswith(name,'" + "$taskPrefix" + "')" + + $tasks = Get-AzureBatchTask_ST -WorkItemName $workItemName -JobName $jobName -Filter $filter -BatchContext $context + + Assert-AreEqual $matches $tasks.Length + foreach($task in $tasks) + { + Assert-True { $task.Name.StartsWith("$taskPrefix") } + } + + # Verify parent object parameter set also works + $job = Get-AzureBatchJob_ST $workItemName $jobName -BatchContext $context + $tasks = Get-AzureBatchTask_ST -Job $job -Filter $filter -BatchContext $context + + Assert-AreEqual $matches $tasks.Length + foreach($task in $tasks) + { + Assert-True { $task.Name.StartsWith("$taskPrefix") } + } +} + +<# +.SYNOPSIS +Tests querying for Batch Tasks and supplying a max count +#> +function Test-ListTasksWithMaxCount +{ + param([string]$accountName, [string]$workItemName, [string]$jobName, [string]$maxCount) + + $context = Get-AzureBatchAccountKeys -Name $accountName + $tasks = Get-AzureBatchTask_ST -WorkItemName $workItemName -JobName $jobName -MaxCount $maxCount -BatchContext $context + + Assert-AreEqual $maxCount $tasks.Length + + # Verify parent object parameter set also works + $job = Get-AzureBatchJob_ST $workItemName $jobName -BatchContext $context + $tasks = Get-AzureBatchTask_ST -Job $job -MaxCount $maxCount -BatchContext $context + + Assert-AreEqual $maxCount $tasks.Length +} + +<# +.SYNOPSIS +Tests querying for all Tasks under a WorkItem +#> +function Test-ListAllTasks +{ + param([string]$accountName, [string]$workItemName, [string] $jobName, [string]$count) + + $context = Get-AzureBatchAccountKeys -Name $accountName + $tasks = Get-AzureBatchTask_ST -WorkItemName $workItemName -JobName $jobName -BatchContext $context + + Assert-AreEqual $count $tasks.Length + + # Verify parent object parameter set also works + $job = Get-AzureBatchJob_ST $workItemName $jobName -BatchContext $context + $tasks = Get-AzureBatchTask_ST -Job $job -BatchContext $context + + Assert-AreEqual $count $tasks.Length +} + +<# +.SYNOPSIS +Tests pipelining scenarios +#> +function Test-ListTaskPipeline +{ + param([string]$accountName, [string]$workItemName, [string]$jobName, [string]$taskName) + + $context = Get-AzureBatchAccountKeys -Name $accountName + + # Get Job into Get Task + $task = Get-AzureBatchJob_ST -WorkItemName $workItemName -Name $jobName -BatchContext $context | Get-AzureBatchTask_ST -BatchContext $context + Assert-AreEqual $taskName $task.Name + + # Get WorkItem into Get Job into Get Task + $task = Get-AzureBatchWorkItem_ST -Name $workItemName -BatchContext $context | Get-AzureBatchJob_ST -BatchContext $context | Get-AzureBatchTask_ST -BatchContext $context + Assert-AreEqual $taskName $task.Name +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/WorkItemTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/WorkItemTests.cs new file mode 100644 index 000000000000..1af12f4e8df4 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/WorkItemTests.cs @@ -0,0 +1,165 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Batch; +using Microsoft.Azure.Test; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using System.Collections.Generic; +using System.Management.Automation; +using Xunit; +using Constants = Microsoft.Azure.Commands.Batch.Utils.Constants; + +namespace Microsoft.Azure.Commands.Batch.Test.ScenarioTests +{ + public class WorkItemTests + { + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetWorkItemByName() + { + BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-get-wi"; + string accountName = "testgetwi"; + string location = "eastus"; + string workItemName = "testName"; + BatchAccountContext context = null; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-GetWorkItemByName '{0}' '{1}'", accountName, workItemName) }; }, + () => + { + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + ScenarioTestHelpers.CreateTestWorkItem(context, workItemName); + }, + () => + { + ScenarioTestHelpers.DeleteWorkItem(context, workItemName); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestListWorkItemsByFilter() + { + BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-list-wi-filter"; + string accountName = "testlistwifilter"; + string location = "eastus"; + string workItemName1 = "testName1"; + string workItemName2 = "testName2"; + string workItemName3 = "thirdtestName"; + string workItemPrefix = "testName"; + int matches = 2; + BatchAccountContext context = null; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-ListWorkItemsByFilter '{0}' '{1}' '{2}'", accountName, workItemPrefix, matches) }; }, + () => + { + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + ScenarioTestHelpers.CreateTestWorkItem(context, workItemName1); + ScenarioTestHelpers.CreateTestWorkItem(context, workItemName2); + ScenarioTestHelpers.CreateTestWorkItem(context, workItemName3); + }, + () => + { + ScenarioTestHelpers.DeleteWorkItem(context, workItemName1); + ScenarioTestHelpers.DeleteWorkItem(context, workItemName2); + ScenarioTestHelpers.DeleteWorkItem(context, workItemName3); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestListWorkItemsWithMaxCount() + { + BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-list-wi-maxcount"; + string accountName = "testlistwimaxcount"; + string location = "eastus"; + string workItemName1 = "testName1"; + string workItemName2 = "testName2"; + string workItemName3 = "thirdtestName"; + int maxCount = 1; + BatchAccountContext context = null; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-ListWorkItemsWithMaxCount '{0}' '{1}'", accountName, maxCount) }; }, + () => + { + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + ScenarioTestHelpers.CreateTestWorkItem(context, workItemName1); + ScenarioTestHelpers.CreateTestWorkItem(context, workItemName2); + ScenarioTestHelpers.CreateTestWorkItem(context, workItemName3); + }, + () => + { + ScenarioTestHelpers.DeleteWorkItem(context, workItemName1); + ScenarioTestHelpers.DeleteWorkItem(context, workItemName2); + ScenarioTestHelpers.DeleteWorkItem(context, workItemName3); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestListAllWorkItems() + { + BatchController controller = BatchController.NewInstance; + string resourceGroupName = "test-list-wi"; + string accountName = "testlistwi"; + string location = "eastus"; + string workItemName1 = "testName1"; + string workItemName2 = "testName2"; + string workItemName3 = "thirdtestName"; + int count = 3; + BatchAccountContext context = null; + controller.RunPsTestWorkflow( + () => { return new string[] { string.Format("Test-ListAllWorkItems '{0}' '{1}'", accountName, count) }; }, + () => + { + context = ScenarioTestHelpers.CreateTestAccountAndResourceGroup(controller, resourceGroupName, accountName, location); + ScenarioTestHelpers.CreateTestWorkItem(context, workItemName1); + ScenarioTestHelpers.CreateTestWorkItem(context, workItemName2); + ScenarioTestHelpers.CreateTestWorkItem(context, workItemName3); + }, + () => + { + ScenarioTestHelpers.DeleteWorkItem(context, workItemName1); + ScenarioTestHelpers.DeleteWorkItem(context, workItemName2); + ScenarioTestHelpers.DeleteWorkItem(context, workItemName3); + ScenarioTestHelpers.CleanupTestAccount(controller, resourceGroupName, accountName); + }, + TestUtilities.GetCallingClass(), + TestUtilities.GetCurrentMethodName()); + } + + } + + // Cmdlets that use the HTTP Recorder interceptor for use with scenario tests + [Cmdlet(VerbsCommon.Get, "AzureBatchWorkItem_ST", DefaultParameterSetName = Constants.ODataFilterParameterSet)] + public class GetBatchWorkItemScenarioTestCommand : GetBatchWorkItemCommand + { + public override void ExecuteCmdlet() + { + AdditionalBehaviors = new List() { ScenarioTestHelpers.CreateHttpRecordingInterceptor() }; + base.ExecuteCmdlet(); + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/WorkItemTests.ps1 b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/WorkItemTests.ps1 new file mode 100644 index 000000000000..7271096d5874 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/ScenarioTests/WorkItemTests.ps1 @@ -0,0 +1,74 @@ +# ---------------------------------------------------------------------------------- +# +# 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. +# ---------------------------------------------------------------------------------- + +<# +.SYNOPSIS +Tests querying for a Batch WorkItem by name +#> +function Test-GetWorkItemByName +{ + param([string]$accountName, [string]$wiName) + + $context = Get-AzureBatchAccountKeys -Name $accountName + $workItem = Get-AzureBatchWorkItem_ST -Name $wiName -BatchContext $context + + Assert-AreEqual $wiName $workItem.Name +} + +<# +.SYNOPSIS +Tests querying for Batch WorkItems using a filter +#> +function Test-ListWorkItemsByFilter +{ + param([string]$accountName, [string]$wiPrefix, [string]$matches) + + $context = Get-AzureBatchAccountKeys -Name $accountName + $wiFilter = "startswith(name,'" + "$wiPrefix" + "')" + $workItems = Get-AzureBatchWorkItem_ST -Filter $wiFilter -BatchContext $context + + Assert-AreEqual $matches $workItems.Length + foreach($workItem in $workItems) + { + Assert-True { $workItem.Name.StartsWith("$wiPrefix") } + } +} + +<# +.SYNOPSIS +Tests querying for Batch WorkItems and supplying a max count +#> +function Test-ListWorkItemsWithMaxCount +{ + param([string]$accountName, [string]$maxCount) + + $context = Get-AzureBatchAccountKeys -Name $accountName + $workItems = Get-AzureBatchWorkItem_ST -MaxCount $maxCount -BatchContext $context + + Assert-AreEqual $maxCount $workItems.Length +} + +<# +.SYNOPSIS +Tests querying for all WorkItems under an account +#> +function Test-ListAllWorkItems +{ + param([string]$accountName, [string]$count) + + $context = Get-AzureBatchAccountKeys -Name $accountName + $workItems = Get-AzureBatchWorkItem_ST -BatchContext $context + + Assert-AreEqual $count $workItems.Length +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestGetJobByName.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestGetJobByName.json new file mode 100644 index 000000000000..e74b4d80e8aa --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestGetJobByName.json @@ -0,0 +1,944 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-get-job?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZ2V0LWpvYj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job\",\r\n \"name\": \"test-get-job\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "177" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-request-id": [ + "e09e0441-e01b-45fe-a796-b3c4f6761b91" + ], + "x-ms-correlation-request-id": [ + "e09e0441-e01b-45fe-a796-b3c4f6761b91" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201830Z:e09e0441-e01b-45fe-a796-b3c4f6761b91" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:18:30 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job/providers/Microsoft.Batch/batchAccounts/testgetjob?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGdldGpvYj9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "request-id": [ + "d255875a-61c6-4b7f-872f-59b8d7456ecc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a34187b8-974b-4f4b-ab03-f5728621bc8f" + ], + "x-ms-correlation-request-id": [ + "a34187b8-974b-4f4b-ab03-f5728621bc8f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201834Z:a34187b8-974b-4f4b-ab03-f5728621bc8f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:18:33 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job/providers/Microsoft.Batch/batchAccounts/testgetjob/operationResults/d255875a-61c6-4b7f-872f-59b8d7456ecc?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job/providers/Microsoft.Batch/batchAccounts/testgetjob/operationResults/d255875a-61c6-4b7f-872f-59b8d7456ecc?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGdldGpvYi9vcGVyYXRpb25SZXN1bHRzL2QyNTU4NzVhLTYxYzYtNGI3Zi04NzJmLTU5YjhkNzQ1NmVjYz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testgetjob\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testgetjob.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job/providers/Microsoft.Batch/batchAccounts/testgetjob\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "319" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:18:34 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "31fd56e5-dd39-4190-9846-cc2e665096d0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "701a8197-7769-4ecf-9605-1aa9b83ffb7c" + ], + "x-ms-correlation-request-id": [ + "701a8197-7769-4ecf-9605-1aa9b83ffb7c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201834Z:701a8197-7769-4ecf-9605-1aa9b83ffb7c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:18:34 GMT" + ], + "ETag": [ + "0x8D21DBD0882939B" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job/providers/Microsoft.Batch/batchAccounts/testgetjob/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGdldGpvYi9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testgetjob\",\r\n \"primary\": \"IFLj5FlG/JB3s6aCsQUa418r+2xozMBkWO6i3xCR56415huXeFA6UsZhXhdW39Bo+GWGzMvMXIHbok/D5bDktQ==\",\r\n \"secondary\": \"CaequplCIYoPANDFb3jnUhcrCvjXVgv1K8PkegjjC81z1FtwSK7ZXbNSXURH7gLYX+vFr2fYavVx54j2gyd2Xg==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "232" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "a3fb2db6-52ba-4ae7-a534-e9cbc4678987" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-request-id": [ + "7a40fb5b-1e91-4e14-affc-7603c05b6912" + ], + "x-ms-correlation-request-id": [ + "7a40fb5b-1e91-4e14-affc-7603c05b6912" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201834Z:7a40fb5b-1e91-4e14-affc-7603c05b6912" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:18:34 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job/providers/Microsoft.Batch/batchAccounts/testgetjob/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGdldGpvYi9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testgetjob\",\r\n \"primary\": \"IFLj5FlG/JB3s6aCsQUa418r+2xozMBkWO6i3xCR56415huXeFA6UsZhXhdW39Bo+GWGzMvMXIHbok/D5bDktQ==\",\r\n \"secondary\": \"CaequplCIYoPANDFb3jnUhcrCvjXVgv1K8PkegjjC81z1FtwSK7ZXbNSXURH7gLYX+vFr2fYavVx54j2gyd2Xg==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "232" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "90757fc2-a375-4114-8478-d091f4ac7a79" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-request-id": [ + "e8f30dfd-bd4b-48a1-a595-c85fa621fe5e" + ], + "x-ms-correlation-request-id": [ + "e8f30dfd-bd4b-48a1-a595-c85fa621fe5e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201914Z:e8f30dfd-bd4b-48a1-a595-c85fa621fe5e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:19:13 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testName?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0TmFtZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "7f5f945c-2e4e-42c9-bb41-518ef0a68e6d" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:18:35 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testgetjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testName\",\r\n \"url\": \"https://testgetjob.batch.core.windows.net/workitems/testName\",\r\n \"eTag\": \"0x8D21DBD0967DD22\",\r\n \"lastModified\": \"2015-02-23T20:18:35.6487458Z\",\r\n \"creationTime\": \"2015-02-23T20:18:35.6487458Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:18:35.6487458Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testgetjob.batch.core.windows.net/workitems/testName/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:18:35 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "95e82035-fb08-480e-8f80-ab9fffce257c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:18:34 GMT" + ], + "ETag": [ + "0x8D21DBD0967DD22" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job/providers/Microsoft.Batch/batchAccounts/testgetjob\",\r\n \"name\": \"testgetjob\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "744" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-request-id": [ + "a63af402-7d51-4c78-ae24-69e1a18166d4" + ], + "x-ms-correlation-request-id": [ + "a63af402-7d51-4c78-ae24-69e1a18166d4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201914Z:a63af402-7d51-4c78-ae24-69e1a18166d4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:19:13 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job/providers/Microsoft.Batch/batchAccounts/testgetjob?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGdldGpvYj9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testgetjob\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testgetjob.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job/providers/Microsoft.Batch/batchAccounts/testgetjob\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "319" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:19:13 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "f2b2dd7a-c1c5-40f7-9537-ff51954f8d62" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "3035e53d-ff1f-4d6f-a8ef-3d1333b7ae42" + ], + "x-ms-correlation-request-id": [ + "3035e53d-ff1f-4d6f-a8ef-3d1333b7ae42" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201914Z:3035e53d-ff1f-4d6f-a8ef-3d1333b7ae42" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:19:13 GMT" + ], + "ETag": [ + "0x8D21DBD20175CB5" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testName/jobs/job-0000000001?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0TmFtZS9qb2JzL2pvYi0wMDAwMDAwMDAxP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "933dad68-ca8b-4a85-bf5a-ae563024ab5d" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:19:14 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testgetjob.batch.core.windows.net/$metadata#jobs/@Element\",\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testgetjob.batch.core.windows.net/workitems/testName/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D21DBD097E3817\",\r\n \"lastModified\": \"2015-02-23T20:18:35.7952535Z\",\r\n \"creationTime\": \"2015-02-23T20:18:35.7487119Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:18:35.7952535Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-02-23T20:18:35.7952535Z\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:18:35 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "c209e574-5805-48b7-b329-8c5ebd943831" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:19:14 GMT" + ], + "ETag": [ + "0x8D21DBD097E3817" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testName/jobs/job-0000000001?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0TmFtZS9qb2JzL2pvYi0wMDAwMDAwMDAxP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "0d62e064-042f-4436-9216-48a558b4c4b9" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:19:14 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testgetjob.batch.core.windows.net/$metadata#jobs/@Element\",\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testgetjob.batch.core.windows.net/workitems/testName/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D21DBD097E3817\",\r\n \"lastModified\": \"2015-02-23T20:18:35.7952535Z\",\r\n \"creationTime\": \"2015-02-23T20:18:35.7487119Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:18:35.7952535Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-02-23T20:18:35.7952535Z\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:18:35 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "b3a2eb7f-84a9-40b0-8db4-461f5fb5c094" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:19:14 GMT" + ], + "ETag": [ + "0x8D21DBD097E3817" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job/providers/Microsoft.Batch/batchAccounts/testgetjob?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGdldGpvYj9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "2c6d3e5b-4d5a-4e41-9c0a-5c5456be8252" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-request-id": [ + "470f2393-7c08-450c-bbf7-f243a6fc82e5" + ], + "x-ms-correlation-request-id": [ + "470f2393-7c08-450c-bbf7-f243a6fc82e5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201917Z:470f2393-7c08-450c-bbf7-f243a6fc82e5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:19:16 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job/providers/Microsoft.Batch/batchAccounts/testgetjob/operationResults/2c6d3e5b-4d5a-4e41-9c0a-5c5456be8252?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job/providers/Microsoft.Batch/batchAccounts/testgetjob/operationResults/2c6d3e5b-4d5a-4e41-9c0a-5c5456be8252?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGdldGpvYi9vcGVyYXRpb25SZXN1bHRzLzJjNmQzZTViLTRkNWEtNGU0MS05YzBhLTVjNTQ1NmJlODI1Mj9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:19:16 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "b2e6a5c6-1425-4e2a-9268-8e3f2b9af5c3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "85884e4a-503e-48a6-9b02-2b2a047ada5e" + ], + "x-ms-correlation-request-id": [ + "85884e4a-503e-48a6-9b02-2b2a047ada5e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201917Z:85884e4a-503e-48a6-9b02-2b2a047ada5e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:19:16 GMT" + ], + "ETag": [ + "0x8D21DBD21E42874" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-get-job?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZ2V0LWpvYj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-request-id": [ + "52420c8f-3435-430f-883c-5420b9d34209" + ], + "x-ms-correlation-request-id": [ + "52420c8f-3435-430f-883c-5420b9d34209" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201918Z:52420c8f-3435-430f-883c-5420b9d34209" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:19:18 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9CLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9CLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVNrOUNMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "215ed1fb-d332-4212-89fb-9ffa6d2c7a7d" + ], + "x-ms-correlation-request-id": [ + "215ed1fb-d332-4212-89fb-9ffa6d2c7a7d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201918Z:215ed1fb-d332-4212-89fb-9ffa6d2c7a7d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:19:18 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9CLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9CLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVNrOUNMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "ed40dd48-a058-4d9d-b629-1914a9cf5771" + ], + "x-ms-correlation-request-id": [ + "ed40dd48-a058-4d9d-b629-1914a9cf5771" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201933Z:ed40dd48-a058-4d9d-b629-1914a9cf5771" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:19:33 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9CLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9CLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVNrOUNMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "2dff9e20-b3c7-426c-a4a6-d513dcab30f2" + ], + "x-ms-correlation-request-id": [ + "2dff9e20-b3c7-426c-a4a6-d513dcab30f2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201949Z:2dff9e20-b3c7-426c-a4a6-d513dcab30f2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:19:48 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9CLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9CLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVNrOUNMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "822efd78-830b-4112-9c94-caff4d945038" + ], + "x-ms-correlation-request-id": [ + "822efd78-830b-4112-9c94-caff4d945038" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T202004Z:822efd78-830b-4112-9c94-caff4d945038" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:20:03 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestGetJobRequiredParameters.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestGetJobRequiredParameters.json new file mode 100644 index 000000000000..6eadc6878445 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestGetJobRequiredParameters.json @@ -0,0 +1,791 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-get-job-params?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZ2V0LWpvYi1wYXJhbXM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job-params\",\r\n \"name\": \"test-get-job-params\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "191" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "7e0416ee-a9e0-485c-868f-a1fea1d77ff7" + ], + "x-ms-correlation-request-id": [ + "7e0416ee-a9e0-485c-868f-a1fea1d77ff7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201519Z:7e0416ee-a9e0-485c-868f-a1fea1d77ff7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:15:19 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job-params/providers/Microsoft.Batch/batchAccounts/testgetjobparams?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi1wYXJhbXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRqb2JwYXJhbXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "request-id": [ + "61da2213-ccc4-45df-a04e-c5f87a4c9634" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "12d60db5-5826-48b9-8565-9aecea7e5d91" + ], + "x-ms-correlation-request-id": [ + "12d60db5-5826-48b9-8565-9aecea7e5d91" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201524Z:12d60db5-5826-48b9-8565-9aecea7e5d91" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:15:24 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job-params/providers/Microsoft.Batch/batchAccounts/testgetjobparams/operationResults/61da2213-ccc4-45df-a04e-c5f87a4c9634?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job-params/providers/Microsoft.Batch/batchAccounts/testgetjobparams/operationResults/61da2213-ccc4-45df-a04e-c5f87a4c9634?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi1wYXJhbXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRqb2JwYXJhbXMvb3BlcmF0aW9uUmVzdWx0cy82MWRhMjIxMy1jY2M0LTQ1ZGYtYTA0ZS1jNWY4N2E0Yzk2MzQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testgetjobparams\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testgetjobparams.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job-params/providers/Microsoft.Batch/batchAccounts/testgetjobparams\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "344" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:15:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "aafb85f4-d05f-4004-a984-6fa1d391d67f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31999" + ], + "x-ms-request-id": [ + "ad01ba25-b1a1-4abe-bcc0-03c1ec5f2515" + ], + "x-ms-correlation-request-id": [ + "ad01ba25-b1a1-4abe-bcc0-03c1ec5f2515" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201525Z:ad01ba25-b1a1-4abe-bcc0-03c1ec5f2515" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:15:25 GMT" + ], + "ETag": [ + "0x8D21DBC97A8FCB1" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job-params/providers/Microsoft.Batch/batchAccounts/testgetjobparams/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi1wYXJhbXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRqb2JwYXJhbXMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testgetjobparams\",\r\n \"primary\": \"2i9VI2YUsUOLomfutlyH0Igt5UZcInjYIITSzFwESBDmpOtKTcZ+3g3LalPtBkIJ+nT3iCYxqP2i5re8s+j1kQ==\",\r\n \"secondary\": \"YHIGjtI7OPpPwd41e03r3ynbjL1e5ZbYQL+A0PwoAoJW1ZHyaWvFOfaB65+BOlVav4tPx5q5h2xj2JzCtMuwJA==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "238" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "d5911d13-985e-4b69-b8e6-db7fa0c23dd0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-request-id": [ + "2fa08eca-5fc6-4d1e-a744-a7783976dd64" + ], + "x-ms-correlation-request-id": [ + "2fa08eca-5fc6-4d1e-a744-a7783976dd64" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201525Z:2fa08eca-5fc6-4d1e-a744-a7783976dd64" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:15:25 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job-params/providers/Microsoft.Batch/batchAccounts/testgetjobparams/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi1wYXJhbXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRqb2JwYXJhbXMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testgetjobparams\",\r\n \"primary\": \"2i9VI2YUsUOLomfutlyH0Igt5UZcInjYIITSzFwESBDmpOtKTcZ+3g3LalPtBkIJ+nT3iCYxqP2i5re8s+j1kQ==\",\r\n \"secondary\": \"YHIGjtI7OPpPwd41e03r3ynbjL1e5ZbYQL+A0PwoAoJW1ZHyaWvFOfaB65+BOlVav4tPx5q5h2xj2JzCtMuwJA==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "238" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "d3bbc3a1-6f71-4064-a4a0-e20ac9f621a5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-request-id": [ + "b2de9c96-6725-4c4e-b8f5-2a7dbf98b420" + ], + "x-ms-correlation-request-id": [ + "b2de9c96-6725-4c4e-b8f5-2a7dbf98b420" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201601Z:b2de9c96-6725-4c4e-b8f5-2a7dbf98b420" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:16:00 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job-params/providers/Microsoft.Batch/batchAccounts/testgetjobparams\",\r\n \"name\": \"testgetjobparams\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "763" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31999" + ], + "x-ms-request-id": [ + "c214e657-c892-47fc-9ba0-366ddfab0698" + ], + "x-ms-correlation-request-id": [ + "c214e657-c892-47fc-9ba0-366ddfab0698" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201600Z:c214e657-c892-47fc-9ba0-366ddfab0698" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:16:00 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job-params/providers/Microsoft.Batch/batchAccounts/testgetjobparams?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi1wYXJhbXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRqb2JwYXJhbXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testgetjobparams\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testgetjobparams.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job-params/providers/Microsoft.Batch/batchAccounts/testgetjobparams\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "344" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:16:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "55ce598e-9a1c-4f24-b0d7-a03b7ff1c2c4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31998" + ], + "x-ms-request-id": [ + "1a27751b-b6a0-4c79-8add-db307f56659c" + ], + "x-ms-correlation-request-id": [ + "1a27751b-b6a0-4c79-8add-db307f56659c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201601Z:1a27751b-b6a0-4c79-8add-db307f56659c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:16:00 GMT" + ], + "ETag": [ + "0x8D21DBCAD0C085F" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job-params/providers/Microsoft.Batch/batchAccounts/testgetjobparams?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi1wYXJhbXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRqb2JwYXJhbXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "be31d170-09b3-4148-add7-38304fb6f2d0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-request-id": [ + "91ad66d6-7b13-4e28-8f51-313a21f980ac" + ], + "x-ms-correlation-request-id": [ + "91ad66d6-7b13-4e28-8f51-313a21f980ac" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201603Z:91ad66d6-7b13-4e28-8f51-313a21f980ac" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:16:02 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job-params/providers/Microsoft.Batch/batchAccounts/testgetjobparams/operationResults/be31d170-09b3-4148-add7-38304fb6f2d0?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-job-params/providers/Microsoft.Batch/batchAccounts/testgetjobparams/operationResults/be31d170-09b3-4148-add7-38304fb6f2d0?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LWpvYi1wYXJhbXMvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRqb2JwYXJhbXMvb3BlcmF0aW9uUmVzdWx0cy9iZTMxZDE3MC0wOWIzLTQxNDgtYWRkNy0zODMwNGZiNmYyZDA/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:16:02 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "a9cab41f-e344-4075-9f6c-c4cbe04ed91d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" + ], + "x-ms-request-id": [ + "02b50cc5-d598-47a8-b35c-0b067c9d5ca5" + ], + "x-ms-correlation-request-id": [ + "02b50cc5-d598-47a8-b35c-0b067c9d5ca5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201603Z:02b50cc5-d598-47a8-b35c-0b067c9d5ca5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:16:02 GMT" + ], + "ETag": [ + "0x8D21DBCAE61E543" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-get-job-params?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZ2V0LWpvYi1wYXJhbXM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "8d3d330d-c973-4a9a-9814-6b402d567011" + ], + "x-ms-correlation-request-id": [ + "8d3d330d-c973-4a9a-9814-6b402d567011" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201604Z:8d3d330d-c973-4a9a-9814-6b402d567011" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:16:04 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9COjJEUEFSQU1TLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9COjJEUEFSQU1TLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVNrOUNPakpFVUVGU1FVMVRMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31998" + ], + "x-ms-request-id": [ + "ea76bc04-5bdd-4e31-ad96-1320aa6d8482" + ], + "x-ms-correlation-request-id": [ + "ea76bc04-5bdd-4e31-ad96-1320aa6d8482" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201604Z:ea76bc04-5bdd-4e31-ad96-1320aa6d8482" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:16:04 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9COjJEUEFSQU1TLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9COjJEUEFSQU1TLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVNrOUNPakpFVUVGU1FVMVRMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" + ], + "x-ms-request-id": [ + "fe28b30c-638e-40be-999a-03bdea91752f" + ], + "x-ms-correlation-request-id": [ + "fe28b30c-638e-40be-999a-03bdea91752f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201619Z:fe28b30c-638e-40be-999a-03bdea91752f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:16:19 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9COjJEUEFSQU1TLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9COjJEUEFSQU1TLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVNrOUNPakpFVUVGU1FVMVRMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-request-id": [ + "6fc5b43b-0fdd-471b-8da3-64e33791af08" + ], + "x-ms-correlation-request-id": [ + "6fc5b43b-0fdd-471b-8da3-64e33791af08" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201635Z:6fc5b43b-0fdd-471b-8da3-64e33791af08" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:16:34 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9COjJEUEFSQU1TLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJESk9COjJEUEFSQU1TLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVNrOUNPakpFVUVGU1FVMVRMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "e8288bba-9265-47bf-9b10-54f982c50501" + ], + "x-ms-correlation-request-id": [ + "e8288bba-9265-47bf-9b10-54f982c50501" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T201650Z:e8288bba-9265-47bf-9b10-54f982c50501" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:16:49 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListAllJobs.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListAllJobs.json new file mode 100644 index 000000000000..d1d5653a515a --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListAllJobs.json @@ -0,0 +1,1646 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-job?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1qb2I/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job\",\r\n \"name\": \"test-list-job\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "179" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-request-id": [ + "a2ad9ab7-25d2-4ad6-bbbf-2c3994a3fed1" + ], + "x-ms-correlation-request-id": [ + "a2ad9ab7-25d2-4ad6-bbbf-2c3994a3fed1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210117Z:a2ad9ab7-25d2-4ad6-bbbf-2c3994a3fed1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:01:17 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job/providers/Microsoft.Batch/batchAccounts/testlistjob?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2IvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9iP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" + ], + "request-id": [ + "68c60309-e805-4d33-a8dc-8529d9d721cf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "cda3e5a6-f543-4d61-b20a-4019c3db94ec" + ], + "x-ms-correlation-request-id": [ + "cda3e5a6-f543-4d61-b20a-4019c3db94ec" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210127Z:cda3e5a6-f543-4d61-b20a-4019c3db94ec" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:01:26 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job/providers/Microsoft.Batch/batchAccounts/testlistjob/operationResults/68c60309-e805-4d33-a8dc-8529d9d721cf?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job/providers/Microsoft.Batch/batchAccounts/testlistjob/operationResults/68c60309-e805-4d33-a8dc-8529d9d721cf?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2IvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9iL29wZXJhdGlvblJlc3VsdHMvNjhjNjAzMDktZTgwNS00ZDMzLWE4ZGMtODUyOWQ5ZDcyMWNmP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistjob\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistjob.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job/providers/Microsoft.Batch/batchAccounts/testlistjob\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "323" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 21:01:27 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "58f479e1-975d-4c85-a1d5-df2656cb2888" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31980" + ], + "x-ms-request-id": [ + "eab8ac98-5212-4c02-9046-39caebbc0f64" + ], + "x-ms-correlation-request-id": [ + "eab8ac98-5212-4c02-9046-39caebbc0f64" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210127Z:eab8ac98-5212-4c02-9046-39caebbc0f64" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:01:26 GMT" + ], + "ETag": [ + "0x8D21DC306418EA6" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job/providers/Microsoft.Batch/batchAccounts/testlistjob/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2IvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9iL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlistjob\",\r\n \"primary\": \"RO5SJlFMVOgFUgUQx6OtfLP6U83G9KM/mal2pRQAQpLjuWNKfRvPiW9gNjjAkSiqo9SFQSLFifxcDzkYdfB7aQ==\",\r\n \"secondary\": \"a6Gkftyo4rfD+uq+gQT/4Qj6kwe66VI3zAQBpIfPIao1/5G9karRUjSuhA66/gbEBFNueDnoagJyP6gtsKbsaA==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "233" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "4113f1fa-28fe-4eb8-8439-1ee33706295e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1188" + ], + "x-ms-request-id": [ + "a94c687b-ba0b-4ff6-b946-1c7b30798593" + ], + "x-ms-correlation-request-id": [ + "a94c687b-ba0b-4ff6-b946-1c7b30798593" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210129Z:a94c687b-ba0b-4ff6-b946-1c7b30798593" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:01:29 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job/providers/Microsoft.Batch/batchAccounts/testlistjob/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2IvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9iL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlistjob\",\r\n \"primary\": \"RO5SJlFMVOgFUgUQx6OtfLP6U83G9KM/mal2pRQAQpLjuWNKfRvPiW9gNjjAkSiqo9SFQSLFifxcDzkYdfB7aQ==\",\r\n \"secondary\": \"a6Gkftyo4rfD+uq+gQT/4Qj6kwe66VI3zAQBpIfPIao1/5G9karRUjSuhA66/gbEBFNueDnoagJyP6gtsKbsaA==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "233" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "bf39213d-1f24-4993-bbb4-5e5409cdfe1f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1187" + ], + "x-ms-request-id": [ + "01a6928c-437e-4b91-9128-e708ac653d0d" + ], + "x-ms-correlation-request-id": [ + "01a6928c-437e-4b91-9128-e708ac653d0d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210309Z:01a6928c-437e-4b91-9128-e708ac653d0d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:03:08 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "f889ec15-b7a3-4af8-841c-93c7e829e216" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 21:01:30 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC307F3645A\",\r\n \"lastModified\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"creationTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T21:02:30.1880922Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 21:01:30 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "14b70311-0d0e-4473-bd18-4d8c7969d760" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 21:01:29 GMT" + ], + "ETag": [ + "0x8D21DC307F3645A" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "7ee27502-82f9-413a-ac39-14ddc01e2e66" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 21:01:30 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC307F3645A\",\r\n \"lastModified\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"creationTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T21:02:30.1880922Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 21:01:30 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "b016653a-5a52-4d6f-b4ed-f6cc41fcdcb2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 21:01:30 GMT" + ], + "ETag": [ + "0x8D21DC307F3645A" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "eaf76ea6-7bb7-4aad-b4d6-1e80f26a0e23" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 21:01:36 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC307F3645A\",\r\n \"lastModified\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"creationTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T21:02:30.1880922Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 21:01:30 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "abc9a004-28e5-4b02-907a-b298627afe1f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 21:01:36 GMT" + ], + "ETag": [ + "0x8D21DC307F3645A" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "fa9fb586-0de7-43ef-814e-c12523e9591a" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 21:01:41 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC307F3645A\",\r\n \"lastModified\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"creationTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T21:02:30.1880922Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 21:01:30 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "7d5f6156-bccb-44cf-8d24-fd15549a3df6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 21:01:42 GMT" + ], + "ETag": [ + "0x8D21DC307F3645A" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "40fcb1b8-1f91-4384-9f58-d49fc75524b1" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 21:01:47 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC307F3645A\",\r\n \"lastModified\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"creationTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T21:02:30.1880922Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 21:01:30 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "7429c2f4-1f02-43cf-a9ba-0e2729290899" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 21:01:47 GMT" + ], + "ETag": [ + "0x8D21DC307F3645A" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "687d8922-8641-4fc6-b7f9-35c35b4d3b1f" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 21:01:52 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC307F3645A\",\r\n \"lastModified\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"creationTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T21:02:30.1880922Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 21:01:30 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "dca76ed7-0ead-423b-8c4b-771e2cd6d71f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 21:01:52 GMT" + ], + "ETag": [ + "0x8D21DC307F3645A" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "3cb8a86d-c3c6-426f-aff9-e27cf7391864" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 21:01:57 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC307F3645A\",\r\n \"lastModified\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"creationTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T21:02:30.1880922Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 21:01:30 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "708b32dc-eec7-496a-8971-f1d8af5dfe65" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 21:01:57 GMT" + ], + "ETag": [ + "0x8D21DC307F3645A" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "b8803744-f716-4222-874f-e878444f38d7" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 21:02:03 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC307F3645A\",\r\n \"lastModified\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"creationTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T21:02:30.1880922Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 21:01:30 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "4e13e717-801d-49d0-98eb-c1993b70d531" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 21:02:02 GMT" + ], + "ETag": [ + "0x8D21DC307F3645A" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "ebcaf9de-78f7-47a4-8180-6c4e922ea563" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 21:02:08 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC307F3645A\",\r\n \"lastModified\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"creationTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T21:02:30.1880922Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 21:01:30 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "714e62c8-10fa-42e8-8290-94c5612b8fb2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 21:02:08 GMT" + ], + "ETag": [ + "0x8D21DC307F3645A" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "2189388a-86fb-4144-9fee-775b540f0d3b" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 21:02:13 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC307F3645A\",\r\n \"lastModified\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"creationTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T21:02:30.1880922Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 21:01:30 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "50b7f5b6-885a-4c02-8827-6e48a7661e1f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 21:02:13 GMT" + ], + "ETag": [ + "0x8D21DC307F3645A" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "bcada7f1-9773-4e31-bb15-5f388df93533" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 21:02:19 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC307F3645A\",\r\n \"lastModified\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"creationTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T21:02:30.1880922Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 21:01:30 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "6792841b-c01b-4f00-b7d0-e1bbfb0edb65" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 21:02:19 GMT" + ], + "ETag": [ + "0x8D21DC307F3645A" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "015dd0c7-eec7-4f3a-8c6f-07131869ef8f" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 21:02:24 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC307F3645A\",\r\n \"lastModified\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"creationTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T21:02:30.1880922Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 21:01:30 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "0fcf63ee-77b3-47ac-b33c-c9193ceecea3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 21:02:23 GMT" + ], + "ETag": [ + "0x8D21DC307F3645A" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "0e6d520c-8aff-456b-9df9-f5edb467dd2a" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 21:02:29 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC307F3645A\",\r\n \"lastModified\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"creationTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T21:03:30.1880922Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 21:01:30 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "be296bec-9b47-4d27-b611-67a01f1706f6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 21:02:30 GMT" + ], + "ETag": [ + "0x8D21DC307F3645A" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "77eaa01f-39b7-4026-85d2-d258cb902ce5" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 21:02:35 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC307F3645A\",\r\n \"lastModified\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"creationTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T21:03:30.1880922Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"name\": \"job-0000000002\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 21:01:30 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "77316f47-2b40-4557-8b69-0f0fdfcc3858" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 21:02:34 GMT" + ], + "ETag": [ + "0x8D21DC307F3645A" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "2ffa2e2d-9c0e-4165-95a4-1f42b4ad067c" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 21:03:09 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC307F3645A\",\r\n \"lastModified\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"creationTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T21:01:30.1880922Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T21:03:30.1880922Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"name\": \"job-0000000002\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 21:01:30 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "3220689d-5fa8-4cf8-92a7-8e930bc6a903" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 21:03:09 GMT" + ], + "ETag": [ + "0x8D21DC307F3645A" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job/providers/Microsoft.Batch/batchAccounts/testlistjob\",\r\n \"name\": \"testlistjob\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "747" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "fb304972-adf7-4877-b2df-0fff53a5fd57" + ], + "x-ms-correlation-request-id": [ + "fb304972-adf7-4877-b2df-0fff53a5fd57" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210307Z:fb304972-adf7-4877-b2df-0fff53a5fd57" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:03:07 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job/providers/Microsoft.Batch/batchAccounts/testlistjob?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2IvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9iP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistjob\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistjob.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job/providers/Microsoft.Batch/batchAccounts/testlistjob\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "323" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 21:03:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "7ec891f3-ae7e-43d2-9028-2e7d60402bd0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31979" + ], + "x-ms-request-id": [ + "de61be3e-dd03-418f-aa98-487c2afcf35e" + ], + "x-ms-correlation-request-id": [ + "de61be3e-dd03-418f-aa98-487c2afcf35e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210307Z:de61be3e-dd03-418f-aa98-487c2afcf35e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:03:07 GMT" + ], + "ETag": [ + "0x8D21DC341F7282C" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem/jobs?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "0d1983fc-e830-41ab-94c4-960868f791b6" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 21:03:08 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000002\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"eTag\": \"0x8D21DC32BBA2CD2\",\r\n \"lastModified\": \"2015-02-23T21:02:30.211093Z\",\r\n \"creationTime\": \"2015-02-23T21:02:30.1889078Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T21:02:30.211093Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-02-23T21:02:30.211093Z\"\r\n }\r\n },\r\n {\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D21DC30850C1F0\",\r\n \"lastModified\": \"2015-02-23T21:01:30.7999728Z\",\r\n \"creationTime\": \"2015-02-23T21:01:30.228048Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-02-23T21:01:30.9259015Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-02-23T21:01:30.2430547Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-02-23T21:01:30.2430547Z\",\r\n \"endTime\": \"2015-02-23T21:01:30.9259015Z\",\r\n \"terminateReason\": \"UserTerminate\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "e74cb7d1-e8ee-4723-b6a3-dd1cc3bcbd2e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 21:03:08 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem/jobs?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "76557b44-9469-412d-9796-1629be20baef" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 21:03:09 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjob.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000002\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"eTag\": \"0x8D21DC32BBA2CD2\",\r\n \"lastModified\": \"2015-02-23T21:02:30.211093Z\",\r\n \"creationTime\": \"2015-02-23T21:02:30.1889078Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T21:02:30.211093Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-02-23T21:02:30.211093Z\"\r\n }\r\n },\r\n {\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testlistjob.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D21DC30850C1F0\",\r\n \"lastModified\": \"2015-02-23T21:01:30.7999728Z\",\r\n \"creationTime\": \"2015-02-23T21:01:30.228048Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-02-23T21:01:30.9259015Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-02-23T21:01:30.2430547Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-02-23T21:01:30.2430547Z\",\r\n \"endTime\": \"2015-02-23T21:01:30.9259015Z\",\r\n \"terminateReason\": \"UserTerminate\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "df2ac564-0bbb-4c68-8d6c-7b1c8c3b86da" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 21:03:09 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job/providers/Microsoft.Batch/batchAccounts/testlistjob?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2IvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9iP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "2a3e48d1-505a-4789-ba1d-92a18057d3b7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1186" + ], + "x-ms-request-id": [ + "23b634d4-0604-4585-877d-8df5cfd19ba5" + ], + "x-ms-correlation-request-id": [ + "23b634d4-0604-4585-877d-8df5cfd19ba5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210315Z:23b634d4-0604-4585-877d-8df5cfd19ba5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:03:14 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job/providers/Microsoft.Batch/batchAccounts/testlistjob/operationResults/2a3e48d1-505a-4789-ba1d-92a18057d3b7?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job/providers/Microsoft.Batch/batchAccounts/testlistjob/operationResults/2a3e48d1-505a-4789-ba1d-92a18057d3b7?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2IvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9iL29wZXJhdGlvblJlc3VsdHMvMmEzZTQ4ZDEtNTA1YS00Nzg5LWJhMWQtOTJhMTgwNTdkM2I3P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 21:03:14 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "918c2b26-629f-42d5-a5dd-4152937b2074" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31978" + ], + "x-ms-request-id": [ + "a80b06d1-577c-40b8-8f83-67eeb53996a5" + ], + "x-ms-correlation-request-id": [ + "a80b06d1-577c-40b8-8f83-67eeb53996a5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210315Z:a80b06d1-577c-40b8-8f83-67eeb53996a5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:03:14 GMT" + ], + "ETag": [ + "0x8D21DC3465C1FE7" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-job?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1qb2I/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-request-id": [ + "3cfb269e-be90-443c-adfe-3a7e80124a4e" + ], + "x-ms-correlation-request-id": [ + "3cfb269e-be90-443c-adfe-3a7e80124a4e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210316Z:3cfb269e-be90-443c-adfe-3a7e80124a4e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:03:16 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRaTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "1334b260-cf54-4671-9d9a-aeb3813c3eb6" + ], + "x-ms-correlation-request-id": [ + "1334b260-cf54-4671-9d9a-aeb3813c3eb6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210316Z:1334b260-cf54-4671-9d9a-aeb3813c3eb6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:03:16 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRaTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-request-id": [ + "06f526ba-bcdc-4d4a-bc9a-672770b59efc" + ], + "x-ms-correlation-request-id": [ + "06f526ba-bcdc-4d4a-bc9a-672770b59efc" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210332Z:06f526ba-bcdc-4d4a-bc9a-672770b59efc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:03:31 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRaTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "c834255f-aa7c-48f8-9646-8d22e83d3b92" + ], + "x-ms-correlation-request-id": [ + "c834255f-aa7c-48f8-9646-8d22e83d3b92" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210347Z:c834255f-aa7c-48f8-9646-8d22e83d3b92" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:03:46 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRaTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "cfbf60aa-355e-482e-a80e-8a14a388c611" + ], + "x-ms-correlation-request-id": [ + "cfbf60aa-355e-482e-a80e-8a14a388c611" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210402Z:cfbf60aa-355e-482e-a80e-8a14a388c611" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:04:01 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobPipeline.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobPipeline.json new file mode 100644 index 000000000000..59b890cb0528 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobPipeline.json @@ -0,0 +1,938 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-job-pipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1qb2ItcGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-pipe\",\r\n \"name\": \"test-list-job-pipe\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "189" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1184" + ], + "x-ms-request-id": [ + "151de94e-c463-4e07-9177-7a6fa46ce8e1" + ], + "x-ms-correlation-request-id": [ + "151de94e-c463-4e07-9177-7a6fa46ce8e1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210529Z:151de94e-c463-4e07-9177-7a6fa46ce8e1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:05:28 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-pipe/providers/Microsoft.Batch/batchAccounts/testlistjobpipe?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItcGlwZS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rqb2JwaXBlP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1183" + ], + "request-id": [ + "73219491-fe3d-4400-b1b3-6422e4f51d8b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a568cbfe-5ce5-44c9-b5e8-ffd6300f6104" + ], + "x-ms-correlation-request-id": [ + "a568cbfe-5ce5-44c9-b5e8-ffd6300f6104" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210533Z:a568cbfe-5ce5-44c9-b5e8-ffd6300f6104" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:05:33 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-pipe/providers/Microsoft.Batch/batchAccounts/testlistjobpipe/operationResults/73219491-fe3d-4400-b1b3-6422e4f51d8b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-pipe/providers/Microsoft.Batch/batchAccounts/testlistjobpipe/operationResults/73219491-fe3d-4400-b1b3-6422e4f51d8b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItcGlwZS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rqb2JwaXBlL29wZXJhdGlvblJlc3VsdHMvNzMyMTk0OTEtZmUzZC00NDAwLWIxYjMtNjQyMmU0ZjUxZDhiP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistjobpipe\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistjobpipe.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-pipe/providers/Microsoft.Batch/batchAccounts/testlistjobpipe\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "340" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 21:05:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "353284cb-cb18-4c09-8ed1-c232a242313a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31981" + ], + "x-ms-request-id": [ + "df816376-c0e2-4214-8276-211eb10c64d6" + ], + "x-ms-correlation-request-id": [ + "df816376-c0e2-4214-8276-211eb10c64d6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210533Z:df816376-c0e2-4214-8276-211eb10c64d6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:05:33 GMT" + ], + "ETag": [ + "0x8D21DC398C7ECA2" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-pipe/providers/Microsoft.Batch/batchAccounts/testlistjobpipe/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItcGlwZS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rqb2JwaXBlL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlistjobpipe\",\r\n \"primary\": \"9zbItqWDH/XPIxWrvLzPSnYLGvBwUnL51uga2HyWkqMLboc7lfKfMOEqw25quK2+/7DVMgZko9rsZhn2XIw3rw==\",\r\n \"secondary\": \"xdGPHCxg5JwU13HnyhmNPDOo1J9Ufi/JvB+sD+i/nbpQW0siT9qBDoVoNlvvsOYmWJ2/LCYQAYcArKShzck9zQ==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "237" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "c418541b-d85a-4ec3-b5ce-a2f8c52e94ab" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1182" + ], + "x-ms-request-id": [ + "593a9960-06f5-4534-9517-8ca572f81bbd" + ], + "x-ms-correlation-request-id": [ + "593a9960-06f5-4534-9517-8ca572f81bbd" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210533Z:593a9960-06f5-4534-9517-8ca572f81bbd" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:05:33 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-pipe/providers/Microsoft.Batch/batchAccounts/testlistjobpipe/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItcGlwZS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rqb2JwaXBlL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlistjobpipe\",\r\n \"primary\": \"9zbItqWDH/XPIxWrvLzPSnYLGvBwUnL51uga2HyWkqMLboc7lfKfMOEqw25quK2+/7DVMgZko9rsZhn2XIw3rw==\",\r\n \"secondary\": \"xdGPHCxg5JwU13HnyhmNPDOo1J9Ufi/JvB+sD+i/nbpQW0siT9qBDoVoNlvvsOYmWJ2/LCYQAYcArKShzck9zQ==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "237" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "feff2f09-1024-4178-a08b-d5cce6c958b5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1181" + ], + "x-ms-request-id": [ + "0172c08d-8987-4181-b261-e74bd580cbef" + ], + "x-ms-correlation-request-id": [ + "0172c08d-8987-4181-b261-e74bd580cbef" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210608Z:0172c08d-8987-4181-b261-e74bd580cbef" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:06:08 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "6d300de0-b170-4934-810e-b3be41e84921" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 21:05:34 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobpipe.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobpipe.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC3996D0F5E\",\r\n \"lastModified\": \"2015-02-23T21:05:34.2550878Z\",\r\n \"creationTime\": \"2015-02-23T21:05:34.2550878Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T21:05:34.2550878Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 21:05:34 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "0bfc30a5-069f-487f-a799-7c2f94c22164" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 21:05:34 GMT" + ], + "ETag": [ + "0x8D21DC3996D0F5E" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "a7d17bbc-27ae-452f-adbc-dbab8e48eb5f" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 21:06:08 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobpipe.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobpipe.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC3996D0F5E\",\r\n \"lastModified\": \"2015-02-23T21:05:34.2550878Z\",\r\n \"creationTime\": \"2015-02-23T21:05:34.2550878Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T21:05:34.2550878Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 21:05:34 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "bf25361c-7a89-4516-88dc-3f0664d8c51c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 21:06:09 GMT" + ], + "ETag": [ + "0x8D21DC3996D0F5E" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-pipe/providers/Microsoft.Batch/batchAccounts/testlistjobpipe\",\r\n \"name\": \"testlistjobpipe\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "760" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31977" + ], + "x-ms-request-id": [ + "d341e43a-13eb-4c0e-b0f4-dc07653a9b65" + ], + "x-ms-correlation-request-id": [ + "d341e43a-13eb-4c0e-b0f4-dc07653a9b65" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210608Z:d341e43a-13eb-4c0e-b0f4-dc07653a9b65" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:06:08 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-pipe/providers/Microsoft.Batch/batchAccounts/testlistjobpipe?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItcGlwZS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rqb2JwaXBlP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistjobpipe\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistjobpipe.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-pipe/providers/Microsoft.Batch/batchAccounts/testlistjobpipe\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "340" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 21:06:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "76a36ec5-4d7e-4829-bcbc-77dd685df0b4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31980" + ], + "x-ms-request-id": [ + "f72af37c-669d-4d60-ab36-322f44c9eb31" + ], + "x-ms-correlation-request-id": [ + "f72af37c-669d-4d60-ab36-322f44c9eb31" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210608Z:f72af37c-669d-4d60-ab36-322f44c9eb31" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:06:07 GMT" + ], + "ETag": [ + "0x8D21DC3AD97108F" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem/jobs?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "9faf520f-7a15-415c-a244-751fb00ee201" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 21:06:09 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobpipe.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testlistjobpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D21DC39978BF20\",\r\n \"lastModified\": \"2015-02-23T21:05:34.3316768Z\",\r\n \"creationTime\": \"2015-02-23T21:05:34.2923958Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T21:05:34.3316768Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-02-23T21:05:34.3316768Z\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "0ba2c25b-0060-41f4-bbe9-caea61cc6d00" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 21:06:09 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-pipe/providers/Microsoft.Batch/batchAccounts/testlistjobpipe?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItcGlwZS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rqb2JwaXBlP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "f7d5cf50-01b5-4484-9705-5097630170ef" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1180" + ], + "x-ms-request-id": [ + "0ca37912-8ad5-43e5-a4c5-3904ae2a33df" + ], + "x-ms-correlation-request-id": [ + "0ca37912-8ad5-43e5-a4c5-3904ae2a33df" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210611Z:0ca37912-8ad5-43e5-a4c5-3904ae2a33df" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:06:10 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-pipe/providers/Microsoft.Batch/batchAccounts/testlistjobpipe/operationResults/f7d5cf50-01b5-4484-9705-5097630170ef?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-pipe/providers/Microsoft.Batch/batchAccounts/testlistjobpipe/operationResults/f7d5cf50-01b5-4484-9705-5097630170ef?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItcGlwZS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rqb2JwaXBlL29wZXJhdGlvblJlc3VsdHMvZjdkNWNmNTAtMDFiNS00NDg0LTk3MDUtNTA5NzYzMDE3MGVmP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 21:06:11 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "bccf902b-2d5e-4561-9801-2632564da88b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31979" + ], + "x-ms-request-id": [ + "5098c597-b8b5-453f-9c62-133d55b3f642" + ], + "x-ms-correlation-request-id": [ + "5098c597-b8b5-453f-9c62-133d55b3f642" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210611Z:5098c597-b8b5-453f-9c62-133d55b3f642" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:06:10 GMT" + ], + "ETag": [ + "0x8D21DC3AF79D50F" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-job-pipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1qb2ItcGlwZT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1183" + ], + "x-ms-request-id": [ + "0902319e-f783-4d0f-b833-cc60b5320e51" + ], + "x-ms-correlation-request-id": [ + "0902319e-f783-4d0f-b833-cc60b5320e51" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210612Z:0902319e-f783-4d0f-b833-cc60b5320e51" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:06:12 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRFBJUEUtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRFBJUEUtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRam95UkZCSlVFVXRSVUZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKbFlYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31976" + ], + "x-ms-request-id": [ + "cac5da1b-6e1b-4cfe-bbdf-fd6c9982f9df" + ], + "x-ms-correlation-request-id": [ + "cac5da1b-6e1b-4cfe-bbdf-fd6c9982f9df" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210612Z:cac5da1b-6e1b-4cfe-bbdf-fd6c9982f9df" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:06:12 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRFBJUEUtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRFBJUEUtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRam95UkZCSlVFVXRSVUZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKbFlYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31975" + ], + "x-ms-request-id": [ + "f9d08ce3-f609-4692-b2bd-700f7b0208c8" + ], + "x-ms-correlation-request-id": [ + "f9d08ce3-f609-4692-b2bd-700f7b0208c8" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210627Z:f9d08ce3-f609-4692-b2bd-700f7b0208c8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:06:27 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRFBJUEUtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRFBJUEUtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRam95UkZCSlVFVXRSVUZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKbFlYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31974" + ], + "x-ms-request-id": [ + "9682b80a-1fd7-4c4c-a655-9262383c5119" + ], + "x-ms-correlation-request-id": [ + "9682b80a-1fd7-4c4c-a655-9262383c5119" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210643Z:9682b80a-1fd7-4c4c-a655-9262383c5119" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:06:42 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRFBJUEUtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRFBJUEUtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRam95UkZCSlVFVXRSVUZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKbFlYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31973" + ], + "x-ms-request-id": [ + "9b6cc7d8-5c7b-4a98-b7f5-025101405f95" + ], + "x-ms-correlation-request-id": [ + "9b6cc7d8-5c7b-4a98-b7f5-025101405f95" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210658Z:9b6cc7d8-5c7b-4a98-b7f5-025101405f95" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:06:57 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobsByFilter.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobsByFilter.json new file mode 100644 index 000000000000..cd0137abf2f0 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobsByFilter.json @@ -0,0 +1,1706 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-job-filter?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1qb2ItZmlsdGVyP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter\",\r\n \"name\": \"test-list-job-filter\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "193" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-request-id": [ + "651a8359-5927-4a4c-a7f2-0c618b472664" + ], + "x-ms-correlation-request-id": [ + "651a8359-5927-4a4c-a7f2-0c618b472664" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205311Z:651a8359-5927-4a4c-a7f2-0c618b472664" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:53:11 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItZmlsdGVyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdGpvYmZpbHRlcj9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" + ], + "request-id": [ + "34158429-f1e8-41f1-b40a-b1c6ce26f30b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "42862103-64c3-4e15-8067-517f4529e4dd" + ], + "x-ms-correlation-request-id": [ + "42862103-64c3-4e15-8067-517f4529e4dd" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205315Z:42862103-64c3-4e15-8067-517f4529e4dd" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:53:15 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter/operationResults/34158429-f1e8-41f1-b40a-b1c6ce26f30b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter/operationResults/34158429-f1e8-41f1-b40a-b1c6ce26f30b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItZmlsdGVyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdGpvYmZpbHRlci9vcGVyYXRpb25SZXN1bHRzLzM0MTU4NDI5LWYxZTgtNDFmMS1iNDBhLWIxYzZjZTI2ZjMwYj9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistjobfilter\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistjobfilter.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "348" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:53:15 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "033c386b-774a-464d-8cac-c37be72fa8d1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "62366188-acb8-4a00-8a9b-a9a5a5b26532" + ], + "x-ms-correlation-request-id": [ + "62366188-acb8-4a00-8a9b-a9a5a5b26532" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205316Z:62366188-acb8-4a00-8a9b-a9a5a5b26532" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:53:15 GMT" + ], + "ETag": [ + "0x8D21DC1E134DFFF" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItZmlsdGVyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdGpvYmZpbHRlci9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlistjobfilter\",\r\n \"primary\": \"XzXqXxu7jmErCdWoa2w2+UM2ZrXBruNGsTFnw5UhmcWDTJSjrxesqprBjI4pwkNkAd0AVH8nCXIZUq4qR2OS0A==\",\r\n \"secondary\": \"jbW7b07zcnU/n9AdKsPJ943IlAJV3cEhYIwsvP4opXBtdzzo9B0O5P8FSmgcDFVPaWtICuFjKphMtJgHKoBiQQ==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "239" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "580dd7fc-9fa7-4b10-aa29-8e05aa6ad8fd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1188" + ], + "x-ms-request-id": [ + "8ec78035-22ac-442f-8005-dfd70fece2a1" + ], + "x-ms-correlation-request-id": [ + "8ec78035-22ac-442f-8005-dfd70fece2a1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205316Z:8ec78035-22ac-442f-8005-dfd70fece2a1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:53:15 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItZmlsdGVyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdGpvYmZpbHRlci9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlistjobfilter\",\r\n \"primary\": \"XzXqXxu7jmErCdWoa2w2+UM2ZrXBruNGsTFnw5UhmcWDTJSjrxesqprBjI4pwkNkAd0AVH8nCXIZUq4qR2OS0A==\",\r\n \"secondary\": \"jbW7b07zcnU/n9AdKsPJ943IlAJV3cEhYIwsvP4opXBtdzzo9B0O5P8FSmgcDFVPaWtICuFjKphMtJgHKoBiQQ==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "239" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "7c86bcad-ff19-433e-a4f2-b267ab3efb17" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1187" + ], + "x-ms-request-id": [ + "606e1795-abae-4268-8150-c5e58556421b" + ], + "x-ms-correlation-request-id": [ + "606e1795-abae-4268-8150-c5e58556421b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205457Z:606e1795-abae-4268-8150-c5e58556421b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:54:56 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "4387c578-4cdc-40d1-a9a0-ecdbe921ff42" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:53:17 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC1E1F56BDE\",\r\n \"lastModified\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"creationTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:54:16.9512414Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:53:16 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "8f8d3036-4836-414a-8e24-96fc1084ce52" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:53:16 GMT" + ], + "ETag": [ + "0x8D21DC1E1F56BDE" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "eb129c1c-5e6a-4e85-998c-545ada57bbc6" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:53:17 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC1E1F56BDE\",\r\n \"lastModified\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"creationTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:54:16.9512414Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:53:16 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "38ef34f2-5b60-4a9b-b097-cf2ccf60bb1e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:53:17 GMT" + ], + "ETag": [ + "0x8D21DC1E1F56BDE" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "c69d0079-b4b6-47cb-9413-44985dc82ef7" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:53:23 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC1E1F56BDE\",\r\n \"lastModified\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"creationTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:54:16.9512414Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:53:16 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "a8a16c36-f2b7-4a4a-9403-2eeb250dad1e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:53:22 GMT" + ], + "ETag": [ + "0x8D21DC1E1F56BDE" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "0241a42a-f4a7-4367-a642-ba6def344e69" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:53:28 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC1E1F56BDE\",\r\n \"lastModified\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"creationTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:54:16.9512414Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:53:16 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "10f77377-bc6f-4996-9d47-a67dc305ae2d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:53:28 GMT" + ], + "ETag": [ + "0x8D21DC1E1F56BDE" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "35a3e2ce-00b7-49f6-8319-1f98c2ac760f" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:53:33 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC1E1F56BDE\",\r\n \"lastModified\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"creationTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:54:16.9512414Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:53:16 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "f116296c-54ee-404e-87c2-0eb52a632d3d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:53:32 GMT" + ], + "ETag": [ + "0x8D21DC1E1F56BDE" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "8ea1109f-1a20-4fd6-b3ce-06e6d44cf7e2" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:53:39 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC1E1F56BDE\",\r\n \"lastModified\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"creationTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:54:16.9512414Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:53:16 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "776a88a9-dfaf-4e4c-95c5-ca03800c706f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:53:39 GMT" + ], + "ETag": [ + "0x8D21DC1E1F56BDE" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "cfd79187-3cde-4d53-b6c8-1a89a9fa4ac9" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:53:44 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC1E1F56BDE\",\r\n \"lastModified\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"creationTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:54:16.9512414Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:53:16 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "7eea4a8d-e8d8-4b2a-b5be-b14bfd766027" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:53:44 GMT" + ], + "ETag": [ + "0x8D21DC1E1F56BDE" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "311a181b-b3fb-4358-ad4f-edd38f26c874" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:53:49 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC1E1F56BDE\",\r\n \"lastModified\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"creationTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:54:16.9512414Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:53:16 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "daaafa67-7786-4b6d-8f78-43c41f4d3aeb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:53:49 GMT" + ], + "ETag": [ + "0x8D21DC1E1F56BDE" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "1948ec99-5172-4263-b3a4-6f8691624ad8" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:53:55 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC1E1F56BDE\",\r\n \"lastModified\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"creationTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:54:16.9512414Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:53:16 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "97d038d6-6715-4d13-ab9d-4be2d2cca8de" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:53:55 GMT" + ], + "ETag": [ + "0x8D21DC1E1F56BDE" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "972b8cf8-4907-4653-933b-27e4202c1b10" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:54:00 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC1E1F56BDE\",\r\n \"lastModified\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"creationTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:54:16.9512414Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:53:16 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "9826d860-03a4-4bae-9d71-ba4103e5fc6b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:54:00 GMT" + ], + "ETag": [ + "0x8D21DC1E1F56BDE" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "42ed279f-e6b7-47ea-8f98-5d14fd24d73b" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:54:05 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC1E1F56BDE\",\r\n \"lastModified\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"creationTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:54:16.9512414Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:53:16 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "77455d90-3b1d-4cd7-8a4b-cb57f127997d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:54:05 GMT" + ], + "ETag": [ + "0x8D21DC1E1F56BDE" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "07979497-c747-4289-afe8-968eecbd45c8" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:54:11 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC1E1F56BDE\",\r\n \"lastModified\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"creationTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:54:16.9512414Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:53:16 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "bc32a67e-47c2-4188-8c59-575885f18848" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:54:11 GMT" + ], + "ETag": [ + "0x8D21DC1E1F56BDE" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "2d0cf259-87f3-470e-abe0-ec3dd5a29caf" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:54:16 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC1E1F56BDE\",\r\n \"lastModified\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"creationTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:54:16.9512414Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:53:16 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "986754e6-a59d-4135-b3d9-39a1a5a32b44" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:54:16 GMT" + ], + "ETag": [ + "0x8D21DC1E1F56BDE" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "5b184a77-cdb1-4a9c-882e-ddd35e193f83" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:54:21 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC1E1F56BDE\",\r\n \"lastModified\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"creationTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:55:16.9512414Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"name\": \"job-0000000002\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:53:16 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "c795da17-b303-4ad5-bb87-9c3d092b7848" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:54:21 GMT" + ], + "ETag": [ + "0x8D21DC1E1F56BDE" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "42acaa0a-0cd0-41bb-9557-3c23455e29da" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:54:57 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC1E1F56BDE\",\r\n \"lastModified\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"creationTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:53:16.9512414Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:55:16.9512414Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"name\": \"job-0000000002\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:53:16 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "b495c466-7dad-48ff-943d-1a4f44a6fc4a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:54:57 GMT" + ], + "ETag": [ + "0x8D21DC1E1F56BDE" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter\",\r\n \"name\": \"testlistjobfilter\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "766" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31985" + ], + "x-ms-request-id": [ + "4ea55307-23df-4d8a-baf9-899989963626" + ], + "x-ms-correlation-request-id": [ + "4ea55307-23df-4d8a-baf9-899989963626" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205456Z:4ea55307-23df-4d8a-baf9-899989963626" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:54:56 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItZmlsdGVyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdGpvYmZpbHRlcj9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistjobfilter\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistjobfilter.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "348" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:54:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "cae2951b-e2f2-445d-8cb3-4c2cc41eb26f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31984" + ], + "x-ms-request-id": [ + "73524816-0863-4a1c-9375-2d5da9c69fc9" + ], + "x-ms-correlation-request-id": [ + "73524816-0863-4a1c-9375-2d5da9c69fc9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205456Z:73524816-0863-4a1c-9375-2d5da9c69fc9" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:54:56 GMT" + ], + "ETag": [ + "0x8D21DC21D4C4C0E" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem/jobs?api-version=2014-10-01.1.0&$filter=state%20eq%20'active'", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMCYkZmlsdGVyPXN0YXRlJTIwZXElMjAlMjdhY3RpdmUlMjc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "b2320f53-73ad-4480-a5dc-ebc07cdef248" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:54:57 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000002\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"eTag\": \"0x8D21DC205BBBDFF\",\r\n \"lastModified\": \"2015-02-23T20:54:16.9712127Z\",\r\n \"creationTime\": \"2015-02-23T20:54:16.9522128Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:54:16.9712127Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-02-23T20:54:16.9712127Z\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "9a982f52-ad1c-4815-a0d0-b0cbe40a1904" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:54:56 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem/jobs?api-version=2014-10-01.1.0&$filter=state%20eq%20'active'", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMCYkZmlsdGVyPXN0YXRlJTIwZXElMjAlMjdhY3RpdmUlMjc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "31ad8142-6153-4b4e-b796-ce06e4ac5083" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:54:57 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobfilter.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000002\",\r\n \"url\": \"https://testlistjobfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"eTag\": \"0x8D21DC205BBBDFF\",\r\n \"lastModified\": \"2015-02-23T20:54:16.9712127Z\",\r\n \"creationTime\": \"2015-02-23T20:54:16.9522128Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:54:16.9712127Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-02-23T20:54:16.9712127Z\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "024b5cec-d77b-4019-b89d-3eb121c683bd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:54:58 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItZmlsdGVyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdGpvYmZpbHRlcj9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "b40a165a-83f5-435e-bdb5-38f7ffa5df83" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1186" + ], + "x-ms-request-id": [ + "debaeec2-4c35-4ee0-8c3a-9feaec179a05" + ], + "x-ms-correlation-request-id": [ + "debaeec2-4c35-4ee0-8c3a-9feaec179a05" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205501Z:debaeec2-4c35-4ee0-8c3a-9feaec179a05" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:55:00 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter/operationResults/b40a165a-83f5-435e-bdb5-38f7ffa5df83?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter/operationResults/b40a165a-83f5-435e-bdb5-38f7ffa5df83?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItZmlsdGVyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdGpvYmZpbHRlci9vcGVyYXRpb25SZXN1bHRzL2I0MGExNjVhLTgzZjUtNDM1ZS1iZGI1LTM4ZjdmZmE1ZGY4Mz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "a24d8f84-8d10-4de3-baae-d2cdc32a54ae" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31983" + ], + "x-ms-request-id": [ + "f998f2ad-6997-4c18-9782-ca1c8c0cb6dd" + ], + "x-ms-correlation-request-id": [ + "f998f2ad-6997-4c18-9782-ca1c8c0cb6dd" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205501Z:f998f2ad-6997-4c18-9782-ca1c8c0cb6dd" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:55:00 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter/operationResults/b40a165a-83f5-435e-bdb5-38f7ffa5df83?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-filter/providers/Microsoft.Batch/batchAccounts/testlistjobfilter/operationResults/b40a165a-83f5-435e-bdb5-38f7ffa5df83?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItZmlsdGVyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdGpvYmZpbHRlci9vcGVyYXRpb25SZXN1bHRzL2I0MGExNjVhLTgzZjUtNDM1ZS1iZGI1LTM4ZjdmZmE1ZGY4Mz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:55:16 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "30d9197a-bd63-43f6-89e9-cddcefc61b0e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31982" + ], + "x-ms-request-id": [ + "8da2678f-a0da-42fa-9c20-e28ff5609757" + ], + "x-ms-correlation-request-id": [ + "8da2678f-a0da-42fa-9c20-e28ff5609757" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205516Z:8da2678f-a0da-42fa-9c20-e28ff5609757" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:55:16 GMT" + ], + "ETag": [ + "0x8D21DC22927D75A" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-job-filter?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1qb2ItZmlsdGVyP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1185" + ], + "x-ms-request-id": [ + "501ef233-f2b6-45b7-9c56-6c9c4fbe10f5" + ], + "x-ms-correlation-request-id": [ + "501ef233-f2b6-45b7-9c56-6c9c4fbe10f5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205518Z:501ef233-f2b6-45b7-9c56-6c9c4fbe10f5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:55:17 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyREZJTFRFUi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyREZJTFRFUi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRam95UkVaSlRGUkZVaTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31981" + ], + "x-ms-request-id": [ + "3e0f368d-7805-4fc4-8cee-246fc7b7eed6" + ], + "x-ms-correlation-request-id": [ + "3e0f368d-7805-4fc4-8cee-246fc7b7eed6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205518Z:3e0f368d-7805-4fc4-8cee-246fc7b7eed6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:55:17 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyREZJTFRFUi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyREZJTFRFUi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRam95UkVaSlRGUkZVaTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31980" + ], + "x-ms-request-id": [ + "75c28e84-66eb-47b7-9401-cc36e98e3944" + ], + "x-ms-correlation-request-id": [ + "75c28e84-66eb-47b7-9401-cc36e98e3944" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205533Z:75c28e84-66eb-47b7-9401-cc36e98e3944" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:55:33 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyREZJTFRFUi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyREZJTFRFUi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRam95UkVaSlRGUkZVaTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31979" + ], + "x-ms-request-id": [ + "151e557e-63c5-45b9-b030-a35eb2b9f8e1" + ], + "x-ms-correlation-request-id": [ + "151e557e-63c5-45b9-b030-a35eb2b9f8e1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205548Z:151e557e-63c5-45b9-b030-a35eb2b9f8e1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:55:48 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyREZJTFRFUi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyREZJTFRFUi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRam95UkVaSlRGUkZVaTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31978" + ], + "x-ms-request-id": [ + "e06e019e-0158-43e8-b93a-e51959a5db67" + ], + "x-ms-correlation-request-id": [ + "e06e019e-0158-43e8-b93a-e51959a5db67" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205603Z:e06e019e-0158-43e8-b93a-e51959a5db67" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:56:03 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobsWithMaxCount.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobsWithMaxCount.json new file mode 100644 index 000000000000..ae4fa1f81adf --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.JobTests/TestListJobsWithMaxCount.json @@ -0,0 +1,1706 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-job-maxcount?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1qb2ItbWF4Y291bnQ/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount\",\r\n \"name\": \"test-list-job-maxcount\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "197" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1185" + ], + "x-ms-request-id": [ + "8e5a3f19-c0f8-4662-b7b8-f6c8a741cec9" + ], + "x-ms-correlation-request-id": [ + "8e5a3f19-c0f8-4662-b7b8-f6c8a741cec9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205719Z:8e5a3f19-c0f8-4662-b7b8-f6c8a741cec9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:57:19 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItbWF4Y291bnQvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9ibWF4Y291bnQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "request-id": [ + "175c5542-a36d-40b1-8f3d-14c4d4906fea" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "166df322-898d-400a-afa3-1294d82140a0" + ], + "x-ms-correlation-request-id": [ + "166df322-898d-400a-afa3-1294d82140a0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205722Z:166df322-898d-400a-afa3-1294d82140a0" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:57:22 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount/operationResults/175c5542-a36d-40b1-8f3d-14c4d4906fea?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount/operationResults/175c5542-a36d-40b1-8f3d-14c4d4906fea?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItbWF4Y291bnQvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9ibWF4Y291bnQvb3BlcmF0aW9uUmVzdWx0cy8xNzVjNTU0Mi1hMzZkLTQwYjEtOGYzZC0xNGM0ZDQ5MDZmZWE/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistjobmaxcount\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistjobmaxcount.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "356" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:57:22 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "792b4701-06b9-452d-a5aa-b968f6ea3c65" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "67c210cf-6cef-4880-a0e3-642a37b5c651" + ], + "x-ms-correlation-request-id": [ + "67c210cf-6cef-4880-a0e3-642a37b5c651" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205722Z:67c210cf-6cef-4880-a0e3-642a37b5c651" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:57:22 GMT" + ], + "ETag": [ + "0x8D21DC27436FC52" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItbWF4Y291bnQvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9ibWF4Y291bnQvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlistjobmaxcount\",\r\n \"primary\": \"qVkYbcnAAeHK1Eb/H8hlj0UDEO/4GFWxX+SDxJrMMuds7JPlr1akIVwwXV5ZxgSKsGMaj2TZNgoHR28koe3wQQ==\",\r\n \"secondary\": \"MB37tcpbi9sIaHRvTV1lYLRrTajl3F4gXJrph3SNl0adIUHNsxr/joSaxViHN8LfpZFocJ1wIKLVraiEFuXjog==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "241" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "071e46f0-9525-48cc-bf6a-23f6e5eeb919" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-request-id": [ + "b35c8b31-86ae-475b-93d2-1ee1d04c9704" + ], + "x-ms-correlation-request-id": [ + "b35c8b31-86ae-475b-93d2-1ee1d04c9704" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205722Z:b35c8b31-86ae-475b-93d2-1ee1d04c9704" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:57:22 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItbWF4Y291bnQvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9ibWF4Y291bnQvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlistjobmaxcount\",\r\n \"primary\": \"qVkYbcnAAeHK1Eb/H8hlj0UDEO/4GFWxX+SDxJrMMuds7JPlr1akIVwwXV5ZxgSKsGMaj2TZNgoHR28koe3wQQ==\",\r\n \"secondary\": \"MB37tcpbi9sIaHRvTV1lYLRrTajl3F4gXJrph3SNl0adIUHNsxr/joSaxViHN8LfpZFocJ1wIKLVraiEFuXjog==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "241" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "cd264786-0872-4325-be54-facc35185852" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-request-id": [ + "9b089e06-d762-4df4-bb22-b373965fabbe" + ], + "x-ms-correlation-request-id": [ + "9b089e06-d762-4df4-bb22-b373965fabbe" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205859Z:9b089e06-d762-4df4-bb22-b373965fabbe" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:58:58 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "e9130724-ad89-4ba7-aa30-2c65d27e4d0f" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:57:23 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC274F49B80\",\r\n \"lastModified\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"creationTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:58:23.5709824Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:57:23 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "4f1c717a-13b0-42fb-a574-e6119381e1fb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:57:23 GMT" + ], + "ETag": [ + "0x8D21DC274F49B80" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "c790f6d4-d933-492d-b224-bc70b8bd99af" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:57:24 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC274F49B80\",\r\n \"lastModified\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"creationTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:58:23.5709824Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:57:23 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "c4d5a583-f377-4106-ab8a-09bbd231c917" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:57:23 GMT" + ], + "ETag": [ + "0x8D21DC274F49B80" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "e0f1c007-5559-4f4b-8400-fd09037ce53e" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:57:29 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC274F49B80\",\r\n \"lastModified\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"creationTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:58:23.5709824Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:57:23 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "61c58181-25b6-4ffb-b35c-4658f4c6ec7d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:57:30 GMT" + ], + "ETag": [ + "0x8D21DC274F49B80" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "329760bb-311a-4c8a-b068-7fcaa949edd6" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:57:35 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC274F49B80\",\r\n \"lastModified\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"creationTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:58:23.5709824Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:57:23 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "009249dd-ab80-4033-a008-d9aad68e4ebb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:57:35 GMT" + ], + "ETag": [ + "0x8D21DC274F49B80" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "8047c120-8827-45ef-bb76-b730413fb1b8" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:57:40 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC274F49B80\",\r\n \"lastModified\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"creationTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:58:23.5709824Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:57:23 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "3da1b8a0-074c-4781-9c59-15b31ed0e07f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:57:39 GMT" + ], + "ETag": [ + "0x8D21DC274F49B80" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "0756606c-1569-4e5d-ae87-c44ce41fec6c" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:57:45 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC274F49B80\",\r\n \"lastModified\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"creationTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:58:23.5709824Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:57:23 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "8d00be4a-e3ae-46f3-a603-1a639ed46dc1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:57:46 GMT" + ], + "ETag": [ + "0x8D21DC274F49B80" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "6cea3b25-b485-4374-9783-c356b9e00b0e" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:57:51 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC274F49B80\",\r\n \"lastModified\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"creationTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:58:23.5709824Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:57:23 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "ed9fb44f-5317-4e6a-8796-26e048ba03b4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:57:51 GMT" + ], + "ETag": [ + "0x8D21DC274F49B80" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "a70466b4-f038-4706-aa24-db27bb0d7cd4" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:57:56 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC274F49B80\",\r\n \"lastModified\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"creationTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:58:23.5709824Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:57:23 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "c11e62f2-8237-44fe-af0b-fce46a1c6960" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:57:56 GMT" + ], + "ETag": [ + "0x8D21DC274F49B80" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "7c606dc8-7def-43d7-9521-b8d2bbb92eda" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:58:01 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC274F49B80\",\r\n \"lastModified\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"creationTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:58:23.5709824Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:57:23 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "3efc98cb-b328-4bc9-8b56-fe7e9061b1a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:58:01 GMT" + ], + "ETag": [ + "0x8D21DC274F49B80" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "c3ef278a-5b86-4edd-ba89-3697eae57e0b" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:58:07 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC274F49B80\",\r\n \"lastModified\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"creationTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:58:23.5709824Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:57:23 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "a273242e-a043-4608-8312-3b7521ae3804" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:58:07 GMT" + ], + "ETag": [ + "0x8D21DC274F49B80" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "ebe3fe98-b709-45c7-8e6f-cd9b00527820" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:58:12 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC274F49B80\",\r\n \"lastModified\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"creationTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:58:23.5709824Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:57:23 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "df6a3c74-e16b-4f6f-b078-eb1bfe9d7dbe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:58:11 GMT" + ], + "ETag": [ + "0x8D21DC274F49B80" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "06072ed4-92fb-4abb-bc4a-ba6bf7078d17" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:58:17 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC274F49B80\",\r\n \"lastModified\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"creationTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:58:23.5709824Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:57:23 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "9e964e07-dd53-44ec-85b7-33e720b6d9f8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:58:17 GMT" + ], + "ETag": [ + "0x8D21DC274F49B80" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "f13c4eff-6d74-473c-aac4-3a828c4d1427" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:58:23 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC274F49B80\",\r\n \"lastModified\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"creationTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:58:23.5709824Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:57:23 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "1ce8f477-10c9-49bc-b11e-a81f986c541d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:58:23 GMT" + ], + "ETag": [ + "0x8D21DC274F49B80" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "c9f476c3-f4f0-4379-838b-03329d555d5c" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:58:28 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC274F49B80\",\r\n \"lastModified\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"creationTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:59:23.5709824Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"name\": \"job-0000000002\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:57:23 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "01ac8152-38f1-4627-a53b-6a1ab4d78d24" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:58:27 GMT" + ], + "ETag": [ + "0x8D21DC274F49B80" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "ee5319d7-6d16-4ce8-b8f3-aafe0418efff" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:59:00 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DC274F49B80\",\r\n \"lastModified\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"creationTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:57:23.5709824Z\",\r\n \"schedule\": {\r\n \"recurrenceInterval\": \"PT1M\"\r\n },\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"nextRunTime\": \"2015-02-23T20:59:23.5709824Z\",\r\n \"recentJob\": {\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"name\": \"job-0000000002\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:57:23 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "562946f5-4d82-44f7-b186-23e6bb320a2f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:58:59 GMT" + ], + "ETag": [ + "0x8D21DC274F49B80" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount\",\r\n \"name\": \"testlistjobmaxcount\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "772" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "84a7a05b-416e-4e7f-95c6-ad2c52656169" + ], + "x-ms-correlation-request-id": [ + "84a7a05b-416e-4e7f-95c6-ad2c52656169" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205859Z:84a7a05b-416e-4e7f-95c6-ad2c52656169" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:58:58 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItbWF4Y291bnQvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9ibWF4Y291bnQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistjobmaxcount\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistjobmaxcount.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "356" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:58:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "7ba128ee-2520-49be-a77e-dac42c35d65d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "85fcebed-b0fb-4faa-96a6-4aff9d3a891b" + ], + "x-ms-correlation-request-id": [ + "85fcebed-b0fb-4faa-96a6-4aff9d3a891b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205859Z:85fcebed-b0fb-4faa-96a6-4aff9d3a891b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:58:58 GMT" + ], + "ETag": [ + "0x8D21DC2ADED1889" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem/jobs?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "2e691769-951d-4468-a0cf-bdfe6ce5f98c" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:58:59 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000002\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"eTag\": \"0x8D21DC298BA5040\",\r\n \"lastModified\": \"2015-02-23T20:58:23.5869248Z\",\r\n \"creationTime\": \"2015-02-23T20:58:23.5719251Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:58:23.5869248Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-02-23T20:58:23.5869248Z\"\r\n }\r\n },\r\n {\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D21DC2754F8760\",\r\n \"lastModified\": \"2015-02-23T20:57:24.1668448Z\",\r\n \"creationTime\": \"2015-02-23T20:57:23.6059561Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-02-23T20:57:24.2048372Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-02-23T20:57:23.7994336Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-02-23T20:57:23.7994336Z\",\r\n \"endTime\": \"2015-02-23T20:57:24.2048372Z\",\r\n \"terminateReason\": \"UserTerminate\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "e361c92a-4dbb-44c0-ad6a-467bf576e7b5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:58:59 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem/jobs?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "4ee181c3-f8f0-4c14-b988-90ec406cf90e" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 20:59:00 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistjobmaxcount.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000002\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000002\",\r\n \"eTag\": \"0x8D21DC298BA5040\",\r\n \"lastModified\": \"2015-02-23T20:58:23.5869248Z\",\r\n \"creationTime\": \"2015-02-23T20:58:23.5719251Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T20:58:23.5869248Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-02-23T20:58:23.5869248Z\"\r\n }\r\n },\r\n {\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testlistjobmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D21DC2754F8760\",\r\n \"lastModified\": \"2015-02-23T20:57:24.1668448Z\",\r\n \"creationTime\": \"2015-02-23T20:57:23.6059561Z\",\r\n \"state\": \"completed\",\r\n \"stateTransitionTime\": \"2015-02-23T20:57:24.2048372Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2015-02-23T20:57:23.7994336Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-02-23T20:57:23.7994336Z\",\r\n \"endTime\": \"2015-02-23T20:57:24.2048372Z\",\r\n \"terminateReason\": \"UserTerminate\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "689b0a71-1744-4e78-9c67-6b77d39804ef" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 20:59:00 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItbWF4Y291bnQvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9ibWF4Y291bnQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "e0921527-3b79-4183-b544-f1ae089e8f9e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-request-id": [ + "fcbe49e2-6347-47c8-8dcf-577b9c71b211" + ], + "x-ms-correlation-request-id": [ + "fcbe49e2-6347-47c8-8dcf-577b9c71b211" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205903Z:fcbe49e2-6347-47c8-8dcf-577b9c71b211" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:59:02 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount/operationResults/e0921527-3b79-4183-b544-f1ae089e8f9e?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount/operationResults/e0921527-3b79-4183-b544-f1ae089e8f9e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItbWF4Y291bnQvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9ibWF4Y291bnQvb3BlcmF0aW9uUmVzdWx0cy9lMDkyMTUyNy0zYjc5LTQxODMtYjU0NC1mMWFlMDg5ZThmOWU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "a36a2389-2931-4c15-90f7-7ecde6ab26c6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31985" + ], + "x-ms-request-id": [ + "1b7ba0a3-3566-4809-9198-857a2296636b" + ], + "x-ms-correlation-request-id": [ + "1b7ba0a3-3566-4809-9198-857a2296636b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205903Z:1b7ba0a3-3566-4809-9198-857a2296636b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:59:02 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount/operationResults/e0921527-3b79-4183-b544-f1ae089e8f9e?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-job-maxcount/providers/Microsoft.Batch/batchAccounts/testlistjobmaxcount/operationResults/e0921527-3b79-4183-b544-f1ae089e8f9e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1qb2ItbWF4Y291bnQvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0am9ibWF4Y291bnQvb3BlcmF0aW9uUmVzdWx0cy9lMDkyMTUyNy0zYjc5LTQxODMtYjU0NC1mMWFlMDg5ZThmOWU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 20:59:17 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "95ee6202-f02a-442b-821c-5b9f00dca2aa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31984" + ], + "x-ms-request-id": [ + "59a5f119-8a28-4c12-ba5d-ec2b54354546" + ], + "x-ms-correlation-request-id": [ + "59a5f119-8a28-4c12-ba5d-ec2b54354546" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205918Z:59a5f119-8a28-4c12-ba5d-ec2b54354546" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:59:17 GMT" + ], + "ETag": [ + "0x8D21DC2B921E20D" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-job-maxcount?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1qb2ItbWF4Y291bnQ/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1184" + ], + "x-ms-request-id": [ + "ea773b67-fc51-4091-92dd-4d2cc55d4bcc" + ], + "x-ms-correlation-request-id": [ + "ea773b67-fc51-4091-92dd-4d2cc55d4bcc" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205920Z:ea773b67-fc51-4091-92dd-4d2cc55d4bcc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:59:19 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRE1BWENPVU5ULUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRE1BWENPVU5ULUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRam95UkUxQldFTlBWVTVVTFVWQlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2laV0Z6ZEhWekluMD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31985" + ], + "x-ms-request-id": [ + "e74a7437-d406-4b41-a216-2e10a87a38e5" + ], + "x-ms-correlation-request-id": [ + "e74a7437-d406-4b41-a216-2e10a87a38e5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205920Z:e74a7437-d406-4b41-a216-2e10a87a38e5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:59:19 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRE1BWENPVU5ULUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRE1BWENPVU5ULUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRam95UkUxQldFTlBWVTVVTFVWQlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2laV0Z6ZEhWekluMD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31984" + ], + "x-ms-request-id": [ + "81fd8b1e-93e5-400d-bcd5-da7d36507d95" + ], + "x-ms-correlation-request-id": [ + "81fd8b1e-93e5-400d-bcd5-da7d36507d95" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205935Z:81fd8b1e-93e5-400d-bcd5-da7d36507d95" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:59:34 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRE1BWENPVU5ULUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRE1BWENPVU5ULUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRam95UkUxQldFTlBWVTVVTFVWQlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2laV0Z6ZEhWekluMD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31983" + ], + "x-ms-request-id": [ + "55c7f472-12af-4033-b55e-20df2dffac85" + ], + "x-ms-correlation-request-id": [ + "55c7f472-12af-4033-b55e-20df2dffac85" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T205950Z:55c7f472-12af-4033-b55e-20df2dffac85" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 20:59:49 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRE1BWENPVU5ULUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyREpPQjoyRE1BWENPVU5ULUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJFcFBRam95UkUxQldFTlBWVTVVTFVWQlUxUlZVeUlzSW1wdllreHZZMkYwYVc5dUlqb2laV0Z6ZEhWekluMD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31982" + ], + "x-ms-request-id": [ + "3d10492c-915d-4b9f-b3f2-522e0c6b663e" + ], + "x-ms-correlation-request-id": [ + "3d10492c-915d-4b9f-b3f2-522e0c6b663e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T210005Z:3d10492c-915d-4b9f-b3f2-522e0c6b663e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 21:00:05 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestGetPoolByName.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestGetPoolByName.json new file mode 100644 index 000000000000..a8ae07f360ee --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestGetPoolByName.json @@ -0,0 +1,2162 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-get-pool?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZ2V0LXBvb2w/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool\",\r\n \"name\": \"test-get-pool\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "179" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "80ae17ef-d4fb-4ca3-a183-b9e237923ad8" + ], + "x-ms-correlation-request-id": [ + "80ae17ef-d4fb-4ca3-a183-b9e237923ad8" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010258Z:80ae17ef-d4fb-4ca3-a183-b9e237923ad8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:02:58 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "request-id": [ + "7f989a2d-c7e1-4050-9961-9a3f405d0ae5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "0181c36a-20f5-4c2f-8679-c26f7fe62345" + ], + "x-ms-correlation-request-id": [ + "0181c36a-20f5-4c2f-8679-c26f7fe62345" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010301Z:0181c36a-20f5-4c2f-8679-c26f7fe62345" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:03:01 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/7f989a2d-c7e1-4050-9961-9a3f405d0ae5?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/7f989a2d-c7e1-4050-9961-9a3f405d0ae5?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvN2Y5ODlhMmQtYzdlMS00MDUwLTk5NjEtOWEzZjQwNWQwYWU1P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testgetpool\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testgetpool.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "323" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Sat, 21 Feb 2015 01:03:01 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "41282268-8124-4733-abfb-04a41a597295" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "cd2e2052-2800-457a-878b-a1db904cf317" + ], + "x-ms-correlation-request-id": [ + "cd2e2052-2800-457a-878b-a1db904cf317" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010302Z:cd2e2052-2800-457a-878b-a1db904cf317" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:03:01 GMT" + ], + "ETag": [ + "0x8D21B89465723AC" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testgetpool\",\r\n \"primary\": \"1uivnwMwaSPsIOpXPEFtDubjRgBReBZrwvaOJtwRAVyeP9B2cIAIzXM3k+uVBiHXBFJpp2SHFWI4Gt3Op0jIcg==\",\r\n \"secondary\": \"SQQsckLp+mcfdK3wumsJeQrzT5IaaFI7Zw6uwaG3+RVDd4T7GyU1CrT2Xilj7WQXZYoIj/RlD83UGUwPTIQQ8A==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "233" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "a2197811-1b4c-41f8-9ccf-c9344e4ae87e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-request-id": [ + "7fb5b8d6-2536-477e-85bb-d96805522a70" + ], + "x-ms-correlation-request-id": [ + "7fb5b8d6-2536-477e-85bb-d96805522a70" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010302Z:7fb5b8d6-2536-477e-85bb-d96805522a70" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:03:01 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testgetpool\",\r\n \"primary\": \"1uivnwMwaSPsIOpXPEFtDubjRgBReBZrwvaOJtwRAVyeP9B2cIAIzXM3k+uVBiHXBFJpp2SHFWI4Gt3Op0jIcg==\",\r\n \"secondary\": \"SQQsckLp+mcfdK3wumsJeQrzT5IaaFI7Zw6uwaG3+RVDd4T7GyU1CrT2Xilj7WQXZYoIj/RlD83UGUwPTIQQ8A==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "233" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "a2032501-3005-4a88-b76a-a25e56a7f6d5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-request-id": [ + "d259d71f-355a-4112-a721-557149b2cacf" + ], + "x-ms-correlation-request-id": [ + "d259d71f-355a-4112-a721-557149b2cacf" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010331Z:d259d71f-355a-4112-a721-557149b2cacf" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:03:31 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool\",\r\n \"name\": \"testgetpool\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "747" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31984" + ], + "x-ms-request-id": [ + "88768131-6149-400e-8db7-f8dff4ff0daf" + ], + "x-ms-correlation-request-id": [ + "88768131-6149-400e-8db7-f8dff4ff0daf" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010331Z:88768131-6149-400e-8db7-f8dff4ff0daf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:03:31 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testgetpool\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testgetpool.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "323" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Sat, 21 Feb 2015 01:03:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "ae5d5057-0088-431d-94a5-72d8a5b45dd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "ddc0cdd0-c931-425b-ba7e-0e42e995180a" + ], + "x-ms-correlation-request-id": [ + "ddc0cdd0-c931-425b-ba7e-0e42e995180a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010331Z:ddc0cdd0-c931-425b-ba7e-0e42e995180a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:03:31 GMT" + ], + "ETag": [ + "0x8D21B8957F43C5F" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools/testName?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzL3Rlc3ROYW1lP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "46d1f792-c085-48ac-bc36-3674ef37eff6" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Sat, 21 Feb 2015 01:03:31 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testgetpool.batch.core.windows.net/$metadata#pools/@Element\",\r\n \"name\": \"testName\",\r\n \"url\": \"https://testgetpool.batch.core.windows.net/pools/testName\",\r\n \"eTag\": \"0x8D21B894793DF55\",\r\n \"lastModified\": \"2015-02-21T01:03:03.8004053Z\",\r\n \"creationTime\": \"2015-02-21T01:03:03.8004053Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-21T01:03:03.8004053Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-02-21T01:03:03.8004053Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Sat, 21 Feb 2015 01:03:03 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "af6bf470-9d8c-4365-92af-06eebcdc5467" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Sat, 21 Feb 2015 01:03:31 GMT" + ], + "ETag": [ + "0x8D21B894793DF55" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "5ff5d4dd-2174-4a7b-8a07-d1101006113d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-request-id": [ + "45c84c95-e342-4ac0-830a-27c52fe9a67a" + ], + "x-ms-correlation-request-id": [ + "45c84c95-e342-4ac0-830a-27c52fe9a67a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010334Z:45c84c95-e342-4ac0-830a-27c52fe9a67a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:03:33 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNWZmNWQ0ZGQtMjE3NC00YTdiLThhMDctZDExMDEwMDYxMTNkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "c8a26626-18fb-4286-8136-8ae40ba46da8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "94d663f3-3e4e-408d-bf12-9297205441ec" + ], + "x-ms-correlation-request-id": [ + "94d663f3-3e4e-408d-bf12-9297205441ec" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010334Z:94d663f3-3e4e-408d-bf12-9297205441ec" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:03:34 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNWZmNWQ0ZGQtMjE3NC00YTdiLThhMDctZDExMDEwMDYxMTNkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "7636cda3-9662-4a08-9d83-1248795e81ec" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "a9c823b7-6708-458c-acb0-10ed63198c56" + ], + "x-ms-correlation-request-id": [ + "a9c823b7-6708-458c-acb0-10ed63198c56" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010349Z:a9c823b7-6708-458c-acb0-10ed63198c56" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:03:48 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNWZmNWQ0ZGQtMjE3NC00YTdiLThhMDctZDExMDEwMDYxMTNkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "2a353688-07f1-41d5-8caa-fe2479e3d6a3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-request-id": [ + "ebc49142-bd53-4729-b7d1-f0f6f324b8b3" + ], + "x-ms-correlation-request-id": [ + "ebc49142-bd53-4729-b7d1-f0f6f324b8b3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010404Z:ebc49142-bd53-4729-b7d1-f0f6f324b8b3" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:04:04 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNWZmNWQ0ZGQtMjE3NC00YTdiLThhMDctZDExMDEwMDYxMTNkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "9b701c15-f0da-4d70-b5c0-59f37e3548d6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "f04f8658-19a4-4a10-808f-9ba598dd1687" + ], + "x-ms-correlation-request-id": [ + "f04f8658-19a4-4a10-808f-9ba598dd1687" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010420Z:f04f8658-19a4-4a10-808f-9ba598dd1687" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:04:19 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNWZmNWQ0ZGQtMjE3NC00YTdiLThhMDctZDExMDEwMDYxMTNkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "8b99b5dc-8fd3-4187-814b-382a51e8de9f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "3b7c6d69-d0ad-4825-98eb-3b0dcf9a0bd7" + ], + "x-ms-correlation-request-id": [ + "3b7c6d69-d0ad-4825-98eb-3b0dcf9a0bd7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010435Z:3b7c6d69-d0ad-4825-98eb-3b0dcf9a0bd7" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:04:35 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNWZmNWQ0ZGQtMjE3NC00YTdiLThhMDctZDExMDEwMDYxMTNkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "85ba7a53-0f7c-4c86-b685-227ee5b99b1d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "46abf870-523d-4470-b7f0-3f93c6785b79" + ], + "x-ms-correlation-request-id": [ + "46abf870-523d-4470-b7f0-3f93c6785b79" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010450Z:46abf870-523d-4470-b7f0-3f93c6785b79" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:04:49 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNWZmNWQ0ZGQtMjE3NC00YTdiLThhMDctZDExMDEwMDYxMTNkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "f30095ed-f6c0-4bb5-9f58-38712e1b6d4f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "10477f54-dec0-4d47-a24b-1ae9755e092b" + ], + "x-ms-correlation-request-id": [ + "10477f54-dec0-4d47-a24b-1ae9755e092b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010505Z:10477f54-dec0-4d47-a24b-1ae9755e092b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:05:04 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNWZmNWQ0ZGQtMjE3NC00YTdiLThhMDctZDExMDEwMDYxMTNkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "cdb0633b-ab67-49dd-bdf2-17253b1a75c0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31985" + ], + "x-ms-request-id": [ + "32e3cb6c-dcd0-4fc8-b822-75f831d7b513" + ], + "x-ms-correlation-request-id": [ + "32e3cb6c-dcd0-4fc8-b822-75f831d7b513" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010520Z:32e3cb6c-dcd0-4fc8-b822-75f831d7b513" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:05:20 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNWZmNWQ0ZGQtMjE3NC00YTdiLThhMDctZDExMDEwMDYxMTNkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "9570b8a8-4046-4a87-b0be-3fc0074ec9a0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31984" + ], + "x-ms-request-id": [ + "d6bd3e06-03c1-4bf8-afe7-bbb75d772bfb" + ], + "x-ms-correlation-request-id": [ + "d6bd3e06-03c1-4bf8-afe7-bbb75d772bfb" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010535Z:d6bd3e06-03c1-4bf8-afe7-bbb75d772bfb" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:05:35 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNWZmNWQ0ZGQtMjE3NC00YTdiLThhMDctZDExMDEwMDYxMTNkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "b78a459a-7465-4863-94ec-d23283063f94" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31982" + ], + "x-ms-request-id": [ + "dfe9f226-1ec1-4295-9dfd-8095be5171bd" + ], + "x-ms-correlation-request-id": [ + "dfe9f226-1ec1-4295-9dfd-8095be5171bd" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010551Z:dfe9f226-1ec1-4295-9dfd-8095be5171bd" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:05:50 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNWZmNWQ0ZGQtMjE3NC00YTdiLThhMDctZDExMDEwMDYxMTNkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "de87cd6b-8b63-48d4-91b5-5a415cf09295" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31981" + ], + "x-ms-request-id": [ + "5e7a7a39-e854-4d32-a0db-bcf6b35cc003" + ], + "x-ms-correlation-request-id": [ + "5e7a7a39-e854-4d32-a0db-bcf6b35cc003" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010606Z:5e7a7a39-e854-4d32-a0db-bcf6b35cc003" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:06:05 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNWZmNWQ0ZGQtMjE3NC00YTdiLThhMDctZDExMDEwMDYxMTNkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "fb29cce2-d861-4d36-8209-441904f48a9c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31980" + ], + "x-ms-request-id": [ + "318be796-e935-4764-a276-5e0e41afde33" + ], + "x-ms-correlation-request-id": [ + "318be796-e935-4764-a276-5e0e41afde33" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010621Z:318be796-e935-4764-a276-5e0e41afde33" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:06:20 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNWZmNWQ0ZGQtMjE3NC00YTdiLThhMDctZDExMDEwMDYxMTNkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "534c39b3-c1de-4469-be66-1465ec5bd97e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31979" + ], + "x-ms-request-id": [ + "fb9e74b1-a025-411e-bc71-b0e08e5995e4" + ], + "x-ms-correlation-request-id": [ + "fb9e74b1-a025-411e-bc71-b0e08e5995e4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010636Z:fb9e74b1-a025-411e-bc71-b0e08e5995e4" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:06:35 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNWZmNWQ0ZGQtMjE3NC00YTdiLThhMDctZDExMDEwMDYxMTNkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "c7a6e2e8-cd5c-41fd-9cd3-7ded5e7433ce" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31978" + ], + "x-ms-request-id": [ + "bdb54576-516c-40c3-a4f5-518eec6a0882" + ], + "x-ms-correlation-request-id": [ + "bdb54576-516c-40c3-a4f5-518eec6a0882" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010651Z:bdb54576-516c-40c3-a4f5-518eec6a0882" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:06:51 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNWZmNWQ0ZGQtMjE3NC00YTdiLThhMDctZDExMDEwMDYxMTNkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "993c4417-5f1a-4112-8c1d-4d524efbca5b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31977" + ], + "x-ms-request-id": [ + "91aa7afc-fc81-451c-9b3a-2f00bd214d5c" + ], + "x-ms-correlation-request-id": [ + "91aa7afc-fc81-451c-9b3a-2f00bd214d5c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010706Z:91aa7afc-fc81-451c-9b3a-2f00bd214d5c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:07:06 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNWZmNWQ0ZGQtMjE3NC00YTdiLThhMDctZDExMDEwMDYxMTNkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "248c3af7-b58b-4478-aa39-3e2d49581c23" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31976" + ], + "x-ms-request-id": [ + "a45fd28c-de2f-42ec-a0e2-9e5a8e0b24b5" + ], + "x-ms-correlation-request-id": [ + "a45fd28c-de2f-42ec-a0e2-9e5a8e0b24b5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010721Z:a45fd28c-de2f-42ec-a0e2-9e5a8e0b24b5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:07:21 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNWZmNWQ0ZGQtMjE3NC00YTdiLThhMDctZDExMDEwMDYxMTNkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "3180abd2-5812-45a1-a25b-ee7adff2927b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31975" + ], + "x-ms-request-id": [ + "5b15ae91-dda9-44de-8c8f-3cd8d6d48adf" + ], + "x-ms-correlation-request-id": [ + "5b15ae91-dda9-44de-8c8f-3cd8d6d48adf" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010737Z:5b15ae91-dda9-44de-8c8f-3cd8d6d48adf" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:07:36 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNWZmNWQ0ZGQtMjE3NC00YTdiLThhMDctZDExMDEwMDYxMTNkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "c8f91b5d-81aa-4765-a151-305fe0825b61" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31974" + ], + "x-ms-request-id": [ + "e620d31f-a529-45e7-9a9a-e974dc25debb" + ], + "x-ms-correlation-request-id": [ + "e620d31f-a529-45e7-9a9a-e974dc25debb" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010752Z:e620d31f-a529-45e7-9a9a-e974dc25debb" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:07:51 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNWZmNWQ0ZGQtMjE3NC00YTdiLThhMDctZDExMDEwMDYxMTNkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "e2b86f53-a02d-4e91-b427-c1f7f402bf7b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31973" + ], + "x-ms-request-id": [ + "934bef2b-3200-4f46-bc9d-9ccb709fef1d" + ], + "x-ms-correlation-request-id": [ + "934bef2b-3200-4f46-bc9d-9ccb709fef1d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010807Z:934bef2b-3200-4f46-bc9d-9ccb709fef1d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:08:07 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNWZmNWQ0ZGQtMjE3NC00YTdiLThhMDctZDExMDEwMDYxMTNkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "32da539f-c65a-40a6-95b2-8893a1f2ac16" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31972" + ], + "x-ms-request-id": [ + "16ac6844-ec53-4828-b8ff-09dcd57de6be" + ], + "x-ms-correlation-request-id": [ + "16ac6844-ec53-4828-b8ff-09dcd57de6be" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010822Z:16ac6844-ec53-4828-b8ff-09dcd57de6be" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:08:22 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNWZmNWQ0ZGQtMjE3NC00YTdiLThhMDctZDExMDEwMDYxMTNkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "d13edeeb-3c2d-4fd5-b07b-153d7a62874f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31971" + ], + "x-ms-request-id": [ + "3e0250be-3b62-4505-b394-6cd3f5990a68" + ], + "x-ms-correlation-request-id": [ + "3e0250be-3b62-4505-b394-6cd3f5990a68" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010837Z:3e0250be-3b62-4505-b394-6cd3f5990a68" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:08:37 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNWZmNWQ0ZGQtMjE3NC00YTdiLThhMDctZDExMDEwMDYxMTNkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "29c88868-e164-42b3-9cfb-452fc9cdfb8e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31970" + ], + "x-ms-request-id": [ + "e460c4df-5be8-433a-8ef5-14c0b1eec8ef" + ], + "x-ms-correlation-request-id": [ + "e460c4df-5be8-433a-8ef5-14c0b1eec8ef" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010852Z:e460c4df-5be8-433a-8ef5-14c0b1eec8ef" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:08:52 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-pool/providers/Microsoft.Batch/batchAccounts/testgetpool/operationResults/5ff5d4dd-2174-4a7b-8a07-d1101006113d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXBvb2wvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXRwb29sL29wZXJhdGlvblJlc3VsdHMvNWZmNWQ0ZGQtMjE3NC00YTdiLThhMDctZDExMDEwMDYxMTNkP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Sat, 21 Feb 2015 01:09:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "4f53b628-22c8-4ce1-8aae-d74bdffd95ff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31969" + ], + "x-ms-request-id": [ + "fa593459-9eae-4d21-8bf9-85e8dcfa8d05" + ], + "x-ms-correlation-request-id": [ + "fa593459-9eae-4d21-8bf9-85e8dcfa8d05" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010907Z:fa593459-9eae-4d21-8bf9-85e8dcfa8d05" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:09:07 GMT" + ], + "ETag": [ + "0x8D21B8A205C71D8" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-get-pool?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZ2V0LXBvb2w/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" + ], + "x-ms-request-id": [ + "1b9ccc5b-a6f2-41e3-831a-0095dff0a185" + ], + "x-ms-correlation-request-id": [ + "1b9ccc5b-a6f2-41e3-831a-0095dff0a185" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010908Z:1b9ccc5b-a6f2-41e3-831a-0095dff0a185" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:09:08 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVVFOVBUQzFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-request-id": [ + "59c6ff31-b2bf-4de0-9d9b-b8f0302ce736" + ], + "x-ms-correlation-request-id": [ + "59c6ff31-b2bf-4de0-9d9b-b8f0302ce736" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010909Z:59c6ff31-b2bf-4de0-9d9b-b8f0302ce736" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:09:08 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVVFOVBUQzFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "00dee9e7-5f79-4c00-9829-ef9d674dee07" + ], + "x-ms-correlation-request-id": [ + "00dee9e7-5f79-4c00-9829-ef9d674dee07" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010924Z:00dee9e7-5f79-4c00-9829-ef9d674dee07" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:09:23 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVVFOVBUQzFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "e5fd8b25-157e-4eb7-8808-08ff4b0bfd8b" + ], + "x-ms-correlation-request-id": [ + "e5fd8b25-157e-4eb7-8808-08ff4b0bfd8b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010939Z:e5fd8b25-157e-4eb7-8808-08ff4b0bfd8b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:09:39 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEUE9PTC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVVFOVBUQzFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "6deec16c-499b-448a-ab0f-b9d77efd4f11" + ], + "x-ms-correlation-request-id": [ + "6deec16c-499b-448a-ab0f-b9d77efd4f11" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T010954Z:6deec16c-499b-448a-ab0f-b9d77efd4f11" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:09:54 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListAllPools.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListAllPools.json new file mode 100644 index 000000000000..dc6ed9c6b6f7 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListAllPools.json @@ -0,0 +1,2156 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-pool?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1wb29sP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool\",\r\n \"name\": \"test-list-pool\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "181" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "1287f6ad-d907-4356-b6cb-f22718a73e4a" + ], + "x-ms-correlation-request-id": [ + "1287f6ad-d907-4356-b6cb-f22718a73e4a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T020844Z:1287f6ad-d907-4356-b6cb-f22718a73e4a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:08:44 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2w/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "request-id": [ + "c8f442a7-a3cb-4a3b-8c26-cd89911a5c1a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "7dea700c-9aa1-45eb-aff6-924ba08a82bd" + ], + "x-ms-correlation-request-id": [ + "7dea700c-9aa1-45eb-aff6-924ba08a82bd" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T020848Z:7dea700c-9aa1-45eb-aff6-924ba08a82bd" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:08:47 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/c8f442a7-a3cb-4a3b-8c26-cd89911a5c1a?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/c8f442a7-a3cb-4a3b-8c26-cd89911a5c1a?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy9jOGY0NDJhNy1hM2NiLTRhM2ItOGMyNi1jZDg5OTExYTVjMWE/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistpool\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistpool.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "327" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Sat, 21 Feb 2015 02:08:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "8f2e8155-a0f1-411e-9fa3-d2752532f6c6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "58b911dd-9556-4eb0-8e53-a2efd1879f0d" + ], + "x-ms-correlation-request-id": [ + "58b911dd-9556-4eb0-8e53-a2efd1879f0d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T020848Z:58b911dd-9556-4eb0-8e53-a2efd1879f0d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:08:47 GMT" + ], + "ETag": [ + "0x8D21B9276806E11" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlistpool\",\r\n \"primary\": \"ytvTN2z2O/oTyKuiCxhADQMOHplWd5nd7wQ9kDmjlr1QTv7UbjJRgva1kik/1xsMCwsDrPN0i/kCOjl7O65G8Q==\",\r\n \"secondary\": \"+BJjrnSKVGuvC2rpS3Q1kZr1bkmO95e8jHMNyRicHCcwaog//svpEYxRrZsAFOvE7U1981hDSbmttyYCO0GudA==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "fee622d6-a102-4e13-99cf-1a579e160210" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-request-id": [ + "6a06ae16-2d3f-4c65-8169-8112db1c1a12" + ], + "x-ms-correlation-request-id": [ + "6a06ae16-2d3f-4c65-8169-8112db1c1a12" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T020848Z:6a06ae16-2d3f-4c65-8169-8112db1c1a12" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:08:48 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlistpool\",\r\n \"primary\": \"ytvTN2z2O/oTyKuiCxhADQMOHplWd5nd7wQ9kDmjlr1QTv7UbjJRgva1kik/1xsMCwsDrPN0i/kCOjl7O65G8Q==\",\r\n \"secondary\": \"+BJjrnSKVGuvC2rpS3Q1kZr1bkmO95e8jHMNyRicHCcwaog//svpEYxRrZsAFOvE7U1981hDSbmttyYCO0GudA==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "13cc81c8-0348-4ac1-b0c5-00ca532e38de" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-request-id": [ + "5a13daac-e448-43c4-af10-6b4f23b38a35" + ], + "x-ms-correlation-request-id": [ + "5a13daac-e448-43c4-af10-6b4f23b38a35" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T020924Z:5a13daac-e448-43c4-af10-6b4f23b38a35" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:09:23 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool\",\r\n \"name\": \"testlistpool\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "750" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31998" + ], + "x-ms-request-id": [ + "47c84d2c-d260-41ee-91a2-28ad492c104e" + ], + "x-ms-correlation-request-id": [ + "47c84d2c-d260-41ee-91a2-28ad492c104e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T020923Z:47c84d2c-d260-41ee-91a2-28ad492c104e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:09:23 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2w/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistpool\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistpool.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "327" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Sat, 21 Feb 2015 02:09:23 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "ffd5ca08-ef92-4c6d-8027-e8d0f3667387" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "c9c1028a-ad0b-4169-9db0-b800203aa663" + ], + "x-ms-correlation-request-id": [ + "c9c1028a-ad0b-4169-9db0-b800203aa663" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T020924Z:c9c1028a-ad0b-4169-9db0-b800203aa663" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:09:23 GMT" + ], + "ETag": [ + "0x8D21B928BB5F1D4" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "0b27fcf5-9983-460c-a63b-206d920f7ec5" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Sat, 21 Feb 2015 02:09:24 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistpool.batch.core.windows.net/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"name\": \"testName1\",\r\n \"url\": \"https://testlistpool.batch.core.windows.net/pools/testName1\",\r\n \"eTag\": \"0x8D21B92776AB466\",\r\n \"lastModified\": \"2015-02-21T02:08:49.5318118Z\",\r\n \"creationTime\": \"2015-02-21T02:08:49.5318118Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-21T02:08:49.5318118Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-02-21T02:08:49.5318118Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n },\r\n {\r\n \"name\": \"testName2\",\r\n \"url\": \"https://testlistpool.batch.core.windows.net/pools/testName2\",\r\n \"eTag\": \"0x8D21B92779AAD86\",\r\n \"lastModified\": \"2015-02-21T02:08:49.8462086Z\",\r\n \"creationTime\": \"2015-02-21T02:08:49.8462086Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-21T02:08:49.8462086Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-02-21T02:08:49.8462086Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n },\r\n {\r\n \"name\": \"thirdtestName\",\r\n \"url\": \"https://testlistpool.batch.core.windows.net/pools/thirdtestName\",\r\n \"eTag\": \"0x8D21B9277D2BE72\",\r\n \"lastModified\": \"2015-02-21T02:08:50.2136434Z\",\r\n \"creationTime\": \"2015-02-21T02:08:50.2136434Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-21T02:08:50.2136434Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-02-21T02:08:50.2136434Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "7abb53b9-2ea4-4c74-ac53-99230c53840a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Sat, 21 Feb 2015 02:09:23 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2w/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "abd9e428-c57b-49d4-9f4a-2ed07fadbe84" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-request-id": [ + "949673e9-d45d-4d44-9f18-81814d7f9091" + ], + "x-ms-correlation-request-id": [ + "949673e9-d45d-4d44-9f18-81814d7f9091" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T020926Z:949673e9-d45d-4d44-9f18-81814d7f9091" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:09:26 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy9hYmQ5ZTQyOC1jNTdiLTQ5ZDQtOWY0YS0yZWQwN2ZhZGJlODQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "de93dc65-c845-42b8-a72b-96f59a1f4a7b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "ab9e2b71-e1e2-4498-b193-056dde0b7d80" + ], + "x-ms-correlation-request-id": [ + "ab9e2b71-e1e2-4498-b193-056dde0b7d80" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T020927Z:ab9e2b71-e1e2-4498-b193-056dde0b7d80" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:09:26 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy9hYmQ5ZTQyOC1jNTdiLTQ5ZDQtOWY0YS0yZWQwN2ZhZGJlODQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "b89090e8-7003-4590-b877-76af8578db22" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "18673dfd-4d2d-4717-bb9e-3d414724c80a" + ], + "x-ms-correlation-request-id": [ + "18673dfd-4d2d-4717-bb9e-3d414724c80a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T020942Z:18673dfd-4d2d-4717-bb9e-3d414724c80a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:09:42 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy9hYmQ5ZTQyOC1jNTdiLTQ5ZDQtOWY0YS0yZWQwN2ZhZGJlODQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "2685881b-22f2-4e35-91ea-a9620054d737" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "e22b4e11-b8fa-4017-9e4e-66924c892cb4" + ], + "x-ms-correlation-request-id": [ + "e22b4e11-b8fa-4017-9e4e-66924c892cb4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T020957Z:e22b4e11-b8fa-4017-9e4e-66924c892cb4" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:09:57 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy9hYmQ5ZTQyOC1jNTdiLTQ5ZDQtOWY0YS0yZWQwN2ZhZGJlODQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "6553e776-1dac-44be-a2fd-a81051937bf4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-request-id": [ + "5e241086-e5d7-4fd3-924b-352d4b242665" + ], + "x-ms-correlation-request-id": [ + "5e241086-e5d7-4fd3-924b-352d4b242665" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021012Z:5e241086-e5d7-4fd3-924b-352d4b242665" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:10:12 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy9hYmQ5ZTQyOC1jNTdiLTQ5ZDQtOWY0YS0yZWQwN2ZhZGJlODQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "fbabd775-80d0-4bf0-b5a1-d66a2db191c1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "c72b2ab4-21d7-44d7-b794-715809a2037c" + ], + "x-ms-correlation-request-id": [ + "c72b2ab4-21d7-44d7-b794-715809a2037c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021027Z:c72b2ab4-21d7-44d7-b794-715809a2037c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:10:27 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy9hYmQ5ZTQyOC1jNTdiLTQ5ZDQtOWY0YS0yZWQwN2ZhZGJlODQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "52cb618f-cb72-4aa8-b5bd-e4035622f647" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "842d4576-5cb6-4998-a689-050aed079e93" + ], + "x-ms-correlation-request-id": [ + "842d4576-5cb6-4998-a689-050aed079e93" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021043Z:842d4576-5cb6-4998-a689-050aed079e93" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:10:42 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy9hYmQ5ZTQyOC1jNTdiLTQ5ZDQtOWY0YS0yZWQwN2ZhZGJlODQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "ebc93f57-9df8-40e1-85ca-30aab9be737e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "cc6ef09f-94ce-4612-9af5-2924de75df22" + ], + "x-ms-correlation-request-id": [ + "cc6ef09f-94ce-4612-9af5-2924de75df22" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021058Z:cc6ef09f-94ce-4612-9af5-2924de75df22" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:10:58 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy9hYmQ5ZTQyOC1jNTdiLTQ5ZDQtOWY0YS0yZWQwN2ZhZGJlODQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "9d4f9129-94e3-4aee-8d84-e691b0baf1ed" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "64cba432-5c40-4a6c-9f70-64810a3fd07d" + ], + "x-ms-correlation-request-id": [ + "64cba432-5c40-4a6c-9f70-64810a3fd07d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021113Z:64cba432-5c40-4a6c-9f70-64810a3fd07d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:11:12 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy9hYmQ5ZTQyOC1jNTdiLTQ5ZDQtOWY0YS0yZWQwN2ZhZGJlODQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "8acad9ed-146d-40b9-8a43-2ebafd85aa9f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31985" + ], + "x-ms-request-id": [ + "22d3c4e7-11d2-4173-a70b-1dd285184977" + ], + "x-ms-correlation-request-id": [ + "22d3c4e7-11d2-4173-a70b-1dd285184977" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021128Z:22d3c4e7-11d2-4173-a70b-1dd285184977" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:11:27 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy9hYmQ5ZTQyOC1jNTdiLTQ5ZDQtOWY0YS0yZWQwN2ZhZGJlODQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "db324b39-d323-41fe-b7c6-af69499806a3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31984" + ], + "x-ms-request-id": [ + "5149d19c-113e-4c28-9c57-7faa37c10734" + ], + "x-ms-correlation-request-id": [ + "5149d19c-113e-4c28-9c57-7faa37c10734" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021143Z:5149d19c-113e-4c28-9c57-7faa37c10734" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:11:43 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy9hYmQ5ZTQyOC1jNTdiLTQ5ZDQtOWY0YS0yZWQwN2ZhZGJlODQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "ee072ae7-493d-4332-b40a-c9fcbd6a94ad" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31983" + ], + "x-ms-request-id": [ + "ebae40dd-35b9-4164-b09a-c7d4df9fb1ac" + ], + "x-ms-correlation-request-id": [ + "ebae40dd-35b9-4164-b09a-c7d4df9fb1ac" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021158Z:ebae40dd-35b9-4164-b09a-c7d4df9fb1ac" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:11:58 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy9hYmQ5ZTQyOC1jNTdiLTQ5ZDQtOWY0YS0yZWQwN2ZhZGJlODQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "6c56aace-47ad-4c29-8833-1026bd89babe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31982" + ], + "x-ms-request-id": [ + "188904fc-c62e-4b18-8a0c-3b7864040584" + ], + "x-ms-correlation-request-id": [ + "188904fc-c62e-4b18-8a0c-3b7864040584" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021214Z:188904fc-c62e-4b18-8a0c-3b7864040584" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:12:13 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy9hYmQ5ZTQyOC1jNTdiLTQ5ZDQtOWY0YS0yZWQwN2ZhZGJlODQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "31439305-9869-484c-a5cd-202ab82898b1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31981" + ], + "x-ms-request-id": [ + "381d9db2-c87c-42f7-bd8d-771cd214dfe6" + ], + "x-ms-correlation-request-id": [ + "381d9db2-c87c-42f7-bd8d-771cd214dfe6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021229Z:381d9db2-c87c-42f7-bd8d-771cd214dfe6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:12:29 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy9hYmQ5ZTQyOC1jNTdiLTQ5ZDQtOWY0YS0yZWQwN2ZhZGJlODQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "0f39e790-7bb6-47b8-8371-ba8c936a913a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31980" + ], + "x-ms-request-id": [ + "3af2caf6-b0f9-482f-b405-b79859486283" + ], + "x-ms-correlation-request-id": [ + "3af2caf6-b0f9-482f-b405-b79859486283" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021244Z:3af2caf6-b0f9-482f-b405-b79859486283" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:12:43 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy9hYmQ5ZTQyOC1jNTdiLTQ5ZDQtOWY0YS0yZWQwN2ZhZGJlODQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "612b8594-b169-426c-900c-f96c208b1c00" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31979" + ], + "x-ms-request-id": [ + "e3d7b821-e973-415f-b8f8-6ba4f0178bf2" + ], + "x-ms-correlation-request-id": [ + "e3d7b821-e973-415f-b8f8-6ba4f0178bf2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021259Z:e3d7b821-e973-415f-b8f8-6ba4f0178bf2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:12:59 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy9hYmQ5ZTQyOC1jNTdiLTQ5ZDQtOWY0YS0yZWQwN2ZhZGJlODQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "9833881a-91c9-47e4-8d9d-02dd9784e2c4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31978" + ], + "x-ms-request-id": [ + "81d05422-635d-4cc8-b004-3b0fc12a0793" + ], + "x-ms-correlation-request-id": [ + "81d05422-635d-4cc8-b004-3b0fc12a0793" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021314Z:81d05422-635d-4cc8-b004-3b0fc12a0793" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:13:13 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy9hYmQ5ZTQyOC1jNTdiLTQ5ZDQtOWY0YS0yZWQwN2ZhZGJlODQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "44b0b2df-366a-447e-9a1e-8344f7f2d6ec" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31977" + ], + "x-ms-request-id": [ + "2f659ffe-5fc4-48c3-acdc-5e5feaed71ea" + ], + "x-ms-correlation-request-id": [ + "2f659ffe-5fc4-48c3-acdc-5e5feaed71ea" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021329Z:2f659ffe-5fc4-48c3-acdc-5e5feaed71ea" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:13:29 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy9hYmQ5ZTQyOC1jNTdiLTQ5ZDQtOWY0YS0yZWQwN2ZhZGJlODQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "1bcae928-12cd-4ca5-8840-73ac1042819b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31976" + ], + "x-ms-request-id": [ + "3b50d645-087d-478a-abea-467797510365" + ], + "x-ms-correlation-request-id": [ + "3b50d645-087d-478a-abea-467797510365" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021345Z:3b50d645-087d-478a-abea-467797510365" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:13:44 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy9hYmQ5ZTQyOC1jNTdiLTQ5ZDQtOWY0YS0yZWQwN2ZhZGJlODQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "a5fcc6ba-5f90-42c9-a88f-e5c52944ccb5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31975" + ], + "x-ms-request-id": [ + "02b2236e-6a5b-4a1c-a9e7-138534407769" + ], + "x-ms-correlation-request-id": [ + "02b2236e-6a5b-4a1c-a9e7-138534407769" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021400Z:02b2236e-6a5b-4a1c-a9e7-138534407769" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:13:59 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy9hYmQ5ZTQyOC1jNTdiLTQ5ZDQtOWY0YS0yZWQwN2ZhZGJlODQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "a5f4a0e7-164b-4162-b8ee-334acc9d5ed1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31974" + ], + "x-ms-request-id": [ + "b84e1298-1792-4f9e-9347-be407f9ec499" + ], + "x-ms-correlation-request-id": [ + "b84e1298-1792-4f9e-9347-be407f9ec499" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021415Z:b84e1298-1792-4f9e-9347-be407f9ec499" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:14:14 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy9hYmQ5ZTQyOC1jNTdiLTQ5ZDQtOWY0YS0yZWQwN2ZhZGJlODQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "48fbbc77-9044-473f-8568-ad3312d43beb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31973" + ], + "x-ms-request-id": [ + "7cd6d049-ed9c-409d-bbfb-a560eb965093" + ], + "x-ms-correlation-request-id": [ + "7cd6d049-ed9c-409d-bbfb-a560eb965093" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021430Z:7cd6d049-ed9c-409d-bbfb-a560eb965093" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:14:29 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy9hYmQ5ZTQyOC1jNTdiLTQ5ZDQtOWY0YS0yZWQwN2ZhZGJlODQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "2eae7efa-5eb0-4e87-9e3b-448f2b060bd3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31972" + ], + "x-ms-request-id": [ + "4e43def9-229c-4000-bcb3-32fa2cd65b52" + ], + "x-ms-correlation-request-id": [ + "4e43def9-229c-4000-bcb3-32fa2cd65b52" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021445Z:4e43def9-229c-4000-bcb3-32fa2cd65b52" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:14:44 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool/providers/Microsoft.Batch/batchAccounts/testlistpool/operationResults/abd9e428-c57b-49d4-9f4a-2ed07fadbe84?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2wvb3BlcmF0aW9uUmVzdWx0cy9hYmQ5ZTQyOC1jNTdiLTQ5ZDQtOWY0YS0yZWQwN2ZhZGJlODQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Sat, 21 Feb 2015 02:15:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "12cce9cc-6d22-4ab8-b3a7-24ffba894aea" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31975" + ], + "x-ms-request-id": [ + "6859154e-e24b-45d3-bae9-bd576add165f" + ], + "x-ms-correlation-request-id": [ + "6859154e-e24b-45d3-bae9-bd576add165f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021500Z:6859154e-e24b-45d3-bae9-bd576add165f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:15:00 GMT" + ], + "ETag": [ + "0x8D21B93548AF7CD" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-pool?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1wb29sP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "45e54482-8fbb-4cbe-9fbc-4450b26b22a6" + ], + "x-ms-correlation-request-id": [ + "45e54482-8fbb-4cbe-9fbc-4450b26b22a6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021502Z:45e54482-8fbb-4cbe-9fbc-4450b26b22a6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:15:02 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0wtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0wtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGQlBUMHd0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31999" + ], + "x-ms-request-id": [ + "be01f50d-50f1-4768-9522-3e29bbac6a0c" + ], + "x-ms-correlation-request-id": [ + "be01f50d-50f1-4768-9522-3e29bbac6a0c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021503Z:be01f50d-50f1-4768-9522-3e29bbac6a0c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:15:02 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0wtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0wtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGQlBUMHd0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31998" + ], + "x-ms-request-id": [ + "21cd143c-0fd9-46a0-a356-6a2929022006" + ], + "x-ms-correlation-request-id": [ + "21cd143c-0fd9-46a0-a356-6a2929022006" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021518Z:21cd143c-0fd9-46a0-a356-6a2929022006" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:15:18 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0wtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0wtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGQlBUMHd0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" + ], + "x-ms-request-id": [ + "d10f41fa-55c2-4608-8709-308a5ef84718" + ], + "x-ms-correlation-request-id": [ + "d10f41fa-55c2-4608-8709-308a5ef84718" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021533Z:d10f41fa-55c2-4608-8709-308a5ef84718" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:15:33 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0wtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0wtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGQlBUMHd0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-request-id": [ + "68164d71-70b2-41b2-83bb-fd0c1cd80ed9" + ], + "x-ms-correlation-request-id": [ + "68164d71-70b2-41b2-83bb-fd0c1cd80ed9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021548Z:68164d71-70b2-41b2-83bb-fd0c1cd80ed9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:15:48 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListPoolsByFilter.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListPoolsByFilter.json new file mode 100644 index 000000000000..3996842c0b9b --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListPoolsByFilter.json @@ -0,0 +1,2156 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-pool-filter?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlcj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter\",\r\n \"name\": \"test-list-pool-filter\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "195" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-request-id": [ + "07f65436-9396-407c-8db3-189baeb20aba" + ], + "x-ms-correlation-request-id": [ + "07f65436-9396-407c-8db3-189baeb20aba" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011040Z:07f65436-9396-407c-8db3-189baeb20aba" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:10:40 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "request-id": [ + "70203cbc-fbd5-49ec-83c4-849107d3ccc3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "16639173-2213-4555-8da1-891fddf2f8a8" + ], + "x-ms-correlation-request-id": [ + "16639173-2213-4555-8da1-891fddf2f8a8" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011045Z:16639173-2213-4555-8da1-891fddf2f8a8" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:10:44 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/70203cbc-fbd5-49ec-83c4-849107d3ccc3?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/70203cbc-fbd5-49ec-83c4-849107d3ccc3?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvNzAyMDNjYmMtZmJkNS00OWVjLTgzYzQtODQ5MTA3ZDNjY2MzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistpoolfilter\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistpoolfilter.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Sat, 21 Feb 2015 01:10:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "9f4551e9-1f88-4032-b89e-edbd6e0e4bf9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31982" + ], + "x-ms-request-id": [ + "e5c669c8-d58b-4259-b584-32f1c89f10e2" + ], + "x-ms-correlation-request-id": [ + "e5c669c8-d58b-4259-b584-32f1c89f10e2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011045Z:e5c669c8-d58b-4259-b584-32f1c89f10e2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:10:44 GMT" + ], + "ETag": [ + "0x8D21B8A5A192C24" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlistpoolfilter\",\r\n \"primary\": \"pvsnyBIxTCrUe65QnQOyoJf/j3UxlYAIVvcultKMqrAORD5ZPLVEGGXtqOE6XBMCGMcAxxCJOXeSjT2IdrU5GA==\",\r\n \"secondary\": \"PMUnx8F2RHhIAdLUIGuqh0XICbCAZS0f/EM3G47yHeqrrkpLRhTkGfFlo9EoZSD7FTsNgx7NFMlkVdfWj17ZCg==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "240" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "0d32b5c7-88d4-4e73-9973-93f6053843ae" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-request-id": [ + "f9896589-1e2f-4337-b649-ec9205804265" + ], + "x-ms-correlation-request-id": [ + "f9896589-1e2f-4337-b649-ec9205804265" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011045Z:f9896589-1e2f-4337-b649-ec9205804265" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:10:44 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlistpoolfilter\",\r\n \"primary\": \"pvsnyBIxTCrUe65QnQOyoJf/j3UxlYAIVvcultKMqrAORD5ZPLVEGGXtqOE6XBMCGMcAxxCJOXeSjT2IdrU5GA==\",\r\n \"secondary\": \"PMUnx8F2RHhIAdLUIGuqh0XICbCAZS0f/EM3G47yHeqrrkpLRhTkGfFlo9EoZSD7FTsNgx7NFMlkVdfWj17ZCg==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "240" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "b651d2f2-ca37-4895-b82e-7e152597b095" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-request-id": [ + "2419e84d-98c0-420e-8467-0a0b5659bf02" + ], + "x-ms-correlation-request-id": [ + "2419e84d-98c0-420e-8467-0a0b5659bf02" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011121Z:2419e84d-98c0-420e-8467-0a0b5659bf02" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:11:21 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter\",\r\n \"name\": \"testlistpoolfilter\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "769" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "881fd80e-9f24-475e-a394-a1b053b02c5d" + ], + "x-ms-correlation-request-id": [ + "881fd80e-9f24-475e-a394-a1b053b02c5d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011120Z:881fd80e-9f24-475e-a394-a1b053b02c5d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:11:20 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistpoolfilter\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistpoolfilter.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Sat, 21 Feb 2015 01:11:20 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "ca270573-e4be-4db8-bab9-8f6fc0930db4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31981" + ], + "x-ms-request-id": [ + "e84c4504-f7a4-4c95-ac27-3022582e9a62" + ], + "x-ms-correlation-request-id": [ + "e84c4504-f7a4-4c95-ac27-3022582e9a62" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011121Z:e84c4504-f7a4-4c95-ac27-3022582e9a62" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:11:21 GMT" + ], + "ETag": [ + "0x8D21B8A6F873108" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools?api-version=2014-10-01.1.0&$filter=startswith(name%2C'testName')", + "EncodedRequestUri": "L3Bvb2xzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4wJiRmaWx0ZXI9c3RhcnRzd2l0aCUyOG5hbWUlMkMlMjd0ZXN0TmFtZSUyNyUyOQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "cbb76f04-4149-4d80-9424-428786eeaf8e" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Sat, 21 Feb 2015 01:11:21 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistpoolfilter.batch.core.windows.net/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"name\": \"testName1\",\r\n \"url\": \"https://testlistpoolfilter.batch.core.windows.net/pools/testName1\",\r\n \"eTag\": \"0x8D21B8A5B445362\",\r\n \"lastModified\": \"2015-02-21T01:10:46.3302498Z\",\r\n \"creationTime\": \"2015-02-21T01:10:46.3302498Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-21T01:10:46.3302498Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-02-21T01:10:46.3302498Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n },\r\n {\r\n \"name\": \"testName2\",\r\n \"url\": \"https://testlistpoolfilter.batch.core.windows.net/pools/testName2\",\r\n \"eTag\": \"0x8D21B8A5B79178E\",\r\n \"lastModified\": \"2015-02-21T01:10:46.676059Z\",\r\n \"creationTime\": \"2015-02-21T01:10:46.676059Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-21T01:10:46.676059Z\",\r\n \"allocationState\": \"resizing\",\r\n \"allocationStateTransitionTime\": \"2015-02-21T01:10:46.676059Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 0,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "3536e3ce-fe25-4f18-a811-47ff7996859a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Sat, 21 Feb 2015 01:11:21 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "ca5741ee-2db3-431e-9a33-ec7176342e4b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-request-id": [ + "a0ce649a-f0cb-43e9-ab84-8ad342b213db" + ], + "x-ms-correlation-request-id": [ + "a0ce649a-f0cb-43e9-ab84-8ad342b213db" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011124Z:a0ce649a-f0cb-43e9-ab84-8ad342b213db" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:11:23 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvY2E1NzQxZWUtMmRiMy00MzFlLTlhMzMtZWM3MTc2MzQyZTRiP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "cc866525-6e26-413d-91a3-b23be06bb582" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31980" + ], + "x-ms-request-id": [ + "54011991-b799-4486-b54b-8c4b8ebd2eee" + ], + "x-ms-correlation-request-id": [ + "54011991-b799-4486-b54b-8c4b8ebd2eee" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011124Z:54011991-b799-4486-b54b-8c4b8ebd2eee" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:11:24 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvY2E1NzQxZWUtMmRiMy00MzFlLTlhMzMtZWM3MTc2MzQyZTRiP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "6f794943-df21-4a1c-a562-159a8a9be245" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31979" + ], + "x-ms-request-id": [ + "8841b108-97ff-461e-a216-c1798cb241d3" + ], + "x-ms-correlation-request-id": [ + "8841b108-97ff-461e-a216-c1798cb241d3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011139Z:8841b108-97ff-461e-a216-c1798cb241d3" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:11:39 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvY2E1NzQxZWUtMmRiMy00MzFlLTlhMzMtZWM3MTc2MzQyZTRiP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "2ec962df-1742-4b12-8639-922b0c9131ff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31978" + ], + "x-ms-request-id": [ + "c0e1f57e-7ce0-4a95-9adb-f4575efc0c46" + ], + "x-ms-correlation-request-id": [ + "c0e1f57e-7ce0-4a95-9adb-f4575efc0c46" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011154Z:c0e1f57e-7ce0-4a95-9adb-f4575efc0c46" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:11:54 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvY2E1NzQxZWUtMmRiMy00MzFlLTlhMzMtZWM3MTc2MzQyZTRiP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "da694c2d-daf2-4a2f-ab93-046ce0ec238d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31977" + ], + "x-ms-request-id": [ + "8848a655-faf0-48c7-b340-249f125fba30" + ], + "x-ms-correlation-request-id": [ + "8848a655-faf0-48c7-b340-249f125fba30" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011209Z:8848a655-faf0-48c7-b340-249f125fba30" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:12:09 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvY2E1NzQxZWUtMmRiMy00MzFlLTlhMzMtZWM3MTc2MzQyZTRiP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "510a9faf-9115-4da0-83da-45fcc1793f4f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31976" + ], + "x-ms-request-id": [ + "4a75e566-2ecf-4621-a7d2-8028d094a93c" + ], + "x-ms-correlation-request-id": [ + "4a75e566-2ecf-4621-a7d2-8028d094a93c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011225Z:4a75e566-2ecf-4621-a7d2-8028d094a93c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:12:24 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvY2E1NzQxZWUtMmRiMy00MzFlLTlhMzMtZWM3MTc2MzQyZTRiP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "8e96f988-b504-47c6-b348-dcc463038414" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31975" + ], + "x-ms-request-id": [ + "2437097e-bd7d-4a5c-b19d-4a2ec01d74c6" + ], + "x-ms-correlation-request-id": [ + "2437097e-bd7d-4a5c-b19d-4a2ec01d74c6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011240Z:2437097e-bd7d-4a5c-b19d-4a2ec01d74c6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:12:39 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvY2E1NzQxZWUtMmRiMy00MzFlLTlhMzMtZWM3MTc2MzQyZTRiP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "5d4d0a4c-46dd-46be-9754-cb90ceabfb12" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31974" + ], + "x-ms-request-id": [ + "77929742-71ac-4f73-a37a-761cb884b7f0" + ], + "x-ms-correlation-request-id": [ + "77929742-71ac-4f73-a37a-761cb884b7f0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011255Z:77929742-71ac-4f73-a37a-761cb884b7f0" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:12:55 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvY2E1NzQxZWUtMmRiMy00MzFlLTlhMzMtZWM3MTc2MzQyZTRiP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "ca2015c3-c2e6-4b8c-a32f-b9a0fb5217cd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31973" + ], + "x-ms-request-id": [ + "9d92cab7-c33d-4dcf-81db-5c996b59d2c4" + ], + "x-ms-correlation-request-id": [ + "9d92cab7-c33d-4dcf-81db-5c996b59d2c4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011310Z:9d92cab7-c33d-4dcf-81db-5c996b59d2c4" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:13:09 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvY2E1NzQxZWUtMmRiMy00MzFlLTlhMzMtZWM3MTc2MzQyZTRiP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "dcc10027-e47a-4213-8621-1c7550c12fd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31972" + ], + "x-ms-request-id": [ + "83570d0f-f69f-43e4-a3eb-f8718ca98640" + ], + "x-ms-correlation-request-id": [ + "83570d0f-f69f-43e4-a3eb-f8718ca98640" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011325Z:83570d0f-f69f-43e4-a3eb-f8718ca98640" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:13:25 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvY2E1NzQxZWUtMmRiMy00MzFlLTlhMzMtZWM3MTc2MzQyZTRiP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "0c46aa0f-be57-4123-97d7-6e7294034c3f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31971" + ], + "x-ms-request-id": [ + "1a4c2157-cf7c-408a-b139-002b0402e03c" + ], + "x-ms-correlation-request-id": [ + "1a4c2157-cf7c-408a-b139-002b0402e03c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011340Z:1a4c2157-cf7c-408a-b139-002b0402e03c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:13:40 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvY2E1NzQxZWUtMmRiMy00MzFlLTlhMzMtZWM3MTc2MzQyZTRiP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "da9e2c05-f46c-492d-88ca-6f389ce9bfb0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31970" + ], + "x-ms-request-id": [ + "c67bd466-9435-4f6d-b452-88a9a5f9fdce" + ], + "x-ms-correlation-request-id": [ + "c67bd466-9435-4f6d-b452-88a9a5f9fdce" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011355Z:c67bd466-9435-4f6d-b452-88a9a5f9fdce" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:13:55 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvY2E1NzQxZWUtMmRiMy00MzFlLTlhMzMtZWM3MTc2MzQyZTRiP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "56bd9d02-c9a0-4d32-a41b-4b30bd1964ea" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31969" + ], + "x-ms-request-id": [ + "0c6f55c7-7016-41bc-aba2-eec064bdb855" + ], + "x-ms-correlation-request-id": [ + "0c6f55c7-7016-41bc-aba2-eec064bdb855" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011411Z:0c6f55c7-7016-41bc-aba2-eec064bdb855" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:14:10 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvY2E1NzQxZWUtMmRiMy00MzFlLTlhMzMtZWM3MTc2MzQyZTRiP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "84f67cd5-5c14-47cd-a4af-7ef25643e81d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31968" + ], + "x-ms-request-id": [ + "f41eb760-7aa1-4203-b057-293c00734a56" + ], + "x-ms-correlation-request-id": [ + "f41eb760-7aa1-4203-b057-293c00734a56" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011426Z:f41eb760-7aa1-4203-b057-293c00734a56" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:14:25 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvY2E1NzQxZWUtMmRiMy00MzFlLTlhMzMtZWM3MTc2MzQyZTRiP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "06180f64-9fe3-43f8-8b0d-ea737d8b3750" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31967" + ], + "x-ms-request-id": [ + "180a3185-5e76-4da1-a212-94ad814a77bd" + ], + "x-ms-correlation-request-id": [ + "180a3185-5e76-4da1-a212-94ad814a77bd" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011441Z:180a3185-5e76-4da1-a212-94ad814a77bd" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:14:40 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvY2E1NzQxZWUtMmRiMy00MzFlLTlhMzMtZWM3MTc2MzQyZTRiP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "6e5d725d-8fee-4c5d-bf0f-5a09ea3dc024" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31966" + ], + "x-ms-request-id": [ + "86c6bc1c-a5f2-4a69-92bf-b91db317179b" + ], + "x-ms-correlation-request-id": [ + "86c6bc1c-a5f2-4a69-92bf-b91db317179b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011456Z:86c6bc1c-a5f2-4a69-92bf-b91db317179b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:14:56 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvY2E1NzQxZWUtMmRiMy00MzFlLTlhMzMtZWM3MTc2MzQyZTRiP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "df6c238c-caad-40b0-8ca0-26981d89427d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31965" + ], + "x-ms-request-id": [ + "91f38437-89d3-4d65-89ed-c7a8e3f5a6c3" + ], + "x-ms-correlation-request-id": [ + "91f38437-89d3-4d65-89ed-c7a8e3f5a6c3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011511Z:91f38437-89d3-4d65-89ed-c7a8e3f5a6c3" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:15:11 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvY2E1NzQxZWUtMmRiMy00MzFlLTlhMzMtZWM3MTc2MzQyZTRiP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "cb1bae64-9ca2-46c8-9737-2217c9c8567f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31964" + ], + "x-ms-request-id": [ + "41529b53-22a4-4ff9-b7db-fcbccaf7f34b" + ], + "x-ms-correlation-request-id": [ + "41529b53-22a4-4ff9-b7db-fcbccaf7f34b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011526Z:41529b53-22a4-4ff9-b7db-fcbccaf7f34b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:15:26 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvY2E1NzQxZWUtMmRiMy00MzFlLTlhMzMtZWM3MTc2MzQyZTRiP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "21d0b59c-88d5-45f9-9677-fb436ef10457" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31963" + ], + "x-ms-request-id": [ + "32fcd7ca-d07d-4fe0-b718-5e14f8345184" + ], + "x-ms-correlation-request-id": [ + "32fcd7ca-d07d-4fe0-b718-5e14f8345184" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011542Z:32fcd7ca-d07d-4fe0-b718-5e14f8345184" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:15:41 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvY2E1NzQxZWUtMmRiMy00MzFlLTlhMzMtZWM3MTc2MzQyZTRiP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "43e230cb-67ac-4a48-bf8e-ecb251448f85" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31962" + ], + "x-ms-request-id": [ + "3bda8507-4d26-48e3-a3ea-908b35688e5d" + ], + "x-ms-correlation-request-id": [ + "3bda8507-4d26-48e3-a3ea-908b35688e5d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011557Z:3bda8507-4d26-48e3-a3ea-908b35688e5d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:15:56 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvY2E1NzQxZWUtMmRiMy00MzFlLTlhMzMtZWM3MTc2MzQyZTRiP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "5d631af7-483b-49b6-a2fc-0d3a9e1cbe5d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31961" + ], + "x-ms-request-id": [ + "8e072f97-5bf2-4d30-9c29-abe019508c9f" + ], + "x-ms-correlation-request-id": [ + "8e072f97-5bf2-4d30-9c29-abe019508c9f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011612Z:8e072f97-5bf2-4d30-9c29-abe019508c9f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:16:12 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvY2E1NzQxZWUtMmRiMy00MzFlLTlhMzMtZWM3MTc2MzQyZTRiP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "bf78dcf2-f215-4f2d-9a3d-e66e81458618" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31960" + ], + "x-ms-request-id": [ + "695061c2-1e4c-46e3-a5d8-b6a0a1b6d7bb" + ], + "x-ms-correlation-request-id": [ + "695061c2-1e4c-46e3-a5d8-b6a0a1b6d7bb" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011627Z:695061c2-1e4c-46e3-a5d8-b6a0a1b6d7bb" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:16:27 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvY2E1NzQxZWUtMmRiMy00MzFlLTlhMzMtZWM3MTc2MzQyZTRiP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "3329f97a-b1cf-4316-9774-21b77d177e7a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31959" + ], + "x-ms-request-id": [ + "c5309e75-145d-4caa-b337-604ed794b417" + ], + "x-ms-correlation-request-id": [ + "c5309e75-145d-4caa-b337-604ed794b417" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011642Z:c5309e75-145d-4caa-b337-604ed794b417" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:16:42 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-filter/providers/Microsoft.Batch/batchAccounts/testlistpoolfilter/operationResults/ca5741ee-2db3-431e-9a33-ec7176342e4b?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3Rwb29sZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvY2E1NzQxZWUtMmRiMy00MzFlLTlhMzMtZWM3MTc2MzQyZTRiP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Sat, 21 Feb 2015 01:16:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "6beeda22-552a-4524-af08-3362622397d6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31958" + ], + "x-ms-request-id": [ + "d0300ea0-c839-4665-9696-e8a2c7508df1" + ], + "x-ms-correlation-request-id": [ + "d0300ea0-c839-4665-9696-e8a2c7508df1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011657Z:d0300ea0-c839-4665-9696-e8a2c7508df1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:16:57 GMT" + ], + "ETag": [ + "0x8D21B8B38465AC4" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-pool-filter?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1wb29sLWZpbHRlcj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1188" + ], + "x-ms-request-id": [ + "0527e741-5cd3-4032-b7cc-bf950813caba" + ], + "x-ms-correlation-request-id": [ + "0527e741-5cd3-4032-b7cc-bf950813caba" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011659Z:0527e741-5cd3-4032-b7cc-bf950813caba" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:16:58 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGQlBUMHc2TWtSR1NVeFVSVkl0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "26866f5a-0edf-4598-856b-71fa170e9669" + ], + "x-ms-correlation-request-id": [ + "26866f5a-0edf-4598-856b-71fa170e9669" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011659Z:26866f5a-0edf-4598-856b-71fa170e9669" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:16:58 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGQlBUMHc2TWtSR1NVeFVSVkl0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31985" + ], + "x-ms-request-id": [ + "fb776331-8bf6-46c9-a60a-f32c609825ce" + ], + "x-ms-correlation-request-id": [ + "fb776331-8bf6-46c9-a60a-f32c609825ce" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011714Z:fb776331-8bf6-46c9-a60a-f32c609825ce" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:17:14 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGQlBUMHc2TWtSR1NVeFVSVkl0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31984" + ], + "x-ms-request-id": [ + "78fd0d25-3e8e-4a79-bb23-ddbdacb444c3" + ], + "x-ms-correlation-request-id": [ + "78fd0d25-3e8e-4a79-bb23-ddbdacb444c3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011729Z:78fd0d25-3e8e-4a79-bb23-ddbdacb444c3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:17:29 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGQlBUMHc2TWtSR1NVeFVSVkl0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31983" + ], + "x-ms-request-id": [ + "2b4d8218-b6df-4fa3-97e3-ddbc2739832f" + ], + "x-ms-correlation-request-id": [ + "2b4d8218-b6df-4fa3-97e3-ddbc2739832f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T011744Z:2b4d8218-b6df-4fa3-97e3-ddbc2739832f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 01:17:44 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListPoolsWithMaxCount.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListPoolsWithMaxCount.json new file mode 100644 index 000000000000..25b459f47b0a --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.PoolTests/TestListPoolsWithMaxCount.json @@ -0,0 +1,2156 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-pool-maxcount?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount\",\r\n \"name\": \"test-list-pool-maxcount\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "199" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "4f860da8-d281-4648-a3ef-d406c1e1c1ba" + ], + "x-ms-correlation-request-id": [ + "4f860da8-d281-4648-a3ef-d406c1e1c1ba" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021715Z:4f860da8-d281-4648-a3ef-d406c1e1c1ba" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:17:14 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudD9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "request-id": [ + "78b68c85-2282-4721-9417-d7b3ef1bfb92" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "d0485f49-26d1-4ecc-8ce9-241cd758584e" + ], + "x-ms-correlation-request-id": [ + "d0485f49-26d1-4ecc-8ce9-241cd758584e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021720Z:d0485f49-26d1-4ecc-8ce9-241cd758584e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:17:20 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/78b68c85-2282-4721-9417-d7b3ef1bfb92?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/78b68c85-2282-4721-9417-d7b3ef1bfb92?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzc4YjY4Yzg1LTIyODItNDcyMS05NDE3LWQ3YjNlZjFiZmI5Mj9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistpoolmaxcount\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistpoolmaxcount.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "360" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Sat, 21 Feb 2015 02:17:20 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "87eef9da-b6d1-47d4-91d5-35c76a15f69e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31998" + ], + "x-ms-request-id": [ + "193c4053-0fb3-48ce-b545-33b313872c1a" + ], + "x-ms-correlation-request-id": [ + "193c4053-0fb3-48ce-b545-33b313872c1a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021721Z:193c4053-0fb3-48ce-b545-33b313872c1a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:17:21 GMT" + ], + "ETag": [ + "0x8D21B93A820B401" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlistpoolmaxcount\",\r\n \"primary\": \"3HTq6SJ4w5cvdKBx4hiGtl/dE3+9o1i+hhuDKa2bjswPrsIhkmHr0wAo3lYn2S4P6f/DLhLyZ2T4LyAGqde4sQ==\",\r\n \"secondary\": \"aJF7W7V4t5XfEnS2kVqICA7nPzQLDzvl9EDqFB31P9Uu1Tb0um95+7BdyqLb/UUqAM+0mwXiyehL/1UWrSHySw==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "242" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "863a2c9f-8c48-474f-91e3-1c296a7d6276" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-request-id": [ + "7e0c8257-de68-4215-b1a9-40afc5220247" + ], + "x-ms-correlation-request-id": [ + "7e0c8257-de68-4215-b1a9-40afc5220247" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021721Z:7e0c8257-de68-4215-b1a9-40afc5220247" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:17:21 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlistpoolmaxcount\",\r\n \"primary\": \"3HTq6SJ4w5cvdKBx4hiGtl/dE3+9o1i+hhuDKa2bjswPrsIhkmHr0wAo3lYn2S4P6f/DLhLyZ2T4LyAGqde4sQ==\",\r\n \"secondary\": \"aJF7W7V4t5XfEnS2kVqICA7nPzQLDzvl9EDqFB31P9Uu1Tb0um95+7BdyqLb/UUqAM+0mwXiyehL/1UWrSHySw==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "242" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "870b8426-0c48-4737-8123-5bd7b139e447" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-request-id": [ + "f8a0ab2b-208b-42a9-bd66-ff2ce3f68caf" + ], + "x-ms-correlation-request-id": [ + "f8a0ab2b-208b-42a9-bd66-ff2ce3f68caf" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021837Z:f8a0ab2b-208b-42a9-bd66-ff2ce3f68caf" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:18:36 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount\",\r\n \"name\": \"testlistpoolmaxcount\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "775" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31999" + ], + "x-ms-request-id": [ + "6dfa5d1d-a108-4e19-a3e8-fb7c02805895" + ], + "x-ms-correlation-request-id": [ + "6dfa5d1d-a108-4e19-a3e8-fb7c02805895" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021837Z:6dfa5d1d-a108-4e19-a3e8-fb7c02805895" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:18:36 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudD9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistpoolmaxcount\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistpoolmaxcount.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "360" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Sat, 21 Feb 2015 02:18:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "fb952855-cf62-4cb2-a8b5-dc8b490c5ea3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" + ], + "x-ms-request-id": [ + "a82eb850-031e-48b4-8e49-0c3e8202cab5" + ], + "x-ms-correlation-request-id": [ + "a82eb850-031e-48b4-8e49-0c3e8202cab5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021837Z:a82eb850-031e-48b4-8e49-0c3e8202cab5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:18:36 GMT" + ], + "ETag": [ + "0x8D21B93D59DBCAE" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/pools?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3Bvb2xzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "99cd9019-0983-48dc-8542-bd41dd057d5e" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Sat, 21 Feb 2015 02:18:37 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistpoolmaxcount.batch.core.windows.net/$metadata#pools\",\r\n \"value\": [\r\n {\r\n \"name\": \"testName1\",\r\n \"url\": \"https://testlistpoolmaxcount.batch.core.windows.net/pools/testName1\",\r\n \"eTag\": \"0x8D21B93A91AFD82\",\r\n \"lastModified\": \"2015-02-21T02:17:22.392205Z\",\r\n \"creationTime\": \"2015-02-21T02:17:22.392205Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-21T02:17:22.392205Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-02-21T02:18:12.6316324Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n },\r\n {\r\n \"name\": \"testName2\",\r\n \"url\": \"https://testlistpoolmaxcount.batch.core.windows.net/pools/testName2\",\r\n \"eTag\": \"0x8D21B93A9538DF9\",\r\n \"lastModified\": \"2015-02-21T02:17:22.7629049Z\",\r\n \"creationTime\": \"2015-02-21T02:17:22.7629049Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-21T02:17:22.7629049Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-02-21T02:18:25.209373Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n },\r\n {\r\n \"name\": \"thirdtestName\",\r\n \"url\": \"https://testlistpoolmaxcount.batch.core.windows.net/pools/thirdtestName\",\r\n \"eTag\": \"0x8D21B93A9972D97\",\r\n \"lastModified\": \"2015-02-21T02:17:23.2060823Z\",\r\n \"creationTime\": \"2015-02-21T02:17:23.2060823Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-21T02:17:23.2060823Z\",\r\n \"allocationState\": \"steady\",\r\n \"allocationStateTransitionTime\": \"2015-02-21T02:18:23.2389185Z\",\r\n \"osFamily\": \"4\",\r\n \"targetOSVersion\": \"*\",\r\n \"currentOSVersion\": \"*\",\r\n \"tvmSize\": \"small\",\r\n \"resizeTimeout\": \"PT5M\",\r\n \"currentDedicated\": 3,\r\n \"targetDedicated\": 3,\r\n \"enableAutoScale\": false,\r\n \"communication\": false,\r\n \"maxTasksPerTVM\": 1,\r\n \"schedulingPolicy\": {\r\n \"tvmFillType\": \"Spread\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "41b86a83-4394-4829-ab76-fdfc732849a3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Sat, 21 Feb 2015 02:18:38 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudD9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "2ccba02a-c948-43ed-8ec9-10767ae86f0c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-request-id": [ + "410fd81d-73ed-4908-bd6c-dda9aebc6192" + ], + "x-ms-correlation-request-id": [ + "410fd81d-73ed-4908-bd6c-dda9aebc6192" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021841Z:410fd81d-73ed-4908-bd6c-dda9aebc6192" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:18:40 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzJjY2JhMDJhLWM5NDgtNDNlZC04ZWM5LTEwNzY3YWU4NmYwYz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "41c76346-3fe2-414c-b26a-4e377cfaa9e5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-request-id": [ + "aa26f774-5b86-4157-ad57-dde0ed4ba7fe" + ], + "x-ms-correlation-request-id": [ + "aa26f774-5b86-4157-ad57-dde0ed4ba7fe" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021841Z:aa26f774-5b86-4157-ad57-dde0ed4ba7fe" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:18:40 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzJjY2JhMDJhLWM5NDgtNDNlZC04ZWM5LTEwNzY3YWU4NmYwYz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "44d6e893-7426-47df-8eff-b9deb8f96c90" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "e762ce5a-a5b8-4e16-99a5-0f7d9ef04f15" + ], + "x-ms-correlation-request-id": [ + "e762ce5a-a5b8-4e16-99a5-0f7d9ef04f15" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021856Z:e762ce5a-a5b8-4e16-99a5-0f7d9ef04f15" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:18:56 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzJjY2JhMDJhLWM5NDgtNDNlZC04ZWM5LTEwNzY3YWU4NmYwYz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "58857a0e-f9c2-402a-b5d3-c0c1e04238b8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "8ac3a966-e3f0-48e0-a14c-b867c55d4833" + ], + "x-ms-correlation-request-id": [ + "8ac3a966-e3f0-48e0-a14c-b867c55d4833" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021911Z:8ac3a966-e3f0-48e0-a14c-b867c55d4833" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:19:11 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzJjY2JhMDJhLWM5NDgtNDNlZC04ZWM5LTEwNzY3YWU4NmYwYz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "6fd2c0f7-be3a-4170-b2f5-69098fffa6ab" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "f5db5c43-6225-44a2-a2df-179becff59d4" + ], + "x-ms-correlation-request-id": [ + "f5db5c43-6225-44a2-a2df-179becff59d4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021926Z:f5db5c43-6225-44a2-a2df-179becff59d4" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:19:26 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzJjY2JhMDJhLWM5NDgtNDNlZC04ZWM5LTEwNzY3YWU4NmYwYz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "324a4333-1862-4b2b-a548-4fa93f01c7ce" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "ebca20be-dc16-429e-9f1c-2a8caec048aa" + ], + "x-ms-correlation-request-id": [ + "ebca20be-dc16-429e-9f1c-2a8caec048aa" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021941Z:ebca20be-dc16-429e-9f1c-2a8caec048aa" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:19:41 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzJjY2JhMDJhLWM5NDgtNDNlZC04ZWM5LTEwNzY3YWU4NmYwYz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "21827383-8935-47f6-8807-34b47bb6623b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "2316a316-bbff-4052-b6dd-97f9ad744f17" + ], + "x-ms-correlation-request-id": [ + "2316a316-bbff-4052-b6dd-97f9ad744f17" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T021957Z:2316a316-bbff-4052-b6dd-97f9ad744f17" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:19:57 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzJjY2JhMDJhLWM5NDgtNDNlZC04ZWM5LTEwNzY3YWU4NmYwYz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "8c1891f3-bd9a-4523-9869-666194623739" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-request-id": [ + "dbb6b184-c0f8-49f4-a963-19741c0a8434" + ], + "x-ms-correlation-request-id": [ + "dbb6b184-c0f8-49f4-a963-19741c0a8434" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T022012Z:dbb6b184-c0f8-49f4-a963-19741c0a8434" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:20:11 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzJjY2JhMDJhLWM5NDgtNDNlZC04ZWM5LTEwNzY3YWU4NmYwYz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "6aed6c6e-b87d-424f-91bd-a84e95ac08a3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "f82745b7-7eb7-4bf5-8593-fab76ff44c11" + ], + "x-ms-correlation-request-id": [ + "f82745b7-7eb7-4bf5-8593-fab76ff44c11" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T022027Z:f82745b7-7eb7-4bf5-8593-fab76ff44c11" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:20:27 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzJjY2JhMDJhLWM5NDgtNDNlZC04ZWM5LTEwNzY3YWU4NmYwYz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "fd860b95-8c49-4ef2-a5d4-3ab3ab0f56ce" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "098df147-65c6-431b-b826-8f0e58ffea4a" + ], + "x-ms-correlation-request-id": [ + "098df147-65c6-431b-b826-8f0e58ffea4a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T022042Z:098df147-65c6-431b-b826-8f0e58ffea4a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:20:42 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzJjY2JhMDJhLWM5NDgtNDNlZC04ZWM5LTEwNzY3YWU4NmYwYz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "354914f9-ad67-4305-86a7-fb4a2a892869" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "6d99843a-5be1-4989-9c3e-33434846fb4f" + ], + "x-ms-correlation-request-id": [ + "6d99843a-5be1-4989-9c3e-33434846fb4f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T022057Z:6d99843a-5be1-4989-9c3e-33434846fb4f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:20:57 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzJjY2JhMDJhLWM5NDgtNDNlZC04ZWM5LTEwNzY3YWU4NmYwYz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "d610d480-c1ed-40e4-aa5f-c44e1e9e27fe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "822e3ea4-0218-42d3-b6c4-40a09beb0891" + ], + "x-ms-correlation-request-id": [ + "822e3ea4-0218-42d3-b6c4-40a09beb0891" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T022113Z:822e3ea4-0218-42d3-b6c4-40a09beb0891" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:21:12 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzJjY2JhMDJhLWM5NDgtNDNlZC04ZWM5LTEwNzY3YWU4NmYwYz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "c76b1f15-3870-4645-bb99-6e65843d14c1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31985" + ], + "x-ms-request-id": [ + "e01efbfc-86b6-4f93-97b9-107e6f25b728" + ], + "x-ms-correlation-request-id": [ + "e01efbfc-86b6-4f93-97b9-107e6f25b728" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T022128Z:e01efbfc-86b6-4f93-97b9-107e6f25b728" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:21:27 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzJjY2JhMDJhLWM5NDgtNDNlZC04ZWM5LTEwNzY3YWU4NmYwYz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "8e8f0a5d-740d-4139-b9c0-32acf69e024a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31984" + ], + "x-ms-request-id": [ + "255beadf-a3ae-46c1-88ea-b3a15aee28b2" + ], + "x-ms-correlation-request-id": [ + "255beadf-a3ae-46c1-88ea-b3a15aee28b2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T022143Z:255beadf-a3ae-46c1-88ea-b3a15aee28b2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:21:42 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzJjY2JhMDJhLWM5NDgtNDNlZC04ZWM5LTEwNzY3YWU4NmYwYz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "ca80e72f-2954-4a9e-b087-a98a008d9f10" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31983" + ], + "x-ms-request-id": [ + "25c7eafd-da51-4ed2-bd1b-241fa88be62c" + ], + "x-ms-correlation-request-id": [ + "25c7eafd-da51-4ed2-bd1b-241fa88be62c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T022158Z:25c7eafd-da51-4ed2-bd1b-241fa88be62c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:21:58 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzJjY2JhMDJhLWM5NDgtNDNlZC04ZWM5LTEwNzY3YWU4NmYwYz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "f4d03671-95e8-4b11-a0dd-81b34987c5c4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31982" + ], + "x-ms-request-id": [ + "c80a95f7-a871-48be-ac4d-16d906e7845b" + ], + "x-ms-correlation-request-id": [ + "c80a95f7-a871-48be-ac4d-16d906e7845b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T022213Z:c80a95f7-a871-48be-ac4d-16d906e7845b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:22:13 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzJjY2JhMDJhLWM5NDgtNDNlZC04ZWM5LTEwNzY3YWU4NmYwYz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "5bae6dde-6d2e-49c4-998d-b78d4893924e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31981" + ], + "x-ms-request-id": [ + "7057d899-6be1-4216-b144-cdabce59b5b6" + ], + "x-ms-correlation-request-id": [ + "7057d899-6be1-4216-b144-cdabce59b5b6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T022229Z:7057d899-6be1-4216-b144-cdabce59b5b6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:22:28 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzJjY2JhMDJhLWM5NDgtNDNlZC04ZWM5LTEwNzY3YWU4NmYwYz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "4f92606a-679d-480f-b150-160ab7d46711" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31980" + ], + "x-ms-request-id": [ + "9814251f-06ec-4a53-ab38-38a035da8364" + ], + "x-ms-correlation-request-id": [ + "9814251f-06ec-4a53-ab38-38a035da8364" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T022244Z:9814251f-06ec-4a53-ab38-38a035da8364" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:22:43 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzJjY2JhMDJhLWM5NDgtNDNlZC04ZWM5LTEwNzY3YWU4NmYwYz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "be2a9647-0ff5-4771-8adb-f7c451fd8fe1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31979" + ], + "x-ms-request-id": [ + "c2626d01-e7c8-4123-9686-e3395292ab76" + ], + "x-ms-correlation-request-id": [ + "c2626d01-e7c8-4123-9686-e3395292ab76" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T022259Z:c2626d01-e7c8-4123-9686-e3395292ab76" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:22:58 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzJjY2JhMDJhLWM5NDgtNDNlZC04ZWM5LTEwNzY3YWU4NmYwYz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "a34263d5-2aa2-4104-b00d-5d93c8b0f4f2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31978" + ], + "x-ms-request-id": [ + "6a0cc0fd-2892-47d6-b3e3-10f027c98bc8" + ], + "x-ms-correlation-request-id": [ + "6a0cc0fd-2892-47d6-b3e3-10f027c98bc8" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T022314Z:6a0cc0fd-2892-47d6-b3e3-10f027c98bc8" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:23:14 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzJjY2JhMDJhLWM5NDgtNDNlZC04ZWM5LTEwNzY3YWU4NmYwYz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "4204584b-4563-47b8-9123-6ead010f6617" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31977" + ], + "x-ms-request-id": [ + "236247f3-e785-4646-9b08-e5f68f671df2" + ], + "x-ms-correlation-request-id": [ + "236247f3-e785-4646-9b08-e5f68f671df2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T022329Z:236247f3-e785-4646-9b08-e5f68f671df2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:23:29 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzJjY2JhMDJhLWM5NDgtNDNlZC04ZWM5LTEwNzY3YWU4NmYwYz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "2c0862e3-f54b-440b-b913-ddfe978a2a6b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31976" + ], + "x-ms-request-id": [ + "a9ec57b5-1035-4614-b6cb-793b2c32d728" + ], + "x-ms-correlation-request-id": [ + "a9ec57b5-1035-4614-b6cb-793b2c32d728" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T022344Z:a9ec57b5-1035-4614-b6cb-793b2c32d728" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:23:44 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzJjY2JhMDJhLWM5NDgtNDNlZC04ZWM5LTEwNzY3YWU4NmYwYz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "eb4258bd-266e-4373-a091-71082630a0cb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31975" + ], + "x-ms-request-id": [ + "92969d11-9e7e-4e74-b9bf-fea0203a5a41" + ], + "x-ms-correlation-request-id": [ + "92969d11-9e7e-4e74-b9bf-fea0203a5a41" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T022400Z:92969d11-9e7e-4e74-b9bf-fea0203a5a41" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:24:00 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-pool-maxcount/providers/Microsoft.Batch/batchAccounts/testlistpoolmaxcount/operationResults/2ccba02a-c948-43ed-8ec9-10767ae86f0c?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHBvb2xtYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzJjY2JhMDJhLWM5NDgtNDNlZC04ZWM5LTEwNzY3YWU4NmYwYz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Sat, 21 Feb 2015 02:24:14 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "ae936d7f-4c37-40e4-82a1-1b786fb9c73b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31974" + ], + "x-ms-request-id": [ + "c1bcc3a7-45e2-4725-a25f-37334f21f325" + ], + "x-ms-correlation-request-id": [ + "c1bcc3a7-45e2-4725-a25f-37334f21f325" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T022415Z:c1bcc3a7-45e2-4725-a25f-37334f21f325" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:24:15 GMT" + ], + "ETag": [ + "0x8D21B949EE52B24" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-pool-maxcount?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC1wb29sLW1heGNvdW50P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "92070b59-0d34-4645-8203-5c9234d62dec" + ], + "x-ms-correlation-request-id": [ + "92070b59-0d34-4645-8203-5c9234d62dec" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T022417Z:92070b59-0d34-4645-8203-5c9234d62dec" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:24:17 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGQlBUMHc2TWtSTlFWaERUMVZPVkMxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "6df00330-ae00-474d-8850-91a681893c15" + ], + "x-ms-correlation-request-id": [ + "6df00330-ae00-474d-8850-91a681893c15" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T022417Z:6df00330-ae00-474d-8850-91a681893c15" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:24:17 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGQlBUMHc2TWtSTlFWaERUMVZPVkMxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "715c3148-2c13-4b23-a924-2c3e4f14b851" + ], + "x-ms-correlation-request-id": [ + "715c3148-2c13-4b23-a924-2c3e4f14b851" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T022432Z:715c3148-2c13-4b23-a924-2c3e4f14b851" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:24:32 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGQlBUMHc2TWtSTlFWaERUMVZPVkMxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "818e0d09-de2a-434c-854c-36f0c50d3558" + ], + "x-ms-correlation-request-id": [ + "818e0d09-de2a-434c-854c-36f0c50d3558" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T022448Z:818e0d09-de2a-434c-854c-36f0c50d3558" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:24:47 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFBPT0w6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGQlBUMHc2TWtSTlFWaERUMVZPVkMxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "c5b88b48-e8b1-48d7-97d3-a42a05d7b1b6" + ], + "x-ms-correlation-request-id": [ + "c5b88b48-e8b1-48d7-97d3-a42a05d7b1b6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150221T022503Z:c5b88b48-e8b1-48d7-97d3-a42a05d7b1b6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sat, 21 Feb 2015 02:25:02 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestGetTaskByName.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestGetTaskByName.json new file mode 100644 index 000000000000..0a7e5a437171 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestGetTaskByName.json @@ -0,0 +1,1004 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-get-task?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZ2V0LXRhc2s/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task\",\r\n \"name\": \"test-get-task\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "179" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-request-id": [ + "78964df0-5a78-4473-873d-bd2582182078" + ], + "x-ms-correlation-request-id": [ + "78964df0-5a78-4473-873d-bd2582182078" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T232528Z:78964df0-5a78-4473-873d-bd2582182078" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:25:27 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task/providers/Microsoft.Batch/batchAccounts/testgettaskbyname?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXR0YXNrYnluYW1lP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "request-id": [ + "e245f15b-97c4-4d73-8460-7eb30dbef9d5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a7a2790d-76f3-4a57-8218-7b324fc123cc" + ], + "x-ms-correlation-request-id": [ + "a7a2790d-76f3-4a57-8218-7b324fc123cc" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T232532Z:a7a2790d-76f3-4a57-8218-7b324fc123cc" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:25:32 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task/providers/Microsoft.Batch/batchAccounts/testgettaskbyname/operationResults/e245f15b-97c4-4d73-8460-7eb30dbef9d5?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task/providers/Microsoft.Batch/batchAccounts/testgettaskbyname/operationResults/e245f15b-97c4-4d73-8460-7eb30dbef9d5?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXR0YXNrYnluYW1lL29wZXJhdGlvblJlc3VsdHMvZTI0NWYxNWItOTdjNC00ZDczLTg0NjAtN2ViMzBkYmVmOWQ1P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testgettaskbyname\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testgettaskbyname.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task/providers/Microsoft.Batch/batchAccounts/testgettaskbyname\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "341" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:25:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "a8311c51-be76-49d5-8875-2277fb69508a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" + ], + "x-ms-request-id": [ + "885a2cd6-c0ca-4960-8790-4bc2ae18e131" + ], + "x-ms-correlation-request-id": [ + "885a2cd6-c0ca-4960-8790-4bc2ae18e131" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T232533Z:885a2cd6-c0ca-4960-8790-4bc2ae18e131" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:25:32 GMT" + ], + "ETag": [ + "0x8D21DD72750EEDE" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task/providers/Microsoft.Batch/batchAccounts/testgettaskbyname/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXR0YXNrYnluYW1lL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testgettaskbyname\",\r\n \"primary\": \"bRrNsUU5znxXF8utyuh+q5toyLJmUekKh9tBSm8118aNCtCm2F7tY4wHSAStSlpnzwPCQoyoon/kCW+kWqVUtA==\",\r\n \"secondary\": \"r+awiP+9RDxGy7RAdYvdbHiRW7zOVygyOBvYM+1oXUoLmuP767cmBXpggtZHekljLoKx22/yd+6SL8pmrFhc9Q==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "239" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "52d8cd28-b362-4c4e-b411-b0e41b73a621" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "abc7de20-e218-485c-b579-aec960130f50" + ], + "x-ms-correlation-request-id": [ + "abc7de20-e218-485c-b579-aec960130f50" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T232533Z:abc7de20-e218-485c-b579-aec960130f50" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:25:32 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task/providers/Microsoft.Batch/batchAccounts/testgettaskbyname/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXR0YXNrYnluYW1lL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testgettaskbyname\",\r\n \"primary\": \"bRrNsUU5znxXF8utyuh+q5toyLJmUekKh9tBSm8118aNCtCm2F7tY4wHSAStSlpnzwPCQoyoon/kCW+kWqVUtA==\",\r\n \"secondary\": \"r+awiP+9RDxGy7RAdYvdbHiRW7zOVygyOBvYM+1oXUoLmuP767cmBXpggtZHekljLoKx22/yd+6SL8pmrFhc9Q==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "239" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "9128be20-2ab8-4442-a890-14c01d8f9d15" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "fb44f413-aba1-4653-9c3e-4b0faca75973" + ], + "x-ms-correlation-request-id": [ + "fb44f413-aba1-4653-9c3e-4b0faca75973" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T232806Z:fb44f413-aba1-4653-9c3e-4b0faca75973" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:28:05 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testName?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0TmFtZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "48ee86b3-6bf3-463e-9582-83c7a6944757" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 23:28:01 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testgettaskbyname.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testName\",\r\n \"url\": \"https://testgettaskbyname.batch.core.windows.net/workitems/testName\",\r\n \"eTag\": \"0x8D21DD77DEC1ED8\",\r\n \"lastModified\": \"2015-02-23T23:27:58.0461784Z\",\r\n \"creationTime\": \"2015-02-23T23:27:58.0461784Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:27:58.0461784Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testgettaskbyname.batch.core.windows.net/workitems/testName/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:27:58 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "488f86ed-f6be-4bf1-bd95-bf6c2f36f2a5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 23:28:02 GMT" + ], + "ETag": [ + "0x8D21DD77DEC1ED8" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task/providers/Microsoft.Batch/batchAccounts/testgettaskbyname\",\r\n \"name\": \"testgettaskbyname\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "759" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "4632999b-a0ac-4af3-a6c9-f861f92a29ac" + ], + "x-ms-correlation-request-id": [ + "4632999b-a0ac-4af3-a6c9-f861f92a29ac" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T232804Z:4632999b-a0ac-4af3-a6c9-f861f92a29ac" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:28:03 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task/providers/Microsoft.Batch/batchAccounts/testgettaskbyname?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXR0YXNrYnluYW1lP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testgettaskbyname\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testgettaskbyname.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task/providers/Microsoft.Batch/batchAccounts/testgettaskbyname\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "341" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:28:05 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "4f27f90b-d8b2-4084-aff5-08786d83f2bd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-request-id": [ + "439349b7-ee6c-4a9c-af2d-0b02b092e088" + ], + "x-ms-correlation-request-id": [ + "439349b7-ee6c-4a9c-af2d-0b02b092e088" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T232805Z:439349b7-ee6c-4a9c-af2d-0b02b092e088" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:28:05 GMT" + ], + "ETag": [ + "0x8D21DD78252FF37" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testName/jobs/job-0000000001/tasks/testTask?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0TmFtZS9qb2JzL2pvYi0wMDAwMDAwMDAxL3Rhc2tzL3Rlc3RUYXNrP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "31c917f8-fce5-4694-bada-f5f9a6e99e6c" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 23:28:06 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testgettaskbyname.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://testgettaskbyname.batch.core.windows.net/workitems/testName/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D21DD780819BDD\",\r\n \"creationTime\": \"2015-02-23T23:28:02.3813085Z\",\r\n \"lastModified\": \"2015-02-23T23:28:02.3813085Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:28:02.3813085Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:28:02 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "02cf81a9-3f6b-48e5-85de-73f3ad0e2c8a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 23:28:05 GMT" + ], + "ETag": [ + "0x8D21DD780819BDD" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testName/jobs/job-0000000001/tasks/testTask?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0TmFtZS9qb2JzL2pvYi0wMDAwMDAwMDAxL3Rhc2tzL3Rlc3RUYXNrP2FwaS12ZXJzaW9uPTIwMTQtMTAtMDEuMS4w", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "992de2c6-b8cd-455f-b1ed-186ac5f23da1" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 23:28:06 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testgettaskbyname.batch.core.windows.net/$metadata#tasks/@Element\",\r\n \"name\": \"testTask\",\r\n \"url\": \"https://testgettaskbyname.batch.core.windows.net/workitems/testName/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D21DD780819BDD\",\r\n \"creationTime\": \"2015-02-23T23:28:02.3813085Z\",\r\n \"lastModified\": \"2015-02-23T23:28:02.3813085Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:28:02.3813085Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:28:02 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "471457f8-c2e0-46ec-9056-1d90eb018149" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 23:28:06 GMT" + ], + "ETag": [ + "0x8D21DD780819BDD" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task/providers/Microsoft.Batch/batchAccounts/testgettaskbyname?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXR0YXNrYnluYW1lP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "29b3adab-4cca-44a3-be38-04e549a5c8ef" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-request-id": [ + "e43bea65-b764-49af-a9a6-d7c2e75035f8" + ], + "x-ms-correlation-request-id": [ + "e43bea65-b764-49af-a9a6-d7c2e75035f8" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T232809Z:e43bea65-b764-49af-a9a6-d7c2e75035f8" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:28:08 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task/providers/Microsoft.Batch/batchAccounts/testgettaskbyname/operationResults/29b3adab-4cca-44a3-be38-04e549a5c8ef?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task/providers/Microsoft.Batch/batchAccounts/testgettaskbyname/operationResults/29b3adab-4cca-44a3-be38-04e549a5c8ef?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXR0YXNrYnluYW1lL29wZXJhdGlvblJlc3VsdHMvMjliM2FkYWItNGNjYS00NGEzLWJlMzgtMDRlNTQ5YTVjOGVmP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "38c3412c-3e79-4508-9481-8de374412c31" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "baf909f9-7025-4d3a-adcd-7484750da4e6" + ], + "x-ms-correlation-request-id": [ + "baf909f9-7025-4d3a-adcd-7484750da4e6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T232809Z:baf909f9-7025-4d3a-adcd-7484750da4e6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:28:08 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task/providers/Microsoft.Batch/batchAccounts/testgettaskbyname/operationResults/29b3adab-4cca-44a3-be38-04e549a5c8ef?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task/providers/Microsoft.Batch/batchAccounts/testgettaskbyname/operationResults/29b3adab-4cca-44a3-be38-04e549a5c8ef?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2svcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RnZXR0YXNrYnluYW1lL29wZXJhdGlvblJlc3VsdHMvMjliM2FkYWItNGNjYS00NGEzLWJlMzgtMDRlNTQ5YTVjOGVmP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:28:23 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "2a1e75fd-9b50-4c6f-a15d-0ccf25c1289c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "7c2cb133-3801-4778-b34a-a1bbb038969d" + ], + "x-ms-correlation-request-id": [ + "7c2cb133-3801-4778-b34a-a1bbb038969d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T232824Z:7c2cb133-3801-4778-b34a-a1bbb038969d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:28:23 GMT" + ], + "ETag": [ + "0x8D21DD78D5D4265" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-get-task?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZ2V0LXRhc2s/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-request-id": [ + "97d9e489-4993-4110-9400-2616cc3507e3" + ], + "x-ms-correlation-request-id": [ + "97d9e489-4993-4110-9400-2616cc3507e3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T232826Z:97d9e489-4993-4110-9400-2616cc3507e3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:28:25 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVZFRlRTeTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "770a0dd5-cf5f-48c5-a650-80be78c6ee4c" + ], + "x-ms-correlation-request-id": [ + "770a0dd5-cf5f-48c5-a650-80be78c6ee4c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T232826Z:770a0dd5-cf5f-48c5-a650-80be78c6ee4c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:28:25 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVZFRlRTeTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "abffc480-6d44-4596-97ff-6f5ad984d3e1" + ], + "x-ms-correlation-request-id": [ + "abffc480-6d44-4596-97ff-6f5ad984d3e1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T232841Z:abffc480-6d44-4596-97ff-6f5ad984d3e1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:28:40 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVZFRlRTeTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "8d506c81-c891-4a10-9163-5d95e5a8f8b5" + ], + "x-ms-correlation-request-id": [ + "8d506c81-c891-4a10-9163-5d95e5a8f8b5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T232856Z:8d506c81-c891-4a10-9163-5d95e5a8f8b5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:28:56 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVZFRlRTeTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "70ccbc8d-2fbb-4937-9ebe-c135a196ee3a" + ], + "x-ms-correlation-request-id": [ + "70ccbc8d-2fbb-4937-9ebe-c135a196ee3a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T232911Z:70ccbc8d-2fbb-4937-9ebe-c135a196ee3a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:29:11 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestGetTaskRequiredParameters.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestGetTaskRequiredParameters.json new file mode 100644 index 000000000000..c9d4a26f9050 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestGetTaskRequiredParameters.json @@ -0,0 +1,791 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-get-task-params?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZ2V0LXRhc2stcGFyYW1zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task-params\",\r\n \"name\": \"test-get-task-params\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "193" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "6166e568-b90a-4289-beb1-209f3544722e" + ], + "x-ms-correlation-request-id": [ + "6166e568-b90a-4289-beb1-209f3544722e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T231205Z:6166e568-b90a-4289-beb1-209f3544722e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:12:04 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task-params/providers/Microsoft.Batch/batchAccounts/testgettaskparams?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2stcGFyYW1zL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0dGFza3BhcmFtcz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "request-id": [ + "33261626-a13c-40df-864e-b0bd54b917b0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "ffafe8da-6e46-4486-9605-ee1d672d91dc" + ], + "x-ms-correlation-request-id": [ + "ffafe8da-6e46-4486-9605-ee1d672d91dc" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T231209Z:ffafe8da-6e46-4486-9605-ee1d672d91dc" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:12:09 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task-params/providers/Microsoft.Batch/batchAccounts/testgettaskparams/operationResults/33261626-a13c-40df-864e-b0bd54b917b0?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task-params/providers/Microsoft.Batch/batchAccounts/testgettaskparams/operationResults/33261626-a13c-40df-864e-b0bd54b917b0?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2stcGFyYW1zL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0dGFza3BhcmFtcy9vcGVyYXRpb25SZXN1bHRzLzMzMjYxNjI2LWExM2MtNDBkZi04NjRlLWIwYmQ1NGI5MTdiMD9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testgettaskparams\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testgettaskparams.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task-params/providers/Microsoft.Batch/batchAccounts/testgettaskparams\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "348" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:12:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "979635ef-4604-4166-98ae-cc81128d0c35" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31999" + ], + "x-ms-request-id": [ + "7ffe540c-7fab-4013-a18e-b018b269ca0d" + ], + "x-ms-correlation-request-id": [ + "7ffe540c-7fab-4013-a18e-b018b269ca0d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T231209Z:7ffe540c-7fab-4013-a18e-b018b269ca0d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:12:09 GMT" + ], + "ETag": [ + "0x8D21DD548753975" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task-params/providers/Microsoft.Batch/batchAccounts/testgettaskparams/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2stcGFyYW1zL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0dGFza3BhcmFtcy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testgettaskparams\",\r\n \"primary\": \"+vjxeNo87hlv92Z8TKxkjjnA6Tk8gaEtGrt/aSpXP+QRCyC9mJlxnJvaozyiZoq8Qovy3tOIRNM+w6xCwpI7rQ==\",\r\n \"secondary\": \"J/iuBgdlBPkS0mCFOtiI2V3AksuP/k+W+6Ho/uYuohWKCEpxu+23m3VcUkoo4ir2T1HAZeo1DNNxolraahjReA==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "239" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "85f75be2-f0ce-467c-bcf1-2cd925e3a060" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "b4633aec-baf6-4e6e-a7c2-11f561eadd8c" + ], + "x-ms-correlation-request-id": [ + "b4633aec-baf6-4e6e-a7c2-11f561eadd8c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T231209Z:b4633aec-baf6-4e6e-a7c2-11f561eadd8c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:12:09 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task-params/providers/Microsoft.Batch/batchAccounts/testgettaskparams/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2stcGFyYW1zL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0dGFza3BhcmFtcy9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testgettaskparams\",\r\n \"primary\": \"+vjxeNo87hlv92Z8TKxkjjnA6Tk8gaEtGrt/aSpXP+QRCyC9mJlxnJvaozyiZoq8Qovy3tOIRNM+w6xCwpI7rQ==\",\r\n \"secondary\": \"J/iuBgdlBPkS0mCFOtiI2V3AksuP/k+W+6Ho/uYuohWKCEpxu+23m3VcUkoo4ir2T1HAZeo1DNNxolraahjReA==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "239" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "1db9da43-faeb-4496-aa88-03af958517fb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-request-id": [ + "0660943d-9b9d-4a6a-964c-3fa1f9be40e2" + ], + "x-ms-correlation-request-id": [ + "0660943d-9b9d-4a6a-964c-3fa1f9be40e2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T231251Z:0660943d-9b9d-4a6a-964c-3fa1f9be40e2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:12:51 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task-params/providers/Microsoft.Batch/batchAccounts/testgettaskparams\",\r\n \"name\": \"testgettaskparams\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "766" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31999" + ], + "x-ms-request-id": [ + "9e59af3e-8cc0-4f85-a041-b5dc87758161" + ], + "x-ms-correlation-request-id": [ + "9e59af3e-8cc0-4f85-a041-b5dc87758161" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T231250Z:9e59af3e-8cc0-4f85-a041-b5dc87758161" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:12:50 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task-params/providers/Microsoft.Batch/batchAccounts/testgettaskparams?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2stcGFyYW1zL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0dGFza3BhcmFtcz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testgettaskparams\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testgettaskparams.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task-params/providers/Microsoft.Batch/batchAccounts/testgettaskparams\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "348" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:12:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "19154c61-406f-41da-9607-c2d463c96507" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31998" + ], + "x-ms-request-id": [ + "2a088a4a-6b91-4580-ac93-8f1a69aca2e1" + ], + "x-ms-correlation-request-id": [ + "2a088a4a-6b91-4580-ac93-8f1a69aca2e1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T231251Z:2a088a4a-6b91-4580-ac93-8f1a69aca2e1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:12:51 GMT" + ], + "ETag": [ + "0x8D21DD5611C8B86" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task-params/providers/Microsoft.Batch/batchAccounts/testgettaskparams?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2stcGFyYW1zL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0dGFza3BhcmFtcz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "343cd905-5954-4f7b-b447-f056c0ec661a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-request-id": [ + "0f4ac380-0f2a-41d7-927d-0cc1a42e41ff" + ], + "x-ms-correlation-request-id": [ + "0f4ac380-0f2a-41d7-927d-0cc1a42e41ff" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T231253Z:0f4ac380-0f2a-41d7-927d-0cc1a42e41ff" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:12:53 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task-params/providers/Microsoft.Batch/batchAccounts/testgettaskparams/operationResults/343cd905-5954-4f7b-b447-f056c0ec661a?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-task-params/providers/Microsoft.Batch/batchAccounts/testgettaskparams/operationResults/343cd905-5954-4f7b-b447-f056c0ec661a?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXRhc2stcGFyYW1zL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0dGFza3BhcmFtcy9vcGVyYXRpb25SZXN1bHRzLzM0M2NkOTA1LTU5NTQtNGY3Yi1iNDQ3LWYwNTZjMGVjNjYxYT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:12:53 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "84f6674a-e661-4b84-8d13-37071aa61087" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" + ], + "x-ms-request-id": [ + "b6914ae2-6d60-486a-92e8-e6f3a301be5d" + ], + "x-ms-correlation-request-id": [ + "b6914ae2-6d60-486a-92e8-e6f3a301be5d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T231254Z:b6914ae2-6d60-486a-92e8-e6f3a301be5d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:12:53 GMT" + ], + "ETag": [ + "0x8D21DD562D9F8D6" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-get-task-params?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZ2V0LXRhc2stcGFyYW1zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "a266380f-6cd1-49a1-9969-f437d9160283" + ], + "x-ms-correlation-request-id": [ + "a266380f-6cd1-49a1-9969-f437d9160283" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T231254Z:a266380f-6cd1-49a1-9969-f437d9160283" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:12:54 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSzoyRFBBUkFNUy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSzoyRFBBUkFNUy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVZFRlRTem95UkZCQlVrRk5VeTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31998" + ], + "x-ms-request-id": [ + "d07fb6c8-0a98-4e02-9bb6-b8a8df7bc43b" + ], + "x-ms-correlation-request-id": [ + "d07fb6c8-0a98-4e02-9bb6-b8a8df7bc43b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T231255Z:d07fb6c8-0a98-4e02-9bb6-b8a8df7bc43b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:12:54 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSzoyRFBBUkFNUy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSzoyRFBBUkFNUy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVZFRlRTem95UkZCQlVrRk5VeTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" + ], + "x-ms-request-id": [ + "1d53ac74-0b74-4f21-b7f2-96f831b3e449" + ], + "x-ms-correlation-request-id": [ + "1d53ac74-0b74-4f21-b7f2-96f831b3e449" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T231310Z:1d53ac74-0b74-4f21-b7f2-96f831b3e449" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:13:09 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSzoyRFBBUkFNUy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSzoyRFBBUkFNUy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVZFRlRTem95UkZCQlVrRk5VeTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-request-id": [ + "dc98dcff-5881-4d49-8155-04c31a82c8b6" + ], + "x-ms-correlation-request-id": [ + "dc98dcff-5881-4d49-8155-04c31a82c8b6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T231325Z:dc98dcff-5881-4d49-8155-04c31a82c8b6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:13:24 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSzoyRFBBUkFNUy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEVEFTSzoyRFBBUkFNUy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVZFRlRTem95UkZCQlVrRk5VeTFGUVZOVVZWTWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkltVmhjM1IxY3lKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "76c5f147-95b4-4bbd-b2ef-83164cb0bff0" + ], + "x-ms-correlation-request-id": [ + "76c5f147-95b4-4bbd-b2ef-83164cb0bff0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T231340Z:76c5f147-95b4-4bbd-b2ef-83164cb0bff0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:13:40 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListAllTasks.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListAllTasks.json new file mode 100644 index 000000000000..38903bdfd108 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListAllTasks.json @@ -0,0 +1,989 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-task?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC10YXNrP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task\",\r\n \"name\": \"test-list-task\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "181" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-request-id": [ + "7a51a02e-8ccd-4c3b-8eb7-c714bcf7d15f" + ], + "x-ms-correlation-request-id": [ + "7a51a02e-8ccd-4c3b-8eb7-c714bcf7d15f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233903Z:7a51a02e-8ccd-4c3b-8eb7-c714bcf7d15f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:39:02 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2s/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "request-id": [ + "0cf37f07-0c80-407a-bfbc-fa96abeee9f2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "dfe94b92-7ddc-413d-8d0a-167f66f83ec6" + ], + "x-ms-correlation-request-id": [ + "dfe94b92-7ddc-413d-8d0a-167f66f83ec6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233906Z:dfe94b92-7ddc-413d-8d0a-167f66f83ec6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:39:06 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask/operationResults/0cf37f07-0c80-407a-bfbc-fa96abeee9f2?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask/operationResults/0cf37f07-0c80-407a-bfbc-fa96abeee9f2?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2svb3BlcmF0aW9uUmVzdWx0cy8wY2YzN2YwNy0wYzgwLTQwN2EtYmZiYy1mYTk2YWJlZWU5ZjI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlisttask\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlisttask.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "327" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:39:06 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "b4175b2e-d90e-452e-b284-5754c93785f4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "cf4e8433-1253-48c1-9123-c0e070d4c09f" + ], + "x-ms-correlation-request-id": [ + "cf4e8433-1253-48c1-9123-c0e070d4c09f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233906Z:cf4e8433-1253-48c1-9123-c0e070d4c09f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:39:06 GMT" + ], + "ETag": [ + "0x8D21DD90C582BB3" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2svbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlisttask\",\r\n \"primary\": \"ZpssBoXxeesRWR1LbJzD2JrP8JGumC89XfvILRApDyO7bX9nhq2AMRSYrcLEjHk/S1bHIBVh7DcqbH63noJuFw==\",\r\n \"secondary\": \"Vjrl6UWRw8/upyImihgE78QiXq/0vrNMIVb/hOIpKFyUl9hi0U2R/zeeAYXO5fix4XYzzLe2DfbwANemIEMZgQ==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "84682dc5-7244-4d61-93b6-ba402586c345" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-request-id": [ + "1f6fd8dc-5b2d-4239-840c-3b6af362c901" + ], + "x-ms-correlation-request-id": [ + "1f6fd8dc-5b2d-4239-840c-3b6af362c901" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233906Z:1f6fd8dc-5b2d-4239-840c-3b6af362c901" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:39:06 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2svbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlisttask\",\r\n \"primary\": \"ZpssBoXxeesRWR1LbJzD2JrP8JGumC89XfvILRApDyO7bX9nhq2AMRSYrcLEjHk/S1bHIBVh7DcqbH63noJuFw==\",\r\n \"secondary\": \"Vjrl6UWRw8/upyImihgE78QiXq/0vrNMIVb/hOIpKFyUl9hi0U2R/zeeAYXO5fix4XYzzLe2DfbwANemIEMZgQ==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "7cdbb9ef-7f7b-4606-bb73-915cd50d723f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-request-id": [ + "02eea524-70c8-40b0-b37e-ea0cd2b1a807" + ], + "x-ms-correlation-request-id": [ + "02eea524-70c8-40b0-b37e-ea0cd2b1a807" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T234046Z:02eea524-70c8-40b0-b37e-ea0cd2b1a807" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:40:46 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "f4307d55-90a7-4379-947b-c85511bbffb2" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 23:40:42 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttask.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlisttask.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DD945644004\",\r\n \"lastModified\": \"2015-02-23T23:40:42.1967876Z\",\r\n \"creationTime\": \"2015-02-23T23:40:42.1967876Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:40:42.1967876Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlisttask.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:40:42 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "f07a887c-71ac-40c7-90f2-90abadcfe760" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 23:40:42 GMT" + ], + "ETag": [ + "0x8D21DD945644004" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask\",\r\n \"name\": \"testlisttask\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "750" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "c936be69-bff6-4a10-8b85-f3991df88e76" + ], + "x-ms-correlation-request-id": [ + "c936be69-bff6-4a10-8b85-f3991df88e76" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T234045Z:c936be69-bff6-4a10-8b85-f3991df88e76" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:40:45 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2s/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlisttask\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlisttask.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "327" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:40:46 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "2b1d71b7-1151-418b-860c-6ef102308605" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-request-id": [ + "90f1a953-9512-4a54-9ef6-27c0f28017aa" + ], + "x-ms-correlation-request-id": [ + "90f1a953-9512-4a54-9ef6-27c0f28017aa" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T234046Z:90f1a953-9512-4a54-9ef6-27c0f28017aa" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:40:46 GMT" + ], + "ETag": [ + "0x8D21DD947A903DE" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "2dab7219-7c4c-4b14-92d7-5a7d8946a7ef" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 23:40:46 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttask.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask1\",\r\n \"url\": \"https://testlisttask.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask1\",\r\n \"eTag\": \"0x8D21DD945BF0563\",\r\n \"creationTime\": \"2015-02-23T23:40:42.7916643Z\",\r\n \"lastModified\": \"2015-02-23T23:40:42.7916643Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:40:42.7916643Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n }\r\n },\r\n {\r\n \"name\": \"testTask2\",\r\n \"url\": \"https://testlisttask.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask2\",\r\n \"eTag\": \"0x8D21DD945DF2C41\",\r\n \"creationTime\": \"2015-02-23T23:40:43.0023745Z\",\r\n \"lastModified\": \"2015-02-23T23:40:43.0023745Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:40:43.0023745Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n }\r\n },\r\n {\r\n \"name\": \"testTask3\",\r\n \"url\": \"https://testlisttask.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask3\",\r\n \"eTag\": \"0x8D21DD945FFD399\",\r\n \"creationTime\": \"2015-02-23T23:40:43.2163737Z\",\r\n \"lastModified\": \"2015-02-23T23:40:43.2163737Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:40:43.2163737Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "e1cc7aea-1f77-42bb-99f2-c5c086dc68eb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 23:40:47 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "ef8a148c-b8f6-4dff-8b30-e50b3067227b" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 23:40:47 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttask.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask1\",\r\n \"url\": \"https://testlisttask.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask1\",\r\n \"eTag\": \"0x8D21DD945BF0563\",\r\n \"creationTime\": \"2015-02-23T23:40:42.7916643Z\",\r\n \"lastModified\": \"2015-02-23T23:40:42.7916643Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:40:42.7916643Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n }\r\n },\r\n {\r\n \"name\": \"testTask2\",\r\n \"url\": \"https://testlisttask.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask2\",\r\n \"eTag\": \"0x8D21DD945DF2C41\",\r\n \"creationTime\": \"2015-02-23T23:40:43.0023745Z\",\r\n \"lastModified\": \"2015-02-23T23:40:43.0023745Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:40:43.0023745Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n }\r\n },\r\n {\r\n \"name\": \"testTask3\",\r\n \"url\": \"https://testlisttask.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask3\",\r\n \"eTag\": \"0x8D21DD945FFD399\",\r\n \"creationTime\": \"2015-02-23T23:40:43.2163737Z\",\r\n \"lastModified\": \"2015-02-23T23:40:43.2163737Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:40:43.2163737Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "e462278e-49c0-4c7e-a881-ed96dcaeb4db" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 23:40:47 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "337164e9-0be6-4b4c-8bb9-bbd2694610ea" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 23:40:47 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttask.batch.core.windows.net/$metadata#jobs/@Element\",\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testlisttask.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D21DD9456C58BA\",\r\n \"lastModified\": \"2015-02-23T23:40:42.249849Z\",\r\n \"creationTime\": \"2015-02-23T23:40:42.2347957Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:40:42.249849Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-02-23T23:40:42.249849Z\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:40:42 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "15c5f7ca-6b68-40df-aec4-081d68343e6e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 23:40:47 GMT" + ], + "ETag": [ + "0x8D21DD9456C58BA" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2s/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "7cfafa7d-d12a-41f3-a143-01e001099aca" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-request-id": [ + "72f650d7-798f-4629-8a8d-5f13ce2fc691" + ], + "x-ms-correlation-request-id": [ + "72f650d7-798f-4629-8a8d-5f13ce2fc691" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T234050Z:72f650d7-798f-4629-8a8d-5f13ce2fc691" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:40:49 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask/operationResults/7cfafa7d-d12a-41f3-a143-01e001099aca?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask/operationResults/7cfafa7d-d12a-41f3-a143-01e001099aca?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2svb3BlcmF0aW9uUmVzdWx0cy83Y2ZhZmE3ZC1kMTJhLTQxZjMtYTE0My0wMWUwMDEwOTlhY2E/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "897a5631-c7fd-4b3e-9f66-a2c80ad2870d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "25144c65-9ee7-4365-b52e-e3ecb38ad3c5" + ], + "x-ms-correlation-request-id": [ + "25144c65-9ee7-4365-b52e-e3ecb38ad3c5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T234050Z:25144c65-9ee7-4365-b52e-e3ecb38ad3c5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:40:50 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask/operationResults/7cfafa7d-d12a-41f3-a143-01e001099aca?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task/providers/Microsoft.Batch/batchAccounts/testlisttask/operationResults/7cfafa7d-d12a-41f3-a143-01e001099aca?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2svb3BlcmF0aW9uUmVzdWx0cy83Y2ZhZmE3ZC1kMTJhLTQxZjMtYTE0My0wMWUwMDEwOTlhY2E/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:41:05 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "646e7439-621a-4060-95ef-7f86bcebcb46" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "b06902c9-e3e3-494c-8e90-18a8d754bae9" + ], + "x-ms-correlation-request-id": [ + "b06902c9-e3e3-494c-8e90-18a8d754bae9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T234105Z:b06902c9-e3e3-494c-8e90-18a8d754bae9" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:41:04 GMT" + ], + "ETag": [ + "0x8D21DD953389706" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-task?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC10YXNrP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-request-id": [ + "c3787a41-b9c2-445b-977d-c319d53dd2a7" + ], + "x-ms-correlation-request-id": [ + "c3787a41-b9c2-445b-977d-c319d53dd2a7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T234106Z:c3787a41-b9c2-445b-977d-c319d53dd2a7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:41:06 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0stRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0stRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHN0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "0a285314-c5ef-43bd-92db-fd43eb3a42d4" + ], + "x-ms-correlation-request-id": [ + "0a285314-c5ef-43bd-92db-fd43eb3a42d4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T234107Z:0a285314-c5ef-43bd-92db-fd43eb3a42d4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:41:06 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0stRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0stRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHN0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31985" + ], + "x-ms-request-id": [ + "e2a80e59-d433-48c4-9028-7e30e7d73523" + ], + "x-ms-correlation-request-id": [ + "e2a80e59-d433-48c4-9028-7e30e7d73523" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T234122Z:e2a80e59-d433-48c4-9028-7e30e7d73523" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:41:21 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0stRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0stRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHN0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31984" + ], + "x-ms-request-id": [ + "2e57e9d9-3857-418a-b229-1a086d2ae60e" + ], + "x-ms-correlation-request-id": [ + "2e57e9d9-3857-418a-b229-1a086d2ae60e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T234137Z:2e57e9d9-3857-418a-b229-1a086d2ae60e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:41:36 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTaskPipeline.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTaskPipeline.json new file mode 100644 index 000000000000..deacacb46846 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTaskPipeline.json @@ -0,0 +1,1085 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-task-pipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC10YXNrLXBpcGU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe\",\r\n \"name\": \"test-list-task-pipe\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "191" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-request-id": [ + "ed6a7464-347d-41b3-a6bc-37f7de4ef052" + ], + "x-ms-correlation-request-id": [ + "ed6a7464-347d-41b3-a6bc-37f7de4ef052" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T234656Z:ed6a7464-347d-41b3-a6bc-37f7de4ef052" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:46:56 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLXBpcGUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0dGFza3BpcGU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1188" + ], + "request-id": [ + "511cb661-1172-4b54-9c48-892fea743779" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "6eea431f-1410-491c-bdcd-665e30b4d056" + ], + "x-ms-correlation-request-id": [ + "6eea431f-1410-491c-bdcd-665e30b4d056" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T234700Z:6eea431f-1410-491c-bdcd-665e30b4d056" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:46:59 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe/operationResults/511cb661-1172-4b54-9c48-892fea743779?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe/operationResults/511cb661-1172-4b54-9c48-892fea743779?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLXBpcGUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0dGFza3BpcGUvb3BlcmF0aW9uUmVzdWx0cy81MTFjYjY2MS0xMTcyLTRiNTQtOWM0OC04OTJmZWE3NDM3Nzk/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlisttaskpipe\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlisttaskpipe.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "344" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:47:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "4ecd6223-3151-4b96-b962-3d59a75bc73b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31978" + ], + "x-ms-request-id": [ + "a5910fb1-5739-4577-9a41-876f0b4f2f97" + ], + "x-ms-correlation-request-id": [ + "a5910fb1-5739-4577-9a41-876f0b4f2f97" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T234700Z:a5910fb1-5739-4577-9a41-876f0b4f2f97" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:46:59 GMT" + ], + "ETag": [ + "0x8D21DDA269E25F4" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLXBpcGUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0dGFza3BpcGUvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlisttaskpipe\",\r\n \"primary\": \"DHB59LBIEPOYJ0ZQ+j/P11etEjxHpsXcSZHja0ZuAdEGMg6ij9opKUr1Gk9ZbI0q7UdTvB47heoJ8YEIL6/nGA==\",\r\n \"secondary\": \"Tp92RieKtl0Jj5pkNmdcw5uUoDoFeYx7q4IFV0lGig0UP7XXnt6DzDgXXejkVyhnJgQTxUVRGMiFdfOadt9qag==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "238" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "3a308cdc-49cb-4ad5-9fe6-eab7ef72b2a1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1187" + ], + "x-ms-request-id": [ + "ca1fb7f5-030d-4983-a25a-953cdcb52c54" + ], + "x-ms-correlation-request-id": [ + "ca1fb7f5-030d-4983-a25a-953cdcb52c54" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T234700Z:ca1fb7f5-030d-4983-a25a-953cdcb52c54" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:46:59 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLXBpcGUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0dGFza3BpcGUvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlisttaskpipe\",\r\n \"primary\": \"DHB59LBIEPOYJ0ZQ+j/P11etEjxHpsXcSZHja0ZuAdEGMg6ij9opKUr1Gk9ZbI0q7UdTvB47heoJ8YEIL6/nGA==\",\r\n \"secondary\": \"Tp92RieKtl0Jj5pkNmdcw5uUoDoFeYx7q4IFV0lGig0UP7XXnt6DzDgXXejkVyhnJgQTxUVRGMiFdfOadt9qag==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "238" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "1f15c488-cd9c-41c5-bdca-27a95bb749af" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1187" + ], + "x-ms-request-id": [ + "87f88240-2180-4a75-b966-e87d3b0166e6" + ], + "x-ms-correlation-request-id": [ + "87f88240-2180-4a75-b966-e87d3b0166e6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T234843Z:87f88240-2180-4a75-b966-e87d3b0166e6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:48:42 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "f17ec2d7-ad52-4140-9a58-8bae8e084bb6" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 23:48:39 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskpipe.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlisttaskpipe.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DDA61F0D615\",\r\n \"lastModified\": \"2015-02-23T23:48:39.5910677Z\",\r\n \"creationTime\": \"2015-02-23T23:48:39.5910677Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:48:39.5910677Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlisttaskpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:48:39 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "c5cd3c86-95d5-477a-ad2a-bffad4b863da" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 23:48:38 GMT" + ], + "ETag": [ + "0x8D21DDA61F0D615" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "869c87a2-7a2a-4d50-bcd8-3eba279a5866" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 23:48:44 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskpipe.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlisttaskpipe.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DDA61F0D615\",\r\n \"lastModified\": \"2015-02-23T23:48:39.5910677Z\",\r\n \"creationTime\": \"2015-02-23T23:48:39.5910677Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:48:39.5910677Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlisttaskpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:48:39 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "c0150113-dce4-4e5e-ab0b-970712870402" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 23:48:44 GMT" + ], + "ETag": [ + "0x8D21DDA61F0D615" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe\",\r\n \"name\": \"testlisttaskpipe\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "763" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31977" + ], + "x-ms-request-id": [ + "b682a3c8-16a1-4652-8a59-fd59198fe53f" + ], + "x-ms-correlation-request-id": [ + "b682a3c8-16a1-4652-8a59-fd59198fe53f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T234841Z:b682a3c8-16a1-4652-8a59-fd59198fe53f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:48:41 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLXBpcGUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0dGFza3BpcGU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlisttaskpipe\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlisttaskpipe.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "344" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:48:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "fb4f8022-f308-43e2-b593-416ae9044ce1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "a0070796-3443-401c-9370-1f6b57f6fefc" + ], + "x-ms-correlation-request-id": [ + "a0070796-3443-401c-9370-1f6b57f6fefc" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T234843Z:a0070796-3443-401c-9370-1f6b57f6fefc" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:48:42 GMT" + ], + "ETag": [ + "0x8D21DDA63C891FD" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "2f4d438a-dfb7-4876-9dfe-d06f14ad56a2" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 23:48:43 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskpipe.batch.core.windows.net/$metadata#jobs/@Element\",\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testlisttaskpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D21DDA61FC460B\",\r\n \"lastModified\": \"2015-02-23T23:48:39.6660235Z\",\r\n \"creationTime\": \"2015-02-23T23:48:39.6460244Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:48:39.6660235Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-02-23T23:48:39.6660235Z\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:48:39 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "4244d92f-50fe-4676-b52f-0f231fb63536" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 23:48:43 GMT" + ], + "ETag": [ + "0x8D21DDA61FC460B" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "c00d072c-9437-4a14-aa8f-bb5e4b84db1a" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 23:48:43 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskpipe.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"url\": \"https://testlisttaskpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D21DDA6292486E\",\r\n \"creationTime\": \"2015-02-23T23:48:40.6491246Z\",\r\n \"lastModified\": \"2015-02-23T23:48:40.6491246Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:48:40.6491246Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "4a99870e-8d42-4b94-90c9-e8c61d023282" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 23:48:43 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "ee9b0679-2e87-48b7-8815-ddc42fa9e421" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 23:48:44 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskpipe.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask\",\r\n \"url\": \"https://testlisttaskpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask\",\r\n \"eTag\": \"0x8D21DDA6292486E\",\r\n \"creationTime\": \"2015-02-23T23:48:40.6491246Z\",\r\n \"lastModified\": \"2015-02-23T23:48:40.6491246Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:48:40.6491246Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "9b5834bd-e1b1-4a13-bee6-ce1bf3f1987c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 23:48:44 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem/jobs?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "458c9f1b-3859-4d74-b93e-634c65685789" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 23:48:44 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskpipe.batch.core.windows.net/$metadata#jobs\",\r\n \"value\": [\r\n {\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testlisttaskpipe.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D21DDA61FC460B\",\r\n \"lastModified\": \"2015-02-23T23:48:39.6660235Z\",\r\n \"creationTime\": \"2015-02-23T23:48:39.6460244Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:48:39.6660235Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-02-23T23:48:39.6660235Z\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "c5543f56-ae17-406d-8aaa-3bf2ff1a03a4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 23:48:44 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLXBpcGUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0dGFza3BpcGU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "accdaf89-aca8-4d14-b74b-36c9c1165e3d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1186" + ], + "x-ms-request-id": [ + "50426d99-90ef-48c2-80d0-1effe18f381e" + ], + "x-ms-correlation-request-id": [ + "50426d99-90ef-48c2-80d0-1effe18f381e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T234847Z:50426d99-90ef-48c2-80d0-1effe18f381e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:48:47 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe/operationResults/accdaf89-aca8-4d14-b74b-36c9c1165e3d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe/operationResults/accdaf89-aca8-4d14-b74b-36c9c1165e3d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLXBpcGUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0dGFza3BpcGUvb3BlcmF0aW9uUmVzdWx0cy9hY2NkYWY4OS1hY2E4LTRkMTQtYjc0Yi0zNmM5YzExNjVlM2Q/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "706539d7-52a5-4370-9104-d8f6463196c1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "88de2a55-5141-429a-b0e5-2c4f9879de13" + ], + "x-ms-correlation-request-id": [ + "88de2a55-5141-429a-b0e5-2c4f9879de13" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T234847Z:88de2a55-5141-429a-b0e5-2c4f9879de13" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:48:47 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe/operationResults/accdaf89-aca8-4d14-b74b-36c9c1165e3d?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-pipe/providers/Microsoft.Batch/batchAccounts/testlisttaskpipe/operationResults/accdaf89-aca8-4d14-b74b-36c9c1165e3d?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLXBpcGUvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0dGFza3BpcGUvb3BlcmF0aW9uUmVzdWx0cy9hY2NkYWY4OS1hY2E4LTRkMTQtYjc0Yi0zNmM5YzExNjVlM2Q/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:49:02 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "e6e1dadc-0f0f-44a1-bc30-714ff8925137" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31985" + ], + "x-ms-request-id": [ + "dc265f19-71aa-4f91-9cb1-d881ed40191b" + ], + "x-ms-correlation-request-id": [ + "dc265f19-71aa-4f91-9cb1-d881ed40191b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T234902Z:dc265f19-71aa-4f91-9cb1-d881ed40191b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:49:02 GMT" + ], + "ETag": [ + "0x8D21DDA6F93F92F" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-task-pipe?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC10YXNrLXBpcGU/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1186" + ], + "x-ms-request-id": [ + "9473d7b1-ac16-42cc-8ee1-f373a4c1cc8c" + ], + "x-ms-correlation-request-id": [ + "9473d7b1-ac16-42cc-8ee1-f373a4c1cc8c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T234904Z:9473d7b1-ac16-42cc-8ee1-f373a4c1cc8c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:49:03 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRQSVBFLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRQSVBFLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHM2TWtSUVNWQkZMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31976" + ], + "x-ms-request-id": [ + "5c8cbd8d-4609-4e83-9bf7-3b34d4d6ef2a" + ], + "x-ms-correlation-request-id": [ + "5c8cbd8d-4609-4e83-9bf7-3b34d4d6ef2a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T234904Z:5c8cbd8d-4609-4e83-9bf7-3b34d4d6ef2a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:49:04 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRQSVBFLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRQSVBFLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHM2TWtSUVNWQkZMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31975" + ], + "x-ms-request-id": [ + "548a7346-8f7d-4c13-8407-f31bf72ee38b" + ], + "x-ms-correlation-request-id": [ + "548a7346-8f7d-4c13-8407-f31bf72ee38b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T234919Z:548a7346-8f7d-4c13-8407-f31bf72ee38b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:49:19 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRQSVBFLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRQSVBFLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHM2TWtSUVNWQkZMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31974" + ], + "x-ms-request-id": [ + "df96c944-350c-45bf-b7a3-552195554b07" + ], + "x-ms-correlation-request-id": [ + "df96c944-350c-45bf-b7a3-552195554b07" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T234935Z:df96c944-350c-45bf-b7a3-552195554b07" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:49:34 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTasksByFilter.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTasksByFilter.json new file mode 100644 index 000000000000..abb4fdbd724f --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTasksByFilter.json @@ -0,0 +1,983 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-task-filter?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC10YXNrLWZpbHRlcj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-filter\",\r\n \"name\": \"test-list-task-filter\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "195" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "bf3fd9f7-a40a-48e8-967a-943116dfc073" + ], + "x-ms-correlation-request-id": [ + "bf3fd9f7-a40a-48e8-967a-943116dfc073" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T232954Z:bf3fd9f7-a40a-48e8-967a-943116dfc073" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:29:54 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-filter/providers/Microsoft.Batch/batchAccounts/testlisttaskfilter?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R0YXNrZmlsdGVyP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "request-id": [ + "6d8b2e31-3db0-4a28-bda8-f483fa51f43e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "36f2134c-5985-4eb1-83ec-66f3a61923ff" + ], + "x-ms-correlation-request-id": [ + "36f2134c-5985-4eb1-83ec-66f3a61923ff" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T232959Z:36f2134c-5985-4eb1-83ec-66f3a61923ff" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:29:58 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-filter/providers/Microsoft.Batch/batchAccounts/testlisttaskfilter/operationResults/6d8b2e31-3db0-4a28-bda8-f483fa51f43e?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-filter/providers/Microsoft.Batch/batchAccounts/testlisttaskfilter/operationResults/6d8b2e31-3db0-4a28-bda8-f483fa51f43e?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R0YXNrZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvNmQ4YjJlMzEtM2RiMC00YTI4LWJkYTgtZjQ4M2ZhNTFmNDNlP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlisttaskfilter\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlisttaskfilter.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-filter/providers/Microsoft.Batch/batchAccounts/testlisttaskfilter\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:29:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "711976f1-b4ba-45e6-b25c-debd5f8d37ec" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-request-id": [ + "ef82c82c-33f8-4384-95a4-35f04bb3803b" + ], + "x-ms-correlation-request-id": [ + "ef82c82c-33f8-4384-95a4-35f04bb3803b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T232959Z:ef82c82c-33f8-4384-95a4-35f04bb3803b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:29:58 GMT" + ], + "ETag": [ + "0x8D21DD7C61F282F" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-filter/providers/Microsoft.Batch/batchAccounts/testlisttaskfilter/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R0YXNrZmlsdGVyL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlisttaskfilter\",\r\n \"primary\": \"SuFImI9EWEnR65u7Uag8LmEdr3E0Tu+q2TsUpXAvoKCsaqsAkH9XXv6WQE4XwwTdTTX7uQ3O9O7LXpvvv3xIGw==\",\r\n \"secondary\": \"yH4lb1jfcOa28NeGg6DnweeNQVqB8ymzlC4CgG854Ix4RwPsvv5t7Bs8zhoBU1dmRNf0w8foRwrXMKOjpNQ/DA==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "240" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "5a7c03ff-d233-4848-ac91-edc36e0766ae" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-request-id": [ + "ef3cd9c7-98f4-4bd2-8b2f-d0389754e4dc" + ], + "x-ms-correlation-request-id": [ + "ef3cd9c7-98f4-4bd2-8b2f-d0389754e4dc" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T232959Z:ef3cd9c7-98f4-4bd2-8b2f-d0389754e4dc" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:29:59 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-filter/providers/Microsoft.Batch/batchAccounts/testlisttaskfilter/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R0YXNrZmlsdGVyL2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlisttaskfilter\",\r\n \"primary\": \"SuFImI9EWEnR65u7Uag8LmEdr3E0Tu+q2TsUpXAvoKCsaqsAkH9XXv6WQE4XwwTdTTX7uQ3O9O7LXpvvv3xIGw==\",\r\n \"secondary\": \"yH4lb1jfcOa28NeGg6DnweeNQVqB8ymzlC4CgG854Ix4RwPsvv5t7Bs8zhoBU1dmRNf0w8foRwrXMKOjpNQ/DA==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "240" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "b528e14d-f9a9-43e6-8186-286fca77c913" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-request-id": [ + "279e204f-2313-4cc7-888f-3801b9dc0e91" + ], + "x-ms-correlation-request-id": [ + "279e204f-2313-4cc7-888f-3801b9dc0e91" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233116Z:279e204f-2313-4cc7-888f-3801b9dc0e91" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:31:15 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "0ce22b29-2ccc-48d3-a27e-5ed54fce5cb9" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 23:31:12 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskfilter.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlisttaskfilter.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DD7F1E4C0C5\",\r\n \"lastModified\": \"2015-02-23T23:31:12.6136005Z\",\r\n \"creationTime\": \"2015-02-23T23:31:12.6136005Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:31:12.6136005Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlisttaskfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:31:12 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "76eb34c7-7476-4aaf-8192-7442984f93be" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 23:31:12 GMT" + ], + "ETag": [ + "0x8D21DD7F1E4C0C5" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-filter/providers/Microsoft.Batch/batchAccounts/testlisttaskfilter\",\r\n \"name\": \"testlisttaskfilter\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "769" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "92f9a7ca-a154-421f-a9fe-4688004f5115" + ], + "x-ms-correlation-request-id": [ + "92f9a7ca-a154-421f-a9fe-4688004f5115" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233115Z:92f9a7ca-a154-421f-a9fe-4688004f5115" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:31:15 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-filter/providers/Microsoft.Batch/batchAccounts/testlisttaskfilter?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R0YXNrZmlsdGVyP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlisttaskfilter\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlisttaskfilter.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-filter/providers/Microsoft.Batch/batchAccounts/testlisttaskfilter\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:31:15 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "5bfcc884-4043-424c-9d33-3f335057ba9d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "a67257e2-3eca-4029-991a-696279f44d62" + ], + "x-ms-correlation-request-id": [ + "a67257e2-3eca-4029-991a-696279f44d62" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233115Z:a67257e2-3eca-4029-991a-696279f44d62" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:31:15 GMT" + ], + "ETag": [ + "0x8D21DD7F389E767" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0&$filter=startswith(name%2C'testTask')", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMCYkZmlsdGVyPXN0YXJ0c3dpdGglMjhuYW1lJTJDJTI3dGVzdFRhc2slMjclMjk=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "5618ea09-2632-4853-a971-79bf1b6f67d7" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 23:31:16 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskfilter.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask1\",\r\n \"url\": \"https://testlisttaskfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask1\",\r\n \"eTag\": \"0x8D21DD7F22B64B4\",\r\n \"creationTime\": \"2015-02-23T23:31:13.0765492Z\",\r\n \"lastModified\": \"2015-02-23T23:31:13.0765492Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:31:13.0765492Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n }\r\n },\r\n {\r\n \"name\": \"testTask2\",\r\n \"url\": \"https://testlisttaskfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask2\",\r\n \"eTag\": \"0x8D21DD7F24AFA75\",\r\n \"creationTime\": \"2015-02-23T23:31:13.2835445Z\",\r\n \"lastModified\": \"2015-02-23T23:31:13.2835445Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:31:13.2835445Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "b0db1e0a-6c6c-4401-8c75-8d8df90021f1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 23:31:16 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0&$filter=startswith(name%2C'testTask')", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMCYkZmlsdGVyPXN0YXJ0c3dpdGglMjhuYW1lJTJDJTI3dGVzdFRhc2slMjclMjk=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "ec38ece8-5f5e-405a-a555-6212d3e54162" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 23:31:17 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskfilter.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask1\",\r\n \"url\": \"https://testlisttaskfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask1\",\r\n \"eTag\": \"0x8D21DD7F22B64B4\",\r\n \"creationTime\": \"2015-02-23T23:31:13.0765492Z\",\r\n \"lastModified\": \"2015-02-23T23:31:13.0765492Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:31:13.0765492Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n }\r\n },\r\n {\r\n \"name\": \"testTask2\",\r\n \"url\": \"https://testlisttaskfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask2\",\r\n \"eTag\": \"0x8D21DD7F24AFA75\",\r\n \"creationTime\": \"2015-02-23T23:31:13.2835445Z\",\r\n \"lastModified\": \"2015-02-23T23:31:13.2835445Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:31:13.2835445Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "761a9110-2d25-480a-9768-f82630fb9d44" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 23:31:16 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "54cab13b-54f6-4862-8424-8fe75183c7ec" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 23:31:16 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskfilter.batch.core.windows.net/$metadata#jobs/@Element\",\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testlisttaskfilter.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D21DD7F1ED74C0\",\r\n \"lastModified\": \"2015-02-23T23:31:12.6706368Z\",\r\n \"creationTime\": \"2015-02-23T23:31:12.6545926Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:31:12.6706368Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-02-23T23:31:12.6706368Z\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:31:12 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "517be9a3-d1db-4eef-8a3c-fc15209323b2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 23:31:16 GMT" + ], + "ETag": [ + "0x8D21DD7F1ED74C0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-filter/providers/Microsoft.Batch/batchAccounts/testlisttaskfilter?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R0YXNrZmlsdGVyP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "2eb119cf-6492-4e5c-aed7-ccc67c7a2d02" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-request-id": [ + "96f33023-957a-40be-aaaf-da8e5856c32a" + ], + "x-ms-correlation-request-id": [ + "96f33023-957a-40be-aaaf-da8e5856c32a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233120Z:96f33023-957a-40be-aaaf-da8e5856c32a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:31:19 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-filter/providers/Microsoft.Batch/batchAccounts/testlisttaskfilter/operationResults/2eb119cf-6492-4e5c-aed7-ccc67c7a2d02?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-filter/providers/Microsoft.Batch/batchAccounts/testlisttaskfilter/operationResults/2eb119cf-6492-4e5c-aed7-ccc67c7a2d02?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLWZpbHRlci9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R0YXNrZmlsdGVyL29wZXJhdGlvblJlc3VsdHMvMmViMTE5Y2YtNjQ5Mi00ZTVjLWFlZDctY2NjNjdjN2EyZDAyP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:31:19 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "e1bb083d-d3f0-41dc-9520-34dd83fddca8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "4bb133d5-66b9-4c3a-b36f-c2b1da3c7216" + ], + "x-ms-correlation-request-id": [ + "4bb133d5-66b9-4c3a-b36f-c2b1da3c7216" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233120Z:4bb133d5-66b9-4c3a-b36f-c2b1da3c7216" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:31:19 GMT" + ], + "ETag": [ + "0x8D21DD7F624C962" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-task-filter?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC10YXNrLWZpbHRlcj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-request-id": [ + "fb516f75-2450-4bcb-a615-002517285207" + ], + "x-ms-correlation-request-id": [ + "fb516f75-2450-4bcb-a615-002517285207" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233122Z:fb516f75-2450-4bcb-a615-002517285207" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:31:21 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHM2TWtSR1NVeFVSVkl0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "6ddf2ec6-4781-4d03-b64b-d0519643ddab" + ], + "x-ms-correlation-request-id": [ + "6ddf2ec6-4781-4d03-b64b-d0519643ddab" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233122Z:6ddf2ec6-4781-4d03-b64b-d0519643ddab" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:31:21 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHM2TWtSR1NVeFVSVkl0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "0945ba67-07f8-454b-b2e7-e91731c8c829" + ], + "x-ms-correlation-request-id": [ + "0945ba67-07f8-454b-b2e7-e91731c8c829" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233137Z:0945ba67-07f8-454b-b2e7-e91731c8c829" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:31:36 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHM2TWtSR1NVeFVSVkl0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "0de21f18-f8be-4f3a-8b53-315443333201" + ], + "x-ms-correlation-request-id": [ + "0de21f18-f8be-4f3a-8b53-315443333201" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233152Z:0de21f18-f8be-4f3a-8b53-315443333201" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:31:52 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRGSUxURVItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHM2TWtSR1NVeFVSVkl0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-request-id": [ + "3985dc4b-f87b-4d70-9b23-f430beae5b1b" + ], + "x-ms-correlation-request-id": [ + "3985dc4b-f87b-4d70-9b23-f430beae5b1b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233208Z:3985dc4b-f87b-4d70-9b23-f430beae5b1b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:32:07 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTasksWithMaxCount.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTasksWithMaxCount.json new file mode 100644 index 000000000000..42eb826fe668 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.TaskTests/TestListTasksWithMaxCount.json @@ -0,0 +1,1043 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-task-maxcount?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC10YXNrLW1heGNvdW50P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount\",\r\n \"name\": \"test-list-task-maxcount\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "199" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-request-id": [ + "2c954f47-c68b-48c1-8704-ca9e46f8fb6b" + ], + "x-ms-correlation-request-id": [ + "2c954f47-c68b-48c1-8704-ca9e46f8fb6b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233601Z:2c954f47-c68b-48c1-8704-ca9e46f8fb6b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:36:01 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount/providers/Microsoft.Batch/batchAccounts/testlisttaskmaxcount?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2ttYXhjb3VudD9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "request-id": [ + "2bbe507e-0bc2-4a0b-99f4-189e3dc31d55" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "b07aab60-60af-4d39-be7f-9fd23dcd1af3" + ], + "x-ms-correlation-request-id": [ + "b07aab60-60af-4d39-be7f-9fd23dcd1af3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233606Z:b07aab60-60af-4d39-be7f-9fd23dcd1af3" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:36:05 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount/providers/Microsoft.Batch/batchAccounts/testlisttaskmaxcount/operationResults/2bbe507e-0bc2-4a0b-99f4-189e3dc31d55?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount/providers/Microsoft.Batch/batchAccounts/testlisttaskmaxcount/operationResults/2bbe507e-0bc2-4a0b-99f4-189e3dc31d55?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2ttYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzJiYmU1MDdlLTBiYzItNGEwYi05OWY0LTE4OWUzZGMzMWQ1NT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlisttaskmaxcount\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlisttaskmaxcount.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount/providers/Microsoft.Batch/batchAccounts/testlisttaskmaxcount\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "360" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:36:06 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "78b53052-56d5-4324-a28e-c074eb33976c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "5b3baa01-1da2-49a5-b394-6c491cae4941" + ], + "x-ms-correlation-request-id": [ + "5b3baa01-1da2-49a5-b394-6c491cae4941" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233606Z:5b3baa01-1da2-49a5-b394-6c491cae4941" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:36:05 GMT" + ], + "ETag": [ + "0x8D21DD8A0D38DE4" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount/providers/Microsoft.Batch/batchAccounts/testlisttaskmaxcount/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2ttYXhjb3VudC9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlisttaskmaxcount\",\r\n \"primary\": \"Lgqem3me11zXsdMRNoSz1pILVCJhX1g07HwpdLw8EgUDKcfAzW4bjLAoKNhonybD6KwoQK324EdsQRLwHxo3mA==\",\r\n \"secondary\": \"nTgjM0MtyCzLGBb/NdZ13i1zCmOcTeuUdQ6AOsdsByYddUpuhqLBuR4m6SFlE4Qk6j26YR4VoGkZDJPQK7hD+Q==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "242" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "926903aa-192a-48f9-91bc-6287941695e8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-request-id": [ + "ae9bb941-5f5b-41a0-ae6a-e777760ee80b" + ], + "x-ms-correlation-request-id": [ + "ae9bb941-5f5b-41a0-ae6a-e777760ee80b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233606Z:ae9bb941-5f5b-41a0-ae6a-e777760ee80b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:36:05 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount/providers/Microsoft.Batch/batchAccounts/testlisttaskmaxcount/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2ttYXhjb3VudC9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlisttaskmaxcount\",\r\n \"primary\": \"Lgqem3me11zXsdMRNoSz1pILVCJhX1g07HwpdLw8EgUDKcfAzW4bjLAoKNhonybD6KwoQK324EdsQRLwHxo3mA==\",\r\n \"secondary\": \"nTgjM0MtyCzLGBb/NdZ13i1zCmOcTeuUdQ6AOsdsByYddUpuhqLBuR4m6SFlE4Qk6j26YR4VoGkZDJPQK7hD+Q==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "242" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "c284c888-5555-4a22-9323-aa9eb0936d43" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-request-id": [ + "e5c2750c-422b-4c31-addb-9da27c60949b" + ], + "x-ms-correlation-request-id": [ + "e5c2750c-422b-4c31-addb-9da27c60949b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233712Z:e5c2750c-422b-4c31-addb-9da27c60949b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:37:11 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0/YXBpLXZlcnNpb249MjAxNC0xMC0wMS4xLjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "537420b1-ff28-4f5b-a6b4-61dde89a9976" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 23:37:09 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskmaxcount.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testWorkItem\",\r\n \"url\": \"https://testlisttaskmaxcount.batch.core.windows.net/workitems/testWorkItem\",\r\n \"eTag\": \"0x8D21DD8C6676A62\",\r\n \"lastModified\": \"2015-02-23T23:37:09.1468898Z\",\r\n \"creationTime\": \"2015-02-23T23:37:09.1468898Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:37:09.1468898Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlisttaskmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:37:09 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "1bc260f6-01d2-486e-8ba4-9d2cf814d87d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 23:37:09 GMT" + ], + "ETag": [ + "0x8D21DD8C6676A62" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount/providers/Microsoft.Batch/batchAccounts/testlisttaskmaxcount\",\r\n \"name\": \"testlisttaskmaxcount\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "775" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-request-id": [ + "10417b6d-dab1-4240-ba01-abade994ec59" + ], + "x-ms-correlation-request-id": [ + "10417b6d-dab1-4240-ba01-abade994ec59" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233711Z:10417b6d-dab1-4240-ba01-abade994ec59" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:37:11 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount/providers/Microsoft.Batch/batchAccounts/testlisttaskmaxcount?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2ttYXhjb3VudD9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlisttaskmaxcount\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlisttaskmaxcount.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount/providers/Microsoft.Batch/batchAccounts/testlisttaskmaxcount\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "360" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:37:11 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "1ead8eb2-2b13-4539-b7fa-628050e89e87" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-request-id": [ + "8af64440-a358-4e04-86df-6ed31b90987f" + ], + "x-ms-correlation-request-id": [ + "8af64440-a358-4e04-86df-6ed31b90987f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233712Z:8af64440-a358-4e04-86df-6ed31b90987f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:37:11 GMT" + ], + "ETag": [ + "0x8D21DD8C8021DB2" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "81bbfe53-3b1b-4317-aedf-210155b1db6c" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 23:37:12 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskmaxcount.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask1\",\r\n \"url\": \"https://testlisttaskmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask1\",\r\n \"eTag\": \"0x8D21DD8C6D9C64D\",\r\n \"creationTime\": \"2015-02-23T23:37:09.8963533Z\",\r\n \"lastModified\": \"2015-02-23T23:37:09.8963533Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:37:09.8963533Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n }\r\n },\r\n {\r\n \"name\": \"testTask2\",\r\n \"url\": \"https://testlisttaskmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask2\",\r\n \"eTag\": \"0x8D21DD8C6F93FF4\",\r\n \"creationTime\": \"2015-02-23T23:37:10.1026292Z\",\r\n \"lastModified\": \"2015-02-23T23:37:10.1026292Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:37:10.1026292Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n }\r\n },\r\n {\r\n \"name\": \"testTask3\",\r\n \"url\": \"https://testlisttaskmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask3\",\r\n \"eTag\": \"0x8D21DD8C71974D2\",\r\n \"creationTime\": \"2015-02-23T23:37:10.3136978Z\",\r\n \"lastModified\": \"2015-02-23T23:37:10.3136978Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:37:10.3136978Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "0c165429-5a92-40c1-bcc4-3c4e2187439a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 23:37:11 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001/tasks?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMS90YXNrcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "1ed6f3cd-cab9-42df-b0e3-0cd618951a40" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 23:37:13 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskmaxcount.batch.core.windows.net/$metadata#tasks\",\r\n \"value\": [\r\n {\r\n \"name\": \"testTask1\",\r\n \"url\": \"https://testlisttaskmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask1\",\r\n \"eTag\": \"0x8D21DD8C6D9C64D\",\r\n \"creationTime\": \"2015-02-23T23:37:09.8963533Z\",\r\n \"lastModified\": \"2015-02-23T23:37:09.8963533Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:37:09.8963533Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n }\r\n },\r\n {\r\n \"name\": \"testTask2\",\r\n \"url\": \"https://testlisttaskmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask2\",\r\n \"eTag\": \"0x8D21DD8C6F93FF4\",\r\n \"creationTime\": \"2015-02-23T23:37:10.1026292Z\",\r\n \"lastModified\": \"2015-02-23T23:37:10.1026292Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:37:10.1026292Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n }\r\n },\r\n {\r\n \"name\": \"testTask3\",\r\n \"url\": \"https://testlisttaskmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001/tasks/testTask3\",\r\n \"eTag\": \"0x8D21DD8C71974D2\",\r\n \"creationTime\": \"2015-02-23T23:37:10.3136978Z\",\r\n \"lastModified\": \"2015-02-23T23:37:10.3136978Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:37:10.3136978Z\",\r\n \"commandLine\": \"cmd /c dir /s\",\r\n \"runElevated\": false,\r\n \"taskConstraints\": {\r\n \"maxWallClockTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"retentionTime\": \"P10675199DT2H48M5.4775807S\",\r\n \"maxTaskRetryCount\": 0\r\n },\r\n \"executionInfo\": {\r\n \"retryCount\": 0,\r\n \"requeueCount\": 0\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "d70191c6-b511-4dbc-9009-eee39dfe0702" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 23:37:12 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testWorkItem/jobs/job-0000000001?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0V29ya0l0ZW0vam9icy9qb2ItMDAwMDAwMDAwMT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "f4e7c332-80c5-4a4a-b597-9de1eef03814" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Mon, 23 Feb 2015 23:37:12 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlisttaskmaxcount.batch.core.windows.net/$metadata#jobs/@Element\",\r\n \"name\": \"job-0000000001\",\r\n \"url\": \"https://testlisttaskmaxcount.batch.core.windows.net/workitems/testWorkItem/jobs/job-0000000001\",\r\n \"eTag\": \"0x8D21DD8C66F0CE9\",\r\n \"lastModified\": \"2015-02-23T23:37:09.1969257Z\",\r\n \"creationTime\": \"2015-02-23T23:37:09.1798809Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-23T23:37:09.1969257Z\",\r\n \"poolName\": \"testPool\",\r\n \"executionInfo\": {\r\n \"startTime\": \"2015-02-23T23:37:09.1969257Z\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:37:09 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "f3a00806-f1ad-4bda-b0d0-c82b46bc82a5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Mon, 23 Feb 2015 23:37:12 GMT" + ], + "ETag": [ + "0x8D21DD8C66F0CE9" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount/providers/Microsoft.Batch/batchAccounts/testlisttaskmaxcount?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2ttYXhjb3VudD9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "0ef51cde-5d3c-452e-bde4-19b21c600e06" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-request-id": [ + "b088fabd-8652-4da6-9f46-d9fe66bcf6a9" + ], + "x-ms-correlation-request-id": [ + "b088fabd-8652-4da6-9f46-d9fe66bcf6a9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233715Z:b088fabd-8652-4da6-9f46-d9fe66bcf6a9" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:37:15 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount/providers/Microsoft.Batch/batchAccounts/testlisttaskmaxcount/operationResults/0ef51cde-5d3c-452e-bde4-19b21c600e06?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount/providers/Microsoft.Batch/batchAccounts/testlisttaskmaxcount/operationResults/0ef51cde-5d3c-452e-bde4-19b21c600e06?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2ttYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzBlZjUxY2RlLTVkM2MtNDUyZS1iZGU0LTE5YjIxYzYwMGUwNj9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "6a40dddb-1f9f-49f5-b980-ffbf6d554781" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "be540c39-2e84-4257-9787-fd4b3d2f6eef" + ], + "x-ms-correlation-request-id": [ + "be540c39-2e84-4257-9787-fd4b3d2f6eef" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233716Z:be540c39-2e84-4257-9787-fd4b3d2f6eef" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:37:15 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount/providers/Microsoft.Batch/batchAccounts/testlisttaskmaxcount/operationResults/0ef51cde-5d3c-452e-bde4-19b21c600e06?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-task-maxcount/providers/Microsoft.Batch/batchAccounts/testlisttaskmaxcount/operationResults/0ef51cde-5d3c-452e-bde4-19b21c600e06?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC10YXNrLW1heGNvdW50L3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0bGlzdHRhc2ttYXhjb3VudC9vcGVyYXRpb25SZXN1bHRzLzBlZjUxY2RlLTVkM2MtNDUyZS1iZGU0LTE5YjIxYzYwMGUwNj9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Mon, 23 Feb 2015 23:37:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "37dda7a5-6ffb-4f32-8245-9cb4905c4260" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "ed35ffbe-dbac-4913-81a5-0f8536354530" + ], + "x-ms-correlation-request-id": [ + "ed35ffbe-dbac-4913-81a5-0f8536354530" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233731Z:ed35ffbe-dbac-4913-81a5-0f8536354530" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:37:30 GMT" + ], + "ETag": [ + "0x8D21DD8D36C1220" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-task-maxcount?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC10YXNrLW1heGNvdW50P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-request-id": [ + "98b1c852-ecf9-448a-bfa4-acc8a3871b4d" + ], + "x-ms-correlation-request-id": [ + "98b1c852-ecf9-448a-bfa4-acc8a3871b4d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233732Z:98b1c852-ecf9-448a-bfa4-acc8a3871b4d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:37:31 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHM2TWtSTlFWaERUMVZPVkMxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "953b97fa-1c01-4ba9-b162-52eac7f1a34c" + ], + "x-ms-correlation-request-id": [ + "953b97fa-1c01-4ba9-b162-52eac7f1a34c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233733Z:953b97fa-1c01-4ba9-b162-52eac7f1a34c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:37:32 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHM2TWtSTlFWaERUMVZPVkMxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "1304227b-7747-4784-b1be-aa8b306d6ad3" + ], + "x-ms-correlation-request-id": [ + "1304227b-7747-4784-b1be-aa8b306d6ad3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233748Z:1304227b-7747-4784-b1be-aa8b306d6ad3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:37:47 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHM2TWtSTlFWaERUMVZPVkMxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "315bd4b3-556f-4a65-ac29-4205d3a796fe" + ], + "x-ms-correlation-request-id": [ + "315bd4b3-556f-4a65-ac29-4205d3a796fe" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233803Z:315bd4b3-556f-4a65-ac29-4205d3a796fe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:38:03 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFRBU0s6MkRNQVhDT1VOVC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGUkJVMHM2TWtSTlFWaERUMVZPVkMxRlFWTlVWVk1pTENKcWIySk1iMk5oZEdsdmJpSTZJbVZoYzNSMWN5Sjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "5eb1e538-c952-4f49-a81a-786752cb06cf" + ], + "x-ms-correlation-request-id": [ + "5eb1e538-c952-4f49-a81a-786752cb06cf" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150223T233818Z:5eb1e538-c952-4f49-a81a-786752cb06cf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 23:38:18 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestGetWorkItemByName.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestGetWorkItemByName.json new file mode 100644 index 000000000000..7297cb9b1c2c --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestGetWorkItemByName.json @@ -0,0 +1,842 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-get-wi?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZ2V0LXdpP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-wi\",\r\n \"name\": \"test-get-wi\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "175" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-request-id": [ + "c7335e3c-de62-4be7-b818-01d48144db4b" + ], + "x-ms-correlation-request-id": [ + "c7335e3c-de62-4be7-b818-01d48144db4b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T002850Z:c7335e3c-de62-4be7-b818-01d48144db4b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:28:50 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-wi/providers/Microsoft.Batch/batchAccounts/testgetwi?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0d2k/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "request-id": [ + "d816fcbc-4f58-42da-9054-2c956b6d5ead" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "c4318c75-1893-40cf-be7a-c5117d525b27" + ], + "x-ms-correlation-request-id": [ + "c4318c75-1893-40cf-be7a-c5117d525b27" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T002854Z:c4318c75-1893-40cf-be7a-c5117d525b27" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:28:54 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-wi/providers/Microsoft.Batch/batchAccounts/testgetwi/operationResults/d816fcbc-4f58-42da-9054-2c956b6d5ead?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-wi/providers/Microsoft.Batch/batchAccounts/testgetwi/operationResults/d816fcbc-4f58-42da-9054-2c956b6d5ead?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0d2kvb3BlcmF0aW9uUmVzdWx0cy9kODE2ZmNiYy00ZjU4LTQyZGEtOTA1NC0yYzk1NmI2ZDVlYWQ/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testgetwi\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testgetwi.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-wi/providers/Microsoft.Batch/batchAccounts/testgetwi\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "315" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 18 Feb 2015 00:28:54 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "93da59eb-f74c-444c-8332-086306fc85a3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31983" + ], + "x-ms-request-id": [ + "34096956-388a-4c48-a66f-3cd6ed1c007c" + ], + "x-ms-correlation-request-id": [ + "34096956-388a-4c48-a66f-3cd6ed1c007c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T002854Z:34096956-388a-4c48-a66f-3cd6ed1c007c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:28:54 GMT" + ], + "ETag": [ + "0x8D2192902E17B10" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-wi/providers/Microsoft.Batch/batchAccounts/testgetwi/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0d2kvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testgetwi\",\r\n \"primary\": \"XtjkdD5z4CypbqjD65gl/1Sq9sgzAMAzS8oWb9m2WptPTRKSyxeoizkst/HHtjOeXVwaqPVWRi74jubYgC+xOA==\",\r\n \"secondary\": \"aadG1xLP/l2JSimH+cRIT24T63FYVUViImFyJBu6qhl9py0BoWx9huu0rCzZ3oM116q2+uU5YT8j7IWB2fLlZw==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "231" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "5074313a-26ec-4596-8ab1-0644ab3fb50a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-request-id": [ + "9852b64c-d0e6-494d-b11d-87846fcfac55" + ], + "x-ms-correlation-request-id": [ + "9852b64c-d0e6-494d-b11d-87846fcfac55" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T002854Z:9852b64c-d0e6-494d-b11d-87846fcfac55" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:28:54 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-wi/providers/Microsoft.Batch/batchAccounts/testgetwi/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0d2kvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testgetwi\",\r\n \"primary\": \"XtjkdD5z4CypbqjD65gl/1Sq9sgzAMAzS8oWb9m2WptPTRKSyxeoizkst/HHtjOeXVwaqPVWRi74jubYgC+xOA==\",\r\n \"secondary\": \"aadG1xLP/l2JSimH+cRIT24T63FYVUViImFyJBu6qhl9py0BoWx9huu0rCzZ3oM116q2+uU5YT8j7IWB2fLlZw==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "231" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "26a16330-4272-4b24-a135-398e3502be84" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-request-id": [ + "caf891ab-506e-47b3-8533-049d92955466" + ], + "x-ms-correlation-request-id": [ + "caf891ab-506e-47b3-8533-049d92955466" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T002921Z:caf891ab-506e-47b3-8533-049d92955466" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:29:20 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-wi/providers/Microsoft.Batch/batchAccounts/testgetwi\",\r\n \"name\": \"testgetwi\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "741" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31977" + ], + "x-ms-request-id": [ + "466a63d7-1b18-4928-a867-1a1c5560655c" + ], + "x-ms-correlation-request-id": [ + "466a63d7-1b18-4928-a867-1a1c5560655c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T002920Z:466a63d7-1b18-4928-a867-1a1c5560655c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:29:20 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-wi/providers/Microsoft.Batch/batchAccounts/testgetwi?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0d2k/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testgetwi\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testgetwi.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-wi/providers/Microsoft.Batch/batchAccounts/testgetwi\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "315" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 18 Feb 2015 00:29:20 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "5bcf8b46-e9e6-4a73-b147-f4ebcf6c0eed" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31982" + ], + "x-ms-request-id": [ + "78b5e8b6-22b7-42ba-9301-659b67f5b949" + ], + "x-ms-correlation-request-id": [ + "78b5e8b6-22b7-42ba-9301-659b67f5b949" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T002921Z:78b5e8b6-22b7-42ba-9301-659b67f5b949" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:29:20 GMT" + ], + "ETag": [ + "0x8D21929128D485A" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems/testName?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcy90ZXN0TmFtZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "959619e0-2b0a-4f36-b06f-9c832badc211" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Wed, 18 Feb 2015 00:29:23 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testgetwi.batch.core.windows.net/$metadata#workitems/@Element\",\r\n \"name\": \"testName\",\r\n \"url\": \"https://testgetwi.batch.core.windows.net/workitems/testName\",\r\n \"eTag\": \"0x8D21929036B37AD\",\r\n \"lastModified\": \"2015-02-18T00:28:55.4373037Z\",\r\n \"creationTime\": \"2015-02-18T00:28:55.4373037Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-18T00:28:55.4373037Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testgetwi.batch.core.windows.net/workitems/testName/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Last-Modified": [ + "Wed, 18 Feb 2015 00:28:55 GMT" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "8835e812-95e5-4c0b-a8d0-036cce61a227" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Wed, 18 Feb 2015 00:29:25 GMT" + ], + "ETag": [ + "0x8D21929036B37AD" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-wi/providers/Microsoft.Batch/batchAccounts/testgetwi?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0d2k/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "485b1722-5a1c-427d-993c-c80545b09eb1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" + ], + "x-ms-request-id": [ + "134b5f7a-9406-4c60-81bc-30a05b23f959" + ], + "x-ms-correlation-request-id": [ + "134b5f7a-9406-4c60-81bc-30a05b23f959" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T002930Z:134b5f7a-9406-4c60-81bc-30a05b23f959" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:29:29 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-wi/providers/Microsoft.Batch/batchAccounts/testgetwi/operationResults/485b1722-5a1c-427d-993c-c80545b09eb1?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-get-wi/providers/Microsoft.Batch/batchAccounts/testgetwi/operationResults/485b1722-5a1c-427d-993c-c80545b09eb1?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtZ2V0LXdpL3Byb3ZpZGVycy9NaWNyb3NvZnQuQmF0Y2gvYmF0Y2hBY2NvdW50cy90ZXN0Z2V0d2kvb3BlcmF0aW9uUmVzdWx0cy80ODViMTcyMi01YTFjLTQyN2QtOTkzYy1jODA1NDViMDllYjE/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 18 Feb 2015 00:29:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "69f5e3ff-2031-4cfb-a3d5-6f19c906458f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31981" + ], + "x-ms-request-id": [ + "620f1b08-0645-4ae6-8eda-9481b843de28" + ], + "x-ms-correlation-request-id": [ + "620f1b08-0645-4ae6-8eda-9481b843de28" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T002930Z:620f1b08-0645-4ae6-8eda-9481b843de28" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:29:30 GMT" + ], + "ETag": [ + "0x8D21929181BD0EF" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-get-wi?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtZ2V0LXdpP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-request-id": [ + "8c34111b-3490-4f9d-a319-490061049b15" + ], + "x-ms-correlation-request-id": [ + "8c34111b-3490-4f9d-a319-490061049b15" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T002931Z:8c34111b-3490-4f9d-a319-490061049b15" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:29:30 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVYwa3RSVUZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKbFlYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31976" + ], + "x-ms-request-id": [ + "b5fd0f6a-5c35-4dd7-bd04-9242512094b2" + ], + "x-ms-correlation-request-id": [ + "b5fd0f6a-5c35-4dd7-bd04-9242512094b2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T002931Z:b5fd0f6a-5c35-4dd7-bd04-9242512094b2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:29:31 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVYwa3RSVUZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKbFlYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31975" + ], + "x-ms-request-id": [ + "f673e0f7-bacc-4f6e-8f93-357f1ddbce2f" + ], + "x-ms-correlation-request-id": [ + "f673e0f7-bacc-4f6e-8f93-357f1ddbce2f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T002946Z:f673e0f7-bacc-4f6e-8f93-357f1ddbce2f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:29:46 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVYwa3RSVUZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKbFlYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31974" + ], + "x-ms-request-id": [ + "fa4d08ea-5f02-4659-9930-1f5b41f1b682" + ], + "x-ms-correlation-request-id": [ + "fa4d08ea-5f02-4659-9930-1f5b41f1b682" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T003002Z:fa4d08ea-5f02-4659-9930-1f5b41f1b682" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:30:02 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJER0VUOjJEV0ktRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVSMFZVT2pKRVYwa3RSVUZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKbFlYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31973" + ], + "x-ms-request-id": [ + "0d77a14e-c4b5-40bc-a33b-a33fac5c367f" + ], + "x-ms-correlation-request-id": [ + "0d77a14e-c4b5-40bc-a33b-a33fac5c367f" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T003017Z:0d77a14e-c4b5-40bc-a33b-a33fac5c367f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:30:17 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestListAllWorkItems.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestListAllWorkItems.json new file mode 100644 index 000000000000..8496504b2b4a --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestListAllWorkItems.json @@ -0,0 +1,836 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-wi?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC13aT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi\",\r\n \"name\": \"test-list-wi\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "177" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1187" + ], + "x-ms-request-id": [ + "71048beb-3c2c-4b2f-b754-acaacd89182b" + ], + "x-ms-correlation-request-id": [ + "71048beb-3c2c-4b2f-b754-acaacd89182b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004421Z:71048beb-3c2c-4b2f-b754-acaacd89182b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:44:21 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi/providers/Microsoft.Batch/batchAccounts/testlistwi?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "request-id": [ + "5ee320a4-3797-4ae1-8bcb-9532d9813806" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "dcf66cc5-9a52-4ab0-ade3-653ee1d1b22d" + ], + "x-ms-correlation-request-id": [ + "dcf66cc5-9a52-4ab0-ade3-653ee1d1b22d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004425Z:dcf66cc5-9a52-4ab0-ade3-653ee1d1b22d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:44:25 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi/providers/Microsoft.Batch/batchAccounts/testlistwi/operationResults/5ee320a4-3797-4ae1-8bcb-9532d9813806?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi/providers/Microsoft.Batch/batchAccounts/testlistwi/operationResults/5ee320a4-3797-4ae1-8bcb-9532d9813806?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aS9vcGVyYXRpb25SZXN1bHRzLzVlZTMyMGE0LTM3OTctNGFlMS04YmNiLTk1MzJkOTgxMzgwNj9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistwi\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistwi.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi/providers/Microsoft.Batch/batchAccounts/testlistwi\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "319" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 18 Feb 2015 00:44:25 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "6d14ef7c-e936-42ae-bf1c-c50679d5563b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31985" + ], + "x-ms-request-id": [ + "bc929716-aaf0-4d76-8565-daf08f3a3315" + ], + "x-ms-correlation-request-id": [ + "bc929716-aaf0-4d76-8565-daf08f3a3315" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004425Z:bc929716-aaf0-4d76-8565-daf08f3a3315" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:44:25 GMT" + ], + "ETag": [ + "0x8D2192B2DA293BC" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi/providers/Microsoft.Batch/batchAccounts/testlistwi/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aS9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlistwi\",\r\n \"primary\": \"JEyuGbzpFSd3Fr7QqjmpPv6py8QD8Rxs+29SPKeswdvdSdpVdKAqU5btEkpEh0vq2u+IJ3mMV7ZF7BzsO3F39Q==\",\r\n \"secondary\": \"U8m/hC3dtlY+plSbZ59vGxiLyZmVww3f5hoaynnY2Mx1BuAHA90B47JRyDz4G3B5WdRJlA9S2D5geDc69esutg==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "232" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "95a0929f-b10f-483b-b9a5-35789aa4df22" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-request-id": [ + "fa8febbc-9bbf-4fc2-aa3d-da4081a80b6c" + ], + "x-ms-correlation-request-id": [ + "fa8febbc-9bbf-4fc2-aa3d-da4081a80b6c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004425Z:fa8febbc-9bbf-4fc2-aa3d-da4081a80b6c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:44:25 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi/providers/Microsoft.Batch/batchAccounts/testlistwi/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aS9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlistwi\",\r\n \"primary\": \"JEyuGbzpFSd3Fr7QqjmpPv6py8QD8Rxs+29SPKeswdvdSdpVdKAqU5btEkpEh0vq2u+IJ3mMV7ZF7BzsO3F39Q==\",\r\n \"secondary\": \"U8m/hC3dtlY+plSbZ59vGxiLyZmVww3f5hoaynnY2Mx1BuAHA90B47JRyDz4G3B5WdRJlA9S2D5geDc69esutg==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "232" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "8a21e347-02f8-4cb4-8d67-dae4f8759d24" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-request-id": [ + "cf2db6af-fcd6-4bb6-a0dc-6f122e3c8354" + ], + "x-ms-correlation-request-id": [ + "cf2db6af-fcd6-4bb6-a0dc-6f122e3c8354" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004448Z:cf2db6af-fcd6-4bb6-a0dc-6f122e3c8354" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:44:48 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi/providers/Microsoft.Batch/batchAccounts/testlistwi\",\r\n \"name\": \"testlistwi\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "744" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31980" + ], + "x-ms-request-id": [ + "6c606984-fa86-4e9e-a366-459ccba84855" + ], + "x-ms-correlation-request-id": [ + "6c606984-fa86-4e9e-a366-459ccba84855" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004447Z:6c606984-fa86-4e9e-a366-459ccba84855" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:44:47 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi/providers/Microsoft.Batch/batchAccounts/testlistwi?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistwi\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistwi.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi/providers/Microsoft.Batch/batchAccounts/testlistwi\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "319" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 18 Feb 2015 00:44:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "cc5bc2f3-4b9e-4ce7-804b-1eebe840e425" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31984" + ], + "x-ms-request-id": [ + "17a7056d-c7e9-47ef-ae30-0ca29d658fe5" + ], + "x-ms-correlation-request-id": [ + "17a7056d-c7e9-47ef-ae30-0ca29d658fe5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004447Z:17a7056d-c7e9-47ef-ae30-0ca29d658fe5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:44:46 GMT" + ], + "ETag": [ + "0x8D2192B3ADB6D79" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "242c0bb3-a5fe-4288-b7cd-c715afc60833" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Wed, 18 Feb 2015 00:44:47 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistwi.batch.core.windows.net/$metadata#workitems\",\r\n \"value\": [\r\n {\r\n \"name\": \"testName1\",\r\n \"url\": \"https://testlistwi.batch.core.windows.net/workitems/testName1\",\r\n \"eTag\": \"0x8D2192B2E66842E\",\r\n \"lastModified\": \"2015-02-18T00:44:26.5419822Z\",\r\n \"creationTime\": \"2015-02-18T00:44:26.5419822Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-18T00:44:26.5419822Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlistwi.batch.core.windows.net/workitems/testName1/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n },\r\n {\r\n \"name\": \"testName2\",\r\n \"url\": \"https://testlistwi.batch.core.windows.net/workitems/testName2\",\r\n \"eTag\": \"0x8D2192B2E888B22\",\r\n \"lastModified\": \"2015-02-18T00:44:26.7649826Z\",\r\n \"creationTime\": \"2015-02-18T00:44:26.7649826Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-18T00:44:26.7649826Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlistwi.batch.core.windows.net/workitems/testName2/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n },\r\n {\r\n \"name\": \"thirdtestName\",\r\n \"url\": \"https://testlistwi.batch.core.windows.net/workitems/thirdtestName\",\r\n \"eTag\": \"0x8D2192B2EA68284\",\r\n \"lastModified\": \"2015-02-18T00:44:26.96137Z\",\r\n \"creationTime\": \"2015-02-18T00:44:26.96137Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-18T00:44:26.96137Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlistwi.batch.core.windows.net/workitems/thirdtestName/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "b293a428-9e22-497d-83d0-8eb1e7cbe243" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Wed, 18 Feb 2015 00:44:48 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi/providers/Microsoft.Batch/batchAccounts/testlistwi?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aT9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "b147bf38-0c08-4295-af0e-b63f67221ed3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-request-id": [ + "4ab25ca4-a6da-4a88-8a2f-7fb01518568a" + ], + "x-ms-correlation-request-id": [ + "4ab25ca4-a6da-4a88-8a2f-7fb01518568a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004450Z:4ab25ca4-a6da-4a88-8a2f-7fb01518568a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:44:50 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi/providers/Microsoft.Batch/batchAccounts/testlistwi/operationResults/b147bf38-0c08-4295-af0e-b63f67221ed3?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi/providers/Microsoft.Batch/batchAccounts/testlistwi/operationResults/b147bf38-0c08-4295-af0e-b63f67221ed3?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aS9vcGVyYXRpb25SZXN1bHRzL2IxNDdiZjM4LTBjMDgtNDI5NS1hZjBlLWI2M2Y2NzIyMWVkMz9hcGktdmVyc2lvbj0yMDE0LTA1LTAxLXByaXZhdGVwcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 18 Feb 2015 00:44:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "0f6baf8b-846c-40a6-8b5b-634818307ef0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31983" + ], + "x-ms-request-id": [ + "3224f8bf-563b-4364-bccb-eebcc618abf6" + ], + "x-ms-correlation-request-id": [ + "3224f8bf-563b-4364-bccb-eebcc618abf6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004450Z:3224f8bf-563b-4364-bccb-eebcc618abf6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:44:50 GMT" + ], + "ETag": [ + "0x8D2192B3C7E72BD" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-wi?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC13aT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1186" + ], + "x-ms-request-id": [ + "76111c0c-dd2d-4ef9-bfec-3b1f891babd1" + ], + "x-ms-correlation-request-id": [ + "76111c0c-dd2d-4ef9-bfec-3b1f891babd1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004451Z:76111c0c-dd2d-4ef9-bfec-3b1f891babd1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:44:51 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGZEpMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31979" + ], + "x-ms-request-id": [ + "88b82349-4633-43fc-b89f-9913ac448d94" + ], + "x-ms-correlation-request-id": [ + "88b82349-4633-43fc-b89f-9913ac448d94" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004451Z:88b82349-4633-43fc-b89f-9913ac448d94" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:44:51 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGZEpMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31978" + ], + "x-ms-request-id": [ + "be768603-bc72-4c12-abe3-731b7cf7a75d" + ], + "x-ms-correlation-request-id": [ + "be768603-bc72-4c12-abe3-731b7cf7a75d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004507Z:be768603-bc72-4c12-abe3-731b7cf7a75d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:45:06 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGZEpMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31977" + ], + "x-ms-request-id": [ + "cb85353c-f09a-42c1-8fab-b81dd7b66a37" + ], + "x-ms-correlation-request-id": [ + "cb85353c-f09a-42c1-8fab-b81dd7b66a37" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004522Z:cb85353c-f09a-42c1-8fab-b81dd7b66a37" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:45:22 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGZEpMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31976" + ], + "x-ms-request-id": [ + "270a80b0-89b9-4aba-a766-1d2cf3b764f8" + ], + "x-ms-correlation-request-id": [ + "270a80b0-89b9-4aba-a766-1d2cf3b764f8" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004537Z:270a80b0-89b9-4aba-a766-1d2cf3b764f8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:45:37 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestListWorkItemsByFilter.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestListWorkItemsByFilter.json new file mode 100644 index 000000000000..23ef0825b142 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestListWorkItemsByFilter.json @@ -0,0 +1,836 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-wi-filter?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC13aS1maWx0ZXI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-filter\",\r\n \"name\": \"test-list-wi-filter\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "191" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-request-id": [ + "4fd0e31b-e4c8-4f93-8475-5fff1ae61fb2" + ], + "x-ms-correlation-request-id": [ + "4fd0e31b-e4c8-4f93-8475-5fff1ae61fb2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T003719Z:4fd0e31b-e4c8-4f93-8475-5fff1ae61fb2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:37:18 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-filter/providers/Microsoft.Batch/batchAccounts/testlistwifilter?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1maWx0ZXIvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0d2lmaWx0ZXI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "request-id": [ + "38536e55-bc23-4584-b5d4-ae36f8c39cbe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "7461a87f-b294-4a52-88e6-2034a5e6c3d1" + ], + "x-ms-correlation-request-id": [ + "7461a87f-b294-4a52-88e6-2034a5e6c3d1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T003723Z:7461a87f-b294-4a52-88e6-2034a5e6c3d1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:37:23 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-filter/providers/Microsoft.Batch/batchAccounts/testlistwifilter/operationResults/38536e55-bc23-4584-b5d4-ae36f8c39cbe?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-filter/providers/Microsoft.Batch/batchAccounts/testlistwifilter/operationResults/38536e55-bc23-4584-b5d4-ae36f8c39cbe?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1maWx0ZXIvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0d2lmaWx0ZXIvb3BlcmF0aW9uUmVzdWx0cy8zODUzNmU1NS1iYzIzLTQ1ODQtYjVkNC1hZTM2ZjhjMzljYmU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistwifilter\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistwifilter.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-filter/providers/Microsoft.Batch/batchAccounts/testlistwifilter\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "344" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 18 Feb 2015 00:37:23 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "9928cb77-9aa5-48c1-899e-7cb6435bebb3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31987" + ], + "x-ms-request-id": [ + "b692d6aa-035a-44b8-9f7c-07e784c5c0ad" + ], + "x-ms-correlation-request-id": [ + "b692d6aa-035a-44b8-9f7c-07e784c5c0ad" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T003723Z:b692d6aa-035a-44b8-9f7c-07e784c5c0ad" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:37:23 GMT" + ], + "ETag": [ + "0x8D2192A3246876C" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-filter/providers/Microsoft.Batch/batchAccounts/testlistwifilter/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1maWx0ZXIvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0d2lmaWx0ZXIvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlistwifilter\",\r\n \"primary\": \"R8sIDqeS251IsASW0WiN2yqW/Tlh58G8PF3sGMQ75WxucamCbv/CUewoYaGULmZoMuhZyYBP/LB1HvryDjrf5w==\",\r\n \"secondary\": \"fuwPvMsN6AX1FWPKjaM/RnJrystFwJ2LyN6AH0s5O0VjtmAXhxjkBAptiSXeq6qwjpUVZ/E5XXpALDPbtGswZw==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "238" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "5c93a3c2-50ef-4194-b9ee-a3abcfe5cc76" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-request-id": [ + "ec66297e-c1fa-4b69-8a08-8dea0e8c75bd" + ], + "x-ms-correlation-request-id": [ + "ec66297e-c1fa-4b69-8a08-8dea0e8c75bd" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T003724Z:ec66297e-c1fa-4b69-8a08-8dea0e8c75bd" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:37:23 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-filter/providers/Microsoft.Batch/batchAccounts/testlistwifilter/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1maWx0ZXIvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0d2lmaWx0ZXIvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlistwifilter\",\r\n \"primary\": \"R8sIDqeS251IsASW0WiN2yqW/Tlh58G8PF3sGMQ75WxucamCbv/CUewoYaGULmZoMuhZyYBP/LB1HvryDjrf5w==\",\r\n \"secondary\": \"fuwPvMsN6AX1FWPKjaM/RnJrystFwJ2LyN6AH0s5O0VjtmAXhxjkBAptiSXeq6qwjpUVZ/E5XXpALDPbtGswZw==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "238" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "0220bc14-823d-4c81-8795-ce180b9daaff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" + ], + "x-ms-request-id": [ + "d0228e16-9416-453e-b60b-adff0cab8f4a" + ], + "x-ms-correlation-request-id": [ + "d0228e16-9416-453e-b60b-adff0cab8f4a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T003748Z:d0228e16-9416-453e-b60b-adff0cab8f4a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:37:47 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-filter/providers/Microsoft.Batch/batchAccounts/testlistwifilter\",\r\n \"name\": \"testlistwifilter\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "763" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31981" + ], + "x-ms-request-id": [ + "346f8900-b7ee-420c-b875-a61320dedd24" + ], + "x-ms-correlation-request-id": [ + "346f8900-b7ee-420c-b875-a61320dedd24" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T003747Z:346f8900-b7ee-420c-b875-a61320dedd24" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:37:47 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-filter/providers/Microsoft.Batch/batchAccounts/testlistwifilter?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1maWx0ZXIvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0d2lmaWx0ZXI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistwifilter\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistwifilter.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-filter/providers/Microsoft.Batch/batchAccounts/testlistwifilter\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "344" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 18 Feb 2015 00:37:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "c09f570f-d96a-405b-bcac-0016536f895f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31986" + ], + "x-ms-request-id": [ + "b72ac3b1-3387-4c83-8098-0ef70c459b65" + ], + "x-ms-correlation-request-id": [ + "b72ac3b1-3387-4c83-8098-0ef70c459b65" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T003747Z:b72ac3b1-3387-4c83-8098-0ef70c459b65" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:37:47 GMT" + ], + "ETag": [ + "0x8D2192A409F3C6C" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems?api-version=2014-10-01.1.0&$filter=startswith(name%2C'testName')", + "EncodedRequestUri": "L3dvcmtpdGVtcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMCYkZmlsdGVyPXN0YXJ0c3dpdGglMjhuYW1lJTJDJTI3dGVzdE5hbWUlMjclMjk=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "e17ea327-fc92-452a-94fc-ac316e415e85" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Wed, 18 Feb 2015 00:37:50 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistwifilter.batch.core.windows.net/$metadata#workitems\",\r\n \"value\": [\r\n {\r\n \"name\": \"testName1\",\r\n \"url\": \"https://testlistwifilter.batch.core.windows.net/workitems/testName1\",\r\n \"eTag\": \"0x8D2192A32C268CB\",\r\n \"lastModified\": \"2015-02-18T00:37:24.3583691Z\",\r\n \"creationTime\": \"2015-02-18T00:37:24.3583691Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-18T00:37:24.3583691Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlistwifilter.batch.core.windows.net/workitems/testName1/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n },\r\n {\r\n \"name\": \"testName2\",\r\n \"url\": \"https://testlistwifilter.batch.core.windows.net/workitems/testName2\",\r\n \"eTag\": \"0x8D2192A32E90708\",\r\n \"lastModified\": \"2015-02-18T00:37:24.6114568Z\",\r\n \"creationTime\": \"2015-02-18T00:37:24.6114568Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-18T00:37:24.6114568Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlistwifilter.batch.core.windows.net/workitems/testName2/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "1c0b2a1f-1e90-46db-b165-c734d35e60e1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Wed, 18 Feb 2015 00:37:53 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-filter/providers/Microsoft.Batch/batchAccounts/testlistwifilter?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1maWx0ZXIvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0d2lmaWx0ZXI/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "ac4b4c85-2825-4a4d-bf2c-102d7c5647d5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1188" + ], + "x-ms-request-id": [ + "03bf0ddc-0c4a-4a4d-b3d4-5a73aac8433a" + ], + "x-ms-correlation-request-id": [ + "03bf0ddc-0c4a-4a4d-b3d4-5a73aac8433a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T003756Z:03bf0ddc-0c4a-4a4d-b3d4-5a73aac8433a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:37:56 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-filter/providers/Microsoft.Batch/batchAccounts/testlistwifilter/operationResults/ac4b4c85-2825-4a4d-bf2c-102d7c5647d5?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-filter/providers/Microsoft.Batch/batchAccounts/testlistwifilter/operationResults/ac4b4c85-2825-4a4d-bf2c-102d7c5647d5?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1maWx0ZXIvcHJvdmlkZXJzL01pY3Jvc29mdC5CYXRjaC9iYXRjaEFjY291bnRzL3Rlc3RsaXN0d2lmaWx0ZXIvb3BlcmF0aW9uUmVzdWx0cy9hYzRiNGM4NS0yODI1LTRhNGQtYmYyYy0xMDJkN2M1NjQ3ZDU/YXBpLXZlcnNpb249MjAxNC0wNS0wMS1wcml2YXRlcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 18 Feb 2015 00:37:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "a2675642-0068-44f9-bf78-9f2337ae50d3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31985" + ], + "x-ms-request-id": [ + "e1d2083f-d863-4773-b519-bfdb072f164e" + ], + "x-ms-correlation-request-id": [ + "e1d2083f-d863-4773-b519-bfdb072f164e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T003756Z:e1d2083f-d863-4773-b519-bfdb072f164e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:37:56 GMT" + ], + "ETag": [ + "0x8D2192A45E6F49A" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-wi-filter?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC13aS1maWx0ZXI/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-request-id": [ + "751a41df-efca-4529-aac0-c1739ff93469" + ], + "x-ms-correlation-request-id": [ + "751a41df-efca-4529-aac0-c1739ff93469" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T003757Z:751a41df-efca-4529-aac0-c1739ff93469" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:37:57 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJERklMVEVSLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJERklMVEVSLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGZEpPakpFUmtsTVZFVlNMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31980" + ], + "x-ms-request-id": [ + "a590841c-d7f3-43b5-8855-cd53875a2f33" + ], + "x-ms-correlation-request-id": [ + "a590841c-d7f3-43b5-8855-cd53875a2f33" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T003758Z:a590841c-d7f3-43b5-8855-cd53875a2f33" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:37:57 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJERklMVEVSLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJERklMVEVSLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGZEpPakpFUmtsTVZFVlNMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31979" + ], + "x-ms-request-id": [ + "a9170deb-c186-42fe-9b8c-437a54cf76f2" + ], + "x-ms-correlation-request-id": [ + "a9170deb-c186-42fe-9b8c-437a54cf76f2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T003813Z:a9170deb-c186-42fe-9b8c-437a54cf76f2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:38:13 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJERklMVEVSLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJERklMVEVSLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGZEpPakpFUmtsTVZFVlNMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31978" + ], + "x-ms-request-id": [ + "56204b01-e583-4ec1-b474-2a7d04fa3041" + ], + "x-ms-correlation-request-id": [ + "56204b01-e583-4ec1-b474-2a7d04fa3041" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T003828Z:56204b01-e583-4ec1-b474-2a7d04fa3041" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:38:28 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJERklMVEVSLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJERklMVEVSLUVBU1RVUyIsImpvYkxvY2F0aW9uIjoiZWFzdHVzIn0?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGZEpPakpFUmtsTVZFVlNMVVZCVTFSVlV5SXNJbXB2WWt4dlkyRjBhVzl1SWpvaVpXRnpkSFZ6SW4wP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31977" + ], + "x-ms-request-id": [ + "65e2649d-bf02-4404-a89d-15c9268bb4eb" + ], + "x-ms-correlation-request-id": [ + "65e2649d-bf02-4404-a89d-15c9268bb4eb" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T003843Z:65e2649d-bf02-4404-a89d-15c9268bb4eb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:38:43 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestListWorkItemsWithMaxCount.json b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestListWorkItemsWithMaxCount.json new file mode 100644 index 000000000000..26b3f2258a15 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.WorkItemTests/TestListWorkItemsWithMaxCount.json @@ -0,0 +1,836 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-wi-maxcount?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC13aS1tYXhjb3VudD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-maxcount\",\r\n \"name\": \"test-list-wi-maxcount\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "195" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-request-id": [ + "84c7a071-b3f9-4994-95e1-2145efa70b32" + ], + "x-ms-correlation-request-id": [ + "84c7a071-b3f9-4994-95e1-2145efa70b32" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004018Z:84c7a071-b3f9-4994-95e1-2145efa70b32" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:40:17 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-maxcount/providers/Microsoft.Batch/batchAccounts/testlistwimaxcount?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1tYXhjb3VudC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aW1heGNvdW50P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1188" + ], + "request-id": [ + "8dbfe37c-913d-4035-ab1d-0522257618d2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "427f33d7-7297-41b8-8129-bbf32f8ab6b5" + ], + "x-ms-correlation-request-id": [ + "427f33d7-7297-41b8-8129-bbf32f8ab6b5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004021Z:427f33d7-7297-41b8-8129-bbf32f8ab6b5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:40:21 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-maxcount/providers/Microsoft.Batch/batchAccounts/testlistwimaxcount/operationResults/8dbfe37c-913d-4035-ab1d-0522257618d2?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-maxcount/providers/Microsoft.Batch/batchAccounts/testlistwimaxcount/operationResults/8dbfe37c-913d-4035-ab1d-0522257618d2?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1tYXhjb3VudC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aW1heGNvdW50L29wZXJhdGlvblJlc3VsdHMvOGRiZmUzN2MtOTEzZC00MDM1LWFiMWQtMDUyMjI1NzYxOGQyP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistwimaxcount\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistwimaxcount.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-maxcount/providers/Microsoft.Batch/batchAccounts/testlistwimaxcount\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 18 Feb 2015 00:40:21 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "338a0c65-5501-4ab3-83e4-2fa8a9dc8731" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31976" + ], + "x-ms-request-id": [ + "f9722bce-8e2f-434f-9af3-bf0414d7ba3a" + ], + "x-ms-correlation-request-id": [ + "f9722bce-8e2f-434f-9af3-bf0414d7ba3a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004022Z:f9722bce-8e2f-434f-9af3-bf0414d7ba3a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:40:21 GMT" + ], + "ETag": [ + "0x8D2192A9C8EE332" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-maxcount/providers/Microsoft.Batch/batchAccounts/testlistwimaxcount/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1tYXhjb3VudC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aW1heGNvdW50L2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlistwimaxcount\",\r\n \"primary\": \"ASuyt+3HY/qkySiH4Vsi0NnYbz/QncUOJrTnCxI4kcYwyCAlhOsVVgmgUnzoE8V3XAclNlpxhzmMLLp78R7Jtg==\",\r\n \"secondary\": \"Dfqqrb8FiXwPjsDbn6x67QkYM5YKw5NFrg+IC19UUB1GXLRKxyJYOGbUOjp29CMj+hXPdbN0mfYlM/2Ut4itCQ==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "240" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "72e6059a-901b-44e2-b3a6-20da51b1618e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1187" + ], + "x-ms-request-id": [ + "18feb21d-54ab-4c16-963c-4e1662bb730c" + ], + "x-ms-correlation-request-id": [ + "18feb21d-54ab-4c16-963c-4e1662bb730c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004022Z:18feb21d-54ab-4c16-963c-4e1662bb730c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:40:21 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-maxcount/providers/Microsoft.Batch/batchAccounts/testlistwimaxcount/listKeys?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1tYXhjb3VudC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aW1heGNvdW50L2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"accountName\": \"testlistwimaxcount\",\r\n \"primary\": \"ASuyt+3HY/qkySiH4Vsi0NnYbz/QncUOJrTnCxI4kcYwyCAlhOsVVgmgUnzoE8V3XAclNlpxhzmMLLp78R7Jtg==\",\r\n \"secondary\": \"Dfqqrb8FiXwPjsDbn6x67QkYM5YKw5NFrg+IC19UUB1GXLRKxyJYOGbUOjp29CMj+hXPdbN0mfYlM/2Ut4itCQ==\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "240" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "4af14e27-23c4-4d86-93f6-d17623336a0e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1186" + ], + "x-ms-request-id": [ + "ed1e2027-a7af-4af2-b76b-1e40caabfb65" + ], + "x-ms-correlation-request-id": [ + "ed1e2027-a7af-4af2-b76b-1e40caabfb65" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004135Z:ed1e2027-a7af-4af2-b76b-1e40caabfb65" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:41:34 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resources?$filter=resourceType%20eq%20'Microsoft.Batch%2FbatchAccounts'&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlcz8kZmlsdGVyPXJlc291cmNlVHlwZSUyMGVxJTIwJ01pY3Jvc29mdC5CYXRjaCUyRmJhdGNoQWNjb3VudHMnJmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/default-azurebatch-centralus/providers/Microsoft.Batch/batchAccounts/jaschneibatch2\",\r\n \"name\": \"jaschneibatch2\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"tagname\": \"tagvalue\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/Default-AzureBatch-WestUS/providers/Microsoft.Batch/batchAccounts/jaschneibatch\",\r\n \"name\": \"jaschneibatch\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-maxcount/providers/Microsoft.Batch/batchAccounts/testlistwimaxcount\",\r\n \"name\": \"testlistwimaxcount\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "769" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "d8545b40-db8f-4818-971a-d7b108124890" + ], + "x-ms-correlation-request-id": [ + "d8545b40-db8f-4818-971a-d7b108124890" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004134Z:d8545b40-db8f-4818-971a-d7b108124890" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:41:34 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-maxcount/providers/Microsoft.Batch/batchAccounts/testlistwimaxcount?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1tYXhjb3VudC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aW1heGNvdW50P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"name\": \"testlistwimaxcount\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"accountEndpoint\": \"testlistwimaxcount.batch.core.windows.net\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-maxcount/providers/Microsoft.Batch/batchAccounts/testlistwimaxcount\",\r\n \"type\": \"Microsoft.Batch/batchAccounts\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "352" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 18 Feb 2015 00:41:34 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "6db84e3c-761b-43d0-844a-5ac0fba427e4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31974" + ], + "x-ms-request-id": [ + "4a62fe39-c65b-43b1-b1f6-37383f45c421" + ], + "x-ms-correlation-request-id": [ + "4a62fe39-c65b-43b1-b1f6-37383f45c421" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004134Z:4a62fe39-c65b-43b1-b1f6-37383f45c421" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:41:34 GMT" + ], + "ETag": [ + "0x8D2192AC7CF84C5" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/workitems?api-version=2014-10-01.1.0", + "EncodedRequestUri": "L3dvcmtpdGVtcz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLjEuMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "WA-Batch/1.0" + ], + "client-request-id": [ + "5cef5131-09ce-4190-b0e7-86676a894d80" + ], + "return-client-request-id": [ + "False" + ], + "ocp-date": [ + "Wed, 18 Feb 2015 00:41:34 GMT" + ] + }, + "ResponseBody": "{\r\n \"odata.metadata\": \"https://testlistwimaxcount.batch.core.windows.net/$metadata#workitems\",\r\n \"value\": [\r\n {\r\n \"name\": \"testName1\",\r\n \"url\": \"https://testlistwimaxcount.batch.core.windows.net/workitems/testName1\",\r\n \"eTag\": \"0x8D2192A9D41452D\",\r\n \"lastModified\": \"2015-02-18T00:40:23.0282541Z\",\r\n \"creationTime\": \"2015-02-18T00:40:23.0282541Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-18T00:40:23.0282541Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlistwimaxcount.batch.core.windows.net/workitems/testName1/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n },\r\n {\r\n \"name\": \"testName2\",\r\n \"url\": \"https://testlistwimaxcount.batch.core.windows.net/workitems/testName2\",\r\n \"eTag\": \"0x8D2192A9D6470E8\",\r\n \"lastModified\": \"2015-02-18T00:40:23.2587496Z\",\r\n \"creationTime\": \"2015-02-18T00:40:23.2587496Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-18T00:40:23.2587496Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlistwimaxcount.batch.core.windows.net/workitems/testName2/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n },\r\n {\r\n \"name\": \"thirdtestName\",\r\n \"url\": \"https://testlistwimaxcount.batch.core.windows.net/workitems/thirdtestName\",\r\n \"eTag\": \"0x8D2192A9D81BCC0\",\r\n \"lastModified\": \"2015-02-18T00:40:23.4507456Z\",\r\n \"creationTime\": \"2015-02-18T00:40:23.4507456Z\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2015-02-18T00:40:23.4507456Z\",\r\n \"jobExecutionEnvironment\": {\r\n \"poolName\": \"testPool\"\r\n },\r\n \"executionInfo\": {\r\n \"recentJob\": {\r\n \"url\": \"https://testlistwimaxcount.batch.core.windows.net/workitems/thirdtestName/jobs/job-0000000001\",\r\n \"name\": \"job-0000000001\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; odata=minimalmetadata" + ], + "Transfer-Encoding": [ + "chunked" + ], + "request-id": [ + "0b751c6a-47a3-44c3-aa75-e565f4ca8635" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "DataServiceVersion": [ + "3.0" + ], + "Date": [ + "Wed, 18 Feb 2015 00:41:35 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-maxcount/providers/Microsoft.Batch/batchAccounts/testlistwimaxcount?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1tYXhjb3VudC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aW1heGNvdW50P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "request-id": [ + "755b7863-9376-465c-92c6-9f6bb2bc85c9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1185" + ], + "x-ms-request-id": [ + "83e02c5c-9621-412a-8979-5bc5c4044c1e" + ], + "x-ms-correlation-request-id": [ + "83e02c5c-9621-412a-8979-5bc5c4044c1e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004138Z:83e02c5c-9621-412a-8979-5bc5c4044c1e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:41:37 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-maxcount/providers/Microsoft.Batch/batchAccounts/testlistwimaxcount/operationResults/755b7863-9376-465c-92c6-9f6bb2bc85c9?api-version=2014-05-01-privatepreview" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourceGroups/test-list-wi-maxcount/providers/Microsoft.Batch/batchAccounts/testlistwimaxcount/operationResults/755b7863-9376-465c-92c6-9f6bb2bc85c9?api-version=2014-05-01-privatepreview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlR3JvdXBzL3Rlc3QtbGlzdC13aS1tYXhjb3VudC9wcm92aWRlcnMvTWljcm9zb2Z0LkJhdGNoL2JhdGNoQWNjb3VudHMvdGVzdGxpc3R3aW1heGNvdW50L29wZXJhdGlvblJlc3VsdHMvNzU1Yjc4NjMtOTM3Ni00NjVjLTkyYzYtOWY2YmIyYmM4NWM5P2FwaS12ZXJzaW9uPTIwMTQtMDUtMDEtcHJpdmF0ZXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-05-01-privatepreview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Batch.BatchManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Last-Modified": [ + "Wed, 18 Feb 2015 00:41:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "request-id": [ + "40104c10-eef9-4b76-b091-f50869fb0b11" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31973" + ], + "x-ms-request-id": [ + "b217c980-915f-4a56-8234-c11d3bab166a" + ], + "x-ms-correlation-request-id": [ + "b217c980-915f-4a56-8234-c11d3bab166a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004138Z:b217c980-915f-4a56-8234-c11d3bab166a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:41:37 GMT" + ], + "ETag": [ + "0x8D2192AC9D8B173" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/resourcegroups/test-list-wi-maxcount?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL3Jlc291cmNlZ3JvdXBzL3Rlc3QtbGlzdC13aS1tYXhjb3VudD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-request-id": [ + "1fccaffa-7dd6-4fd0-8ebf-bdf8523ae631" + ], + "x-ms-correlation-request-id": [ + "1fccaffa-7dd6-4fd0-8ebf-bdf8523ae631" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004139Z:1fccaffa-7dd6-4fd0-8ebf-bdf8523ae631" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:41:39 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJETUFYQ09VTlQtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJETUFYQ09VTlQtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGZEpPakpFVFVGWVEwOVZUbFF0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31991" + ], + "x-ms-request-id": [ + "f62f23d6-0868-4e9e-ada8-f31ca9538c1e" + ], + "x-ms-correlation-request-id": [ + "f62f23d6-0868-4e9e-ada8-f31ca9538c1e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004139Z:f62f23d6-0868-4e9e-ada8-f31ca9538c1e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:41:39 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJETUFYQ09VTlQtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJETUFYQ09VTlQtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGZEpPakpFVFVGWVEwOVZUbFF0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-request-id": [ + "13227646-5465-4dfe-9143-3ab55ebf5e3b" + ], + "x-ms-correlation-request-id": [ + "13227646-5465-4dfe-9143-3ab55ebf5e3b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004155Z:13227646-5465-4dfe-9143-3ab55ebf5e3b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:41:54 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJETUFYQ09VTlQtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJETUFYQ09VTlQtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGZEpPakpFVFVGWVEwOVZUbFF0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-request-id": [ + "3716deb6-fc15-412e-aa56-3f1abe9aee2d" + ], + "x-ms-correlation-request-id": [ + "3716deb6-fc15-412e-aa56-3f1abe9aee2d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004210Z:3716deb6-fc15-412e-aa56-3f1abe9aee2d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:42:09 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJETUFYQ09VTlQtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/6368ed38-3570-481f-b4fa-1d0a6e8d3f3b/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUOjJETElTVDoyRFdJOjJETUFYQ09VTlQtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjM2OGVkMzgtMzU3MC00ODFmLWI0ZmEtMWQwYTZlOGQzZjNiL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVU9qSkVURWxUVkRveVJGZEpPakpFVFVGWVEwOVZUbFF0UlVGVFZGVlRJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31988" + ], + "x-ms-request-id": [ + "514a2b94-333d-4837-a70f-e7bc4572d6ff" + ], + "x-ms-correlation-request-id": [ + "514a2b94-333d-4837-a70f-e7bc4572d6ff" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150218T004225Z:514a2b94-333d-4837-a70f-e7bc4572d6ff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 18 Feb 2015 00:42:25 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "6368ed38-3570-481f-b4fa-1d0a6e8d3f3b" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/Tasks/GetBatchTaskCommandTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/Tasks/GetBatchTaskCommandTests.cs new file mode 100644 index 000000000000..124705e073a5 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/Tasks/GetBatchTaskCommandTests.cs @@ -0,0 +1,226 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Batch; +using Microsoft.Azure.Batch.Protocol; +using Microsoft.Azure.Batch.Protocol.Entities; +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.Tasks +{ + public class GetBatchTaskCommandTests + { + private GetBatchTaskCommand cmdlet; + private Mock batchClientMock; + private Mock commandRuntimeMock; + + public GetBatchTaskCommandTests() + { + batchClientMock = new Mock(); + commandRuntimeMock = new Mock(); + cmdlet = new GetBatchTaskCommand() + { + CommandRuntime = commandRuntimeMock.Object, + BatchClient = batchClientMock.Object, + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void GetBatchTaskTest() + { + // Setup cmdlet to get a Task by name + BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys(); + cmdlet.BatchContext = context; + cmdlet.WorkItemName = "workItem"; + cmdlet.JobName = "job-0000000001"; + cmdlet.Name = "task1"; + cmdlet.Filter = null; + + // Build a Task instead of querying the service on a GetJob call + YieldInjectionInterceptor interceptor = new YieldInjectionInterceptor((opContext, request) => + { + if (request is GetTaskRequest) + { + GetTaskResponse response = BatchTestHelpers.CreateGetTaskResponse(cmdlet.Name); + Task task = Task.Factory.StartNew(() => { return response; }); + return task; + } + return null; + }); + cmdlet.AdditionalBehaviors = new List() { interceptor }; + + // Setup the cmdlet to write pipeline output to a list that can be examined later + List pipeline = new List(); + commandRuntimeMock.Setup(r => r.WriteObject(It.IsAny())).Callback(t => pipeline.Add((PSCloudTask)t)); + + cmdlet.ExecuteCmdlet(); + + // Verify that the cmdlet wrote the Task returned from the OM to the pipeline + Assert.Equal(1, pipeline.Count); + Assert.Equal(cmdlet.Name, pipeline[0].Name); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void ListBatchTasksByODataFilterTest() + { + // Setup cmdlet to list Tasks using an OData filter. Use WorkItemName and JobName input. + BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys(); + cmdlet.BatchContext = context; + cmdlet.WorkItemName = "workItem"; + cmdlet.JobName = "job-0000000001"; + cmdlet.Name = null; + cmdlet.Filter = "startswith(name,'test')"; + + string[] namesOfConstructedTasks = new[] { "testTask1", "testTask2" }; + + // Build some Tasks instead of querying the service on a ListTasks call + YieldInjectionInterceptor interceptor = new YieldInjectionInterceptor((opContext, request) => + { + if (request is ListTasksRequest) + { + ListTasksResponse response = BatchTestHelpers.CreateListTasksResponse(namesOfConstructedTasks); + Task task = Task.Factory.StartNew(() => { return response; }); + return task; + } + return null; + }); + cmdlet.AdditionalBehaviors = new List() { interceptor }; + + // Setup the cmdlet to write pipeline output to a list that can be examined later + List pipeline = new List(); + commandRuntimeMock.Setup(r => + r.WriteObject(It.IsAny())) + .Callback(t => pipeline.Add((PSCloudTask)t)); + + cmdlet.ExecuteCmdlet(); + + // Verify that the cmdlet wrote the constructed Tasks to the pipeline + Assert.Equal(2, pipeline.Count); + int taskCount = 0; + foreach (PSCloudTask t in pipeline) + { + Assert.True(namesOfConstructedTasks.Contains(t.Name)); + taskCount++; + } + Assert.Equal(namesOfConstructedTasks.Length, taskCount); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void ListBatchTasksWithoutFiltersTest() + { + // Setup cmdlet to list Tasks without filters. Use WorkItemName and JobName. A PSCloudJob object is difficult to construct, so save that for the scenario tests. + BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys(); + cmdlet.BatchContext = context; + cmdlet.WorkItemName = "workItem"; + cmdlet.JobName = "job-0000000001"; + cmdlet.Name = null; + cmdlet.Filter = null; + + string[] namesOfConstructedTasks = new[] { "testTask1", "testTask2", "testTask3" }; + + // Build some Tasks instead of querying the service on a ListTasks call + YieldInjectionInterceptor interceptor = new YieldInjectionInterceptor((opContext, request) => + { + if (request is ListTasksRequest) + { + ListTasksResponse response = BatchTestHelpers.CreateListTasksResponse(namesOfConstructedTasks); + Task task = Task.Factory.StartNew(() => { return response; }); + return task; + } + return null; + }); + cmdlet.AdditionalBehaviors = new List() { interceptor }; + + // Setup the cmdlet to write pipeline output to a list that can be examined later + List pipeline = new List(); + commandRuntimeMock.Setup(r => + r.WriteObject(It.IsAny())) + .Callback(t => pipeline.Add((PSCloudTask)t)); + + cmdlet.ExecuteCmdlet(); + + // Verify that the cmdlet wrote the constructed Tasks to the pipeline + Assert.Equal(3, pipeline.Count); + int taskCount = 0; + foreach (PSCloudTask t in pipeline) + { + Assert.True(namesOfConstructedTasks.Contains(t.Name)); + taskCount++; + } + Assert.Equal(namesOfConstructedTasks.Length, taskCount); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void ListTasksMaxCountTest() + { + // Verify default max count + Assert.Equal(Microsoft.Azure.Commands.Batch.Utils.Constants.DefaultMaxCount, cmdlet.MaxCount); + + // Setup cmdlet to list Tasks without filters and a max count + BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys(); + cmdlet.BatchContext = context; + cmdlet.WorkItemName = "workItem"; + cmdlet.JobName = "job-0000000001"; + cmdlet.Name = null; + cmdlet.Filter = null; + int maxCount = 2; + cmdlet.MaxCount = maxCount; + + string[] namesOfConstructedTasks = new[] { "testTask1", "testTask2", "testTask3" }; + + // Build some Tasks instead of querying the service on a ListTasks call + YieldInjectionInterceptor interceptor = new YieldInjectionInterceptor((opContext, request) => + { + if (request is ListTasksRequest) + { + ListTasksResponse response = BatchTestHelpers.CreateListTasksResponse(namesOfConstructedTasks); + Task task = Task.Factory.StartNew(() => { return response; }); + return task; + } + return null; + }); + cmdlet.AdditionalBehaviors = new List() { interceptor }; + + // Setup the cmdlet to write pipeline output to a list that can be examined later + List pipeline = new List(); + commandRuntimeMock.Setup(r => + r.WriteObject(It.IsAny())) + .Callback(t => pipeline.Add((PSCloudTask)t)); + + cmdlet.ExecuteCmdlet(); + + // Verify that the max count was respected + Assert.Equal(maxCount, pipeline.Count); + + // Verify setting max count <= 0 doesn't return nothing + cmdlet.MaxCount = -5; + pipeline.Clear(); + cmdlet.ExecuteCmdlet(); + + Assert.Equal(namesOfConstructedTasks.Length, pipeline.Count); + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/WorkItems/GetBatchWorkItemCommandTests.cs b/src/ResourceManager/Batch/Commands.Batch.Test/WorkItems/GetBatchWorkItemCommandTests.cs new file mode 100644 index 000000000000..9db3543d4547 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/WorkItems/GetBatchWorkItemCommandTests.cs @@ -0,0 +1,219 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Batch; +using Microsoft.Azure.Batch.Protocol; +using Microsoft.Azure.Batch.Protocol.Entities; +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.WorkItems +{ + public class GetBatchWorkItemCommandTests + { + private GetBatchWorkItemCommand cmdlet; + private Mock batchClientMock; + private Mock commandRuntimeMock; + + public GetBatchWorkItemCommandTests() + { + batchClientMock = new Mock(); + commandRuntimeMock = new Mock(); + cmdlet = new GetBatchWorkItemCommand() + { + CommandRuntime = commandRuntimeMock.Object, + BatchClient = batchClientMock.Object, + }; + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void GetBatchWorkItemTest() + { + // Setup cmdlet to get a WorkItem by name + BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys(); + cmdlet.BatchContext = context; + cmdlet.Name = "testWorkItem"; + cmdlet.Filter = null; + + // Build a WorkItem instead of querying the service on a GetWorkItem call + YieldInjectionInterceptor interceptor = new YieldInjectionInterceptor((opContext, request) => + { + if (request is GetWorkItemRequest) + { + GetWorkItemResponse response = BatchTestHelpers.CreateGetWorkItemResponse(cmdlet.Name); + Task task = Task.Factory.StartNew(() => { return response; }); + return task; + } + return null; + }); + cmdlet.AdditionalBehaviors = new List() { interceptor }; + + // Setup the cmdlet to write pipeline output to a list that can be examined later + List pipeline = new List(); + commandRuntimeMock.Setup(r => r.WriteObject(It.IsAny())).Callback(w => pipeline.Add((PSCloudWorkItem)w)); + + cmdlet.ExecuteCmdlet(); + + // Verify that the cmdlet wrote the WorkItem returned from the OM to the pipeline + Assert.Equal(1, pipeline.Count); + Assert.Equal(cmdlet.Name, pipeline[0].Name); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void ListBatchWorkItemByODataFilterTest() + { + // Setup cmdlet to list WorkItems using an OData filter + BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys(); + cmdlet.BatchContext = context; + cmdlet.Name = null; + cmdlet.Filter = "startswith(name,'test')"; + + string[] namesOfConstructedWorkItems = new[] {"test1", "test2"}; + + // Build some WorkItems instead of querying the service on a ListWorkItems call + YieldInjectionInterceptor interceptor = new YieldInjectionInterceptor((opContext, request) => + { + if (request is ListWorkItemsRequest) + { + ListWorkItemsResponse response = BatchTestHelpers.CreateListWorkItemsResponse(namesOfConstructedWorkItems); + Task task = Task.Factory.StartNew(() => { return response; }); + return task; + } + return null; + }); + cmdlet.AdditionalBehaviors = new List() { interceptor }; + + // Setup the cmdlet to write pipeline output to a list that can be examined later + List pipeline = new List(); + commandRuntimeMock.Setup(r => + r.WriteObject(It.IsAny())) + .Callback(w => pipeline.Add((PSCloudWorkItem)w)); + + cmdlet.ExecuteCmdlet(); + + // Verify that the cmdlet wrote the constructed WorkItems to the pipeline + Assert.Equal(2, pipeline.Count); + int workItemCount = 0; + foreach (PSCloudWorkItem w in pipeline) + { + Assert.True(namesOfConstructedWorkItems.Contains(w.Name)); + workItemCount++; + } + Assert.Equal(namesOfConstructedWorkItems.Length, workItemCount); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void ListBatchWorkItemWithoutFiltersTest() + { + // Setup cmdlet to list WorkItems without filters + BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys(); + cmdlet.BatchContext = context; + cmdlet.Name = null; + cmdlet.Filter = null; + + string[] namesOfConstructedWorkItems = new[] { "name1", "name2", "name3" }; + + // Build some WorkItems instead of querying the service on a ListWorkItems call + YieldInjectionInterceptor interceptor = new YieldInjectionInterceptor((opContext, request) => + { + if (request is ListWorkItemsRequest) + { + ListWorkItemsResponse response = BatchTestHelpers.CreateListWorkItemsResponse(namesOfConstructedWorkItems); + Task task = Task.Factory.StartNew(() => { return response; }); + return task; + } + return null; + }); + cmdlet.AdditionalBehaviors = new List() { interceptor }; + + // Setup the cmdlet to write pipeline output to a list that can be examined later + List pipeline = new List(); + commandRuntimeMock.Setup(r => + r.WriteObject(It.IsAny())) + .Callback(w => pipeline.Add((PSCloudWorkItem)w)); + + cmdlet.ExecuteCmdlet(); + + // Verify that the cmdlet wrote the constructed WorkItems to the pipeline + Assert.Equal(3, pipeline.Count); + int workItemCount = 0; + foreach (PSCloudWorkItem w in pipeline) + { + Assert.True(namesOfConstructedWorkItems.Contains(w.Name)); + workItemCount++; + } + Assert.Equal(namesOfConstructedWorkItems.Length, workItemCount); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void ListWorkItemMaxCountTest() + { + // Verify default max count + Assert.Equal(Microsoft.Azure.Commands.Batch.Utils.Constants.DefaultMaxCount, cmdlet.MaxCount); + + // Setup cmdlet to list WorkItems without filters and a max count + BatchAccountContext context = BatchTestHelpers.CreateBatchContextWithKeys(); + cmdlet.BatchContext = context; + cmdlet.Name = null; + cmdlet.Filter = null; + int maxCount = 2; + cmdlet.MaxCount = maxCount; + + string[] namesOfConstructedWorkItems = new[] { "name1", "name2", "name3" }; + + // Build some WorkItems instead of querying the service on a ListWorkItems call + YieldInjectionInterceptor interceptor = new YieldInjectionInterceptor((opContext, request) => + { + if (request is ListWorkItemsRequest) + { + ListWorkItemsResponse response = BatchTestHelpers.CreateListWorkItemsResponse(namesOfConstructedWorkItems); + Task task = Task.Factory.StartNew(() => { return response; }); + return task; + } + return null; + }); + cmdlet.AdditionalBehaviors = new List() { interceptor }; + + // Setup the cmdlet to write pipeline output to a list that can be examined later + List pipeline = new List(); + commandRuntimeMock.Setup(r => + r.WriteObject(It.IsAny())) + .Callback(w => pipeline.Add((PSCloudWorkItem)w)); + + cmdlet.ExecuteCmdlet(); + + // Verify that the max count was respected + Assert.Equal(maxCount, pipeline.Count); + + // Verify setting max count <= 0 doesn't return nothing + cmdlet.MaxCount = -5; + pipeline.Clear(); + cmdlet.ExecuteCmdlet(); + + Assert.Equal(namesOfConstructedWorkItems.Length, pipeline.Count); + } + + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/about.txt b/src/ResourceManager/Batch/Commands.Batch.Test/about.txt new file mode 100644 index 000000000000..0ddda9e3821c --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch.Test/about.txt @@ -0,0 +1,18 @@ +This project is divided into Unit Tests and Scenario Tests. +All the Scenario Tests can be found under the ScenarioTests folder. All other test classes are Unit Tests. + +The Unit Tests run in the xUnit test framework. +xUnit Documentation: http://xunit.github.io/ + +The Unit Tests make use of the Moq framework to create mock objects of the PowerShell runtime and the +Hyak management libraries. +Moq Documentation: https://github.com/Moq/moq4/blob/master/README.md + +Unit Tests for cmdlets that use the Batch OM make use of BatchClientBehaviors. +Using this feature, we insert custom behaviors into the OM service requests that allow +us to modify the Batch request objects, the actions performed on them, and their responses. +BatchClientBehaviors Documentation: https://msdn.microsoft.com/en-us/library/azure/microsoft.azure.batch.batchclientbehavior.aspx + +The Scenario Tests make use of the HTTP recorder/playback functionality in the Hyak +management libraries. See the Azure PowerShell Developer Guide for more information: +https://github.com/Azure/azure-powershell/wiki/Microsoft-Azure-PowerShell-Developer-Guide#running-scenario-tests diff --git a/src/ResourceManager/Batch/Commands.Batch.Test/packages.config b/src/ResourceManager/Batch/Commands.Batch.Test/packages.config index cb353aab22e0..604fedc56d6b 100644 --- a/src/ResourceManager/Batch/Commands.Batch.Test/packages.config +++ b/src/ResourceManager/Batch/Commands.Batch.Test/packages.config @@ -1,22 +1,29 @@  - - + + + + - - + - - - + + + - + + + + - + + + + \ No newline at end of file diff --git a/src/ResourceManager/Batch/Commands.Batch/BatchCmdletBase.cs b/src/ResourceManager/Batch/Commands.Batch/BatchCmdletBase.cs index 9b63bdca19a8..d6d7c87aad0f 100644 --- a/src/ResourceManager/Batch/Commands.Batch/BatchCmdletBase.cs +++ b/src/ResourceManager/Batch/Commands.Batch/BatchCmdletBase.cs @@ -12,12 +12,16 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using Microsoft.Azure.Batch.Common; +using Microsoft.Azure.Batch.Protocol.Entities; using Hyak.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Newtonsoft.Json.Linq; using System; +using System.Text; +using BatchClient = Microsoft.Azure.Commands.Batch.Models.BatchClient; namespace Microsoft.Azure.Commands.Batch { @@ -31,7 +35,8 @@ public BatchClient BatchClient { if (batchClient == null) { - batchClient = new BatchClient(CurrentContext); + batchClient = new BatchClient(Profile.Context); + batchClient.VerboseLogger = WriteVerboseWithTimestamp; } return batchClient; } @@ -52,6 +57,30 @@ protected override void ProcessRecord() ExecuteCmdlet(); OnProcessRecord(); } + catch (AggregateException ex) + { + // When the OM encounters an error, it'll throw an AggregateException with a nested BatchException. + // BatchExceptions have special handling to extract detailed failure information. When an AggregateException + // is encountered, loop through the inner exceptions. If there's a nested BatchException, perform the + // special handling. Otherwise, just write out the error. + AggregateException flattened = ex.Flatten(); + foreach (Exception inner in flattened.InnerExceptions) + { + BatchException asBatch = inner as BatchException; + if (asBatch != null) + { + HandleBatchException(asBatch); + } + else + { + WriteExceptionError(inner); + } + } + } + catch (BatchException ex) + { + HandleBatchException(ex); + } catch (CloudException ex) { var updatedEx = ex; @@ -82,6 +111,7 @@ protected override void ProcessRecord() /// internal static string FindDetailedMessage(string content) { + // TODO: Revise after Task 2362107 is completed on the server side string message = null; if (CloudException.IsJson(content)) @@ -117,5 +147,36 @@ internal static string FindDetailedMessage(string content) return message; } + + /// + /// Extracts failure details from the BatchException object to create a more informative error message for the user. + /// + /// The BatchException object + private void HandleBatchException(BatchException ex) + { + if (ex != null) + { + if (ex.RequestInformation != null && ex.RequestInformation.AzureError != null) + { + StringBuilder str = new StringBuilder(ex.Message).AppendLine(); + + str.AppendFormat("Error Code: {0}", ex.RequestInformation.AzureError.Code).AppendLine(); + str.AppendFormat("Error Message: {0}", ex.RequestInformation.AzureError.Message.Value).AppendLine(); + str.AppendFormat("Client Request ID:{0}", ex.RequestInformation.ClientRequestID).AppendLine(); + if (ex.RequestInformation.AzureError.Values != null) + { + foreach (AzureErrorDetail detail in ex.RequestInformation.AzureError.Values) + { + str.AppendFormat("{0}:{1}", detail.Key, detail.Value).AppendLine(); + } + } + WriteExceptionError(new BatchException(ex.RequestInformation, str.ToString(), ex.InnerException)); + } + else + { + WriteExceptionError(ex); + } + } + } } } diff --git a/src/ResourceManager/Batch/Commands.Batch/BatchObjectModelCmdletBase.cs b/src/ResourceManager/Batch/Commands.Batch/BatchObjectModelCmdletBase.cs new file mode 100644 index 000000000000..51586fc2bddd --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/BatchObjectModelCmdletBase.cs @@ -0,0 +1,42 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Batch; +using Microsoft.Azure.Commands.Batch.Properties; +using System.Collections.Generic; +using System.Management.Automation; + +namespace Microsoft.Azure.Commands.Batch +{ + /// + /// Base class for cmdlets that use the Batch OM. + /// + public class BatchObjectModelCmdletBase : BatchCmdletBase + { + /// + /// Collection of custom behaviors to perform on service calls + /// + internal IEnumerable AdditionalBehaviors { get; set; } + + [Parameter(Mandatory = true, ValueFromPipeline = true, HelpMessage = "The Batch account information.")] + [ValidateNotNullOrEmpty] + public BatchAccountContext BatchContext { get; set; } + + protected override void BeginProcessing() + { + base.BeginProcessing(); + WriteVerboseWithTimestamp(Resources.AccountAndKeyInUse, BatchContext.AccountName, BatchContext.KeyInUse); + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Commands.Batch.csproj b/src/ResourceManager/Batch/Commands.Batch/Commands.Batch.csproj index 77a2bc161da2..d8e369557f7c 100644 --- a/src/ResourceManager/Batch/Commands.Batch/Commands.Batch.csproj +++ b/src/ResourceManager/Batch/Commands.Batch/Commands.Batch.csproj @@ -42,17 +42,21 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll + + + False + ..\..\..\packages\Azure.Batch.1.2.0\lib\net45\Microsoft.Azure.Batch.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll False @@ -62,12 +66,21 @@ False ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - + + ..\..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll + + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + + + ..\..\..\packages\Microsoft.Data.Edm.5.6.0\lib\net40\Microsoft.Data.Edm.dll + + + ..\..\..\packages\Microsoft.Data.OData.5.6.0\lib\net40\Microsoft.Data.OData.dll False @@ -81,9 +94,16 @@ False ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll + + + ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.1.8.0.0\lib\net35-full\Microsoft.WindowsAzure.Configuration.dll + + + False + ..\..\..\packages\WindowsAzure.Storage.4.0.0\lib\net40\Microsoft.WindowsAzure.Storage.dll False @@ -91,6 +111,8 @@ + + False D:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll @@ -106,6 +128,11 @@ ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll + + ..\..\..\packages\System.Spatial.5.6.0\lib\net40\System.Spatial.dll + + + @@ -115,16 +142,75 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + True True Resources.resx + + + @@ -151,6 +237,7 @@ Commands.Common + diff --git a/src/ResourceManager/Batch/Commands.Batch/Jobs/GetBatchJobCommand.cs b/src/ResourceManager/Batch/Commands.Batch/Jobs/GetBatchJobCommand.cs new file mode 100644 index 000000000000..2d0aaeafcbfa --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Jobs/GetBatchJobCommand.cs @@ -0,0 +1,76 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Batch; +using Microsoft.Azure.Commands.Batch.Models; +using System; +using System.Management.Automation; +using Constants = Microsoft.Azure.Commands.Batch.Utils.Constants; + +namespace Microsoft.Azure.Commands.Batch +{ + [Cmdlet(VerbsCommon.Get, "AzureBatchJob", DefaultParameterSetName = Constants.ODataFilterParameterSet), OutputType(typeof(PSCloudJob))] + public class GetBatchJobCommand : BatchObjectModelCmdletBase + { + private int maxCount = Constants.DefaultMaxCount; + + [Parameter(Position = 0, ParameterSetName = Constants.NameParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the WorkItem containing the Jobs to query.")] + [Parameter(ParameterSetName = Constants.ODataFilterParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true)] + [ValidateNotNullOrEmpty] + public string WorkItemName { get; set; } + + [Parameter(Position = 1, ParameterSetName = Constants.NameParameterSet, HelpMessage = "The name of the Job to query.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Position = 0, ParameterSetName = Constants.ParentObjectParameterSet, ValueFromPipeline = true, HelpMessage = "The WorkItem containing the Jobs to query.")] + [ValidateNotNullOrEmpty] + public PSCloudWorkItem WorkItem { get; set; } + + [Parameter(ParameterSetName = Constants.ODataFilterParameterSet, HelpMessage = "OData filter to use when querying for Jobs.")] + [Parameter(ParameterSetName = Constants.ParentObjectParameterSet)] + [ValidateNotNullOrEmpty] + public string Filter { get; set; } + + [Parameter(ParameterSetName = Constants.ODataFilterParameterSet, HelpMessage = "The maximum number of Jobs to return. If a value of 0 or less is specified, then no upper limit will be used.")] + [Parameter(ParameterSetName = Constants.ParentObjectParameterSet)] + public int MaxCount + { + get { return this.maxCount; } + set { this.maxCount = value; } + } + + public override void ExecuteCmdlet() + { + ListJobOptions options = new ListJobOptions() + { + Context = this.BatchContext, + WorkItemName = this.WorkItemName, + JobName = this.Name, + WorkItem = this.WorkItem, + Filter = this.Filter, + MaxCount = this.MaxCount, + AdditionalBehaviors = this.AdditionalBehaviors + }; + + // The enumerator will internally query the service in chunks. Using WriteObject with the enumerate flag will enumerate + // the entire collection first and then write the items out one by one in a single group. Using foreach, we can take + // advantage of the enumerator's behavior and write output to the pipeline in bursts. + foreach (PSCloudJob job in BatchClient.ListJobs(options)) + { + WriteObject(job); + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/BatchAccountContext.cs b/src/ResourceManager/Batch/Commands.Batch/Models/BatchAccountContext.cs index 311dd493c442..cd9eaad03171 100644 --- a/src/ResourceManager/Batch/Commands.Batch/Models/BatchAccountContext.cs +++ b/src/ResourceManager/Batch/Commands.Batch/Models/BatchAccountContext.cs @@ -12,6 +12,8 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using Microsoft.Azure.Batch; +using Microsoft.Azure.Batch.Auth; using Microsoft.Azure.Commands.Batch.Properties; using Microsoft.Azure.Management.Batch.Models; using System; @@ -24,6 +26,9 @@ namespace Microsoft.Azure.Commands.Batch /// public class BatchAccountContext { + private AccountKeyType keyInUse; + private IBatchClient batchOMClient; + public string Id { get; private set; } public string AccountEndpoint { get; private set; } @@ -51,9 +56,45 @@ public string TagsTable get { return Helpers.FormatTagsTable(Tags); } } - internal BatchAccountContext() { } + public AccountKeyType KeyInUse + { + get { return this.keyInUse; } + set + { + if (value != this.keyInUse) + { + this.batchOMClient.Dispose(); + this.batchOMClient = null; + } + this.keyInUse = value; + } + } + + internal IBatchClient BatchOMClient + { + get + { + if (this.batchOMClient == null) + { + if ((KeyInUse == AccountKeyType.Primary && string.IsNullOrEmpty(PrimaryAccountKey)) || + (KeyInUse == AccountKeyType.Secondary && string.IsNullOrEmpty(SecondaryAccountKey))) + { + throw new InvalidOperationException(string.Format(Resources.KeyNotPresent, KeyInUse)); + } + string key = KeyInUse == AccountKeyType.Primary ? PrimaryAccountKey : SecondaryAccountKey; + BatchCredentials credentials = new BatchCredentials(AccountName, key); + this.batchOMClient = Microsoft.Azure.Batch.BatchClient.Connect(TaskTenantUrl, credentials); + } + return this.batchOMClient; + } + } + + internal BatchAccountContext() + { + this.keyInUse = AccountKeyType.Primary; + } - internal BatchAccountContext(string accountEndpoint) + internal BatchAccountContext(string accountEndpoint) : this() { this.AccountEndpoint = accountEndpoint; } diff --git a/src/ResourceManager/Batch/Commands.Batch/BatchClient.cs b/src/ResourceManager/Batch/Commands.Batch/Models/BatchClient.Accounts.cs similarity index 87% rename from src/ResourceManager/Batch/Commands.Batch/BatchClient.cs rename to src/ResourceManager/Batch/Commands.Batch/Models/BatchClient.Accounts.cs index 3173556916de..f5728d86cba6 100644 --- a/src/ResourceManager/Batch/Commands.Batch/BatchClient.cs +++ b/src/ResourceManager/Batch/Commands.Batch/Models/BatchClient.Accounts.cs @@ -14,53 +14,17 @@ using Hyak.Common; using Microsoft.Azure.Commands.Batch.Properties; -using Microsoft.Azure.Common.Extensions; -using Microsoft.Azure.Common.Extensions.Models; using Microsoft.Azure.Management.Batch; using Microsoft.Azure.Management.Batch.Models; using Microsoft.Azure.Management.Resources; -using Microsoft.WindowsAzure; -using Microsoft.WindowsAzure.Commands.Common; using System; using System.Collections; using System.Collections.Generic; -namespace Microsoft.Azure.Commands.Batch +namespace Microsoft.Azure.Commands.Batch.Models { - public class BatchClient + public partial class BatchClient { - public IBatchManagementClient BatchManagementClient{ get; private set; } - - public IResourceManagementClient ResourceManagementClient { get; private set; } - - private static string batchProvider = "Microsoft.Batch"; - private static string accountObject = "batchAccounts"; - private static string accountSearch = batchProvider + "/" + accountObject; - - public BatchClient() - { } - - /// - /// Creates new BatchClient instance - /// - /// The IBatchManagementClient instance - public BatchClient(IBatchManagementClient batchManagementClient, IResourceManagementClient resourceManagementClient) - { - BatchManagementClient = batchManagementClient; - ResourceManagementClient = resourceManagementClient; - } - - /// - /// Creates new ResourceManagementClient - /// - /// Context with subscription containing a batch account to manipulate - public BatchClient(AzureContext context) - : this(AzureSession.ClientFactory.CreateClient(context, AzureEnvironment.Endpoint.ResourceManager), - AzureSession.ClientFactory.CreateClient(context, AzureEnvironment.Endpoint.ResourceManager)) - { - } - - #region Account verbs /// /// Creates a new Batch account /// @@ -79,7 +43,7 @@ public virtual BatchAccountContext CreateAccount(string resourceGroupName, strin } Dictionary tagDictionary = Helpers.CreateTagDictionary(tags, validate: true); - + var response = BatchManagementClient.Accounts.Create(resourceGroupName, accountName, new BatchAccountCreateParameters() { Location = location, @@ -252,12 +216,11 @@ public virtual AzureOperationResponse DeleteAccount(string resourceGroupName, st } return BatchManagementClient.Accounts.Delete(resourceGroupName, accountName); } - #endregion /// /// Lists all accounts in a subscription or in a resource group if its name is specified /// - /// Next link to use when querying for accounts + /// Next link to use when querying for accounts /// The status of list operation internal BatchAccountListResponse ListNextAccounts(string NextLink) { diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/BatchClient.Jobs.cs b/src/ResourceManager/Batch/Commands.Batch/Models/BatchClient.Jobs.cs new file mode 100644 index 000000000000..20f9e56c325b --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/BatchClient.Jobs.cs @@ -0,0 +1,82 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Linq; +using Microsoft.Azure.Batch; +using Microsoft.Azure.Commands.Batch.Models; +using Microsoft.Azure.Commands.Batch.Properties; +using System; +using System.Collections.Generic; + +namespace Microsoft.Azure.Commands.Batch.Models +{ + public partial class BatchClient + { + /// + /// Lists the Jobs matching the specified filter options + /// + /// The options to use when querying for Jobs + /// The Jobs matching the specified filter options + public IEnumerable ListJobs(ListJobOptions options) + { + if (options == null) + { + throw new ArgumentNullException("options"); + } + + if (string.IsNullOrEmpty(options.WorkItemName) && options.WorkItem == null) + { + throw new ArgumentNullException(Resources.GBJ_NoWorkItem); + } + string wiName = options.WorkItem == null ? options.WorkItemName : options.WorkItem.Name; + + // Get the single Job matching the specified name + if (!string.IsNullOrEmpty(options.JobName)) + { + WriteVerbose(string.Format(Resources.GBJ_GetByName, options.JobName, wiName)); + using (IWorkItemManager wiManager = options.Context.BatchOMClient.OpenWorkItemManager()) + { + ICloudJob job = wiManager.GetJob(wiName, options.JobName, additionalBehaviors: options.AdditionalBehaviors); + PSCloudJob psJob = new PSCloudJob(job); + return new PSCloudJob[] { psJob }; + } + } + // List Jobs using the specified filter + else + { + if (options.MaxCount <= 0) + { + options.MaxCount = Int32.MaxValue; + } + ODATADetailLevel odata = null; + if (!string.IsNullOrEmpty(options.Filter)) + { + WriteVerbose(string.Format(Resources.GBJ_GetByOData, wiName, options.MaxCount)); + odata = new ODATADetailLevel(filterClause: options.Filter); + } + else + { + WriteVerbose(string.Format(Resources.GBJ_GetNoFilter, wiName, options.MaxCount)); + } + + using (IWorkItemManager wiManager = options.Context.BatchOMClient.OpenWorkItemManager()) + { + IEnumerableAsyncExtended jobs = wiManager.ListJobs(wiName, odata, options.AdditionalBehaviors); + Func mappingFunction = j => { return new PSCloudJob(j); }; + return new PSAsyncEnumerable(jobs, mappingFunction).Take(options.MaxCount); + } + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/BatchClient.Pools.cs b/src/ResourceManager/Batch/Commands.Batch/Models/BatchClient.Pools.cs new file mode 100644 index 000000000000..ae2915983cf4 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/BatchClient.Pools.cs @@ -0,0 +1,75 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Linq; +using Microsoft.Azure.Batch; +using Microsoft.Azure.Commands.Batch.Models; +using Microsoft.Azure.Commands.Batch.Properties; +using System; +using System.Collections.Generic; + +namespace Microsoft.Azure.Commands.Batch.Models +{ + public partial class BatchClient + { + /// + /// Lists the Pools matching the specified filter options + /// + /// The options to use when querying for Pools + /// The Pools matching the specified filter options + public IEnumerable ListPools(ListPoolOptions options) + { + if (options == null) + { + throw new ArgumentNullException("options"); + } + + // Get the single Pool matching the specified name + if (!string.IsNullOrEmpty(options.PoolName)) + { + WriteVerbose(string.Format(Resources.GBP_GetByName, options.PoolName)); + using (IPoolManager poolManager = options.Context.BatchOMClient.OpenPoolManager()) + { + ICloudPool pool = poolManager.GetPool(options.PoolName, additionalBehaviors: options.AdditionalBehaviors); + PSCloudPool psPool = new PSCloudPool(pool); + return new PSCloudPool[] { psPool }; + } + } + // List Pools using the specified filter + else + { + if (options.MaxCount <= 0) + { + options.MaxCount = Int32.MaxValue; + } + ODATADetailLevel odata = null; + if (!string.IsNullOrEmpty(options.Filter)) + { + WriteVerbose(string.Format(Resources.GBP_GetByOData, options.MaxCount)); + odata = new ODATADetailLevel(filterClause: options.Filter); + } + else + { + WriteVerbose(string.Format(Resources.GBP_NoFilter, options.MaxCount)); + } + using (IPoolManager poolManager = options.Context.BatchOMClient.OpenPoolManager()) + { + IEnumerableAsyncExtended pools = poolManager.ListPools(odata, options.AdditionalBehaviors); + Func mappingFunction = p => { return new PSCloudPool(p); }; + return new PSAsyncEnumerable(pools, mappingFunction).Take(options.MaxCount); + } + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/BatchClient.Tasks.cs b/src/ResourceManager/Batch/Commands.Batch/Models/BatchClient.Tasks.cs new file mode 100644 index 000000000000..6adf2b339e55 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/BatchClient.Tasks.cs @@ -0,0 +1,90 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System.Linq; +using Microsoft.Azure.Batch; +using Microsoft.Azure.Commands.Batch.Models; +using Microsoft.Azure.Commands.Batch.Properties; +using System; +using System.Collections.Generic; + +namespace Microsoft.Azure.Commands.Batch.Models +{ + public partial class BatchClient + { + /// + /// Lists the Tasks matching the specified filter options + /// + /// The options to use when querying for Tasks + /// The Tasks matching the specified filter options + public IEnumerable ListTasks(ListTaskOptions options) + { + if (options == null) + { + throw new ArgumentNullException("options"); + } + + if ((string.IsNullOrEmpty(options.WorkItemName) || string.IsNullOrEmpty(options.JobName)) && options.Job == null) + { + throw new ArgumentNullException(Resources.GBT_NoJob); + } + + // Get the single Task matching the specified name + if (!string.IsNullOrEmpty(options.TaskName)) + { + WriteVerbose(string.Format(Resources.GBT_GetByName, options.TaskName, options.JobName, options.WorkItemName)); + using (IWorkItemManager wiManager = options.Context.BatchOMClient.OpenWorkItemManager()) + { + ICloudTask task = wiManager.GetTask(options.WorkItemName, options.JobName, options.TaskName, additionalBehaviors: options.AdditionalBehaviors); + PSCloudTask psTask = new PSCloudTask(task); + return new PSCloudTask[] { psTask }; + } + } + // List Tasks using the specified filter + else + { + if (options.MaxCount <= 0) + { + options.MaxCount = Int32.MaxValue; + } + string jName = options.Job == null ? options.JobName : options.Job.Name; + ODATADetailLevel odata = null; + if (!string.IsNullOrEmpty(options.Filter)) + { + WriteVerbose(string.Format(Resources.GBT_GetByOData, jName, options.MaxCount)); + odata = new ODATADetailLevel(filterClause: options.Filter); + } + else + { + WriteVerbose(string.Format(Resources.GBT_GetNoFilter, jName, options.MaxCount)); + } + + IEnumerableAsyncExtended tasks = null; + if (options.Job != null) + { + tasks = options.Job.omObject.ListTasks(odata, options.AdditionalBehaviors); + } + else + { + using (IWorkItemManager wiManager = options.Context.BatchOMClient.OpenWorkItemManager()) + { + tasks = wiManager.ListTasks(options.WorkItemName, options.JobName, odata, options.AdditionalBehaviors); + } + } + Func mappingFunction = t => { return new PSCloudTask(t); }; + return new PSAsyncEnumerable(tasks, mappingFunction).Take(options.MaxCount); + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/BatchClient.WorkItems.cs b/src/ResourceManager/Batch/Commands.Batch/Models/BatchClient.WorkItems.cs new file mode 100644 index 000000000000..6c5acf5d9e40 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/BatchClient.WorkItems.cs @@ -0,0 +1,75 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Linq; +using Microsoft.Azure.Batch; +using Microsoft.Azure.Commands.Batch.Models; +using Microsoft.Azure.Commands.Batch.Properties; +using System; +using System.Collections.Generic; + +namespace Microsoft.Azure.Commands.Batch.Models +{ + public partial class BatchClient + { + /// + /// Lists the WorkItems matching the specified filter options + /// + /// The options to use when querying for WorkItems + /// The WorkItems matching the specified filter options + public IEnumerable ListWorkItems(ListWorkItemOptions options) + { + if (options == null) + { + throw new ArgumentNullException("options"); + } + + // Get the single WorkItem matching the specified name + if (!string.IsNullOrEmpty(options.WorkItemName)) + { + WriteVerbose(string.Format(Resources.GBWI_GetByName, options.WorkItemName)); + using (IWorkItemManager wiManager = options.Context.BatchOMClient.OpenWorkItemManager()) + { + ICloudWorkItem workItem = wiManager.GetWorkItem(options.WorkItemName, additionalBehaviors: options.AdditionalBehaviors); + PSCloudWorkItem psWorkItem = new PSCloudWorkItem(workItem); + return new PSCloudWorkItem[] { psWorkItem }; + } + } + // List WorkItems using the specified filter + else + { + if (options.MaxCount <= 0) + { + options.MaxCount = Int32.MaxValue; + } + ODATADetailLevel odata = null; + if (!string.IsNullOrEmpty(options.Filter)) + { + WriteVerbose(string.Format(Resources.GBWI_GetByOData, options.MaxCount)); + odata = new ODATADetailLevel(filterClause: options.Filter); + } + else + { + WriteVerbose(string.Format(Resources.GBWI_NoFilter, options.MaxCount)); + } + using (IWorkItemManager wiManager = options.Context.BatchOMClient.OpenWorkItemManager()) + { + IEnumerableAsyncExtended workItems = wiManager.ListWorkItems(odata, options.AdditionalBehaviors); + Func mappingFunction = w => { return new PSCloudWorkItem(w); }; + return new PSAsyncEnumerable(workItems, mappingFunction).Take(options.MaxCount); + } + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/BatchClient.cs b/src/ResourceManager/Batch/Commands.Batch/Models/BatchClient.cs new file mode 100644 index 000000000000..ee40e7a0d6e7 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/BatchClient.cs @@ -0,0 +1,67 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; +using Microsoft.Azure.Management.Batch; +using Microsoft.Azure.Management.Resources; +using System; + +namespace Microsoft.Azure.Commands.Batch.Models +{ + public partial class BatchClient + { + public IBatchManagementClient BatchManagementClient{ get; private set; } + + public IResourceManagementClient ResourceManagementClient { get; private set; } + + internal Action VerboseLogger { get; set; } + + private static string batchProvider = "Microsoft.Batch"; + private static string accountObject = "batchAccounts"; + private static string accountSearch = batchProvider + "/" + accountObject; + + public BatchClient() + { } + + /// + /// Creates new BatchClient instance + /// + /// The IBatchManagementClient instance + /// The IResourceManagementClient instance + public BatchClient(IBatchManagementClient batchManagementClient, IResourceManagementClient resourceManagementClient) + { + BatchManagementClient = batchManagementClient; + ResourceManagementClient = resourceManagementClient; + } + + /// + /// Creates new BatchClient + /// + /// Context with subscription containing a batch account to manipulate + public BatchClient(AzureContext context) + : this(AzureSession.ClientFactory.CreateClient(context, AzureEnvironment.Endpoint.ResourceManager), + AzureSession.ClientFactory.CreateClient(context, AzureEnvironment.Endpoint.ResourceManager)) + { + } + + private void WriteVerbose(string message) + { + if (VerboseLogger != null) + { + VerboseLogger(message); + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/ListJobOptions.cs b/src/ResourceManager/Batch/Commands.Batch/Models/ListJobOptions.cs new file mode 100644 index 000000000000..7297878fa178 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/ListJobOptions.cs @@ -0,0 +1,57 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Batch; +using System.Collections.Generic; + +namespace Microsoft.Azure.Commands.Batch.Models +{ + public class ListJobOptions + { + /// + /// The account details + /// + public BatchAccountContext Context { get; set; } + + /// + /// The name of the WorkItem to query for Jobs + /// + public string WorkItemName { get; set; } + + /// + /// If specified, the single Job with this name will be returned + /// + public string JobName { get; set; } + + /// + /// The WorkItem to query for Jobs + /// + public PSCloudWorkItem WorkItem { get; set; } + + /// + /// The OData filter to use when querying for Jobs + /// + public string Filter { get; set; } + + /// + /// The maximum number of Jobs to return + /// + public int MaxCount { get; set; } + + /// + /// Additional client behaviors to perform + /// + public IEnumerable AdditionalBehaviors { get; set; } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/ListPoolOptions.cs b/src/ResourceManager/Batch/Commands.Batch/Models/ListPoolOptions.cs new file mode 100644 index 000000000000..202d0fde3785 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/ListPoolOptions.cs @@ -0,0 +1,47 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Batch; +using System.Collections.Generic; + +namespace Microsoft.Azure.Commands.Batch.Models +{ + public class ListPoolOptions + { + /// + /// The account details + /// + public BatchAccountContext Context { get; set; } + + /// + /// If specified, the single Pool with this name will be returned + /// + public string PoolName { get; set; } + + /// + /// The OData filter to use when querying for Pools + /// + public string Filter { get; set; } + + /// + /// The maximum number of Pools to return + /// + public int MaxCount { get; set; } + + /// + /// Additional client behaviors to perform + /// + public IEnumerable AdditionalBehaviors { get; set; } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/ListTaskOptions.cs b/src/ResourceManager/Batch/Commands.Batch/Models/ListTaskOptions.cs new file mode 100644 index 000000000000..9ba9e04c7034 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/ListTaskOptions.cs @@ -0,0 +1,62 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Batch; +using System.Collections.Generic; + +namespace Microsoft.Azure.Commands.Batch.Models +{ + public class ListTaskOptions + { + /// + /// The account details + /// + public BatchAccountContext Context { get; set; } + + /// + /// The name of the WorkItem to query for Tasks + /// + public string WorkItemName { get; set; } + + /// + /// The name of the Job to query for Tasks + /// + public string JobName { get; set; } + + /// + /// If specified, the single Task with this name will be returned + /// + public string TaskName { get; set; } + + /// + /// The Job to query for Tasks + /// + public PSCloudJob Job { get; set; } + + /// + /// The OData filter to use when querying for Tasks + /// + public string Filter { get; set; } + + /// + /// The maximum number of Tasks to return + /// + public int MaxCount { get; set; } + + /// + /// Additional client behaviors to perform + /// + public IEnumerable AdditionalBehaviors { get; set; } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/ListWorkItemOptions.cs b/src/ResourceManager/Batch/Commands.Batch/Models/ListWorkItemOptions.cs new file mode 100644 index 000000000000..78b6835200a5 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/ListWorkItemOptions.cs @@ -0,0 +1,47 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Batch; +using System.Collections.Generic; + +namespace Microsoft.Azure.Commands.Batch.Models +{ + public class ListWorkItemOptions + { + /// + /// The account details + /// + public BatchAccountContext Context { get; set; } + + /// + /// If specified, the single WorkItem with this name will be returned + /// + public string WorkItemName { get; set; } + + /// + /// The OData filter to use when querying for WorkItems + /// + public string Filter { get; set; } + + /// + /// The maximum number of WorkItems to return + /// + public int MaxCount { get; set; } + + /// + /// Additional client behaviors to perform + /// + public IEnumerable AdditionalBehaviors { get; set; } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSAffinitiyInformation.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSAffinitiyInformation.cs new file mode 100644 index 000000000000..b3d94ab58c07 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSAffinitiyInformation.cs @@ -0,0 +1,63 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSAffinitiyInformation + { + + internal Microsoft.Azure.Batch.AffinityInformation omObject; + + public PSAffinitiyInformation() + { + this.omObject = new Microsoft.Azure.Batch.AffinityInformation(); + } + + internal PSAffinitiyInformation(Microsoft.Azure.Batch.AffinityInformation omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public string AffinityId + { + get + { + return this.omObject.AffinityId; + } + set + { + this.omObject.AffinityId = value; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSAsyncEnumerable.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSAsyncEnumerable.cs new file mode 100644 index 000000000000..5076accc91b7 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSAsyncEnumerable.cs @@ -0,0 +1,121 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Threading.Tasks; +using Microsoft.Azure.Batch; + +namespace Microsoft.Azure.Commands.Batch.Models +{ + internal class PSAsyncEnumerable : IEnumerableAsyncExtended + where T1 : class + where T2 : class + { + internal IEnumerableAsyncExtended omAsyncEnumerable; + private Func mappingFunction; + + internal PSAsyncEnumerable(IEnumerableAsyncExtended omAsyncEnumerable, Func mappingFunction) + { + if (omAsyncEnumerable == null) + { + throw new ArgumentNullException("omAsyncEnumerable"); + } + this.omAsyncEnumerable = omAsyncEnumerable; + + if (mappingFunction == null) + { + throw new ArgumentNullException("mappingFunction"); + } + this.mappingFunction = mappingFunction; + } + + IEnumerator System.Collections.IEnumerable.GetEnumerator() + { + return new PSAsyncEnumerator(omAsyncEnumerable.GetAsyncEnumerator(), this.mappingFunction); + } + + // IEnumerable + public IEnumerator GetEnumerator() + { + return new PSAsyncEnumerator(omAsyncEnumerable.GetAsyncEnumerator(), this.mappingFunction); + } + + // IEnumerableAsyncExtended + public IAsyncEnumerator GetAsyncEnumerator() + { + return new PSAsyncEnumerator(omAsyncEnumerable.GetAsyncEnumerator(), this.mappingFunction); + } + } + + internal class PSAsyncEnumerator : IAsyncEnumerator, IEnumerator + where T1 : class + where T2 : class + { + internal IAsyncEnumerator omEnumerator; + private Func mappingFunction; + + internal PSAsyncEnumerator(IAsyncEnumerator omEnumerator, Func mappingFunction) + { + if (omEnumerator == null) + { + throw new ArgumentNullException("omEnumerator"); + } + this.omEnumerator = omEnumerator; + + if (mappingFunction == null) + { + throw new ArgumentNullException("mappingFunction"); + } + this.mappingFunction = mappingFunction; + } + + object System.Collections.IEnumerator.Current + { + get + { + return this.Current; + } + } + + public T1 Current + { + get + { + return this.mappingFunction(this.omEnumerator.Current); + } + } + + public bool MoveNext() + { + return ((IEnumerator)this.omEnumerator).MoveNext(); + } + + public Task MoveNextAsync() + { + return this.omEnumerator.MoveNextAsync(); + } + + public void Reset() + { + this.omEnumerator.Reset(); + } + + public void Dispose() + { + this.omEnumerator.Dispose(); + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSAutoPoolSpecification.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSAutoPoolSpecification.cs new file mode 100644 index 000000000000..62caede1dbda --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSAutoPoolSpecification.cs @@ -0,0 +1,114 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSAutoPoolSpecification + { + + internal Microsoft.Azure.Batch.IAutoPoolSpecification omObject; + + private PSPoolSpecification poolSpecification; + + public PSAutoPoolSpecification() + { + this.omObject = new Microsoft.Azure.Batch.AutoPoolSpecification(); + } + + internal PSAutoPoolSpecification(Microsoft.Azure.Batch.IAutoPoolSpecification omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public string AutoPoolNamePrefix + { + get + { + return this.omObject.AutoPoolNamePrefix; + } + set + { + this.omObject.AutoPoolNamePrefix = value; + } + } + + public System.Boolean? KeepAlive + { + get + { + return this.omObject.KeepAlive; + } + set + { + this.omObject.KeepAlive = value; + } + } + + public PSPoolSpecification PoolSpecification + { + get + { + if (((this.poolSpecification == null) + && (this.omObject.PoolSpecification != null))) + { + this.poolSpecification = new PSPoolSpecification(this.omObject.PoolSpecification); + } + return this.poolSpecification; + } + set + { + if ((value == null)) + { + this.omObject.PoolSpecification = null; + } + else + { + this.omObject.PoolSpecification = value.omObject; + } + this.poolSpecification = value; + } + } + + public Microsoft.Azure.Batch.Common.PoolLifeTimeOption PoolLifeTimeOption + { + get + { + return this.omObject.PoolLifeTimeOption; + } + set + { + this.omObject.PoolLifeTimeOption = value; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSAutoScaleRun.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSAutoScaleRun.cs new file mode 100644 index 000000000000..25544aca23cf --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSAutoScaleRun.cs @@ -0,0 +1,77 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSAutoScaleRun + { + + internal Microsoft.Azure.Batch.AutoScaleRun omObject; + + private PSAutoScaleRunError error; + + internal PSAutoScaleRun(Microsoft.Azure.Batch.AutoScaleRun omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public System.DateTime Timestamp + { + get + { + return this.omObject.Timestamp; + } + } + + public string Results + { + get + { + return this.omObject.Results; + } + } + + public PSAutoScaleRunError Error + { + get + { + if (((this.error == null) + && (this.omObject.Error != null))) + { + this.error = new PSAutoScaleRunError(this.omObject.Error); + } + return this.error; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSAutoScaleRunError.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSAutoScaleRunError.cs new file mode 100644 index 000000000000..caa4aeda555f --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSAutoScaleRunError.cs @@ -0,0 +1,87 @@ +// ----------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSAutoScaleRunError + { + + internal Microsoft.Azure.Batch.AutoScaleRunError omObject; + + private IEnumerable values; + + internal PSAutoScaleRunError(Microsoft.Azure.Batch.AutoScaleRunError omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public string Code + { + get + { + return this.omObject.Code; + } + } + + public string Message + { + get + { + return this.omObject.Message; + } + } + + public IEnumerable Values + { + get + { + if (((this.values == null) + && (this.omObject.Values != null))) + { + List list; + list = new List(); + IEnumerator enumerator; + enumerator = this.omObject.Values.GetEnumerator(); + for ( + ; enumerator.MoveNext(); + ) + { + list.Add(new PSNameValuePair(enumerator.Current)); + } + this.values = list; + } + return this.values; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSCertificateReference.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSCertificateReference.cs new file mode 100644 index 000000000000..ce6b16120be8 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSCertificateReference.cs @@ -0,0 +1,111 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSCertificateReference + { + + internal Microsoft.Azure.Batch.ICertificateReference omObject; + + public PSCertificateReference() + { + this.omObject = new Microsoft.Azure.Batch.CertificateReference(); + } + + internal PSCertificateReference(Microsoft.Azure.Batch.ICertificateReference omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public Microsoft.Azure.Batch.Common.CertStoreLocation StoreLocation + { + get + { + return this.omObject.StoreLocation; + } + set + { + this.omObject.StoreLocation = value; + } + } + + public string StoreName + { + get + { + return this.omObject.StoreName; + } + set + { + this.omObject.StoreName = value; + } + } + + public string Thumbprint + { + get + { + return this.omObject.Thumbprint; + } + set + { + this.omObject.Thumbprint = value; + } + } + + public string ThumbprintAlgorithm + { + get + { + return this.omObject.ThumbprintAlgorithm; + } + set + { + this.omObject.ThumbprintAlgorithm = value; + } + } + + public Microsoft.Azure.Batch.Common.CertVisibility Visibility + { + get + { + return this.omObject.Visibility; + } + set + { + this.omObject.Visibility = value; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSCloudJob.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSCloudJob.cs new file mode 100644 index 000000000000..10980f76d6c4 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSCloudJob.cs @@ -0,0 +1,226 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSCloudJob + { + + internal Microsoft.Azure.Batch.ICloudJob omObject; + + private PSJobExecutionInformation executionInformation; + + private PSJobConstraints jobConstraints; + + private PSJobManager jobManager; + + private PSJobStatistics statistics; + + internal PSCloudJob(Microsoft.Azure.Batch.ICloudJob omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public System.DateTime CreationTime + { + get + { + return this.omObject.CreationTime; + } + } + + public PSJobExecutionInformation ExecutionInformation + { + get + { + if (((this.executionInformation == null) + && (this.omObject.ExecutionInformation != null))) + { + this.executionInformation = new PSJobExecutionInformation(this.omObject.ExecutionInformation); + } + return this.executionInformation; + } + } + + public PSJobConstraints JobConstraints + { + get + { + if (((this.jobConstraints == null) + && (this.omObject.JobConstraints != null))) + { + this.jobConstraints = new PSJobConstraints(this.omObject.JobConstraints); + } + return this.jobConstraints; + } + set + { + if ((value == null)) + { + this.omObject.JobConstraints = null; + } + else + { + this.omObject.JobConstraints = value.omObject; + } + this.jobConstraints = value; + } + } + + public PSJobManager JobManager + { + get + { + if (((this.jobManager == null) + && (this.omObject.JobManager != null))) + { + this.jobManager = new PSJobManager(this.omObject.JobManager); + } + return this.jobManager; + } + } + + public System.Boolean? KeepAlive + { + get + { + return this.omObject.KeepAlive; + } + set + { + this.omObject.KeepAlive = value; + } + } + + public System.DateTime LastModified + { + get + { + return this.omObject.LastModified; + } + } + + public string Name + { + get + { + return this.omObject.Name; + } + } + + public Microsoft.Azure.Batch.Common.PoolLifeTimeOption PoolLifeTimeOption + { + get + { + return this.omObject.PoolLifeTimeOption; + } + } + + public string PoolName + { + get + { + return this.omObject.PoolName; + } + set + { + this.omObject.PoolName = value; + } + } + + public Microsoft.Azure.Batch.Common.JobState PreviousState + { + get + { + return this.omObject.PreviousState; + } + } + + public System.DateTime? PreviousStateTransitionTime + { + get + { + return this.omObject.PreviousStateTransitionTime; + } + } + + public System.Int32? Priority + { + get + { + return this.omObject.Priority; + } + set + { + this.omObject.Priority = value; + } + } + + public Microsoft.Azure.Batch.Common.JobState State + { + get + { + return this.omObject.State; + } + } + + public System.DateTime StateTransitionTime + { + get + { + return this.omObject.StateTransitionTime; + } + } + + public PSJobStatistics Statistics + { + get + { + if (((this.statistics == null) + && (this.omObject.Statistics != null))) + { + this.statistics = new PSJobStatistics(this.omObject.Statistics); + } + return this.statistics; + } + } + + public string Url + { + get + { + return this.omObject.Url; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSCloudPool.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSCloudPool.cs new file mode 100644 index 000000000000..29b9ecb52625 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSCloudPool.cs @@ -0,0 +1,411 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSCloudPool + { + + internal Microsoft.Azure.Batch.ICloudPool omObject; + + private PSAutoScaleRun autoScaleRun; + + private IList certificateReferences; + + private IList metadata; + + private PSResizeError resizeError; + + private PSSchedulingPolicy schedulingPolicy; + + private PSStartTask startTask; + + private PSPoolStatistics statistics; + + internal PSCloudPool(Microsoft.Azure.Batch.ICloudPool omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public Microsoft.Azure.Batch.Common.AllocationState AllocationState + { + get + { + return this.omObject.AllocationState; + } + } + + public System.DateTime? AllocationStateTransitionTime + { + get + { + return this.omObject.AllocationStateTransitionTime; + } + } + + public string AutoScaleFormula + { + get + { + return this.omObject.AutoScaleFormula; + } + set + { + this.omObject.AutoScaleFormula = value; + } + } + + public PSAutoScaleRun AutoScaleRun + { + get + { + if (((this.autoScaleRun == null) + && (this.omObject.AutoScaleRun != null))) + { + this.autoScaleRun = new PSAutoScaleRun(this.omObject.AutoScaleRun); + } + return this.autoScaleRun; + } + } + + public IList CertificateReferences + { + get + { + if (((this.certificateReferences == null) + && (this.omObject.CertificateReferences != null))) + { + List list; + list = new List(); + IEnumerator enumerator; + enumerator = this.omObject.CertificateReferences.GetEnumerator(); + for ( + ; enumerator.MoveNext(); + ) + { + list.Add(new PSCertificateReference(enumerator.Current)); + } + this.certificateReferences = list; + } + return this.certificateReferences; + } + set + { + if ((value == null)) + { + this.omObject.CertificateReferences = null; + } + else + { + this.omObject.CertificateReferences = new List(); + } + this.certificateReferences = value; + } + } + + public System.Boolean? Communication + { + get + { + return this.omObject.Communication; + } + set + { + this.omObject.Communication = value; + } + } + + public System.DateTime CreationTime + { + get + { + return this.omObject.CreationTime; + } + } + + public System.Int32? CurrentDedicated + { + get + { + return this.omObject.CurrentDedicated; + } + } + + public string CurrentOSVersion + { + get + { + return this.omObject.CurrentOSVersion; + } + } + + public System.Boolean? AutoScaleEnabled + { + get + { + return this.omObject.AutoScaleEnabled; + } + set + { + this.omObject.AutoScaleEnabled = value; + } + } + + public System.DateTime LastModified + { + get + { + return this.omObject.LastModified; + } + } + + public System.Int32? MaxTasksPerVM + { + get + { + return this.omObject.MaxTasksPerVM; + } + set + { + this.omObject.MaxTasksPerVM = value; + } + } + + public IList Metadata + { + get + { + if (((this.metadata == null) + && (this.omObject.Metadata != null))) + { + List list; + list = new List(); + IEnumerator enumerator; + enumerator = this.omObject.Metadata.GetEnumerator(); + for ( + ; enumerator.MoveNext(); + ) + { + list.Add(new PSMetadataItem(enumerator.Current)); + } + this.metadata = list; + } + return this.metadata; + } + set + { + if ((value == null)) + { + this.omObject.Metadata = null; + } + else + { + this.omObject.Metadata = new List(); + } + this.metadata = value; + } + } + + public string Name + { + get + { + return this.omObject.Name; + } + set + { + this.omObject.Name = value; + } + } + + public string OSFamily + { + get + { + return this.omObject.OSFamily; + } + set + { + this.omObject.OSFamily = value; + } + } + + public PSResizeError ResizeError + { + get + { + if (((this.resizeError == null) + && (this.omObject.ResizeError != null))) + { + this.resizeError = new PSResizeError(this.omObject.ResizeError); + } + return this.resizeError; + } + } + + public System.TimeSpan? ResizeTimeout + { + get + { + return this.omObject.ResizeTimeout; + } + set + { + this.omObject.ResizeTimeout = value; + } + } + + public PSSchedulingPolicy SchedulingPolicy + { + get + { + if (((this.schedulingPolicy == null) + && (this.omObject.SchedulingPolicy != null))) + { + this.schedulingPolicy = new PSSchedulingPolicy(this.omObject.SchedulingPolicy); + } + return this.schedulingPolicy; + } + set + { + if ((value == null)) + { + this.omObject.SchedulingPolicy = null; + } + else + { + this.omObject.SchedulingPolicy = value.omObject; + } + this.schedulingPolicy = value; + } + } + + public PSStartTask StartTask + { + get + { + if (((this.startTask == null) + && (this.omObject.StartTask != null))) + { + this.startTask = new PSStartTask(this.omObject.StartTask); + } + return this.startTask; + } + set + { + if ((value == null)) + { + this.omObject.StartTask = null; + } + else + { + this.omObject.StartTask = value.omObject; + } + this.startTask = value; + } + } + + public Microsoft.Azure.Batch.Common.PoolState State + { + get + { + return this.omObject.State; + } + } + + public System.DateTime StateTransitionTime + { + get + { + return this.omObject.StateTransitionTime; + } + } + + public PSPoolStatistics Statistics + { + get + { + if (((this.statistics == null) + && (this.omObject.Statistics != null))) + { + this.statistics = new PSPoolStatistics(this.omObject.Statistics); + } + return this.statistics; + } + } + + public System.Int32? TargetDedicated + { + get + { + return this.omObject.TargetDedicated; + } + set + { + this.omObject.TargetDedicated = value; + } + } + + public string TargetOSVersion + { + get + { + return this.omObject.TargetOSVersion; + } + set + { + this.omObject.TargetOSVersion = value; + } + } + + public string VMSize + { + get + { + return this.omObject.VMSize; + } + set + { + this.omObject.VMSize = value; + } + } + + public string Url + { + get + { + return this.omObject.Url; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSCloudTask.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSCloudTask.cs new file mode 100644 index 000000000000..2a26501086c6 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSCloudTask.cs @@ -0,0 +1,316 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSCloudTask + { + + internal Microsoft.Azure.Batch.ICloudTask omObject; + + private PSAffinitiyInformation affinityInformation; + + private IList environmentSettings; + + private PSTaskExecutionInformation executionInformation; + + private PSTaskStatistics statistics; + + private PSTaskConstraints taskConstraints; + + private PSVMInformation vMInformation; + + private IList resourceFiles; + + public PSCloudTask(string name, string commandline) + { + this.omObject = new Microsoft.Azure.Batch.CloudTask(name, commandline); + } + + internal PSCloudTask(Microsoft.Azure.Batch.ICloudTask omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public PSAffinitiyInformation AffinityInformation + { + get + { + if (((this.affinityInformation == null) + && (this.omObject.AffinityInformation != null))) + { + this.affinityInformation = new PSAffinitiyInformation(this.omObject.AffinityInformation); + } + return this.affinityInformation; + } + set + { + if ((value == null)) + { + this.omObject.AffinityInformation = null; + } + else + { + this.omObject.AffinityInformation = value.omObject; + } + this.affinityInformation = value; + } + } + + public string CommandLine + { + get + { + return this.omObject.CommandLine; + } + set + { + this.omObject.CommandLine = value; + } + } + + public System.DateTime CreationTime + { + get + { + return this.omObject.CreationTime; + } + } + + public IList EnvironmentSettings + { + get + { + if (((this.environmentSettings == null) + && (this.omObject.EnvironmentSettings != null))) + { + List list; + list = new List(); + IEnumerator enumerator; + enumerator = this.omObject.EnvironmentSettings.GetEnumerator(); + for ( + ; enumerator.MoveNext(); + ) + { + list.Add(new PSEnvironmentSetting(enumerator.Current)); + } + this.environmentSettings = list; + } + return this.environmentSettings; + } + set + { + if ((value == null)) + { + this.omObject.EnvironmentSettings = null; + } + else + { + this.omObject.EnvironmentSettings = new List(); + } + this.environmentSettings = value; + } + } + + public PSTaskExecutionInformation ExecutionInformation + { + get + { + if (((this.executionInformation == null) + && (this.omObject.ExecutionInformation != null))) + { + this.executionInformation = new PSTaskExecutionInformation(this.omObject.ExecutionInformation); + } + return this.executionInformation; + } + } + + public System.DateTime LastModified + { + get + { + return this.omObject.LastModified; + } + } + + public string Name + { + get + { + return this.omObject.Name; + } + set + { + this.omObject.Name = value; + } + } + + public Microsoft.Azure.Batch.Common.TaskState PreviousState + { + get + { + return this.omObject.PreviousState; + } + } + + public System.DateTime? PreviousStateTransitionTime + { + get + { + return this.omObject.PreviousStateTransitionTime; + } + } + + public System.Boolean? RunElevated + { + get + { + return this.omObject.RunElevated; + } + set + { + this.omObject.RunElevated = value; + } + } + + public Microsoft.Azure.Batch.Common.TaskState State + { + get + { + return this.omObject.State; + } + } + + public System.DateTime StateTransitionTime + { + get + { + return this.omObject.StateTransitionTime; + } + } + + public PSTaskStatistics Statistics + { + get + { + if (((this.statistics == null) + && (this.omObject.Statistics != null))) + { + this.statistics = new PSTaskStatistics(this.omObject.Statistics); + } + return this.statistics; + } + } + + public PSTaskConstraints TaskConstraints + { + get + { + if (((this.taskConstraints == null) + && (this.omObject.TaskConstraints != null))) + { + this.taskConstraints = new PSTaskConstraints(this.omObject.TaskConstraints); + } + return this.taskConstraints; + } + set + { + if ((value == null)) + { + this.omObject.TaskConstraints = null; + } + else + { + this.omObject.TaskConstraints = value.omObject; + } + this.taskConstraints = value; + } + } + + public string Url + { + get + { + return this.omObject.Url; + } + } + + public PSVMInformation VMInformation + { + get + { + if (((this.vMInformation == null) + && (this.omObject.VMInformation != null))) + { + this.vMInformation = new PSVMInformation(this.omObject.VMInformation); + } + return this.vMInformation; + } + } + + public IList ResourceFiles + { + get + { + if (((this.resourceFiles == null) + && (this.omObject.ResourceFiles != null))) + { + List list; + list = new List(); + IEnumerator enumerator; + enumerator = this.omObject.ResourceFiles.GetEnumerator(); + for ( + ; enumerator.MoveNext(); + ) + { + list.Add(new PSResourceFile(enumerator.Current)); + } + this.resourceFiles = list; + } + return this.resourceFiles; + } + set + { + if ((value == null)) + { + this.omObject.ResourceFiles = null; + } + else + { + this.omObject.ResourceFiles = new List(); + } + this.resourceFiles = value; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSCloudWorkItem.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSCloudWorkItem.cs new file mode 100644 index 000000000000..5aee50e05d46 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSCloudWorkItem.cs @@ -0,0 +1,262 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSCloudWorkItem + { + + internal Microsoft.Azure.Batch.ICloudWorkItem omObject; + + private PSWorkItemExecutionInformation executionInformation; + + private PSJobExecutionEnvironment jobExecutionEnvironment; + + private PSJobSpecification jobSpecification; + + private IList metadata; + + private PSWorkItemSchedule schedule; + + private PSWorkItemStatistics statistics; + + internal PSCloudWorkItem(Microsoft.Azure.Batch.ICloudWorkItem omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public System.DateTime CreationTime + { + get + { + return this.omObject.CreationTime; + } + } + + public PSWorkItemExecutionInformation ExecutionInformation + { + get + { + if (((this.executionInformation == null) + && (this.omObject.ExecutionInformation != null))) + { + this.executionInformation = new PSWorkItemExecutionInformation(this.omObject.ExecutionInformation); + } + return this.executionInformation; + } + } + + public PSJobExecutionEnvironment JobExecutionEnvironment + { + get + { + if (((this.jobExecutionEnvironment == null) + && (this.omObject.JobExecutionEnvironment != null))) + { + this.jobExecutionEnvironment = new PSJobExecutionEnvironment(this.omObject.JobExecutionEnvironment); + } + return this.jobExecutionEnvironment; + } + set + { + if ((value == null)) + { + this.omObject.JobExecutionEnvironment = null; + } + else + { + this.omObject.JobExecutionEnvironment = value.omObject; + } + this.jobExecutionEnvironment = value; + } + } + + public PSJobSpecification JobSpecification + { + get + { + if (((this.jobSpecification == null) + && (this.omObject.JobSpecification != null))) + { + this.jobSpecification = new PSJobSpecification(this.omObject.JobSpecification); + } + return this.jobSpecification; + } + set + { + if ((value == null)) + { + this.omObject.JobSpecification = null; + } + else + { + this.omObject.JobSpecification = value.omObject; + } + this.jobSpecification = value; + } + } + + public System.DateTime? LastModified + { + get + { + return this.omObject.LastModified; + } + } + + public IList Metadata + { + get + { + if (((this.metadata == null) + && (this.omObject.Metadata != null))) + { + List list; + list = new List(); + IEnumerator enumerator; + enumerator = this.omObject.Metadata.GetEnumerator(); + for ( + ; enumerator.MoveNext(); + ) + { + list.Add(new PSMetadataItem(enumerator.Current)); + } + this.metadata = list; + } + return this.metadata; + } + set + { + if ((value == null)) + { + this.omObject.Metadata = null; + } + else + { + this.omObject.Metadata = new List(); + } + this.metadata = value; + } + } + + public string Name + { + get + { + return this.omObject.Name; + } + set + { + this.omObject.Name = value; + } + } + + public Microsoft.Azure.Batch.Common.WorkItemState PreviousState + { + get + { + return this.omObject.PreviousState; + } + } + + public System.DateTime? PreviousStateTransitionTime + { + get + { + return this.omObject.PreviousStateTransitionTime; + } + } + + public PSWorkItemSchedule Schedule + { + get + { + if (((this.schedule == null) + && (this.omObject.Schedule != null))) + { + this.schedule = new PSWorkItemSchedule(this.omObject.Schedule); + } + return this.schedule; + } + set + { + if ((value == null)) + { + this.omObject.Schedule = null; + } + else + { + this.omObject.Schedule = value.omObject; + } + this.schedule = value; + } + } + + public Microsoft.Azure.Batch.Common.WorkItemState State + { + get + { + return this.omObject.State; + } + } + + public System.DateTime StateTransitionTime + { + get + { + return this.omObject.StateTransitionTime; + } + } + + public PSWorkItemStatistics Statistics + { + get + { + if (((this.statistics == null) + && (this.omObject.Statistics != null))) + { + this.statistics = new PSWorkItemStatistics(this.omObject.Statistics); + } + return this.statistics; + } + } + + public string Url + { + get + { + return this.omObject.Url; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSEnvironmentSetting.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSEnvironmentSetting.cs new file mode 100644 index 000000000000..7fb7888a3233 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSEnvironmentSetting.cs @@ -0,0 +1,67 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSEnvironmentSetting + { + + internal Microsoft.Azure.Batch.IEnvironmentSetting omObject; + + public PSEnvironmentSetting(string name, string value) + { + this.omObject = new Microsoft.Azure.Batch.EnvironmentSetting(name, value); + } + + internal PSEnvironmentSetting(Microsoft.Azure.Batch.IEnvironmentSetting omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public string Name + { + get + { + return this.omObject.Name; + } + } + + public string Value + { + get + { + return this.omObject.Value; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSFileProperties.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSFileProperties.cs new file mode 100644 index 000000000000..e48630647306 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSFileProperties.cs @@ -0,0 +1,78 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSFileProperties + { + + internal Microsoft.Azure.Batch.FileProperties omObject; + + internal PSFileProperties(Microsoft.Azure.Batch.FileProperties omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public System.DateTime CreationTime + { + get + { + return this.omObject.CreationTime; + } + } + + public System.DateTime LastModified + { + get + { + return this.omObject.LastModified; + } + } + + public long ContentLength + { + get + { + return this.omObject.ContentLength; + } + } + + public string ContentType + { + get + { + return this.omObject.ContentType; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSJobConstraints.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSJobConstraints.cs new file mode 100644 index 000000000000..fafc40e153b2 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSJobConstraints.cs @@ -0,0 +1,62 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSJobConstraints + { + + internal Microsoft.Azure.Batch.JobConstraints omObject; + + internal PSJobConstraints(Microsoft.Azure.Batch.JobConstraints omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public System.TimeSpan? MaxWallClockTime + { + get + { + return this.omObject.MaxWallClockTime; + } + } + + public System.Int32? MaxTaskRetryCount + { + get + { + return this.omObject.MaxTaskRetryCount; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSJobExecutionEnvironment.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSJobExecutionEnvironment.cs new file mode 100644 index 000000000000..d488bd4d6d95 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSJobExecutionEnvironment.cs @@ -0,0 +1,90 @@ +// ----------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSJobExecutionEnvironment + { + + internal Microsoft.Azure.Batch.IJobExecutionEnvironment omObject; + + private PSAutoPoolSpecification autoPoolSpecification; + + public PSJobExecutionEnvironment() + { + this.omObject = new Microsoft.Azure.Batch.JobExecutionEnvironment(); + } + + internal PSJobExecutionEnvironment(Microsoft.Azure.Batch.IJobExecutionEnvironment omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public PSAutoPoolSpecification AutoPoolSpecification + { + get + { + if (((this.autoPoolSpecification == null) + && (this.omObject.AutoPoolSpecification != null))) + { + this.autoPoolSpecification = new PSAutoPoolSpecification(this.omObject.AutoPoolSpecification); + } + return this.autoPoolSpecification; + } + set + { + if ((value == null)) + { + this.omObject.AutoPoolSpecification = null; + } + else + { + this.omObject.AutoPoolSpecification = value.omObject; + } + this.autoPoolSpecification = value; + } + } + + public string PoolName + { + get + { + return this.omObject.PoolName; + } + set + { + this.omObject.PoolName = value; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSJobExecutionInformation.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSJobExecutionInformation.cs new file mode 100644 index 000000000000..516ede53af1c --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSJobExecutionInformation.cs @@ -0,0 +1,85 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSJobExecutionInformation + { + + internal Microsoft.Azure.Batch.JobExecutionInformation omObject; + + private PSJobSchedulingError schedulingError; + + internal PSJobExecutionInformation(Microsoft.Azure.Batch.JobExecutionInformation omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public System.DateTime StartTime + { + get + { + return this.omObject.StartTime; + } + } + + public System.DateTime? EndTime + { + get + { + return this.omObject.EndTime; + } + } + + public PSJobSchedulingError SchedulingError + { + get + { + if (((this.schedulingError == null) + && (this.omObject.SchedulingError != null))) + { + this.schedulingError = new PSJobSchedulingError(this.omObject.SchedulingError); + } + return this.schedulingError; + } + } + + public string TerminateReason + { + get + { + return this.omObject.TerminateReason; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSJobManager.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSJobManager.cs new file mode 100644 index 000000000000..2f4a95fe9727 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSJobManager.cs @@ -0,0 +1,212 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSJobManager + { + + internal Microsoft.Azure.Batch.IJobManager omObject; + + private IList resourceFiles; + + private IList environmentSettings; + + private PSTaskConstraints taskConstraints; + + public PSJobManager() + { + this.omObject = new Microsoft.Azure.Batch.JobManager(); + } + + internal PSJobManager(Microsoft.Azure.Batch.IJobManager omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public string Name + { + get + { + return this.omObject.Name; + } + set + { + this.omObject.Name = value; + } + } + + public string CommandLine + { + get + { + return this.omObject.CommandLine; + } + set + { + this.omObject.CommandLine = value; + } + } + + public IList ResourceFiles + { + get + { + if (((this.resourceFiles == null) + && (this.omObject.ResourceFiles != null))) + { + List list; + list = new List(); + IEnumerator enumerator; + enumerator = this.omObject.ResourceFiles.GetEnumerator(); + for ( + ; enumerator.MoveNext(); + ) + { + list.Add(new PSResourceFile(enumerator.Current)); + } + this.resourceFiles = list; + } + return this.resourceFiles; + } + set + { + if ((value == null)) + { + this.omObject.ResourceFiles = null; + } + else + { + this.omObject.ResourceFiles = new List(); + } + this.resourceFiles = value; + } + } + + public IList EnvironmentSettings + { + get + { + if (((this.environmentSettings == null) + && (this.omObject.EnvironmentSettings != null))) + { + List list; + list = new List(); + IEnumerator enumerator; + enumerator = this.omObject.EnvironmentSettings.GetEnumerator(); + for ( + ; enumerator.MoveNext(); + ) + { + list.Add(new PSEnvironmentSetting(enumerator.Current)); + } + this.environmentSettings = list; + } + return this.environmentSettings; + } + set + { + if ((value == null)) + { + this.omObject.EnvironmentSettings = null; + } + else + { + this.omObject.EnvironmentSettings = new List(); + } + this.environmentSettings = value; + } + } + + public System.Boolean? RunElevated + { + get + { + return this.omObject.RunElevated; + } + set + { + this.omObject.RunElevated = value; + } + } + + public System.Boolean? RunExclusive + { + get + { + return this.omObject.RunExclusive; + } + set + { + this.omObject.RunExclusive = value; + } + } + + public PSTaskConstraints TaskConstraints + { + get + { + if (((this.taskConstraints == null) + && (this.omObject.TaskConstraints != null))) + { + this.taskConstraints = new PSTaskConstraints(this.omObject.TaskConstraints); + } + return this.taskConstraints; + } + set + { + if ((value == null)) + { + this.omObject.TaskConstraints = null; + } + else + { + this.omObject.TaskConstraints = value.omObject; + } + this.taskConstraints = value; + } + } + + public System.Boolean? KillJobOnCompletion + { + get + { + return this.omObject.KillJobOnCompletion; + } + set + { + this.omObject.KillJobOnCompletion = value; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSJobSchedulingError.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSJobSchedulingError.cs new file mode 100644 index 000000000000..bc283d920186 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSJobSchedulingError.cs @@ -0,0 +1,95 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSJobSchedulingError + { + + internal Microsoft.Azure.Batch.JobSchedulingError omObject; + + private IEnumerable details; + + internal PSJobSchedulingError(Microsoft.Azure.Batch.JobSchedulingError omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public Microsoft.Azure.Batch.Common.SchedulingErrorCategory Category + { + get + { + return this.omObject.Category; + } + } + + public string Code + { + get + { + return this.omObject.Code; + } + } + + public string Message + { + get + { + return this.omObject.Message; + } + } + + public IEnumerable Details + { + get + { + if (((this.details == null) + && (this.omObject.Details != null))) + { + List list; + list = new List(); + IEnumerator enumerator; + enumerator = this.omObject.Details.GetEnumerator(); + for ( + ; enumerator.MoveNext(); + ) + { + list.Add(new PSNameValuePair(enumerator.Current)); + } + this.details = list; + } + return this.details; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSJobSpecification.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSJobSpecification.cs new file mode 100644 index 000000000000..bcf920d23f4f --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSJobSpecification.cs @@ -0,0 +1,117 @@ +// ----------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSJobSpecification + { + + internal Microsoft.Azure.Batch.IJobSpecification omObject; + + private PSJobConstraints jobConstraints; + + private PSJobManager jobManager; + + public PSJobSpecification() + { + this.omObject = new Microsoft.Azure.Batch.JobSpecification(); + } + + internal PSJobSpecification(Microsoft.Azure.Batch.IJobSpecification omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public PSJobConstraints JobConstraints + { + get + { + if (((this.jobConstraints == null) + && (this.omObject.JobConstraints != null))) + { + this.jobConstraints = new PSJobConstraints(this.omObject.JobConstraints); + } + return this.jobConstraints; + } + set + { + if ((value == null)) + { + this.omObject.JobConstraints = null; + } + else + { + this.omObject.JobConstraints = value.omObject; + } + this.jobConstraints = value; + } + } + + public PSJobManager JobManager + { + get + { + if (((this.jobManager == null) + && (this.omObject.JobManager != null))) + { + this.jobManager = new PSJobManager(this.omObject.JobManager); + } + return this.jobManager; + } + set + { + if ((value == null)) + { + this.omObject.JobManager = null; + } + else + { + this.omObject.JobManager = value.omObject; + } + this.jobManager = value; + } + } + + public System.Int32? Priority + { + get + { + return this.omObject.Priority; + } + set + { + this.omObject.Priority = value; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSJobStatistics.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSJobStatistics.cs new file mode 100644 index 000000000000..9399d03e15e7 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSJobStatistics.cs @@ -0,0 +1,158 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSJobStatistics + { + + internal Microsoft.Azure.Batch.JobStatistics omObject; + + internal PSJobStatistics(Microsoft.Azure.Batch.JobStatistics omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public string Url + { + get + { + return this.omObject.Url; + } + } + + public System.DateTime StartTime + { + get + { + return this.omObject.StartTime; + } + } + + public System.DateTime EndTime + { + get + { + return this.omObject.EndTime; + } + } + + public System.TimeSpan UserCPUTime + { + get + { + return this.omObject.UserCPUTime; + } + } + + public System.TimeSpan KernelCPUTime + { + get + { + return this.omObject.KernelCPUTime; + } + } + + public System.TimeSpan WallClockTime + { + get + { + return this.omObject.WallClockTime; + } + } + + public long ReadIOps + { + get + { + return this.omObject.ReadIOps; + } + } + + public long WriteIOps + { + get + { + return this.omObject.WriteIOps; + } + } + + public long ReadIOBytes + { + get + { + return this.omObject.ReadIOBytes; + } + } + + public long WriteIOBytes + { + get + { + return this.omObject.WriteIOBytes; + } + } + + public long NumSucceededTasks + { + get + { + return this.omObject.NumSucceededTasks; + } + } + + public long NumFailedTasks + { + get + { + return this.omObject.NumFailedTasks; + } + } + + public long NumRetries + { + get + { + return this.omObject.NumRetries; + } + } + + public System.TimeSpan WaitTime + { + get + { + return this.omObject.WaitTime; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSMetadataItem.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSMetadataItem.cs new file mode 100644 index 000000000000..e1b8669d545d --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSMetadataItem.cs @@ -0,0 +1,67 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSMetadataItem + { + + internal Microsoft.Azure.Batch.IMetadataItem omObject; + + public PSMetadataItem(string name, string value) + { + this.omObject = new Microsoft.Azure.Batch.MetadataItem(name, value); + } + + internal PSMetadataItem(Microsoft.Azure.Batch.IMetadataItem omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public string Name + { + get + { + return this.omObject.Name; + } + } + + public string Value + { + get + { + return this.omObject.Value; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSNameValuePair.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSNameValuePair.cs new file mode 100644 index 000000000000..af2328e2d779 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSNameValuePair.cs @@ -0,0 +1,62 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSNameValuePair + { + + internal Microsoft.Azure.Batch.NameValuePair omObject; + + internal PSNameValuePair(Microsoft.Azure.Batch.NameValuePair omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public string Name + { + get + { + return this.omObject.Name; + } + } + + public string Value + { + get + { + return this.omObject.Value; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSPoolSpecification.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSPoolSpecification.cs new file mode 100644 index 000000000000..415e2733fd1d --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSPoolSpecification.cs @@ -0,0 +1,287 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSPoolSpecification + { + + internal Microsoft.Azure.Batch.IPoolSpecification omObject; + + private IList certificateReferences; + + private IList metadata; + + private PSSchedulingPolicy schedulingPolicy; + + private PSStartTask startTask; + + public PSPoolSpecification() + { + this.omObject = new Microsoft.Azure.Batch.PoolSpecification(); + } + + internal PSPoolSpecification(Microsoft.Azure.Batch.IPoolSpecification omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public string AutoScaleFormula + { + get + { + return this.omObject.AutoScaleFormula; + } + set + { + this.omObject.AutoScaleFormula = value; + } + } + + public IList CertificateReferences + { + get + { + if (((this.certificateReferences == null) + && (this.omObject.CertificateReferences != null))) + { + List list; + list = new List(); + IEnumerator enumerator; + enumerator = this.omObject.CertificateReferences.GetEnumerator(); + for ( + ; enumerator.MoveNext(); + ) + { + list.Add(new PSCertificateReference(enumerator.Current)); + } + this.certificateReferences = list; + } + return this.certificateReferences; + } + set + { + if ((value == null)) + { + this.omObject.CertificateReferences = null; + } + else + { + this.omObject.CertificateReferences = new List(); + } + this.certificateReferences = value; + } + } + + public System.Boolean? Communication + { + get + { + return this.omObject.Communication; + } + set + { + this.omObject.Communication = value; + } + } + + public System.Boolean? EnableAutoScale + { + get + { + return this.omObject.EnableAutoScale; + } + set + { + this.omObject.EnableAutoScale = value; + } + } + + public System.Int32? MaxTasksPerVM + { + get + { + return this.omObject.MaxTasksPerVM; + } + set + { + this.omObject.MaxTasksPerVM = value; + } + } + + public IList Metadata + { + get + { + if (((this.metadata == null) + && (this.omObject.Metadata != null))) + { + List list; + list = new List(); + IEnumerator enumerator; + enumerator = this.omObject.Metadata.GetEnumerator(); + for ( + ; enumerator.MoveNext(); + ) + { + list.Add(new PSMetadataItem(enumerator.Current)); + } + this.metadata = list; + } + return this.metadata; + } + set + { + if ((value == null)) + { + this.omObject.Metadata = null; + } + else + { + this.omObject.Metadata = new List(); + } + this.metadata = value; + } + } + + public string OSFamily + { + get + { + return this.omObject.OSFamily; + } + set + { + this.omObject.OSFamily = value; + } + } + + public System.TimeSpan? ResizeTimeout + { + get + { + return this.omObject.ResizeTimeout; + } + set + { + this.omObject.ResizeTimeout = value; + } + } + + public PSSchedulingPolicy SchedulingPolicy + { + get + { + if (((this.schedulingPolicy == null) + && (this.omObject.SchedulingPolicy != null))) + { + this.schedulingPolicy = new PSSchedulingPolicy(this.omObject.SchedulingPolicy); + } + return this.schedulingPolicy; + } + set + { + if ((value == null)) + { + this.omObject.SchedulingPolicy = null; + } + else + { + this.omObject.SchedulingPolicy = value.omObject; + } + this.schedulingPolicy = value; + } + } + + public PSStartTask StartTask + { + get + { + if (((this.startTask == null) + && (this.omObject.StartTask != null))) + { + this.startTask = new PSStartTask(this.omObject.StartTask); + } + return this.startTask; + } + set + { + if ((value == null)) + { + this.omObject.StartTask = null; + } + else + { + this.omObject.StartTask = value.omObject; + } + this.startTask = value; + } + } + + public System.Int32? TargetDedicated + { + get + { + return this.omObject.TargetDedicated; + } + set + { + this.omObject.TargetDedicated = value; + } + } + + public string TargetOSVersion + { + get + { + return this.omObject.TargetOSVersion; + } + set + { + this.omObject.TargetOSVersion = value; + } + } + + public string VMSize + { + get + { + return this.omObject.VMSize; + } + set + { + this.omObject.VMSize = value; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSPoolStatistics.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSPoolStatistics.cs new file mode 100644 index 000000000000..9d6e8a11848f --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSPoolStatistics.cs @@ -0,0 +1,100 @@ +// ----------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSPoolStatistics + { + + internal Microsoft.Azure.Batch.PoolStatistics omObject; + + private PSUsageStatistics usageStatistics; + + private PSResourceStatistics resourceStatistics; + + internal PSPoolStatistics(Microsoft.Azure.Batch.PoolStatistics omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public string Url + { + get + { + return this.omObject.Url; + } + } + + public System.DateTime? StartTime + { + get + { + return this.omObject.StartTime; + } + } + + public System.DateTime? EndTime + { + get + { + return this.omObject.EndTime; + } + } + + public PSUsageStatistics UsageStatistics + { + get + { + if (((this.usageStatistics == null) + && (this.omObject.UsageStatistics != null))) + { + this.usageStatistics = new PSUsageStatistics(this.omObject.UsageStatistics); + } + return this.usageStatistics; + } + } + + public PSResourceStatistics ResourceStatistics + { + get + { + if (((this.resourceStatistics == null) + && (this.omObject.ResourceStatistics != null))) + { + this.resourceStatistics = new PSResourceStatistics(this.omObject.ResourceStatistics); + } + return this.resourceStatistics; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSRecentJob.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSRecentJob.cs new file mode 100644 index 000000000000..15d3d15d090a --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSRecentJob.cs @@ -0,0 +1,62 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSRecentJob + { + + internal Microsoft.Azure.Batch.RecentJob omObject; + + internal PSRecentJob(Microsoft.Azure.Batch.RecentJob omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public string Url + { + get + { + return this.omObject.Url; + } + } + + public string Name + { + get + { + return this.omObject.Name; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSResizeError.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSResizeError.cs new file mode 100644 index 000000000000..a78d92d747a7 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSResizeError.cs @@ -0,0 +1,87 @@ +// ----------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSResizeError + { + + internal Microsoft.Azure.Batch.ResizeError omObject; + + private IEnumerable values; + + internal PSResizeError(Microsoft.Azure.Batch.ResizeError omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public string Code + { + get + { + return this.omObject.Code; + } + } + + public string Message + { + get + { + return this.omObject.Message; + } + } + + public IEnumerable Values + { + get + { + if (((this.values == null) + && (this.omObject.Values != null))) + { + List list; + list = new List(); + IEnumerator enumerator; + enumerator = this.omObject.Values.GetEnumerator(); + for ( + ; enumerator.MoveNext(); + ) + { + list.Add(new PSNameValuePair(enumerator.Current)); + } + this.values = list; + } + return this.values; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSResourceFile.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSResourceFile.cs new file mode 100644 index 000000000000..cdc80c658d16 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSResourceFile.cs @@ -0,0 +1,67 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSResourceFile + { + + internal Microsoft.Azure.Batch.IResourceFile omObject; + + public PSResourceFile(string blobSource, string filePath) + { + this.omObject = new Microsoft.Azure.Batch.ResourceFile(blobSource, filePath); + } + + internal PSResourceFile(Microsoft.Azure.Batch.IResourceFile omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public string BlobSource + { + get + { + return this.omObject.BlobSource; + } + } + + public string FilePath + { + get + { + return this.omObject.FilePath; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSResourceStatistics.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSResourceStatistics.cs new file mode 100644 index 000000000000..68eaae332101 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSResourceStatistics.cs @@ -0,0 +1,154 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSResourceStatistics + { + + internal Microsoft.Azure.Batch.ResourceStatistics omObject; + + internal PSResourceStatistics(Microsoft.Azure.Batch.ResourceStatistics omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public System.DateTime? StartTime + { + get + { + return this.omObject.StartTime; + } + } + + public System.DateTime? EndTime + { + get + { + return this.omObject.EndTime; + } + } + + public double AvgCPU + { + get + { + return this.omObject.AvgCPU; + } + } + + public double AvgMemory + { + get + { + return this.omObject.AvgMemory; + } + } + + public double PeakMemory + { + get + { + return this.omObject.PeakMemory; + } + } + + public long AvgDisk + { + get + { + return this.omObject.AvgDisk; + } + } + + public long PeakDisk + { + get + { + return this.omObject.PeakDisk; + } + } + + public long DiskReadIOps + { + get + { + return this.omObject.DiskReadIOps; + } + } + + public long DiskWriteIOps + { + get + { + return this.omObject.DiskWriteIOps; + } + set + { + this.omObject.DiskWriteIOps = value; + } + } + + public long DiskReadBytes + { + get + { + return this.omObject.DiskReadBytes; + } + } + + public long DiskWriteBytes + { + get + { + return this.omObject.DiskWriteBytes; + } + } + + public long NetworkReadBytes + { + get + { + return this.omObject.NetworkReadBytes; + } + } + + public long NetworkWriteBytes + { + get + { + return this.omObject.NetworkWriteBytes; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSSchedulingPolicy.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSSchedulingPolicy.cs new file mode 100644 index 000000000000..8ee6489621d8 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSSchedulingPolicy.cs @@ -0,0 +1,54 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSSchedulingPolicy + { + + internal Microsoft.Azure.Batch.SchedulingPolicy omObject; + + internal PSSchedulingPolicy(Microsoft.Azure.Batch.SchedulingPolicy omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public Microsoft.Azure.Batch.Common.TVMFillType? VMFillType + { + get + { + return this.omObject.VMFillType; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSStartTask.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSStartTask.cs new file mode 100644 index 000000000000..a163c5205f28 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSStartTask.cs @@ -0,0 +1,173 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSStartTask + { + + internal Microsoft.Azure.Batch.IStartTask omObject; + + private IList environmentSettings; + + private IList resourceFiles; + + public PSStartTask() + { + this.omObject = new Microsoft.Azure.Batch.StartTask(); + } + + internal PSStartTask(Microsoft.Azure.Batch.IStartTask omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public string CommandLine + { + get + { + return this.omObject.CommandLine; + } + set + { + this.omObject.CommandLine = value; + } + } + + public IList EnvironmentSettings + { + get + { + if (((this.environmentSettings == null) + && (this.omObject.EnvironmentSettings != null))) + { + List list; + list = new List(); + IEnumerator enumerator; + enumerator = this.omObject.EnvironmentSettings.GetEnumerator(); + for ( + ; enumerator.MoveNext(); + ) + { + list.Add(new PSEnvironmentSetting(enumerator.Current)); + } + this.environmentSettings = list; + } + return this.environmentSettings; + } + set + { + if ((value == null)) + { + this.omObject.EnvironmentSettings = null; + } + else + { + this.omObject.EnvironmentSettings = new List(); + } + this.environmentSettings = value; + } + } + + public System.Int32? MaxTaskRetryCount + { + get + { + return this.omObject.MaxTaskRetryCount; + } + set + { + this.omObject.MaxTaskRetryCount = value; + } + } + + public IList ResourceFiles + { + get + { + if (((this.resourceFiles == null) + && (this.omObject.ResourceFiles != null))) + { + List list; + list = new List(); + IEnumerator enumerator; + enumerator = this.omObject.ResourceFiles.GetEnumerator(); + for ( + ; enumerator.MoveNext(); + ) + { + list.Add(new PSResourceFile(enumerator.Current)); + } + this.resourceFiles = list; + } + return this.resourceFiles; + } + set + { + if ((value == null)) + { + this.omObject.ResourceFiles = null; + } + else + { + this.omObject.ResourceFiles = new List(); + } + this.resourceFiles = value; + } + } + + public System.Boolean? RunElevated + { + get + { + return this.omObject.RunElevated; + } + set + { + this.omObject.RunElevated = value; + } + } + + public System.Boolean? WaitForSuccess + { + get + { + return this.omObject.WaitForSuccess; + } + set + { + this.omObject.WaitForSuccess = value; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSStartTaskInformation.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSStartTaskInformation.cs new file mode 100644 index 000000000000..62c6c5a01f77 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSStartTaskInformation.cs @@ -0,0 +1,109 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSStartTaskInformation + { + + internal Microsoft.Azure.Batch.StartTaskInformation omObject; + + private PSTaskSchedulingError schedulingError; + + internal PSStartTaskInformation(Microsoft.Azure.Batch.StartTaskInformation omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public Microsoft.Azure.Batch.Common.StartTaskState State + { + get + { + return this.omObject.State; + } + } + + public System.DateTime StartTime + { + get + { + return this.omObject.StartTime; + } + } + + public System.DateTime? EndTime + { + get + { + return this.omObject.EndTime; + } + } + + public System.Int32? ExitCode + { + get + { + return this.omObject.ExitCode; + } + } + + public PSTaskSchedulingError SchedulingError + { + get + { + if (((this.schedulingError == null) + && (this.omObject.SchedulingError != null))) + { + this.schedulingError = new PSTaskSchedulingError(this.omObject.SchedulingError); + } + return this.schedulingError; + } + } + + public int RetryCount + { + get + { + return this.omObject.RetryCount; + } + } + + public System.DateTime? LastRetryTime + { + get + { + return this.omObject.LastRetryTime; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSTaskConstraints.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSTaskConstraints.cs new file mode 100644 index 000000000000..0e45fb69f405 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSTaskConstraints.cs @@ -0,0 +1,70 @@ +// ----------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSTaskConstraints + { + + internal Microsoft.Azure.Batch.TaskConstraints omObject; + + internal PSTaskConstraints(Microsoft.Azure.Batch.TaskConstraints omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public System.TimeSpan? MaxWallClockTime + { + get + { + return this.omObject.MaxWallClockTime; + } + } + + public System.TimeSpan? RetentionTime + { + get + { + return this.omObject.RetentionTime; + } + } + + public System.Int32? MaxTaskRetryCount + { + get + { + return this.omObject.MaxTaskRetryCount; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSTaskExecutionInformation.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSTaskExecutionInformation.cs new file mode 100644 index 000000000000..9a9e18cc9b3a --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSTaskExecutionInformation.cs @@ -0,0 +1,117 @@ +// ----------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSTaskExecutionInformation + { + + internal Microsoft.Azure.Batch.TaskExecutionInformation omObject; + + private PSTaskSchedulingError schedulingError; + + internal PSTaskExecutionInformation(Microsoft.Azure.Batch.TaskExecutionInformation omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public System.DateTime StartTime + { + get + { + return this.omObject.StartTime; + } + } + + public System.DateTime? EndTime + { + get + { + return this.omObject.EndTime; + } + } + + public System.Int32? ExitCode + { + get + { + return this.omObject.ExitCode; + } + } + + public PSTaskSchedulingError SchedulingError + { + get + { + if (((this.schedulingError == null) + && (this.omObject.SchedulingError != null))) + { + this.schedulingError = new PSTaskSchedulingError(this.omObject.SchedulingError); + } + return this.schedulingError; + } + } + + public int RetryCount + { + get + { + return this.omObject.RetryCount; + } + } + + public System.DateTime? LastRetryTime + { + get + { + return this.omObject.LastRetryTime; + } + } + + public int RequeueCount + { + get + { + return this.omObject.RequeueCount; + } + } + + public System.DateTime? LastRequeueTime + { + get + { + return this.omObject.LastRequeueTime; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSTaskFile.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSTaskFile.cs new file mode 100644 index 000000000000..d0b08882a220 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSTaskFile.cs @@ -0,0 +1,85 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSTaskFile + { + + internal Microsoft.Azure.Batch.ITaskFile omObject; + + private PSFileProperties properties; + + internal PSTaskFile(Microsoft.Azure.Batch.ITaskFile omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public System.Boolean? IsDirectory + { + get + { + return this.omObject.IsDirectory; + } + } + + public string Name + { + get + { + return this.omObject.Name; + } + } + + public PSFileProperties Properties + { + get + { + if (((this.properties == null) + && (this.omObject.Properties != null))) + { + this.properties = new PSFileProperties(this.omObject.Properties); + } + return this.properties; + } + } + + public string Url + { + get + { + return this.omObject.Url; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSTaskInformation.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSTaskInformation.cs new file mode 100644 index 000000000000..e7bf48bcc332 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSTaskInformation.cs @@ -0,0 +1,101 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSTaskInformation + { + + internal Microsoft.Azure.Batch.TaskInformation omObject; + + private PSTaskExecutionInformation executionInformation; + + internal PSTaskInformation(Microsoft.Azure.Batch.TaskInformation omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public string TaskUrl + { + get + { + return this.omObject.TaskUrl; + } + } + + public string WorkItemName + { + get + { + return this.omObject.WorkItemName; + } + } + + public string JobName + { + get + { + return this.omObject.JobName; + } + } + + public string TaskName + { + get + { + return this.omObject.TaskName; + } + } + + public Microsoft.Azure.Batch.Common.TaskState TaskState + { + get + { + return this.omObject.TaskState; + } + } + + public PSTaskExecutionInformation ExecutionInformation + { + get + { + if (((this.executionInformation == null) + && (this.omObject.ExecutionInformation != null))) + { + this.executionInformation = new PSTaskExecutionInformation(this.omObject.ExecutionInformation); + } + return this.executionInformation; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSTaskSchedulingError.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSTaskSchedulingError.cs new file mode 100644 index 000000000000..1bf962e40ed2 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSTaskSchedulingError.cs @@ -0,0 +1,95 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSTaskSchedulingError + { + + internal Microsoft.Azure.Batch.TaskSchedulingError omObject; + + private IEnumerable details; + + internal PSTaskSchedulingError(Microsoft.Azure.Batch.TaskSchedulingError omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public Microsoft.Azure.Batch.Common.SchedulingErrorCategory Category + { + get + { + return this.omObject.Category; + } + } + + public string Code + { + get + { + return this.omObject.Code; + } + } + + public string Message + { + get + { + return this.omObject.Message; + } + } + + public IEnumerable Details + { + get + { + if (((this.details == null) + && (this.omObject.Details != null))) + { + List list; + list = new List(); + IEnumerator enumerator; + enumerator = this.omObject.Details.GetEnumerator(); + for ( + ; enumerator.MoveNext(); + ) + { + list.Add(new PSNameValuePair(enumerator.Current)); + } + this.details = list; + } + return this.details; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSTaskStatistics.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSTaskStatistics.cs new file mode 100644 index 000000000000..4dac334858e3 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSTaskStatistics.cs @@ -0,0 +1,142 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSTaskStatistics + { + + internal Microsoft.Azure.Batch.TaskStatistics omObject; + + internal PSTaskStatistics(Microsoft.Azure.Batch.TaskStatistics omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public string Url + { + get + { + return this.omObject.Url; + } + } + + public System.DateTime StartTime + { + get + { + return this.omObject.StartTime; + } + } + + public System.DateTime EndTime + { + get + { + return this.omObject.EndTime; + } + } + + public System.TimeSpan UserCPUTime + { + get + { + return this.omObject.UserCPUTime; + } + } + + public System.TimeSpan KernelCPUTime + { + get + { + return this.omObject.KernelCPUTime; + } + } + + public System.TimeSpan WallClockTime + { + get + { + return this.omObject.WallClockTime; + } + } + + public long ReadIOps + { + get + { + return this.omObject.ReadIOps; + } + } + + public long WriteIOps + { + get + { + return this.omObject.WriteIOps; + } + } + + public long ReadIOBytes + { + get + { + return this.omObject.ReadIOBytes; + } + } + + public long WriteIOBytes + { + get + { + return this.omObject.WriteIOBytes; + } + } + + public long NumRetries + { + get + { + return this.omObject.NumRetries; + } + } + + public System.TimeSpan WaitTime + { + get + { + return this.omObject.WaitTime; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSUsageStatistics.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSUsageStatistics.cs new file mode 100644 index 000000000000..f6c4bf6dec3a --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSUsageStatistics.cs @@ -0,0 +1,70 @@ +// ----------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSUsageStatistics + { + + internal Microsoft.Azure.Batch.UsageStatistics omObject; + + internal PSUsageStatistics(Microsoft.Azure.Batch.UsageStatistics omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public System.DateTime? StartTime + { + get + { + return this.omObject.StartTime; + } + } + + public System.DateTime? EndTime + { + get + { + return this.omObject.EndTime; + } + } + + public System.TimeSpan DedicatedTVMTime + { + get + { + return this.omObject.DedicatedTVMTime; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSUser.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSUser.cs new file mode 100644 index 000000000000..8181078b986b --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSUser.cs @@ -0,0 +1,90 @@ +// ----------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSUser + { + + internal Microsoft.Azure.Batch.IUser omObject; + + internal PSUser(Microsoft.Azure.Batch.IUser omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public string Name + { + get + { + return this.omObject.Name; + } + set + { + this.omObject.Name = value; + } + } + + public System.Boolean? IsAdmin + { + get + { + return this.omObject.IsAdmin; + } + set + { + this.omObject.IsAdmin = value; + } + } + + public System.DateTime ExpiryTime + { + get + { + return this.omObject.ExpiryTime; + } + set + { + this.omObject.ExpiryTime = value; + } + } + + public string Password + { + set + { + this.omObject.Password = value; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSVM.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSVM.cs new file mode 100644 index 000000000000..f9111fae3a21 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSVM.cs @@ -0,0 +1,231 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSVM + { + + internal Microsoft.Azure.Batch.IVM omObject; + + private PSStartTaskInformation startTaskInformation; + + private IEnumerable recentTasks; + + private PSStartTask startTask; + + private IEnumerable certificateReferences; + + private IEnumerable vMErrors; + + internal PSVM(Microsoft.Azure.Batch.IVM omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public string Name + { + get + { + return this.omObject.Name; + } + } + + public string Url + { + get + { + return this.omObject.Url; + } + } + + public Microsoft.Azure.Batch.Common.TVMState State + { + get + { + return this.omObject.State; + } + } + + public System.DateTime StateTransitionTime + { + get + { + return this.omObject.StateTransitionTime; + } + } + + public System.DateTime? LastBootTime + { + get + { + return this.omObject.LastBootTime; + } + } + + public System.DateTime VMAllocationTime + { + get + { + return this.omObject.VMAllocationTime; + } + } + + public string IPAddress + { + get + { + return this.omObject.IPAddress; + } + } + + public string AffinityId + { + get + { + return this.omObject.AffinityId; + } + } + + public string VMSize + { + get + { + return this.omObject.VMSize; + } + } + + public System.Int32? TotalTasksRun + { + get + { + return this.omObject.TotalTasksRun; + } + } + + public PSStartTaskInformation StartTaskInformation + { + get + { + if (((this.startTaskInformation == null) + && (this.omObject.StartTaskInformation != null))) + { + this.startTaskInformation = new PSStartTaskInformation(this.omObject.StartTaskInformation); + } + return this.startTaskInformation; + } + } + + public IEnumerable RecentTasks + { + get + { + if (((this.recentTasks == null) + && (this.omObject.RecentTasks != null))) + { + List list; + list = new List(); + IEnumerator enumerator; + enumerator = this.omObject.RecentTasks.GetEnumerator(); + for ( + ; enumerator.MoveNext(); + ) + { + list.Add(new PSTaskInformation(enumerator.Current)); + } + this.recentTasks = list; + } + return this.recentTasks; + } + } + + public PSStartTask StartTask + { + get + { + if (((this.startTask == null) + && (this.omObject.StartTask != null))) + { + this.startTask = new PSStartTask(this.omObject.StartTask); + } + return this.startTask; + } + } + + public IEnumerable CertificateReferences + { + get + { + if (((this.certificateReferences == null) + && (this.omObject.CertificateReferences != null))) + { + List list; + list = new List(); + IEnumerator enumerator; + enumerator = this.omObject.CertificateReferences.GetEnumerator(); + for ( + ; enumerator.MoveNext(); + ) + { + list.Add(new PSCertificateReference(enumerator.Current)); + } + this.certificateReferences = list; + } + return this.certificateReferences; + } + } + + public IEnumerable VMErrors + { + get + { + if (((this.vMErrors == null) + && (this.omObject.VMErrors != null))) + { + List list; + list = new List(); + IEnumerator enumerator; + enumerator = this.omObject.VMErrors.GetEnumerator(); + for ( + ; enumerator.MoveNext(); + ) + { + list.Add(new PSVMError(enumerator.Current)); + } + this.vMErrors = list; + } + return this.vMErrors; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSVMError.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSVMError.cs new file mode 100644 index 000000000000..76913111b931 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSVMError.cs @@ -0,0 +1,87 @@ +// ----------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSVMError + { + + internal Microsoft.Azure.Batch.VMError omObject; + + private IEnumerable errorDetails; + + internal PSVMError(Microsoft.Azure.Batch.VMError omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public string Code + { + get + { + return this.omObject.Code; + } + } + + public string Message + { + get + { + return this.omObject.Message; + } + } + + public IEnumerable ErrorDetails + { + get + { + if (((this.errorDetails == null) + && (this.omObject.ErrorDetails != null))) + { + List list; + list = new List(); + IEnumerator enumerator; + enumerator = this.omObject.ErrorDetails.GetEnumerator(); + for ( + ; enumerator.MoveNext(); + ) + { + list.Add(new PSNameValuePair(enumerator.Current)); + } + this.errorDetails = list; + } + return this.errorDetails; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSVMInformation.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSVMInformation.cs new file mode 100644 index 000000000000..7f673e89be59 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSVMInformation.cs @@ -0,0 +1,78 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSVMInformation + { + + internal Microsoft.Azure.Batch.VMInformation omObject; + + internal PSVMInformation(Microsoft.Azure.Batch.VMInformation omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public string AffinityId + { + get + { + return this.omObject.AffinityId; + } + } + + public string PoolName + { + get + { + return this.omObject.PoolName; + } + } + + public string VMName + { + get + { + return this.omObject.VMName; + } + } + + public string VMUrl + { + get + { + return this.omObject.VMUrl; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSWorkItemExecutionInformation.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSWorkItemExecutionInformation.cs new file mode 100644 index 000000000000..f168f7412f2f --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSWorkItemExecutionInformation.cs @@ -0,0 +1,77 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSWorkItemExecutionInformation + { + + internal Microsoft.Azure.Batch.IWorkItemExecutionInformation omObject; + + private PSRecentJob recentJob; + + internal PSWorkItemExecutionInformation(Microsoft.Azure.Batch.IWorkItemExecutionInformation omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public System.DateTime? NextRunTime + { + get + { + return this.omObject.NextRunTime; + } + } + + public PSRecentJob RecentJob + { + get + { + if (((this.recentJob == null) + && (this.omObject.RecentJob != null))) + { + this.recentJob = new PSRecentJob(this.omObject.RecentJob); + } + return this.recentJob; + } + } + + public System.DateTime? EndTime + { + get + { + return this.omObject.EndTime; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSWorkItemSchedule.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSWorkItemSchedule.cs new file mode 100644 index 000000000000..6cf3f44de6e8 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSWorkItemSchedule.cs @@ -0,0 +1,99 @@ +// ----------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSWorkItemSchedule + { + + internal Microsoft.Azure.Batch.IWorkItemSchedule omObject; + + public PSWorkItemSchedule() + { + this.omObject = new Microsoft.Azure.Batch.WorkItemSchedule(); + } + + internal PSWorkItemSchedule(Microsoft.Azure.Batch.IWorkItemSchedule omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public System.DateTime? DoNotRunUntil + { + get + { + return this.omObject.DoNotRunUntil; + } + set + { + this.omObject.DoNotRunUntil = value; + } + } + + public System.DateTime? DoNotRunAfter + { + get + { + return this.omObject.DoNotRunAfter; + } + set + { + this.omObject.DoNotRunAfter = value; + } + } + + public System.TimeSpan? StartWindow + { + get + { + return this.omObject.StartWindow; + } + set + { + this.omObject.StartWindow = value; + } + } + + public System.TimeSpan? RecurrenceInterval + { + get + { + return this.omObject.RecurrenceInterval; + } + set + { + this.omObject.RecurrenceInterval = value; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Models/PSWorkItemStatistics.cs b/src/ResourceManager/Batch/Commands.Batch/Models/PSWorkItemStatistics.cs new file mode 100644 index 000000000000..1e0bf9a61dc3 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Models/PSWorkItemStatistics.cs @@ -0,0 +1,158 @@ +// ----------------------------------------------------------------------------- +// +// 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. +// ----------------------------------------------------------------------------- +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Batch.Models +{ + using System; + using System.Collections; + using System.Collections.Generic; + using Microsoft.Azure.Batch; + + + public class PSWorkItemStatistics + { + + internal Microsoft.Azure.Batch.IWorkItemStatistics omObject; + + internal PSWorkItemStatistics(Microsoft.Azure.Batch.IWorkItemStatistics omObject) + { + if ((omObject == null)) + { + throw new System.ArgumentNullException("omObject"); + } + this.omObject = omObject; + } + + public string Url + { + get + { + return this.omObject.Url; + } + } + + public System.DateTime StartTime + { + get + { + return this.omObject.StartTime; + } + } + + public System.DateTime EndTime + { + get + { + return this.omObject.EndTime; + } + } + + public System.TimeSpan UserCPUTime + { + get + { + return this.omObject.UserCPUTime; + } + } + + public System.TimeSpan KernelCPUTime + { + get + { + return this.omObject.KernelCPUTime; + } + } + + public System.TimeSpan WallClockTime + { + get + { + return this.omObject.WallClockTime; + } + } + + public long ReadIOps + { + get + { + return this.omObject.ReadIOps; + } + } + + public long WriteIOps + { + get + { + return this.omObject.WriteIOps; + } + } + + public long ReadIOBytes + { + get + { + return this.omObject.ReadIOBytes; + } + } + + public long WriteIOBytes + { + get + { + return this.omObject.WriteIOBytes; + } + } + + public long NumSucceededTasks + { + get + { + return this.omObject.NumSucceededTasks; + } + } + + public long NumFailedTasks + { + get + { + return this.omObject.NumFailedTasks; + } + } + + public long NumRetries + { + get + { + return this.omObject.NumRetries; + } + } + + public System.TimeSpan WaitTime + { + get + { + return this.omObject.WaitTime; + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Pools/GetBatchPoolCommand.cs b/src/ResourceManager/Batch/Commands.Batch/Pools/GetBatchPoolCommand.cs new file mode 100644 index 000000000000..a70b5aa309d6 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Pools/GetBatchPoolCommand.cs @@ -0,0 +1,65 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Batch; +using Microsoft.Azure.Commands.Batch.Models; +using Microsoft.Azure.Commands.Batch.Properties; +using System; +using System.Collections.Generic; +using System.Management.Automation; +using Constants = Microsoft.Azure.Commands.Batch.Utils.Constants; + +namespace Microsoft.Azure.Commands.Batch +{ + [Cmdlet(VerbsCommon.Get, "AzureBatchPool", DefaultParameterSetName = Constants.ODataFilterParameterSet), OutputType(typeof(PSCloudPool))] + public class GetBatchPoolCommand : BatchObjectModelCmdletBase + { + private int maxCount = Constants.DefaultMaxCount; + + [Parameter(Position = 0, ParameterSetName = Constants.NameParameterSet, ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the Pool to query.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(ParameterSetName = Constants.ODataFilterParameterSet, HelpMessage = "OData filter to use when querying for Pools.")] + [ValidateNotNullOrEmpty] + public string Filter { get; set; } + + [Parameter(ParameterSetName = Constants.ODataFilterParameterSet, HelpMessage = "The maximum number of Pools to return. If a value of 0 or less is specified, then no upper limit will be used.")] + public int MaxCount + { + get { return this.maxCount; } + set { this.maxCount = value; } + } + + public override void ExecuteCmdlet() + { + ListPoolOptions options = new ListPoolOptions() + { + Context = this.BatchContext, + PoolName = this.Name, + Filter = this.Filter, + MaxCount = this.MaxCount, + AdditionalBehaviors = this.AdditionalBehaviors + }; + + // The enumerator will internally query the service in chunks. Using WriteObject with the enumerate flag will enumerate + // the entire collection first and then write the items out one by one in a single group. Using foreach, we can take + // advantage of the enumerator's behavior and write output to the pipeline in bursts. + foreach (PSCloudPool pool in BatchClient.ListPools(options)) + { + WriteObject(pool); + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/Properties/Resources.Designer.cs b/src/ResourceManager/Batch/Commands.Batch/Properties/Resources.Designer.cs index dae98c3cc5fa..f6c4dcff6fd5 100644 --- a/src/ResourceManager/Batch/Commands.Batch/Properties/Resources.Designer.cs +++ b/src/ResourceManager/Batch/Commands.Batch/Properties/Resources.Designer.cs @@ -60,6 +60,15 @@ internal Resources() { } } + /// + /// Looks up a localized string similar to Executing cmdlet with Batch account {0} with its {1} key. To change which key to use, set the KeyInUse property on the BatchAccountContext.. + /// + internal static string AccountAndKeyInUse { + get { + return ResourceManager.GetString("AccountAndKeyInUse", resourceCulture); + } + } + /// /// Looks up a localized string similar to Begin {0} call to RP. /// @@ -105,6 +114,132 @@ internal static string GBAK_GettingKeys { } } + /// + /// Looks up a localized string similar to Getting Job "{0}" from WorkItem "{1}". + /// + internal static string GBJ_GetByName { + get { + return ResourceManager.GetString("GBJ_GetByName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Getting Jobs matching the specified OData filter from WorkItem "{0}". A max count of {1} will be returned.. + /// + internal static string GBJ_GetByOData { + get { + return ResourceManager.GetString("GBJ_GetByOData", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Getting all Jobs from WorkItem "{0}". A max count of {1} will be returned.. + /// + internal static string GBJ_GetNoFilter { + get { + return ResourceManager.GetString("GBJ_GetNoFilter", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No WorkItem was specified. Supply a WorkItem name or WorkItem object to query for Jobs.. + /// + internal static string GBJ_NoWorkItem { + get { + return ResourceManager.GetString("GBJ_NoWorkItem", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Getting Pool "{0}". + /// + internal static string GBP_GetByName { + get { + return ResourceManager.GetString("GBP_GetByName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Getting Pools matching the specified OData filter. A max count of {0} will be returned.. + /// + internal static string GBP_GetByOData { + get { + return ResourceManager.GetString("GBP_GetByOData", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Getting all Pools associated with the Batch account. A max count of {0} will be returned.. + /// + internal static string GBP_NoFilter { + get { + return ResourceManager.GetString("GBP_NoFilter", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Getting Task "{0}" from Job "{1}" under WorkItem "{2}". + /// + internal static string GBT_GetByName { + get { + return ResourceManager.GetString("GBT_GetByName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Getting Tasks matching the specified OData filter from Job "{0}". A max count of {1} will be returned.. + /// + internal static string GBT_GetByOData { + get { + return ResourceManager.GetString("GBT_GetByOData", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Getting all Tasks from Job "{0}". A max count of {1} will be returned.. + /// + internal static string GBT_GetNoFilter { + get { + return ResourceManager.GetString("GBT_GetNoFilter", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No Job was specified. Supply a Job object or a WorkItem namd and Job name to query for Tasks.. + /// + internal static string GBT_NoJob { + get { + return ResourceManager.GetString("GBT_NoJob", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Getting WorkItem "{0}". + /// + internal static string GBWI_GetByName { + get { + return ResourceManager.GetString("GBWI_GetByName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Getting WorkItems matching the specified OData filter. A max count of {0} will be returned.. + /// + internal static string GBWI_GetByOData { + get { + return ResourceManager.GetString("GBWI_GetByOData", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Getting all WorkItems associated with the Batch account. A max count of {0} will be returned.. + /// + internal static string GBWI_NoFilter { + get { + return ResourceManager.GetString("GBWI_NoFilter", resourceCulture); + } + } + /// /// Looks up a localized string similar to The endpoint is not recognized as valid: {0}. /// @@ -141,6 +276,15 @@ internal static string InvalidTagFormatNotUniqueName { } } + /// + /// Looks up a localized string similar to The current KeyInUse on this BatchAccountContext is the {0} key, but this key is not populated on the BatchAccountContext object. Use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its keys populated.. + /// + internal static string KeyNotPresent { + get { + return ResourceManager.GetString("KeyNotPresent", resourceCulture); + } + } + /// /// Looks up a localized string similar to Cannot find resource group name in ID property: {0}. /// diff --git a/src/ResourceManager/Batch/Commands.Batch/Properties/Resources.resx b/src/ResourceManager/Batch/Commands.Batch/Properties/Resources.resx index 73fbc2ec451e..de9745de90eb 100644 --- a/src/ResourceManager/Batch/Commands.Batch/Properties/Resources.resx +++ b/src/ResourceManager/Batch/Commands.Batch/Properties/Resources.resx @@ -117,6 +117,9 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Executing cmdlet with Batch account {0} with its {1} key. To change which key to use, set the KeyInUse property on the BatchAccountContext. + Begin {0} call to RP @@ -132,6 +135,48 @@ Getting accounts in resource group {0} + + Getting Job "{0}" from WorkItem "{1}" + + + Getting Jobs matching the specified OData filter from WorkItem "{0}". A max count of {1} will be returned. + + + Getting all Jobs from WorkItem "{0}". A max count of {1} will be returned. + + + No WorkItem was specified. Supply a WorkItem name or WorkItem object to query for Jobs. + + + Getting Pool "{0}" + + + Getting Pools matching the specified OData filter. A max count of {0} will be returned. + + + Getting all Pools associated with the Batch account. A max count of {0} will be returned. + + + Getting Task "{0}" from Job "{1}" under WorkItem "{2}" + + + Getting Tasks matching the specified OData filter from Job "{0}". A max count of {1} will be returned. + + + Getting all Tasks from Job "{0}". A max count of {1} will be returned. + + + No Job was specified. Supply a Job object or a WorkItem namd and Job name to query for Tasks. + + + Getting WorkItem "{0}" + + + Getting WorkItems matching the specified OData filter. A max count of {0} will be returned. + + + Getting all WorkItems associated with the Batch account. A max count of {0} will be returned. + The endpoint is not recognized as valid: {0} @@ -144,6 +189,9 @@ Invalid tag format. Ensure that each tag has a unique name. Example: @{Name = "tagName1"; Value = "tagValue1"}, @{Name = "tagName2"; Value = "tagValue2"} + + The current KeyInUse on this BatchAccountContext is the {0} key, but this key is not populated on the BatchAccountContext object. Use the Get-AzureBatchAccountKeys cmdlet to get a BatchAccountContext object with its keys populated. + Cannot find resource group name in ID property: {0} diff --git a/src/ResourceManager/Batch/Commands.Batch/Tasks/GetBatchTaskCommand.cs b/src/ResourceManager/Batch/Commands.Batch/Tasks/GetBatchTaskCommand.cs new file mode 100644 index 000000000000..a212d70eda47 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/Tasks/GetBatchTaskCommand.cs @@ -0,0 +1,82 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Batch; +using Microsoft.Azure.Commands.Batch.Models; +using System; +using System.Management.Automation; +using Constants = Microsoft.Azure.Commands.Batch.Utils.Constants; + +namespace Microsoft.Azure.Commands.Batch +{ + [Cmdlet(VerbsCommon.Get, "AzureBatchTask", DefaultParameterSetName = Constants.ODataFilterParameterSet), OutputType(typeof(PSCloudTask))] + public class GetBatchTaskCommand : BatchObjectModelCmdletBase + { + private int maxCount = Constants.DefaultMaxCount; + + [Parameter(Position = 0, ParameterSetName = Constants.NameParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the WorkItem containing the Tasks to query.")] + [Parameter(Position = 0, ParameterSetName = Constants.ODataFilterParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true)] + [ValidateNotNullOrEmpty] + public string WorkItemName { get; set; } + + [Parameter(Position = 1, ParameterSetName = Constants.NameParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the Job containing the Tasks to query.")] + [Parameter(Position = 1, ParameterSetName = Constants.ODataFilterParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true)] + [ValidateNotNullOrEmpty] + public string JobName { get; set; } + + [Parameter(Position = 2, ParameterSetName = Constants.NameParameterSet, HelpMessage = "The name of the Task to query.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Position = 0, ParameterSetName = Constants.ParentObjectParameterSet, ValueFromPipeline = true, HelpMessage = "The Job containing the Tasks to query.")] + [ValidateNotNullOrEmpty] + public PSCloudJob Job { get; set; } + + [Parameter(ParameterSetName = Constants.ODataFilterParameterSet, HelpMessage = "OData filter to use when querying for Tasks.")] + [Parameter(ParameterSetName = Constants.ParentObjectParameterSet)] + [ValidateNotNullOrEmpty] + public string Filter { get; set; } + + [Parameter(ParameterSetName = Constants.ODataFilterParameterSet, HelpMessage = "The maximum number of Tasks to return. If a value of 0 or less is specified, then no upper limit will be used.")] + [Parameter(ParameterSetName = Constants.ParentObjectParameterSet)] + public int MaxCount + { + get { return this.maxCount; } + set { this.maxCount = value; } + } + + public override void ExecuteCmdlet() + { + ListTaskOptions options = new ListTaskOptions() + { + Context = this.BatchContext, + WorkItemName = this.WorkItemName, + JobName = this.JobName, + TaskName = this.Name, + Job = this.Job, + Filter = this.Filter, + MaxCount = this.MaxCount, + AdditionalBehaviors = this.AdditionalBehaviors + }; + + // The enumerator will internally query the service in chunks. Using WriteObject with the enumerate flag will enumerate + // the entire collection first and then write the items out one by one in a single group. Using foreach, we can take + // advantage of the enumerator's behavior and write output to the pipeline in bursts. + foreach (PSCloudTask task in BatchClient.ListTasks(options)) + { + WriteObject(task); + } + } + } +} diff --git a/src/Common/Azure.Common.Extensions/Authentication/LoginType.cs b/src/ResourceManager/Batch/Commands.Batch/Utils/Constants.cs similarity index 70% rename from src/Common/Azure.Common.Extensions/Authentication/LoginType.cs rename to src/ResourceManager/Batch/Commands.Batch/Utils/Constants.cs index e8b3a3ebed17..ed8845e556f6 100644 --- a/src/Common/Azure.Common.Extensions/Authentication/LoginType.cs +++ b/src/ResourceManager/Batch/Commands.Batch/Utils/Constants.cs @@ -12,18 +12,14 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -namespace Microsoft.Azure.Common.Extensions.Authentication +namespace Microsoft.Azure.Commands.Batch.Utils { - public enum LoginType + public class Constants { - /// - /// User is logging in with orgid credentials - /// - OrgId, + public const int DefaultMaxCount = 1000; - /// - /// User is logging in with liveid credentials - /// - LiveId + public const string NameParameterSet = "Name"; + public const string ODataFilterParameterSet = "ODataFilter"; + public const string ParentObjectParameterSet = "ParentObject"; } } diff --git a/src/ResourceManager/Batch/Commands.Batch/WorkItems/GetBatchWorkItemCommand.cs b/src/ResourceManager/Batch/Commands.Batch/WorkItems/GetBatchWorkItemCommand.cs new file mode 100644 index 000000000000..88dbe3d9b019 --- /dev/null +++ b/src/ResourceManager/Batch/Commands.Batch/WorkItems/GetBatchWorkItemCommand.cs @@ -0,0 +1,63 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Batch; +using Microsoft.Azure.Commands.Batch.Models; +using System; +using System.Management.Automation; +using Constants = Microsoft.Azure.Commands.Batch.Utils.Constants; + +namespace Microsoft.Azure.Commands.Batch +{ + [Cmdlet(VerbsCommon.Get, "AzureBatchWorkItem", DefaultParameterSetName = Constants.ODataFilterParameterSet), OutputType(typeof(PSCloudWorkItem))] + public class GetBatchWorkItemCommand : BatchObjectModelCmdletBase + { + private int maxCount = Constants.DefaultMaxCount; + + [Parameter(Position = 0, ParameterSetName = Constants.NameParameterSet, ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the WorkItem to query.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(ParameterSetName = Constants.ODataFilterParameterSet, HelpMessage = "OData filter to use when querying for WorkItems.")] + [ValidateNotNullOrEmpty] + public string Filter { get; set; } + + [Parameter(ParameterSetName = Constants.ODataFilterParameterSet, HelpMessage = "The maximum number of WorkItems to return. If a value of 0 or less is specified, then no upper limit will be used.")] + public int MaxCount + { + get { return this.maxCount; } + set { this.maxCount = value; } + } + + public override void ExecuteCmdlet() + { + ListWorkItemOptions options = new ListWorkItemOptions() + { + Context = this.BatchContext, + WorkItemName = this.Name, + Filter = this.Filter, + MaxCount = this.MaxCount, + AdditionalBehaviors = this.AdditionalBehaviors + }; + + // The enumerator will internally query the service in chunks. Using WriteObject with the enumerate flag will enumerate + // the entire collection first and then write the items out one by one in a single group. Using foreach, we can take + // advantage of the enumerator's behavior and write output to the pipeline in bursts. + foreach (PSCloudWorkItem workItem in BatchClient.ListWorkItems(options)) + { + WriteObject(workItem); + } + } + } +} diff --git a/src/ResourceManager/Batch/Commands.Batch/packages.config b/src/ResourceManager/Batch/Commands.Batch/packages.config index cc8fad4873ab..735a3507b1fc 100644 --- a/src/ResourceManager/Batch/Commands.Batch/packages.config +++ b/src/ResourceManager/Batch/Commands.Batch/packages.config @@ -1,16 +1,23 @@  - - + + + + - - + + + + - + + + + \ No newline at end of file diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj index 4833c422b383..c1a940dd7d28 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj @@ -42,47 +42,49 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll ..\..\..\packages\Microsoft.Azure.Gallery.2.6.0-preview\lib\net40\Microsoft.Azure.Gallery.dll - ..\..\..\packages\Microsoft.Azure.Management.Authorization.0.16.0-preview\lib\net40\Microsoft.Azure.Management.Authorization.dll + False + ..\..\..\packages\Microsoft.Azure.Management.Authorization.0.17.0-preview\lib\net40\Microsoft.Azure.Management.Authorization.dll - ..\..\..\packages\Microsoft.Azure.Management.DataFactories.0.15.0-preview\lib\net40\Microsoft.Azure.Management.DataFactories.dll + ..\..\..\packages\Microsoft.Azure.Management.DataFactories.0.15.5-preview\lib\net40\Microsoft.Azure.Management.DataFactories.dll - ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll + False + ..\..\..\packages\Microsoft.Azure.Management.Resources.2.13.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - + False - ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5486.28526-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll + ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll False - ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5486.28526-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll + ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll ..\..\..\packages\Microsoft.DataFactories.Runtime.0.11.1-preview\lib\net45\Microsoft.DataFactories.Runtime.dll - - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -96,8 +98,9 @@ False ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.5.0.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoriesScenarioTestsBase.cs b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoriesScenarioTestsBase.cs index 54c1a39cfbd8..91b3ea576f94 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoriesScenarioTestsBase.cs +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoriesScenarioTestsBase.cs @@ -12,7 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Microsoft.Azure.Gallery; using Microsoft.Azure.Management.Authorization; using Microsoft.Azure.Management.DataFactories; diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config index ebb43155d733..a347ceb9f885 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config +++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config @@ -1,22 +1,22 @@  - - + + + - - - - - - + + + + + - + - + diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj b/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj index 7dea4b49cd3e..99a2dd64f86c 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj @@ -49,21 +49,21 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll False - ..\..\..\packages\Microsoft.Azure.Management.DataFactories.0.15.0-preview\lib\net40\Microsoft.Azure.Management.DataFactories.dll + ..\..\..\packages\Microsoft.Azure.Management.DataFactories.0.15.5-preview\lib\net40\Microsoft.Azure.Management.DataFactories.dll False @@ -75,12 +75,12 @@ ..\..\..\packages\Microsoft.DataTransfer.Gateway.Encryption.1.2.1-preview\lib\net45\Microsoft.DataTransfer.Gateway.Encryption.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -94,9 +94,9 @@ False ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll False diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactoryBaseCmdlet.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactoryBaseCmdlet.cs index 4877fdf76c36..cdb52cfc0ebd 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactoryBaseCmdlet.cs +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactoryBaseCmdlet.cs @@ -40,7 +40,7 @@ internal DataFactoryClient DataFactoryClient { if (this.dataFactoryClient == null) { - this.dataFactoryClient = new DataFactoryClient(CurrentContext); + this.dataFactoryClient = new DataFactoryClient(Profile.Context); } return this.dataFactoryClient; } diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactoryCommonUtilities.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactoryCommonUtilities.cs index d3916e93c8d1..a85b0fb1ab02 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactoryCommonUtilities.cs +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/DataFactoryCommonUtilities.cs @@ -21,7 +21,7 @@ using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Newtonsoft.Json; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.Azure.Commands.DataFactories { diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Hubs.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Hubs.cs index 136f5fe6cff9..8da9566ec60d 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Hubs.cs +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Hubs.cs @@ -66,6 +66,12 @@ public virtual PSHub CreatePSHub(CreatePSHubParameters parameters) parameters.Name, parameters.RawJsonContent)) {DataFactoryName = parameters.DataFactoryName, ResourceGroupName = parameters.ResourceGroupName}; + + if (!DataFactoryCommonUtilities.IsSucceededProvisioningState(hub.ProvisioningState)) + { + // ToDo: service side should set the error message for provisioning failures. + throw new ProvisioningFailedException(Resources.HubProvisioningFailed); + } }; if (parameters.Force) @@ -95,12 +101,6 @@ public virtual PSHub CreatePSHub(CreatePSHubParameters parameters) createHub); } - if (!DataFactoryCommonUtilities.IsSucceededProvisioningState(hub.ProvisioningState)) - { - // ToDo: service side should set the error message for provisioning failures. - throw new ProvisioningFailedException(Resources.HubProvisioningFailed); - } - return hub; } diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.LinkedServices.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.LinkedServices.cs index 39bc8403022e..cd15d4d188e5 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.LinkedServices.cs +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.LinkedServices.cs @@ -135,6 +135,14 @@ public virtual PSLinkedService CreatePSLinkedService(CreatePSLinkedServiceParame ResourceGroupName = parameters.ResourceGroupName, DataFactoryName = parameters.DataFactoryName }; + + if (!DataFactoryCommonUtilities.IsSucceededProvisioningState(linkedService.ProvisioningState)) + { + string errorMessage = linkedService.Properties == null + ? string.Empty + : linkedService.Properties.ErrorMessage; + throw new ProvisioningFailedException(errorMessage); + } }; if (parameters.Force) @@ -163,14 +171,6 @@ public virtual PSLinkedService CreatePSLinkedService(CreatePSLinkedServiceParame createLinkedService); } - if (!DataFactoryCommonUtilities.IsSucceededProvisioningState(linkedService.ProvisioningState)) - { - string errorMessage = linkedService.Properties == null - ? string.Empty - : linkedService.Properties.ErrorMessage; - throw new ProvisioningFailedException(errorMessage); - } - return linkedService; } diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Pipelines.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Pipelines.cs index 11ab9636fe36..04e56c305a87 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Pipelines.cs +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Pipelines.cs @@ -197,6 +197,14 @@ public virtual PSPipeline CreatePSPipeline(CreatePSPipelineParameters parameters ResourceGroupName = parameters.ResourceGroupName, DataFactoryName = parameters.DataFactoryName }; + + if (!DataFactoryCommonUtilities.IsSucceededProvisioningState(pipeline.ProvisioningState)) + { + string errorMessage = pipeline.Properties == null + ? string.Empty + : pipeline.Properties.ErrorMessage; + throw new ProvisioningFailedException(errorMessage); + } }; if (parameters.Force) @@ -225,14 +233,6 @@ public virtual PSPipeline CreatePSPipeline(CreatePSPipelineParameters parameters createPipeline); } - if (!DataFactoryCommonUtilities.IsSucceededProvisioningState(pipeline.ProvisioningState)) - { - string errorMessage = pipeline.Properties == null - ? string.Empty - : pipeline.Properties.ErrorMessage; - throw new ProvisioningFailedException(errorMessage); - } - return pipeline; } diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Tables.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Tables.cs index 504ce3daf71e..9532d0cec903 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Tables.cs +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.Tables.cs @@ -130,6 +130,14 @@ public virtual PSTable CreatePSTable(CreatePSTableParameters parameters) ResourceGroupName = parameters.ResourceGroupName, DataFactoryName = parameters.DataFactoryName }; + + if (!DataFactoryCommonUtilities.IsSucceededProvisioningState(table.ProvisioningState)) + { + string errorMessage = table.Properties == null + ? string.Empty + : table.Properties.ErrorMessage; + throw new ProvisioningFailedException(errorMessage); + } }; if (parameters.Force) @@ -158,14 +166,6 @@ public virtual PSTable CreatePSTable(CreatePSTableParameters parameters) createTable); } - if (!DataFactoryCommonUtilities.IsSucceededProvisioningState(table.ProvisioningState)) - { - string errorMessage = table.Properties == null - ? string.Empty - : table.Properties.ErrorMessage; - throw new ProvisioningFailedException(errorMessage); - } - return table; } diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.cs b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.cs index 9de6c60116c6..3b81cd161286 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.cs +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/Models/DataFactoryClient.cs @@ -15,13 +15,13 @@ using System.IO; using Microsoft.Azure.Management.DataFactories; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.Azure.Commands.DataFactories.Properties; using System; using Microsoft.WindowsAzure.Storage.Blob; using Microsoft.WindowsAzure.Storage; using System.Net; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.Azure.Commands.DataFactories { diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories/packages.config b/src/ResourceManager/DataFactories/Commands.DataFactories/packages.config index b8e25f318f05..f7316263c202 100644 --- a/src/ResourceManager/DataFactories/Commands.DataFactories/packages.config +++ b/src/ResourceManager/DataFactories/Commands.DataFactories/packages.config @@ -1,18 +1,18 @@  - - + + + - - + - + - + \ No newline at end of file diff --git a/src/ResourceManager/Insights/Commands.Insights.Test/Commands.Insights.Test.csproj b/src/ResourceManager/Insights/Commands.Insights.Test/Commands.Insights.Test.csproj new file mode 100644 index 000000000000..8e0a887ddec1 --- /dev/null +++ b/src/ResourceManager/Insights/Commands.Insights.Test/Commands.Insights.Test.csproj @@ -0,0 +1,191 @@ + + + + + + Debug + AnyCPU + {469F20E0-9D40-41AD-94C3-B47AD15A4C00} + Library + Properties + Microsoft.Azure.Commands.Insights.Test + Microsoft.Azure.Commands.Insights.Test + v4.5 + 512 + + ..\..\..\ + true + {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + 944f727b + + + true + MSSharedLibKey.snk + true + true + false + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + bin\Release\ + TRACE;SIGN + true + pdbonly + AnyCPU + prompt + false + + + + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll + + + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll + + + False + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + + + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll + + + ..\..\..\packages\Microsoft.Azure.Insights.0.7.1-preview\lib\net45\Microsoft.Azure.Insights.dll + + + False + ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll + + + False + ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll + + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + + + 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 + + + False + ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll + + + ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.5.0.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll + + + ..\..\..\packages\WindowsAzure.Storage.4.0.0\lib\net40\Microsoft.WindowsAzure.Storage.dll + + + False + ..\..\..\packages\Moq.4.2.1402.2112\lib\net40\Moq.dll + + + False + ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll + + + + + False + C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\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 + + + + + + + False + ..\..\..\packages\xunit.1.9.2\lib\net20\xunit.dll + + + False + ..\..\..\packages\xunit.extensions.1.9.2\lib\net20\xunit.extensions.dll + + + + + + + + + + + + + + {c1bda476-a5cc-4394-914d-48b0ec31a710} + Commands.ScenarioTests.Common + + + {3b48a77b-5956-4a62-9081-92ba04b02b27} + Commands.Common.Test + + + {5ee72c53-1720-4309-b54b-5fb79703195f} + Commands.Common + + + {DEA446A1-84E2-46CC-B780-EB4AFDE2460E} + Commands.Insights + + + + + + + + + + + + + + + + + + xcopy "$(SolutionDir)Package\$(ConfigurationName)\*.*" $(TargetDir) /Y /E + + + + 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/ResourceManager/Insights/Commands.Insights.Test/Events/GetAzureCorrelationIdLogCommandTests.cs b/src/ResourceManager/Insights/Commands.Insights.Test/Events/GetAzureCorrelationIdLogCommandTests.cs new file mode 100644 index 000000000000..ab1571208e95 --- /dev/null +++ b/src/ResourceManager/Insights/Commands.Insights.Test/Events/GetAzureCorrelationIdLogCommandTests.cs @@ -0,0 +1,86 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Threading; +using System.Threading.Tasks; +using Microsoft.Azure.Insights; +using Microsoft.Azure.Insights.Models; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using Xunit; + +namespace Microsoft.Azure.Commands.Insights.Test.Events +{ + public class GetAzureCorrelationIdLogCommandTests + { + private readonly GetAzureCorrelationIdLogCommand cmdlet; + + private readonly Mock insightsClientMock; + + private readonly Mock insightsEventOperationsMock; + + private Mock commandRuntimeMock; + + private EventDataListResponse response; + + private string filter; + private string selected; + + public GetAzureCorrelationIdLogCommandTests() + { + insightsEventOperationsMock = new Mock(); + insightsClientMock = new Mock(); + commandRuntimeMock = new Mock(); + cmdlet = new GetAzureCorrelationIdLogCommand() + { + CommandRuntime = commandRuntimeMock.Object, + InsightsClient = insightsClientMock.Object + }; + + response = Utilities.InitializeResponse(); + + insightsEventOperationsMock.Setup(f => f.ListEventsAsync(It.IsAny(), It.IsAny(), It.IsAny())) + .Returns(Task.FromResult(response)) + .Callback((string f, string s, CancellationToken t) => + { + filter = f; + selected = s; + }); + + insightsClientMock.SetupGet(f => f.EventOperations).Returns(this.insightsEventOperationsMock.Object); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void GetAzureCorrelationIdLogCommandParametersProcessing() + { + var startDate = DateTime.Now.AddSeconds(-1); + + // Setting required parameter + cmdlet.CorrelationId = Utilities.Correlation; + + Utilities.ExecuteVerifications( + cmdlet: cmdlet, + insinsightsEventOperationsMockightsClientMock: this.insightsEventOperationsMock, + requiredFieldName: "correlationId", + requiredFieldValue: Utilities.Correlation, + filter: ref this.filter, + selected: ref this.selected, + startDate: startDate, + response: response); + } + } +} diff --git a/src/ResourceManager/Insights/Commands.Insights.Test/Events/GetAzureResourceGroupLogCommandTests.cs b/src/ResourceManager/Insights/Commands.Insights.Test/Events/GetAzureResourceGroupLogCommandTests.cs new file mode 100644 index 000000000000..5d997b509c58 --- /dev/null +++ b/src/ResourceManager/Insights/Commands.Insights.Test/Events/GetAzureResourceGroupLogCommandTests.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. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Management.Automation; +using System.Net; +using System.Threading; +using System.Threading.Tasks; +using Microsoft.Azure.Commands.Insights; +using Microsoft.Azure.Commands.Insights.OutputClasses; +using Microsoft.Azure.Commands.Insights.Test.Events; +using Microsoft.Azure.Insights; +using Microsoft.Azure.Insights.Models; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using Xunit; + +namespace Microsoft.Azure.Commands.Resources.Test +{ + public class GetAzureResourceGroupLogCommandTests + { + private GetAzureResourceGroupLogCommand cmdlet; + + private readonly Mock insightsClientMock; + + private readonly Mock insightsEventOperationsMock; + + private Mock commandRuntimeMock; + + private EventDataListResponse response; + + private string filter; + private string selected; + + public GetAzureResourceGroupLogCommandTests() + { + insightsEventOperationsMock = new Mock(); + insightsClientMock = new Mock(); + commandRuntimeMock = new Mock(); + cmdlet = new GetAzureResourceGroupLogCommand() + { + CommandRuntime = commandRuntimeMock.Object, + InsightsClient = insightsClientMock.Object + }; + + response = Utilities.InitializeResponse(); + + insightsEventOperationsMock.Setup(f => f.ListEventsAsync(It.IsAny(), It.IsAny(), It.IsAny())) + .Returns(Task.FromResult(response)) + .Callback((string f, string s, CancellationToken t) => + { + filter = f; + selected = s; + }); + + insightsClientMock.SetupGet(f => f.EventOperations).Returns(this.insightsEventOperationsMock.Object); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void GetAzureResourceGroupLogCommandParametersProcessing() + { + var startDate = DateTime.Now.AddSeconds(-1); + + // Setting required parameter + cmdlet.ResourceGroup = Utilities.ResourceGroup; + + Utilities.ExecuteVerifications( + cmdlet: cmdlet, + insinsightsEventOperationsMockightsClientMock: this.insightsEventOperationsMock, + requiredFieldName: "resourceGroupName", + requiredFieldValue: Utilities.ResourceGroup, + filter: ref this.filter, + selected: ref this.selected, + startDate: startDate, + response: response); + } + } +} diff --git a/src/ResourceManager/Insights/Commands.Insights.Test/Events/GetAzureResourceLogCommandTests.cs b/src/ResourceManager/Insights/Commands.Insights.Test/Events/GetAzureResourceLogCommandTests.cs new file mode 100644 index 000000000000..5d63c0c559be --- /dev/null +++ b/src/ResourceManager/Insights/Commands.Insights.Test/Events/GetAzureResourceLogCommandTests.cs @@ -0,0 +1,89 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using System.Net; +using System.Threading; +using System.Threading.Tasks; +using Microsoft.Azure.Commands.Insights.OutputClasses; +using Microsoft.Azure.Insights; +using Microsoft.Azure.Insights.Models; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using Xunit; + +namespace Microsoft.Azure.Commands.Insights.Test.Events +{ + public class GetAzureResourceLogCommandTests + { + private readonly GetAzureResourceLogCommand cmdlet; + + private readonly Mock insightsClientMock; + + private readonly Mock insightsEventOperationsMock; + + private Mock commandRuntimeMock; + + private EventDataListResponse response; + + private string filter; + private string selected; + + public GetAzureResourceLogCommandTests() + { + insightsEventOperationsMock = new Mock(); + insightsClientMock = new Mock(); + commandRuntimeMock = new Mock(); + cmdlet = new GetAzureResourceLogCommand() + { + CommandRuntime = commandRuntimeMock.Object, + InsightsClient = insightsClientMock.Object + }; + + response = Utilities.InitializeResponse(); + + insightsEventOperationsMock.Setup(f => f.ListEventsAsync(It.IsAny(), It.IsAny(), It.IsAny())) + .Returns(Task.FromResult(response)) + .Callback((string f, string s, CancellationToken t) => + { + filter = f; + selected = s; + }); + + insightsClientMock.SetupGet(f => f.EventOperations).Returns(this.insightsEventOperationsMock.Object); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void GetAzureResourceLogCommandParametersProcessing() + { + var startDate = DateTime.Now.AddSeconds(-1); + + // Setting required parameter + cmdlet.ResourceId = Utilities.ResourceUri; + + Utilities.ExecuteVerifications( + cmdlet: cmdlet, + insinsightsEventOperationsMockightsClientMock: this.insightsEventOperationsMock, + requiredFieldName: "resourceUri", + requiredFieldValue: Utilities.ResourceUri, + filter: ref this.filter, + selected: ref this.selected, + startDate: startDate, + response: response); + } + } +} diff --git a/src/ResourceManager/Insights/Commands.Insights.Test/Events/GetAzureResourceProviderLogCommandTests.cs b/src/ResourceManager/Insights/Commands.Insights.Test/Events/GetAzureResourceProviderLogCommandTests.cs new file mode 100644 index 000000000000..61fc7fee77dd --- /dev/null +++ b/src/ResourceManager/Insights/Commands.Insights.Test/Events/GetAzureResourceProviderLogCommandTests.cs @@ -0,0 +1,89 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using System.Net; +using System.Threading; +using System.Threading.Tasks; +using Microsoft.Azure.Commands.Insights.OutputClasses; +using Microsoft.Azure.Insights; +using Microsoft.Azure.Insights.Models; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using Xunit; + +namespace Microsoft.Azure.Commands.Insights.Test.Events +{ + public class GetAzureResourceProviderLogCommandTests + { + private readonly GetAzureResourceProviderLogCommand cmdlet; + + private readonly Mock insightsClientMock; + + private readonly Mock insightsEventOperationsMock; + + private Mock commandRuntimeMock; + + private EventDataListResponse response; + + private string filter; + private string selected; + + public GetAzureResourceProviderLogCommandTests() + { + insightsEventOperationsMock = new Mock(); + insightsClientMock = new Mock(); + commandRuntimeMock = new Mock(); + cmdlet = new GetAzureResourceProviderLogCommand() + { + CommandRuntime = commandRuntimeMock.Object, + InsightsClient = insightsClientMock.Object + }; + + response = Utilities.InitializeResponse(); + + insightsEventOperationsMock.Setup(f => f.ListEventsAsync(It.IsAny(), It.IsAny(), It.IsAny())) + .Returns(Task.FromResult(response)) + .Callback((string f, string s, CancellationToken t) => + { + filter = f; + selected = s; + }); + + insightsClientMock.SetupGet(f => f.EventOperations).Returns(this.insightsEventOperationsMock.Object); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void GetAzureResourceProviderLogCommandParametersProcessing() + { + var startDate = DateTime.Now.AddSeconds(-1); + + // Setting required parameter + cmdlet.ResourceProvider = Utilities.ResourceProvider; + + Utilities.ExecuteVerifications( + cmdlet: cmdlet, + insinsightsEventOperationsMockightsClientMock: this.insightsEventOperationsMock, + requiredFieldName: "resourceProvider", + requiredFieldValue: Utilities.ResourceProvider, + filter: ref this.filter, + selected: ref this.selected, + startDate: startDate, + response: response); + } + } +} diff --git a/src/ResourceManager/Insights/Commands.Insights.Test/Events/GetAzureSubscriptionIdLogCommandTests.cs b/src/ResourceManager/Insights/Commands.Insights.Test/Events/GetAzureSubscriptionIdLogCommandTests.cs new file mode 100644 index 000000000000..0a7176eae62e --- /dev/null +++ b/src/ResourceManager/Insights/Commands.Insights.Test/Events/GetAzureSubscriptionIdLogCommandTests.cs @@ -0,0 +1,86 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using System.Net; +using System.Threading; +using System.Threading.Tasks; +using Microsoft.Azure.Commands.Insights.OutputClasses; +using Microsoft.Azure.Insights; +using Microsoft.Azure.Insights.Models; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Moq; +using Xunit; + +namespace Microsoft.Azure.Commands.Insights.Test.Events +{ + public class GetAzureSubscriptionIdLogCommandTests + { + private readonly GetAzureSubscriptionIdLogCommand cmdlet; + + private readonly Mock insightsClientMock; + + private readonly Mock insightsEventOperationsMock; + + private Mock commandRuntimeMock; + + private EventDataListResponse response; + + private string filter; + private string selected; + + public GetAzureSubscriptionIdLogCommandTests() + { + insightsEventOperationsMock = new Mock(); + insightsClientMock = new Mock(); + commandRuntimeMock = new Mock(); + cmdlet = new GetAzureSubscriptionIdLogCommand() + { + CommandRuntime = commandRuntimeMock.Object, + InsightsClient = insightsClientMock.Object + }; + + response = Utilities.InitializeResponse(); + + insightsEventOperationsMock.Setup(f => f.ListEventsAsync(It.IsAny(), It.IsAny(), It.IsAny())) + .Returns(Task.FromResult(response)) + .Callback((string f, string s, CancellationToken t) => + { + filter = f; + selected = s; + }); + + insightsClientMock.SetupGet(f => f.EventOperations).Returns(this.insightsEventOperationsMock.Object); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void GetAzureSubscriptionIdLogCommandParametersProcessing() + { + var startDate = DateTime.Now.AddSeconds(-1); + + Utilities.ExecuteVerifications( + cmdlet: cmdlet, + insinsightsEventOperationsMockightsClientMock: this.insightsEventOperationsMock, + requiredFieldName: null, + requiredFieldValue: null, + filter: ref this.filter, + selected: ref this.selected, + startDate: startDate, + response: response); + } + } +} diff --git a/src/ResourceManager/Insights/Commands.Insights.Test/Events/Utilities.cs b/src/ResourceManager/Insights/Commands.Insights.Test/Events/Utilities.cs new file mode 100644 index 000000000000..d2ff45120e6d --- /dev/null +++ b/src/ResourceManager/Insights/Commands.Insights.Test/Events/Utilities.cs @@ -0,0 +1,262 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Net; +using System.Threading; +using System.Threading.Tasks; +using Microsoft.Azure.Commands.Insights.OutputClasses; +using Microsoft.Azure.Insights; +using Microsoft.Azure.Insights.Models; +using Moq; +using Xunit; + +namespace Microsoft.Azure.Commands.Insights.Test.Events +{ + public static class Utilities + { + public static readonly string Caller = "caller"; + public static readonly string Correlation = "correlation"; + public static readonly string ResourceGroup = "resource group"; + public static readonly string ResourceProvider = "Microsoft Resources"; + public static readonly string ResourceUri = "/subscriptions/ffce8037-a374-48bf-901d-dac4e3ea8c09/resourcegroups/foo/deployments/testdeploy"; + public static readonly string Status = "Succeeded"; + + public static readonly string ContinuationToken = "more records"; + + public static EventData CreateFakeEvent() + { + return new EventData() + { + Id = "ac7d2ab5-698a-4c33-9c19-0a93d3d7f527", + EventName = new LocalizableString() + { + LocalizedValue = "Start request", + Value = "Start request", + }, + EventSource = new LocalizableString() + { + LocalizedValue = "Microsoft Resources", + Value = "Microsoft Resources", + }, + Authorization = new SenderAuthorization() + { + Action = "PUT", + Condition = "", + Role = "Sender", + Scope = "None" + }, + Caller = Caller, + Claims = new Dictionary + { + {"aud", "https://management.core.windows.net/"}, + {"iss", "https://sts.windows.net/123456/"}, + {"iat", "h123445"} + }, + CorrelationId = Correlation, + Description = "fake event", + EventChannels = EventChannels.Operation, + Level = EventLevel.Informational, + EventTimestamp = DateTime.Now, + OperationId = "c0f2e85f-efb0-47d0-bf90-f983ec8be91d", + OperationName = new LocalizableString() + { + LocalizedValue = "Microsoft.Resources/subscriptions/resourcegroups/deployments/write", + Value = "Microsoft.Resources/subscriptions/resourcegroups/deployments/write", + }, + Status = new LocalizableString() + { + LocalizedValue = Status, + Value = Status, + }, + SubStatus = new LocalizableString() + { + LocalizedValue = "Created", + Value = "Created", + }, + ResourceGroupName = ResourceGroup, + ResourceProviderName = new LocalizableString() + { + LocalizedValue = ResourceProvider, + Value = ResourceProvider, + }, + ResourceUri = ResourceUri, + HttpRequest = new HttpRequestInfo + { + Uri = "http://path/subscriptions/ffce8037-a374-48bf-901d-dac4e3ea8c09/resourcegroups/foo/deployments/testdeploy", + Method = "PUT", + ClientRequestId = "1234", + ClientIpAddress = "123.123.123.123" + }, + Properties = new Dictionary(), + }; + } + + public static EventDataListResponse InitializeResponse() + { + // This is effectively testing the conversion EventData -> PSEventData internally in the execution of the cmdlet + EventData eventData = Utilities.CreateFakeEvent(); + return new EventDataListResponse() + { + EventDataCollection = new EventDataCollection() + { + Value = new List() + { + eventData, + }, + NextLink = null, + }, + RequestId = Guid.NewGuid().ToString(), + StatusCode = HttpStatusCode.OK + }; + } + + public static void VerifyDetailedOutput(EventCmdletBase cmdlet, ref string selected) + { + // Calling with detailed output + cmdlet.DetailedOutput = true; + cmdlet.ExecuteCmdlet(); + Assert.True(string.Equals(null, selected, StringComparison.OrdinalIgnoreCase), "Incorrect selected clause with detailed output on"); + } + + public static void VerifyContinuationToken(EventDataListResponse response, Mock insinsightsEventOperationsMockightsClientMock, EventCmdletBase cmdlet) + { + // Make sure calls to Next work also + response.EventDataCollection.NextLink = Utilities.ContinuationToken; + var responseNext = new EventDataListResponse() + { + EventDataCollection = new EventDataCollection() + { + Value = new List() + { + Utilities.CreateFakeEvent(), + }, + NextLink = null, + }, + RequestId = Guid.NewGuid().ToString(), + StatusCode = HttpStatusCode.OK + }; + + string nextToken = null; + insinsightsEventOperationsMockightsClientMock.Setup(f => f.ListEventsNextAsync(It.IsAny(), It.IsAny())) + .Returns(Task.FromResult(responseNext)) + .Callback((string n, CancellationToken t) => nextToken = n); + + // Calling without optional parameters + cmdlet.ExecuteCmdlet(); + Assert.True(string.Equals(Utilities.ContinuationToken, nextToken, StringComparison.OrdinalIgnoreCase), "Incorrect continuation token"); + } + + public static void VerifyFilterIsUsable(string filter) + { + Assert.NotNull(filter); + Assert.False(string.IsNullOrWhiteSpace(filter)); + } + + public static void VerifyConditionInFilter(string filter, string field, string value) + { + if (!string.IsNullOrWhiteSpace(field)) + { + var condition = string.Format("and {0} eq '{1}'", field, value); + Assert.True(filter.Contains(condition), "Filter does not contain required condition"); + } + } + + public static void VerifyStartDateInFilter(string filter, DateTime? startDate) + { + var condition = startDate.HasValue ? string.Format("eventTimestamp ge '{0:o}'", startDate.Value.ToUniversalTime()) : string.Format("eventTimestamp ge '"); + Assert.True(filter.Contains(condition), "Filter does not contain start date condition"); + } + + public static void VerifyEndDateInFilter(string filter, DateTime endDate) + { + var condition = string.Format(" and eventTimestamp le '{0:o}'", endDate.ToUniversalTime()); + Assert.True(filter.Contains(condition), "Filter does not contain end date condition"); + } + + public static void VerifyCallerInCall(string filter, DateTime? startDate, string filedName, string fieldValue) + { + VerifyFilterIsUsable(filter: filter); + VerifyStartDateInFilter(filter: filter, startDate: startDate); + VerifyConditionInFilter(filter: filter, field: filedName, value: fieldValue); + VerifyConditionInFilter(filter: filter, field: "caller", value: Utilities.Caller); + } + + public static void VerifyStatusAndCallerInCall(string filter, DateTime? startDate, string filedName, string fieldValue) + { + VerifyFilterIsUsable(filter: filter); + VerifyStartDateInFilter(filter: filter, startDate: startDate); + VerifyConditionInFilter(filter: filter, field: filedName, value: fieldValue); + VerifyConditionInFilter(filter: filter, field: "caller", value: Utilities.Caller); + VerifyConditionInFilter(filter: filter, field: "status", value: Utilities.Status); + } + + public static void ExecuteVerifications(EventCmdletBase cmdlet, Mock insinsightsEventOperationsMockightsClientMock, string requiredFieldName, string requiredFieldValue, ref string filter, ref string selected, DateTime startDate, EventDataListResponse response) + { + // Calling without optional parameters + cmdlet.ExecuteCmdlet(); + + VerifyFilterIsUsable(filter: filter); + VerifyStartDateInFilter(filter: filter, startDate: null); + VerifyConditionInFilter(filter: filter, field: requiredFieldName, value: requiredFieldValue); + Assert.True(string.Equals(PSEventDataNoDetails.SelectedFieldsForQuery, selected, StringComparison.OrdinalIgnoreCase), "Incorrect selected clause without optional parameters"); + + // Calling with only start date + cmdlet.StartTime = startDate; + cmdlet.ExecuteCmdlet(); + + VerifyFilterIsUsable(filter: filter); + VerifyStartDateInFilter(filter: filter, startDate: startDate); + VerifyConditionInFilter(filter: filter, field: requiredFieldName, value: requiredFieldValue); + + // Calling with only start and end date + cmdlet.EndTime = startDate.AddSeconds(2); + cmdlet.ExecuteCmdlet(); + + VerifyFilterIsUsable(filter: filter); + VerifyStartDateInFilter(filter: filter, startDate: startDate); + VerifyEndDateInFilter(filter: filter, endDate: startDate.AddSeconds(2)); + VerifyConditionInFilter(filter: filter, field: requiredFieldName, value: requiredFieldValue); + + // Calling with only caller + cmdlet.EndTime = null; + cmdlet.Caller = Utilities.Caller; + cmdlet.ExecuteCmdlet(); + + VerifyCallerInCall(filter: filter, startDate: startDate, filedName: requiredFieldName, fieldValue: requiredFieldValue); + + // Calling with caller and status + cmdlet.Status = Utilities.Status; + cmdlet.ExecuteCmdlet(); + + VerifyStatusAndCallerInCall(filter: filter, startDate: startDate, filedName: requiredFieldName, fieldValue: requiredFieldValue); + + VerifyDetailedOutput(cmdlet: cmdlet, selected: ref selected); + VerifyContinuationToken(response: response, insinsightsEventOperationsMockightsClientMock: insinsightsEventOperationsMockightsClientMock, cmdlet: cmdlet); + + // Execute negative tests + cmdlet.StartTime = DateTime.Now.AddSeconds(1); + Assert.Throws(() => cmdlet.ExecuteCmdlet()); + + cmdlet.StartTime = DateTime.Now.Subtract(TimeSpan.FromSeconds(20)); + cmdlet.EndTime = DateTime.Now.Subtract(TimeSpan.FromSeconds(21)); + Assert.Throws(() => cmdlet.ExecuteCmdlet()); + + cmdlet.StartTime = DateTime.Now.Subtract(TimeSpan.FromDays(30)); + cmdlet.EndTime = DateTime.Now.Subtract(TimeSpan.FromDays(14)); + Assert.Throws(() => cmdlet.ExecuteCmdlet()); + } + } +} diff --git a/src/Common/Azure.Common.Extensions/MSSharedLibKey.snk b/src/ResourceManager/Insights/Commands.Insights.Test/MSSharedLibKey.snk similarity index 100% rename from src/Common/Azure.Common.Extensions/MSSharedLibKey.snk rename to src/ResourceManager/Insights/Commands.Insights.Test/MSSharedLibKey.snk diff --git a/src/ResourceManager/Insights/Commands.Insights.Test/Properties/AssemblyInfo.cs b/src/ResourceManager/Insights/Commands.Insights.Test/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..718ebd6617c3 --- /dev/null +++ b/src/ResourceManager/Insights/Commands.Insights.Test/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Reflection; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Microsoft.Azure.Commands.Resources.Test")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Microsoft.Azure.Commands.Resources.Test")] +[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +[assembly: ComVisible(false)] + +[assembly: Guid("5802D147-3EE9-4352-A0B1-1C16B6DBCA7C")] + +[assembly: AssemblyVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyVersion)] +[assembly: AssemblyFileVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyFileVersion)] diff --git a/src/ResourceManager/Insights/Commands.Insights.Test/packages.config b/src/ResourceManager/Insights/Commands.Insights.Test/packages.config new file mode 100644 index 000000000000..73dd103597d3 --- /dev/null +++ b/src/ResourceManager/Insights/Commands.Insights.Test/packages.config @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ResourceManager/Insights/Commands.Insights/Commands.Insights.csproj b/src/ResourceManager/Insights/Commands.Insights/Commands.Insights.csproj new file mode 100644 index 000000000000..80aac33e258f --- /dev/null +++ b/src/ResourceManager/Insights/Commands.Insights/Commands.Insights.csproj @@ -0,0 +1,132 @@ + + + + + Debug + AnyCPU + {DEA446A1-84E2-46CC-B780-EB4AFDE2460E} + Library + Properties + Microsoft.Azure.Commands.Insights + Microsoft.Azure.Commands.Insights + v4.5 + 512 + ..\..\..\ + true + + + AnyCPU + true + full + false + ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\Insights\ + DEBUG;TRACE + prompt + 4 + true + false + true + + + AnyCPU + pdbonly + true + ..\..\..\Package\Release\ResourceManager\AzureResourceManager\Insights\ + TRACE + prompt + 4 + true + true + MSSharedLibKey.snk + true + false + + + + False + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll + + + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll + + + False + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + + + False + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll + + + ..\..\..\packages\Microsoft.Azure.Insights.0.7.1-preview\lib\net45\Microsoft.Azure.Insights.dll + + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + + + ..\..\..\packages\WindowsAzure.Storage.4.0.0\lib\net40\Microsoft.WindowsAzure.Storage.dll + + + + + + + + + + + + + + + + + + + + + + + + + + Designer + + + + + {5ee72c53-1720-4309-b54b-5fb79703195f} + Commands.Common + + + + + PreserveNewest + + + + + + + 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/ResourceManager/Insights/Commands.Insights/EventCmdletBase.cs b/src/ResourceManager/Insights/Commands.Insights/EventCmdletBase.cs new file mode 100644 index 000000000000..c0810cc306c5 --- /dev/null +++ b/src/ResourceManager/Insights/Commands.Insights/EventCmdletBase.cs @@ -0,0 +1,198 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Globalization; +using System.Linq; +using System.Management.Automation; +using System.Threading; +using Microsoft.Azure.Commands.Insights.OutputClasses; +using Microsoft.Azure.Insights.Models; + +namespace Microsoft.Azure.Commands.Insights +{ + /// + /// Base class for the Azure SDK EventService Cmdlets + /// + public abstract class EventCmdletBase : InsightsCmdletBase + { + private static readonly TimeSpan MaximumDateDifferenceAllowedInDays = TimeSpan.FromDays(15); + private static readonly TimeSpan DefaultQueryTimeRange = TimeSpan.FromHours(1); + private const int MaxNumberOfReturnedRecords = 100000; + + internal const string SubscriptionLevelName = "Query at subscription level"; + internal const string ResourceProviderName = "Query on ResourceProvider"; + internal const string ResourceGroupName = "Query on ResourceGroupProvider"; + internal const string ResourceUriName = "Query on ResourceUriName"; + internal const string CorrelationIdName = "Query on CorrelationId"; + + #region Optional parameters declarations + + /// + /// Gets or sets the starttime parameter of the cmdlet + /// + [Parameter(ValueFromPipelineByPropertyName = true, HelpMessage = "The startTime of the query")] + public DateTime? StartTime { get; set; } + + /// + /// Gets or sets the endtime parameter of the cmdlet + /// + [Parameter(ValueFromPipelineByPropertyName = true, HelpMessage = "The endTime of the query")] + public DateTime? EndTime { get; set; } + + /// + /// Gets or sets the status parameter of the cmdlet + /// + [Parameter(ValueFromPipelineByPropertyName = true, HelpMessage = "The status of the records to fetch")] + [ValidateNotNullOrEmpty] + public string Status { get; set; } + + /// + /// Gets or sets the caller parameter of the cmdlet + /// + [Parameter(ValueFromPipelineByPropertyName = true, HelpMessage = "The caller of the records to fetch")] + [ValidateNotNullOrEmpty] + public string Caller { get; set; } + + /// + /// Gets or sets the detailedoutput parameter of the cmdlet + /// + [Parameter(ValueFromPipelineByPropertyName = true, HelpMessage = "Return object with all the details of the records (the default is to return only some attributes, i.e. no detail)")] + public SwitchParameter DetailedOutput { get; set; } + + #endregion + + #region Parameters processing + + /// + /// Adds a condition to the query filter based on the give name and the value + /// + /// The current query filter + /// The name to be used in the new condition + /// The value to be used in the new condition.If this value is null, the currentQueryFilter is returned unmodified. + /// + protected string AddConditionIfPResent(string currentQueryFilter, string name, string value) + { + return !string.IsNullOrWhiteSpace(value) ? string.Format("{0} and {1} eq '{2}'", currentQueryFilter, name, value) : currentQueryFilter; + } + + /// + /// Gets the default query time range + /// + /// The default query time range for this class + protected virtual TimeSpan GetDefaultQueryTimeRange() + { + return DefaultQueryTimeRange; + } + + /// + /// Validates that the range of dates (start / end) makes sense, it is not to great (less 15 days), and adds the defaul values if needed + /// + /// A query filter string with the time conditions + private string ValidateDateTimeRangeAndAdddefaults() + { + // EndTime is optional + DateTime endTime = this.EndTime.HasValue ? this.EndTime.Value : DateTime.Now; + + // StartTime is optional + DateTime startTime = this.StartTime.HasValue ? this.StartTime.Value : endTime.Subtract(this.GetDefaultQueryTimeRange()); + + // Check the value of StartTime + if (startTime > DateTime.Now) + { + throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, "StartDate {0:o} is invalid. It is later than Now: {1:o}", startTime, DateTime.Now)); + } + + // Check that the dateTime range makes sense + if (endTime < startTime) + { + throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, "EndDate {0:o} is earlier than StartDate {1:o}", endTime, startTime)); + } + + // Validate start and end dates difference is reasonable (<= MaximumDateDifferenceAllowedInDays) + var dateDifference = endTime.Subtract(startTime); + if (dateDifference > MaximumDateDifferenceAllowedInDays) + { + throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, "Start and end dates are too far appart. Separation {0} days. Maximum allowed {1} days", dateDifference.TotalDays, MaximumDateDifferenceAllowedInDays.TotalDays)); + } + + return string.Format("eventTimestamp ge '{0:o}' and eventTimestamp le '{1:o}'", startTime.ToUniversalTime(), endTime.ToUniversalTime()); + } + + /// + /// Process the parameters defined by this class + /// + /// The query filter with the conditions for general parameters (i.e. defined by this class) added + private string ProcessGeneralParameters() + { + string queryFilter = this.ValidateDateTimeRangeAndAdddefaults(); + + // Include the status if present + queryFilter = this.AddConditionIfPResent(queryFilter, "status", this.Status); + + // Include the caller if present + queryFilter = this.AddConditionIfPResent(queryFilter, "caller", this.Caller); + + return queryFilter; + } + + /// + /// Process the general parameters (i.e. defined in this class) and the particular parameters (i.e. the parameters added by the descendants of this class). + /// + /// The final query filter to be used by the cmdlet + protected string ProcessParameters() + { + string queryFilter = this.ProcessGeneralParameters(); + return this.ProcessParticularParameters(queryFilter); + } + + /// + /// Process the parameters defined by the descendants of this class + /// + /// The current query filter + /// The query filter with the conditions for particular parameters added + protected abstract string ProcessParticularParameters(string currentQueryFilter); + + #endregion + + /// + /// Execute the cmdlet + /// + public override void ExecuteCmdlet() + { + string queryFilter = this.ProcessParameters(); + + // Retrieve the records + var fullDetails = this.DetailedOutput.IsPresent; + + // Call the proper API methods to return a list of raw records. In the future this pattern can be extended to include DigestRecords + // If fullDetails is present do not select fields, if not present fetch only the SelectedFieldsForQuery + EventDataListResponse response = this.InsightsClient.EventOperations.ListEventsAsync(filterString: queryFilter, selectedProperties: fullDetails ? null : PSEventDataNoDetails.SelectedFieldsForQuery, cancellationToken: CancellationToken.None).Result; + var records = new List(response.EventDataCollection.Value.Select(e => fullDetails ? (IPSEventData)new PSEventData(e) : (IPSEventData)new PSEventDataNoDetails(e))); + string nextLink = response.EventDataCollection.NextLink; + + // Adding a safety check to stop returning records if too many have been read already. + while (!string.IsNullOrWhiteSpace(nextLink) && records.Count < MaxNumberOfReturnedRecords) + { + response = this.InsightsClient.EventOperations.ListEventsNextAsync(nextLink: nextLink, cancellationToken: CancellationToken.None).Result; + records.AddRange(response.EventDataCollection.Value.Select(e => fullDetails ? (IPSEventData)new PSEventData(e) : (IPSEventData)new PSEventDataNoDetails(e))); + nextLink = response.EventDataCollection.NextLink; + } + + // Returns an object that contains a link to the set of subsequent records or null if not more records are available, called Next, and an array of records, called Value + WriteObject(sendToPipeline: records, enumerateCollection: true); + } + } +} diff --git a/src/ResourceManager/Insights/Commands.Insights/GetAzureCorrelationIdLogCommand.cs b/src/ResourceManager/Insights/Commands.Insights/GetAzureCorrelationIdLogCommand.cs new file mode 100644 index 000000000000..2fbf6d39743a --- /dev/null +++ b/src/ResourceManager/Insights/Commands.Insights/GetAzureCorrelationIdLogCommand.cs @@ -0,0 +1,44 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.Insights.OutputClasses; + +namespace Microsoft.Azure.Commands.Insights +{ + /// + /// Get the list of events for at a CorrelationId level. + /// + [Cmdlet(VerbsCommon.Get, "AzureCorrelationIdLog"), OutputType(typeof(List))] + public class GetAzureCorrelationIdLogCommand : EventCmdletBase + { + /// + /// Gets or sets the correlationId of the cmdlet + /// + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "CorrelationId")] + [ValidateNotNullOrEmpty] + public string CorrelationId { get; set; } + + /// + /// Process the parameters defined by this class (a.k.a. particular parameters) + /// + /// The current query filter + /// The query filter with the conditions for particular parameters added + protected override string ProcessParticularParameters(string currentQueryFilter) + { + return this.AddConditionIfPResent(currentQueryFilter, "correlationId", this.CorrelationId); + } + } +} diff --git a/src/ResourceManager/Insights/Commands.Insights/GetAzureResourceGroupLogCommand.cs b/src/ResourceManager/Insights/Commands.Insights/GetAzureResourceGroupLogCommand.cs new file mode 100644 index 000000000000..5110f881fd00 --- /dev/null +++ b/src/ResourceManager/Insights/Commands.Insights/GetAzureResourceGroupLogCommand.cs @@ -0,0 +1,44 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.Insights.OutputClasses; + +namespace Microsoft.Azure.Commands.Insights +{ + /// + /// Get the list of events for at a ResourceGroup level. + /// + [Cmdlet(VerbsCommon.Get, "AzureResourceGroupLog"), OutputType(typeof(List))] + public class GetAzureResourceGroupLogCommand : EventCmdletBase + { + /// + /// Gets or sets the resourcegroup parameters of this cmdlet + /// + [Parameter(Position = 0, ParameterSetName = ResourceGroupName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "ResourceGroup name")] + [ValidateNotNullOrEmpty] + public string ResourceGroup { get; set; } + + /// + /// Process the parameters defined by this class (a.k.a. particular parameters) + /// + /// The current query filter + /// The query filter with the conditions for particular parameters added + protected override string ProcessParticularParameters(string currentQueryFilter) + { + return this.AddConditionIfPResent(currentQueryFilter, "resourceGroupName", this.ResourceGroup); + } + } +} diff --git a/src/ResourceManager/Insights/Commands.Insights/GetAzureResourceLogCommand.cs b/src/ResourceManager/Insights/Commands.Insights/GetAzureResourceLogCommand.cs new file mode 100644 index 000000000000..0e0a9a5a187f --- /dev/null +++ b/src/ResourceManager/Insights/Commands.Insights/GetAzureResourceLogCommand.cs @@ -0,0 +1,46 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.Insights.OutputClasses; + +namespace Microsoft.Azure.Commands.Insights +{ + /// + /// Get the list of events for at a Resource level. + /// + [Cmdlet(VerbsCommon.Get, "AzureResourceLog"), OutputType(typeof(List))] + public class GetAzureResourceLogCommand : EventCmdletBase + { + /// + /// Gets or sets the resourceId parameter of the cmdlet + /// + [Parameter(Position = 0, ParameterSetName = ResourceUriName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "ResourceId")] + [ValidateNotNullOrEmpty] + public string ResourceId { get; set; } + + /// + /// Process the parameters defined by this class (a.k.a. particular parameters) + /// + /// The current query filter + /// The query filter with the conditions for particular parameters added + protected override string ProcessParticularParameters(string currentQueryFilter) + { + // Notice the different name in the condition (resourceUri) and the parameter (resourceId) + // The difference is intentional as the new directive is to use ResourceId everywhere, but the SDK still uses resourceUri + return this.AddConditionIfPResent(currentQueryFilter, "resourceUri", this.ResourceId); + } + } +} diff --git a/src/ResourceManager/Insights/Commands.Insights/GetAzureResourceProviderLogCommand.cs b/src/ResourceManager/Insights/Commands.Insights/GetAzureResourceProviderLogCommand.cs new file mode 100644 index 000000000000..595d7864f7b1 --- /dev/null +++ b/src/ResourceManager/Insights/Commands.Insights/GetAzureResourceProviderLogCommand.cs @@ -0,0 +1,44 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.Insights.OutputClasses; + +namespace Microsoft.Azure.Commands.Insights +{ + /// + /// Get the list of events for at a ResourceProvider level. + /// + [Cmdlet(VerbsCommon.Get, "AzureResourceProviderLog"), OutputType(typeof(List))] + public class GetAzureResourceProviderLogCommand : EventCmdletBase + { + /// + /// Gets or sets the resourceprovider parameter of the cmdlet + /// + [Parameter(Position = 0, ParameterSetName = ResourceProviderName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "ResourceProvider name")] + [ValidateNotNullOrEmpty] + public string ResourceProvider { get; set; } + + /// + /// Process the parameters defined by this class (a.k.a. particular parameters) + /// + /// The current query filter + /// The query filter with the conditions for particular parameters added + protected override string ProcessParticularParameters(string currentQueryFilter) + { + return this.AddConditionIfPResent(currentQueryFilter, "resourceProvider", this.ResourceProvider); + } + } +} diff --git a/src/ResourceManager/Insights/Commands.Insights/GetAzureSubscriptionIdLogCommand.cs b/src/ResourceManager/Insights/Commands.Insights/GetAzureSubscriptionIdLogCommand.cs new file mode 100644 index 000000000000..f2505369d437 --- /dev/null +++ b/src/ResourceManager/Insights/Commands.Insights/GetAzureSubscriptionIdLogCommand.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 System.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.Insights.OutputClasses; + +namespace Microsoft.Azure.Commands.Insights +{ + /// + /// Get the list of events for at a subscription level. + /// + [Cmdlet(VerbsCommon.Get, "AzureSubscriptionIdLog"), OutputType(typeof(List))] + public class GetAzureSubscriptionIdLogCommand : EventCmdletBase + { + /// + /// Process the parameters defined by this class (a.k.a. particular parameters) + /// + /// The current query filter + /// The query filter with the conditions for particular parameters added + protected override string ProcessParticularParameters(string currentQueryFilter) + { + return currentQueryFilter; + } + } +} diff --git a/src/ResourceManager/Insights/Commands.Insights/InsightsCmdletBase.cs b/src/ResourceManager/Insights/Commands.Insights/InsightsCmdletBase.cs new file mode 100644 index 000000000000..69d3c30254e6 --- /dev/null +++ b/src/ResourceManager/Insights/Commands.Insights/InsightsCmdletBase.cs @@ -0,0 +1,80 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; +using Microsoft.Azure.Insights; +using Microsoft.WindowsAzure.Commands.Utilities.Common; + +namespace Microsoft.Azure.Commands.Insights +{ + /// + /// Base class for the Azure Insights SDK Cmdlets + /// + abstract public class InsightsCmdletBase : AzurePSCmdlet, IDisposable + { + private IInsightsClient insightsClient; + + private bool disposed; + + /// + /// Gets the InsightsClient to use in the Cmdlet + /// + public IInsightsClient InsightsClient + { + get + { + if (this.insightsClient == null) + { + // The premise is that a command to establish a context (like Add-AzureAccount) has been called before this command in order to have a correct CurrentContext + this.insightsClient = AzureSession.ClientFactory.CreateClient(Profile.Context, AzureEnvironment.Endpoint.ResourceManager); + } + + return this.insightsClient; + } + set { this.insightsClient = value; } + } + + /// + /// Dispose method + /// The implementation of IDispose follows the recommeded pattern + /// + public void Dispose() + { + this.Dispose(true); + + // The class is not sealed, so this is here in case a derived class is created + GC.SuppressFinalize(this); + } + + /// + /// Dispose the resources + /// + /// Indicates whether the managed resources should be disposed or not + protected virtual void Dispose(bool disposing) + { + if (!this.disposed) + { + if (this.insightsClient != null) + { + this.insightsClient.Dispose(); + this.insightsClient = null; + } + + this.disposed = true; + } + } + } +} diff --git a/src/ResourceManager/Insights/Commands.Insights/MSSharedLibKey.snk b/src/ResourceManager/Insights/Commands.Insights/MSSharedLibKey.snk new file mode 100644 index 000000000000..695f1b38774e Binary files /dev/null and b/src/ResourceManager/Insights/Commands.Insights/MSSharedLibKey.snk differ diff --git a/src/ResourceManager/Insights/Commands.Insights/Microsoft.Azure.Commands.Insights.dll-Help.xml b/src/ResourceManager/Insights/Commands.Insights/Microsoft.Azure.Commands.Insights.dll-Help.xml new file mode 100644 index 000000000000..01436eac29a0 --- /dev/null +++ b/src/ResourceManager/Insights/Commands.Insights/Microsoft.Azure.Commands.Insights.dll-Help.xml @@ -0,0 +1,1383 @@ + + + + + Get-AzureCorrelationIdLog + + Gets the operations associated with a CorrelationId + + + + + Get + AzureCorrelationIdLog + + + + Gets the operations associated with a CorrelationId. + + + + Get-AzureCorrelationIdLog + + CorrelationId + + Specifies a filter by correlationId. This parameter is mandatory. + + String + + + StartTime + + Specifies the start time of the query in local time. This parameter is optional. +The default is EndTime minus one hour. + + Nullable`1[DateTime] + + + EndTime + + Specifies the end time of the query in local time. This parameter is optional. The default is the current time. +The value must be earlier than StartTime, but not more than 15 days. + + Nullable`1[DateTime] + + + Status + + Specifies a filter by status. This parameter is optional. The fault is an empty string (i.e. no filter) + + String + + + Caller + + Specifies a filter by caller. This parameter is optional. The fault is an empty string (i.e. no filter) + + String + + + DetailedOutput + + If present it indicates that the output will be detailed. This parameter is optional. The default is no (i.e. summarized output.) + + SwitchParameter + + + Profile + + In-memory profile (AzureProfile). + + AzureProfile + + + + + + CorrelationId + + Specifies a filter by correlationId. This parameter is mandatory. + + String + + String + + + + + + StartTime + + Specifies the start time of the query in local time. This parameter is optional. +The default is EndTime minus one hour. + + Nullable`1[DateTime] + + Nullable`1[DateTime] + + + EndTime minus one hour + + + EndTime + + Specifies the end time of the query in local time. This parameter is optional. The default is the current time. +The value must be earlier than StartTime, but not more than 15 days. + + Nullable`1[DateTime] + + Nullable`1[DateTime] + + + Current time + + + Status + + Specifies a filter by status. This parameter is optional. The fault is an empty string (i.e. no filter) + + String + + String + + + + + + Caller + + Specifies a filter by caller. This parameter is optional. The fault is an empty string (i.e. no filter) + + String + + String + + + + + + DetailedOutput + + If present it indicates that the output will be detailed. This parameter is optional. The default is no (i.e. summarized output.) + + SwitchParameter + + SwitchParameter + + + + + + Profile + + In-memory profile (AzureProfile). + + AzureProfile + + AzureProfile + + + + + + + + + None + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: GetAzureCorrelationIdLog -------------------------- + + PS C:\> + + PS C:\>Get-AzureCorrelationIdLog -CorrelationId 60c694d0-e46f-4c12-bed1-9b7aef541c23 + + This command lists all the operations associated to the given CorrelationId that took place in the last hour. + + + + + + + + + + + + + + -------------------------- Example 2: GetAzureCorrelationIdLog with starttime only -------------------------- + + PS C:\> + + PS C:\>Get-AzureCorrelationIdLog -CorrelationId 60c694d0-e46f-4c12-bed1-9b7aef541c23 -StartTime 2015-01-15T04:30:00 + + This command lists all the operations associated to the given CorrelationId that took place on or after 2015-01-01T10:30 local time. + + + + + + + + + + + + + + -------------------------- Example 3: GetAzureCorrelationIdLog with start and end times -------------------------- + + PS C:\> + + PS C:\>Get-AzureCorrelationIdLog -CorrelationId 60c694d0-e46f-4c12-bed1-9b7aef541c23 -StartTime 2015-01-15T04:30:00 -EndTime 2015-01-15T12:30:00 + + This command lists all the operations associated to the given CorrelationId that took place on or after 2015-01-01T10:30 local time, but before 2015-01-01T11:30 local time. + + + + + + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=397618 + + + Get-AzureSubscriptionIdLog + + + + Get-AzureResourceGroupLog + + + + Get-AzureResourceLog + + + + Get-AzureResourceProviderLog + + + + + + + + Get-AzureResourceGroupLog + + Gets the operations associated with a Resource Group + + + + + Get + AzureResourceGroupLog + + + + Gets the operations associated with a Resource Group. + + + + Get-AzureResourceGroupLog + + ResourceGroup + + Specifies a filter by ResourceGroup. This parameter is mandatory. + + String + + + StartTime + + Specifies the start time of the query in local time. This parameter is optional. +The default is EndTime minus one hour. + + Nullable`1[DateTime] + + + EndTime + + Specifies the end time of the query in local time. This parameter is optional. The default is the current time. +The value must be earlier than StartTime, but not more than 15 days. + + Nullable`1[DateTime] + + + Status + + Specifies a filter by status. This parameter is optional. The fault is an empty string (i.e. no filter) + + String + + + Caller + + Specifies a filter by caller. This parameter is optional. The fault is an empty string (i.e. no filter) + + String + + + DetailedOutput + + If present it indicates that the output will be detailed. This parameter is optional. The default is no (i.e. summarized output.) + + SwitchParameter + + + Profile + + In-memory profile (AzureProfile). + + AzureProfile + + + + + + ResourceGroup + + Specifies a filter by ResourceGroup. This parameter is mandatory. + + String + + String + + + + + + StartTime + + Specifies the start time of the query in local time. This parameter is optional. +The default is EndTime minus one hour. + + Nullable`1[DateTime] + + Nullable`1[DateTime] + + + EndTime minus one hour + + + EndTime + + Specifies the end time of the query in local time. This parameter is optional. The default is the current time. +The value must be earlier than StartTime, but not more than 15 days. + + Nullable`1[DateTime] + + Nullable`1[DateTime] + + + Current time + + + Status + + Specifies a filter by status. This parameter is optional. The fault is an empty string (i.e. no filter) + + String + + String + + + + + + Caller + + Specifies a filter by caller. This parameter is optional. The fault is an empty string (i.e. no filter) + + String + + String + + + + + + DetailedOutput + + If present it indicates that the output will be detailed. This parameter is optional. The default is no (i.e. summarized output.) + + SwitchParameter + + SwitchParameter + + + + + + Profile + + In-memory profile (AzureProfile). + + AzureProfile + + AzureProfile + + + + + + + + + None + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: GetAzureResourceGroupLog -------------------------- + + PS C:\> + + PS C:\>Get-AzureResourceGroupLog -ResourceGroup Default-Web-CentralUS + + This command lists all the operations associated to the given Resource Group that took place in the last hour. + + + + + + + + + + + + + + -------------------------- Example 2: GetAzureResourceGroupLog with starttime only -------------------------- + + PS C:\> + + PS C:\>Get-AzureResourceGroupLog -ResourceGroup Default-Web-CentralUS -StartTime 2015-01-01T10:30 + + This command lists all the operations associated to the given Resource Group that took place on or after 2015-01-01T10:30 local time. + + + + + + + + + + + + + + -------------------------- Example 3: GetAzureResourceGroupLog with start and end times -------------------------- + + PS C:\> + + PS C:\>Get-AzureResourceGroupLog -ResourceGroup Default-Web-CentralUS -StartTime 2015-01-01T10:30 -EndTime 2015-01-01T11:30 + + This command lists all the operations associated to the given Resource Group that took place on or after 2015-01-01T10:30 local time, but before 2015-01-01T11:30 local time. + + + + + + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=397618 + + + Get-AzureSubscriptionIdLog + + + + Get-AzureCorrelationIdLog + + + + Get-AzureResourceLog + + + + Get-AzureResourceProviderLog + + + + + + + + Get-AzureResourceLog + + Gets the operations associated with a ResourceId + + + + + Get + AzureResourceLog + + + + Gets the operations associated with a ResourceId. + + + + Get-AzureResourceLog + + ResourceId + + Specifies a filter by ResoruceId. This parameter is mandatory. + + String + + + StartTime + + Specifies the start time of the query in local time. This parameter is optional. +The default is EndTime minus one hour. + + Nullable`1[DateTime] + + + EndTime + + Specifies the end time of the query in local time. This parameter is optional. The default is the current time. +The value must be earlier than StartTime, but not more than 15 days. + + Nullable`1[DateTime] + + + Status + + Specifies a filter by status. This parameter is optional. The fault is an empty string (i.e. no filter) + + String + + + Caller + + Specifies a filter by caller. This parameter is optional. The fault is an empty string (i.e. no filter) + + String + + + DetailedOutput + + If present it indicates that the output will be detailed. This parameter is optional. The default is no (i.e. summarized output.) + + SwitchParameter + + + Profile + + In-memory profile (AzureProfile). + + AzureProfile + + + + + + ResourceId + + Specifies a filter by ResoruceId. This parameter is mandatory. + + String + + String + + + + + + StartTime + + Specifies the start time of the query in local time. This parameter is optional. +The default is EndTime minus one hour. + + Nullable`1[DateTime] + + Nullable`1[DateTime] + + + EndTime minus one hour + + + EndTime + + Specifies the end time of the query in local time. This parameter is optional. The default is the current time. +The value must be earlier than StartTime, but not more than 15 days. + + Nullable`1[DateTime] + + Nullable`1[DateTime] + + + Current time + + + Status + + Specifies a filter by status. This parameter is optional. The fault is an empty string (i.e. no filter) + + String + + String + + + + + + Caller + + Specifies a filter by caller. This parameter is optional. The fault is an empty string (i.e. no filter) + + String + + String + + + + + + DetailedOutput + + If present it indicates that the output will be detailed. This parameter is optional. The default is no (i.e. summarized output.) + + SwitchParameter + + SwitchParameter + + + + + + Profile + + In-memory profile (AzureProfile). + + AzureProfile + + AzureProfile + + + + + + + + + None + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: GetAzureResourceLog -------------------------- + + PS C:\> + + PS C:\>Get-AzureResourceLog -ResourceId /subscriptions/623d50f1-4fa8-4e46-a967-a9214aed43ab/resourcegroups/Default-Web-CentralUS/providers/Microsoft.Web/serverFarms/Default1 + + This command lists all the operations associated to the given ResourceId that took place in the last hour. + + + + + + + + + + + + + + -------------------------- Example 2: GetAzureResourceLog with starttime only -------------------------- + + PS C:\> + + PS C:\>Get-AzureResourceLog -ResourceId /subscriptions/623d50f1-4fa8-4e46-a967-a9214aed43ab/resourcegroups/Default-Web-CentralUS/providers/Microsoft.Web/serverFarms/Default1 -StartTime 2015-01-01T10:30 + + This command lists all the operations associated to the given ResourceId that took place on or after 2015-01-01T10:30 local time. + + + + + + + + + + + + + + -------------------------- Example 3: GetAzureResourceLog with start and end times -------------------------- + + PS C:\> + + PS C:\>Get-AzureResourceLog -ResourceId /subscriptions/623d50f1-4fa8-4e46-a967-a9214aed43ab/resourcegroups/Default-Web-CentralUS/providers/Microsoft.Web/serverFarms/Default1 -StartTime 2015-01-01T10:30 -EndTime 2015-01-01T11:30 + + This command lists all the operations associated to the given ResourceId that took place on or after 2015-01-01T10:30 local time, but before 2015-01-01T11:30 local time. + + + + + + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=397618 + + + Get-AzureSubscriptionIdLog + + + + Get-AzureCorrelationIdLog + + + + Get-AzureResourceGroupLog + + + + Get-AzureResourceProviderLog + + + + + + + + Get-AzureResourceProviderLog + + Gets the operations associated with a Resource Provider + + + + + Get + AzureResourceProviderLog + + + + Gets the operations associated with a Resource Provider. + + + + Get-AzureResourceProviderLog + + ResourceProvider + + Specifies a filter by ResourceProvider. This parameter is mandatory. + + String + + + StartTime + + Specifies the start time of the query in local time. This parameter is optional. +The default is EndTime minus one hour. + + Nullable`1[DateTime] + + + EndTime + + Specifies the end time of the query in local time. This parameter is optional. The default is the current time. +The value must be earlier than StartTime, but not more than 15 days. + + Nullable`1[DateTime] + + + Status + + Specifies a filter by status. This parameter is optional. The fault is an empty string (i.e. no filter) + + String + + + Caller + + Specifies a filter by caller. This parameter is optional. The fault is an empty string (i.e. no filter) + + String + + + DetailedOutput + + If present it indicates that the output will be detailed. This parameter is optional. The default is no (i.e. summarized output.) + + SwitchParameter + + + Profile + + In-memory profile (AzureProfile). + + AzureProfile + + + + + + ResourceProvider + + Specifies a filter by ResourceProvider. This parameter is mandatory. + + String + + String + + + + + + StartTime + + Specifies the start time of the query in local time. This parameter is optional. +The default is EndTime minus one hour. + + Nullable`1[DateTime] + + Nullable`1[DateTime] + + + EndTime minus one hour + + + EndTime + + Specifies the end time of the query in local time. This parameter is optional. The default is the current time. +The value must be earlier than StartTime, but not more than 15 days. + + Nullable`1[DateTime] + + Nullable`1[DateTime] + + + Current time + + + Status + + Specifies a filter by status. This parameter is optional. The fault is an empty string (i.e. no filter) + + String + + String + + + + + + Caller + + Specifies a filter by caller. This parameter is optional. The fault is an empty string (i.e. no filter) + + String + + String + + + + + + DetailedOutput + + If present it indicates that the output will be detailed. This parameter is optional. The default is no (i.e. summarized output.) + + SwitchParameter + + SwitchParameter + + + + + + Profile + + In-memory profile (AzureProfile). + + AzureProfile + + AzureProfile + + + + + + + + + None + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: GetAzureResourceProviderLog -------------------------- + + PS C:\> + + PS C:\>Get-AzureResourceProviderLog -ResourceProvider Microsoft.Web + + This command lists all the operations associated to the given Resource Provider that took place in the last hour. + + + + + + + + + + + + + + -------------------------- Example 2: GetAzureResourceProviderLog with starttime only -------------------------- + + PS C:\> + + PS C:\>Get-AzureResourceProviderLog -ResourceProvider Microsoft.Web -StartTime 2015-01-01T10:30 + + This command lists all the operations associated to the given Resource Provider that took place on or after 2015-01-01T10:30 local time. + + + + + + + + + + + + + + -------------------------- Example 3: GetAzureResourceProviderLog with start and end times -------------------------- + + PS C:\> + + PS C:\>Get-AzureResourceProviderLog -ResourceProvider Microsoft.Web -StartTime 2015-01-01T10:30 -EndTime 2015-01-01T11:30 + + This command lists all the operations associated to the given Resource Provider that took place on or after 2015-01-01T10:30 local time, but before 2015-01-01T11:30 local time. + + + + + + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=397618 + + + Get-AzureSubscriptionIdLog + + + + Get-AzureCorrelationIdLog + + + + Get-AzureResourceGroupLog + + + + Get-AzureResourceLog + + + + + + + + Get-AzureSubscriptionIdLog + + Gets the operations associated with the current subscriptionId + + + + + Get + AzureSubscriptionIdLog + + + + Gets the operations associated with the current subscriptionId. + + + + Get-AzureSubscriptionIdLog + + StartTime + + Specifies the start time of the query in local time. This parameter is optional. +The default is EndTime minus one hour. + + Nullable`1[DateTime] + + + EndTime + + Specifies the end time of the query in local time. This parameter is optional. The default is the current time. +The value must be earlier than StartTime, but not more than 15 days. + + Nullable`1[DateTime] + + + Status + + Specifies a filter by status. This parameter is optional. The fault is an empty string (i.e. no filter) + + String + + + Caller + + Specifies a filter by caller. This parameter is optional. The fault is an empty string (i.e. no filter) + + String + + + DetailedOutput + + If present it indicates that the output will be detailed. This parameter is optional. The default is no (i.e. summarized output.) + + SwitchParameter + + + Profile + + In-memory profile (AzureProfile). + + AzureProfile + + + + + + StartTime + + Specifies the start time of the query in local time. This parameter is optional. +The default is EndTime minus one hour. + + Nullable`1[DateTime] + + Nullable`1[DateTime] + + + + + + EndTime + + Specifies the end time of the query in local time. This parameter is optional. The default is the current time. +The value must be earlier than StartTime, but not more than 15 days. + + Nullable`1[DateTime] + + Nullable`1[DateTime] + + + Current time + + + Status + + Specifies a filter by status. This parameter is optional. The fault is an empty string (i.e. no filter) + + String + + String + + + + + + Caller + + Specifies a filter by caller. This parameter is optional. The fault is an empty string (i.e. no filter) + + String + + String + + + + + + DetailedOutput + + If present it indicates that the output will be detailed. This parameter is optional. The default is no (i.e. summarized output.) + + SwitchParameter + + SwitchParameter + + + + + + Profile + + In-memory profile (AzureProfile). + + AzureProfile + + AzureProfile + + + + + + + + + None + + + + + + + + + + + + + None + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: GetAzureSubscriptionIdLog -------------------------- + + PS C:\> + + PS C:\>Get-AzureSubscriptionIdLog + + This command lists all the operations associated to the user's subscriptionId (see Add-AzureAccount for details) that took place in the last hour. + + + + + + + + + + + + + + -------------------------- Example 2: GetAzureSubscriptionIdLog with starttime only -------------------------- + + PS C:\> + + PS C:\>Get-AzureSubscriptionIdLog -StartTime 2015-01-01T10:30 + + This command lists all the operations associated to the user's subscriptionId (see Add-AzureAccount for details) that took place on or after 2015-01-01T10:30 local time. + + + + + + + + + + + + + + -------------------------- Example 3: GetAzureSubscriptionIdLog with start and end times -------------------------- + + PS C:\> + + PS C:\>Get-AzureSubscriptionIdLog -StartTime 2015-01-01T10:30 -EndTime 2015-01-01T11:30 + + This command lists all the operations associated to the user's subscriptionId (see Add-AzureAccount for details) that took place on or after 2015-01-01T10:30 local time, but before 2015-01-01T11:30 local time. + + + + + + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=397618 + + + Get-AzureCorrelationIdLog + + + + Get-AzureResourceGroupLog + + + + Get-AzureResourceLog + + + + Get-AzureResourceProviderLog + + + + + \ No newline at end of file diff --git a/src/ResourceManager/Insights/Commands.Insights/OutputClasses/IPSEventData.cs b/src/ResourceManager/Insights/Commands.Insights/OutputClasses/IPSEventData.cs new file mode 100644 index 000000000000..05781af2eb7a --- /dev/null +++ b/src/ResourceManager/Insights/Commands.Insights/OutputClasses/IPSEventData.cs @@ -0,0 +1,24 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Insights.OutputClasses +{ + /// + /// Wrapps around the EventData and exposes all the localized strings as invariant/localized properties + /// It is an empty interface to allow for different types of outputs for the cmdlets, i.e. all the specific output types will implement this interface and the base cmdlet always returns lists of this type. + /// + public interface IPSEventData + { + } +} diff --git a/src/ResourceManager/Insights/Commands.Insights/OutputClasses/PSDictionaryElement.cs b/src/ResourceManager/Insights/Commands.Insights/OutputClasses/PSDictionaryElement.cs new file mode 100644 index 000000000000..a9dfbc75f595 --- /dev/null +++ b/src/ResourceManager/Insights/Commands.Insights/OutputClasses/PSDictionaryElement.cs @@ -0,0 +1,54 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.Generic; +using System.Text; + +namespace Microsoft.Azure.Commands.Insights.OutputClasses +{ + /// + /// Wrapps around the IDictionary to provide a better output format for the PS command lets. + /// + public class PSDictionaryElement + { + private IDictionary Content { get; set; } + + /// + /// Initializes a new instance of the PSDictionaryElement class. + /// + /// The input IDictionary + public PSDictionaryElement(IDictionary inputDictionary) + { + this.Content = inputDictionary; + } + + /// + /// A string representation of the contained dictionary + /// + /// A string representation of the contained dictionary + public override string ToString() + { + var output = new StringBuilder(); + if (this.Content != null && this.Content.Count > 0) + { + foreach (var keyValuePair in this.Content) + { + output.AppendLine(); + output.Append(string.Format("{0, -15}: {1}", keyValuePair.Key, keyValuePair.Value)); + } + } + return output.ToString(); + } + } +} diff --git a/src/ResourceManager/Insights/Commands.Insights/OutputClasses/PSEventData.cs b/src/ResourceManager/Insights/Commands.Insights/OutputClasses/PSEventData.cs new file mode 100644 index 000000000000..f318b340a124 --- /dev/null +++ b/src/ResourceManager/Insights/Commands.Insights/OutputClasses/PSEventData.cs @@ -0,0 +1,187 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Insights.Models; + +namespace Microsoft.Azure.Commands.Insights.OutputClasses +{ + /// + /// Wrapps around the EventData and exposes all the localized strings as invariant/localized properties + /// + public class PSEventData : IPSEventData + { + /// + /// Gets or sets the authorization. This is the authorization used by the user who has performed the operation that led to this event. + /// + public PSEventDataAuthorization Authorization { get; set; } + + /// + /// Gets or sets the caller + /// + public string Caller { get; set; } + + /// + /// Gets or sets the claims + /// + public PSDictionaryElement Claims { get; set; } + + /// + /// Gets or sets the correlation Id. The correlation Id is shared among the events that belong to the same deployment. + /// + public string CorrelationId { get; set; } + + /// + /// Gets or sets the description of the event. + /// + public string Description { get; set; } + + /// + /// Gets or sets the event channels. The regular event logs, that you see in the Azure Management Portals, flow through the 'Operation' channel. + /// + public EventChannels EventChannels { get; set; } + + /// + /// Gets or sets the event data Id. This is a unique identifier for an event. + /// + public string EventDataId { get; set; } + + /// + /// Gets or sets the event name. This value should not be confused with OperationName.For practical purposes, OperationName might be more appealing to end users. + /// + public string EventName { get; set; } + + /// + /// Gets or sets the event source. This value indicates the source that generated the event. + /// + public string EventSource { get; set; } + + /// + /// Gets or sets the occurrence time of event + /// + public DateTime EventTimestamp { get; set; } + + /// + /// Gets or sets the HTTP request info. The client IP address of the user who initiated the event is captured as part of the HTTP request info. + /// + public PSEventDataHttpRequest HttpRequest { get; set; } + + /// + /// Gets or sets the Id + /// + public string Id { get; set; } + + /// + /// Gets or sets the event level + /// + public EventLevel Level { get; set; } + + /// + /// Gets or sets the operation id. This value should not be confused with EventName. + /// + public string OperationId { get; set; } + + /// + /// Gets or sets the operation name. + /// + public string OperationName { get; set; } + + /// + /// Gets or sets the property bag + /// + public PSDictionaryElement Properties { get; set; } + + /// + /// Gets or sets the resource group name. (see http://msdn.microsoft.com/en-us/library/azure/dn790546.aspx for more information) + /// + public string ResourceGroupName { get; set; } + + /// + /// Gets or sets the resource provider name. (see http://msdn.microsoft.com/en-us/library/azure/dn790572.aspx for more information) + /// + public string ResourceProviderName { get; set; } + + /// + /// Gets or sets the resource Id (see http://msdn.microsoft.com/en-us/library/azure/dn790569.aspx for more information) + /// + public string ResourceId { get; set; } + + /// + /// Gets or sets the event status. Some typical values are: Started, Succeeded, Failed + /// + public string Status { get; set; } + + /// + /// Gets or sets the event submission time. This value should not be confused eventTimestamp. As there might be a delay between + /// the occurence time of the event, and the time that the event is submitted to the Azure logging infrastructure. + /// + public DateTime SubmissionTimestamp { get; set; } + + /// + /// Gets or sets the Azure subscription Id + /// + public string SubscriptionId { get; set; } + + /// + /// Gets or sets the event sub status. Most of the time, when included, this captures the HTTP status code. + /// + public string SubStatus { get; set; } + + /// + /// Initializes a new instance of the EventData class. + /// + public PSEventData(EventData eventData) + { + this.Authorization = eventData.Authorization != null + ? new PSEventDataAuthorization + { + Action = eventData.Authorization.Action, + Condition = eventData.Authorization.Condition, + Role = eventData.Authorization.Role, + Scope = eventData.Authorization.Scope + } + : null; + this.Caller = eventData.Caller; + this.Claims = new PSDictionaryElement(eventData.Claims); + this.CorrelationId = eventData.CorrelationId; + this.Description = eventData.Description; + this.EventChannels = eventData.EventChannels; + this.EventDataId = eventData.EventDataId; + this.EventName = eventData.EventName.Value; + this.EventSource = eventData.EventSource.Value; + this.EventTimestamp = eventData.EventTimestamp; + this.HttpRequest = eventData.HttpRequest != null + ? new PSEventDataHttpRequest + { + ClientId = eventData.HttpRequest.ClientRequestId, + ClientIpAddress = eventData.HttpRequest.ClientIpAddress, + Method = eventData.HttpRequest.Method, + Url = eventData.HttpRequest.Uri + } + : null; + this.Id = eventData.Id; + this.Level = eventData.Level; + this.OperationId = eventData.OperationId; + this.OperationName = eventData.OperationName.Value; + this.Properties = new PSDictionaryElement(eventData.Properties); + this.ResourceGroupName = eventData.ResourceGroupName; + this.ResourceProviderName = eventData.ResourceProviderName.Value; + this.ResourceId = eventData.ResourceUri; + this.Status = eventData.Status.Value; + this.SubmissionTimestamp = eventData.SubmissionTimestamp; + this.SubscriptionId = eventData.SubscriptionId; + this.SubStatus = eventData.SubStatus.Value; + } + } +} diff --git a/src/ResourceManager/Insights/Commands.Insights/OutputClasses/PSEventDataAuthorization.cs b/src/ResourceManager/Insights/Commands.Insights/OutputClasses/PSEventDataAuthorization.cs new file mode 100644 index 000000000000..17697e479cd7 --- /dev/null +++ b/src/ResourceManager/Insights/Commands.Insights/OutputClasses/PSEventDataAuthorization.cs @@ -0,0 +1,59 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System.Text; + +namespace Microsoft.Azure.Commands.Insights.OutputClasses +{ + /// + /// Wrapps around the EventDataAuthorization to provide a better output format for the PS command lets. + /// + public class PSEventDataAuthorization + { + /// + /// Gets or sets the scope + /// + public string Scope { get; set; } + + /// + /// Gets or sets the action + /// + public string Action { get; set; } + + /// + /// Gets or sets the role + /// + public string Role { get; set; } + + /// + /// Gets or sets the condition + /// + public string Condition { get; set; } + + /// + /// A string representation of the PSEventDataAuthorization + /// + /// A string representation of the PSEventDataAuthorization + public override string ToString() + { + StringBuilder output = new StringBuilder(); + output.AppendLine(); + output.AppendLine("Scope : " + Scope); + output.AppendLine("Action : " + Action); + output.AppendLine("Role : " + Role); + output.Append("Condition : " + Condition); + return output.ToString(); + } + } +} diff --git a/src/ResourceManager/Insights/Commands.Insights/OutputClasses/PSEventDataHttpRequest.cs b/src/ResourceManager/Insights/Commands.Insights/OutputClasses/PSEventDataHttpRequest.cs new file mode 100644 index 000000000000..fe3e979fcfd7 --- /dev/null +++ b/src/ResourceManager/Insights/Commands.Insights/OutputClasses/PSEventDataHttpRequest.cs @@ -0,0 +1,59 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System.Text; + +namespace Microsoft.Azure.Commands.Insights.OutputClasses +{ + /// + /// Wrapps around the EventDataHttpRequest to provide a better output format for the PS command lets. + /// + public class PSEventDataHttpRequest + { + /// + /// Gets or sets the clientId + /// + public string ClientId { get; set; } + + /// + /// Gets or sets the method + /// + public string Method { get; set; } + + /// + /// Gets or sets the url + /// + public string Url { get; set; } + + /// + /// Gets or sets the clientIpAddress + /// + public string ClientIpAddress { get; set; } + + /// + /// A string representation of the PSEventDataHttpRequest + /// + /// A string representation of the PSEventDataHttpRequest + public override string ToString() + { + StringBuilder output = new StringBuilder(); + output.AppendLine(); + output.AppendLine("ClientId : " + ClientId); + output.AppendLine("Method : " + Method); + output.AppendLine("Url : " + Url); + output.Append("ClientIpAddress : " + ClientIpAddress); + return output.ToString(); + } + } +} diff --git a/src/ResourceManager/Insights/Commands.Insights/OutputClasses/PSEventDataNoDetails.cs b/src/ResourceManager/Insights/Commands.Insights/OutputClasses/PSEventDataNoDetails.cs new file mode 100644 index 000000000000..331f22308827 --- /dev/null +++ b/src/ResourceManager/Insights/Commands.Insights/OutputClasses/PSEventDataNoDetails.cs @@ -0,0 +1,111 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Insights.Models; + +namespace Microsoft.Azure.Commands.Insights.OutputClasses +{ + /// + /// Wrapps around the EventData and exposes all the localized strings as invariant/localized properties, but not all the details of the records + /// + public class PSEventDataNoDetails : IPSEventData + { + /// + /// List of fields to be fetched when no details are needed + /// + public static string SelectedFieldsForQuery = "Authorization,Caller,CorrelationId,EventSource,EventTimestamp,OperationName,ResourceGroupName,ResourceUri,Status,SubscriptionId,SubStatus"; + + /// + /// Gets or sets the authorization. This is the authorization used by the user who has performed the operation that led to this event. + /// + public PSEventDataAuthorization Authorization { get; set; } + + /// + /// Gets or sets the caller + /// + public string Caller { get; set; } + + /// + /// Gets or sets the correlation Id. The correlation Id is shared among the events that belong to the same deployment. + /// + public string CorrelationId { get; set; } + + /// + /// Gets or sets the event source. This value indicates the source that generated the event. + /// + public string EventSource { get; set; } + + /// + /// Gets or sets the occurrence time of event + /// + public DateTime EventTimestamp { get; set; } + + /// + /// Gets or sets the operation name. + /// + public string OperationName { get; set; } + + /// + /// Gets or sets the resource group name. (see http://msdn.microsoft.com/en-us/library/azure/dn790546.aspx for more information) + /// + public string ResourceGroupName { get; set; } + + /// + /// Gets or sets the resource Id (see http://msdn.microsoft.com/en-us/library/azure/dn790569.aspx for more information) + /// + public string ResourceId { get; set; } + + /// + /// Gets or sets the event status. Some typical values are: Started, Succeeded, Failed + /// + public string Status { get; set; } + + /// + /// Gets or sets the Azure subscription Id + /// + public string SubscriptionId { get; set; } + + /// + /// Gets or sets the event sub status. Most of the time, when included, this captures the HTTP status code. + /// + public string SubStatus { get; set; } + + /// + /// Initializes a new instance of the EventData class. + /// + public PSEventDataNoDetails(EventData eventData) + { + this.Authorization = eventData.Authorization != null + ? new PSEventDataAuthorization + { + Action = eventData.Authorization.Action, + Condition = eventData.Authorization.Condition, + Role = eventData.Authorization.Role, + Scope = eventData.Authorization.Scope + } + : null; + this.Caller = eventData.Caller; + this.CorrelationId = eventData.CorrelationId; + this.EventSource = eventData.EventSource.Value; + this.EventTimestamp = eventData.EventTimestamp; + this.OperationName = eventData.OperationName.Value; + this.ResourceGroupName = eventData.ResourceGroupName; + this.ResourceId = eventData.ResourceUri; + this.Status = eventData.Status.Value; + this.SubscriptionId = eventData.SubscriptionId; + this.SubStatus = eventData.SubStatus.Value; + } + } +} diff --git a/src/Common/Azure.Common.Extensions/Properties/AssemblyInfo.cs b/src/ResourceManager/Insights/Commands.Insights/Properties/AssemblyInfo.cs similarity index 56% rename from src/Common/Azure.Common.Extensions/Properties/AssemblyInfo.cs rename to src/ResourceManager/Insights/Commands.Insights/Properties/AssemblyInfo.cs index 3883f62d91bf..440f36c15f41 100644 --- a/src/Common/Azure.Common.Extensions/Properties/AssemblyInfo.cs +++ b/src/ResourceManager/Insights/Commands.Insights/Properties/AssemblyInfo.cs @@ -14,15 +14,16 @@ using System; using System.Reflection; +using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -[assembly: AssemblyTitle("Azure Common Extensions")] -[assembly: AssemblyCompany("Microsoft")] -[assembly: AssemblyProduct("Microsoft Azure Libraries")] -[assembly: AssemblyCopyright("Copyright © Microsoft")] +[assembly: AssemblyTitle("Microsoft Azure Powershell - Insights Commands")] +[assembly: AssemblyCompany(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCompany)] +[assembly: AssemblyProduct(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyProduct)] +[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)] [assembly: ComVisible(false)] [assembly: CLSCompliant(false)] -[assembly: Guid("4f3ab2e4-cc7a-43ac-bb15-f481fcf94d58")] -[assembly: AssemblyVersion("0.1.0")] -[assembly: AssemblyFileVersion("0.1.0")] \ No newline at end of file +[assembly: Guid("ed102280-3577-49bf-93dd-11b6e3a44a57")] +[assembly: AssemblyVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyVersion)] +[assembly: AssemblyFileVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyFileVersion)] diff --git a/src/Common/Azure.Common.Extensions/packages.config b/src/ResourceManager/Insights/Commands.Insights/packages.config similarity index 54% rename from src/Common/Azure.Common.Extensions/packages.config rename to src/ResourceManager/Insights/Commands.Insights/packages.config index 56b52b68db88..901c7c3799ec 100644 --- a/src/Common/Azure.Common.Extensions/packages.config +++ b/src/ResourceManager/Insights/Commands.Insights/packages.config @@ -1,18 +1,19 @@  - - + + + + + - - - - + + + + - - - - + + \ No newline at end of file diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Commands.KeyVault.Test.csproj b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Commands.KeyVault.Test.csproj index 9f1989140747..702f81440ed7 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Commands.KeyVault.Test.csproj +++ b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Commands.KeyVault.Test.csproj @@ -49,32 +49,32 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - + False - ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5486.28526-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll + ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll False - ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5486.28526-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll + ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll @@ -86,8 +86,9 @@ ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll False diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/UnitTests/RemoveKeyVaultKeyTests.cs b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/UnitTests/RemoveKeyVaultKeyTests.cs index a6323f9f3180..1f6217bba034 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/UnitTests/RemoveKeyVaultKeyTests.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/UnitTests/RemoveKeyVaultKeyTests.cs @@ -116,11 +116,14 @@ public void ErrorRemvoeKeyWithPassThruTest() cmdlet.Name = KeyName; cmdlet.Force = true; cmdlet.PassThru = true; - cmdlet.ExecuteCmdlet(); + try + { + cmdlet.ExecuteCmdlet(); + } + catch { } - // Assert keyVaultClientMock.VerifyAll(); - commandRuntimeMock.Verify(f => f.WriteError(It.IsAny()), Times.Once()); + commandRuntimeMock.Verify(f => f.WriteObject(It.IsAny()), Times.Never()); } } } diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/UnitTests/RemoveKeyVaultSecretTests.cs b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/UnitTests/RemoveKeyVaultSecretTests.cs index 85938345aafe..f873b1ad9bf4 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/UnitTests/RemoveKeyVaultSecretTests.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/UnitTests/RemoveKeyVaultSecretTests.cs @@ -121,10 +121,14 @@ public void ErrorRemoveSecretWithPassThruTest() cmdlet.Name = SecretName; cmdlet.Force = true; cmdlet.PassThru = true; - cmdlet.ExecuteCmdlet(); + try + { + cmdlet.ExecuteCmdlet(); + } + catch { } keyVaultClientMock.VerifyAll(); - commandRuntimeMock.Verify(f => f.WriteError(It.IsAny()), Times.Once()); + commandRuntimeMock.Verify(f => f.WriteObject(It.IsAny()), Times.Never()); } } } diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/UnitTests/SetKeyVaultKeyTests.cs b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/UnitTests/SetKeyVaultKeyTests.cs index 3ae96085a2ff..c02c1e519b91 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/UnitTests/SetKeyVaultKeyTests.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/UnitTests/SetKeyVaultKeyTests.cs @@ -83,11 +83,15 @@ public void ErrorSetKeyTest() && kt.KeyOps == keyAttributes.KeyOps))) .Throws(new Exception("exception")).Verifiable(); - cmdlet.ExecuteCmdlet(); + try + { + cmdlet.ExecuteCmdlet(); + } + catch { } // Assert keyVaultClientMock.VerifyAll(); - commandRuntimeMock.Verify(f => f.WriteError(It.IsAny()), Times.Once()); + commandRuntimeMock.Verify(f => f.WriteObject(It.IsAny()), Times.Never()); } } } diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/UnitTests/SetKeyVaultSecretTests.cs b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/UnitTests/SetKeyVaultSecretTests.cs index 5017c612786e..f68fda5eccb8 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/UnitTests/SetKeyVaultSecretTests.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/UnitTests/SetKeyVaultSecretTests.cs @@ -67,11 +67,14 @@ public void ErrorSetSecretTest() cmdlet.Name = SecretName; cmdlet.SecretValue = secureSecretValue; - cmdlet.ExecuteCmdlet(); + try + { + cmdlet.ExecuteCmdlet(); + } + catch{} - // Assert keyVaultClientMock.VerifyAll(); - commandRuntimeMock.Verify(f => f.WriteError(It.IsAny()), Times.Once()); + commandRuntimeMock.Verify(f => f.WriteObject(It.IsAny()), Times.Never()); } } } diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/packages.config b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/packages.config index bea4bcaf95a9..4190337c87ed 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/packages.config +++ b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/packages.config @@ -1,18 +1,18 @@  - - + + + - - - + + - + - + diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Client/KeyVaultClient.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Client/KeyVaultClient.cs index 4b70a9cc665b..bec7880ffca5 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Client/KeyVaultClient.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Client/KeyVaultClient.cs @@ -706,7 +706,7 @@ protected virtual async Task EnsureSuccessStatusCode(HttpResponseMessage r Error = new Error() { Code = response.StatusCode.ToString(), - Message = string.Format("HTTP {0} Error: ", response.StatusCode.ToString(), response.ReasonPhrase), + Message = string.Format("HTTP {0} Error: {1}", response.StatusCode.ToString(), response.ReasonPhrase), }, }; } diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands.KeyVault.csproj b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands.KeyVault.csproj index d2496788efdb..74d6b544ce68 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands.KeyVault.csproj +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands.KeyVault.csproj @@ -92,7 +92,6 @@ - @@ -109,17 +108,17 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll False @@ -134,12 +133,12 @@ ..\..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -149,9 +148,9 @@ False ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll False diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/AddAzureKeyVaultKey.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/AddAzureKeyVaultKey.cs index 5eaef08ffa3e..5a4a43fb0394 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/AddAzureKeyVaultKey.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/AddAzureKeyVaultKey.cs @@ -167,37 +167,30 @@ public class AddAzureKeyVaultKey : KeyVaultCmdletBase public override void ExecuteCmdlet() { - try + KeyBundle keyBundle; + switch (ParameterSetName) { - KeyBundle keyBundle; - switch (ParameterSetName) - { - case CreateParameterSet: - keyBundle = this.DataServiceClient.CreateKey( - VaultName, - Name, - CreateKeyAttributes()); - break; - - case ImportParameterSet: - bool? importToHsm = null; - keyBundle = this.DataServiceClient.ImportKey( - VaultName, Name, - CreateKeyAttributes(), - CreateWebKeyFromFile(), - string.IsNullOrEmpty(Destination) ? importToHsm : HsmDestination.Equals(Destination, StringComparison.OrdinalIgnoreCase)); - break; - - default: - throw new ArgumentException(Resources.BadParameterSetName); - } - - this.WriteObject(keyBundle); - } - catch (Exception ex) - { - this.WriteErrorDetails(ex); + case CreateParameterSet: + keyBundle = this.DataServiceClient.CreateKey( + VaultName, + Name, + CreateKeyAttributes()); + break; + + case ImportParameterSet: + bool? importToHsm = null; + keyBundle = this.DataServiceClient.ImportKey( + VaultName, Name, + CreateKeyAttributes(), + CreateWebKeyFromFile(), + string.IsNullOrEmpty(Destination) ? importToHsm : HsmDestination.Equals(Destination, StringComparison.OrdinalIgnoreCase)); + break; + + default: + throw new ArgumentException(Resources.BadParameterSetName); } + + this.WriteObject(keyBundle); } internal KeyAttributes CreateKeyAttributes() diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/BackupAzureKeyVaultKey.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/BackupAzureKeyVaultKey.cs index 5dade65625f1..3de17aea965d 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/BackupAzureKeyVaultKey.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/BackupAzureKeyVaultKey.cs @@ -64,23 +64,16 @@ public class BackupAzureKeyVaultKey : KeyVaultCmdletBase public override void ExecuteCmdlet() { - try + if (string.IsNullOrEmpty(OutputFile)) { - if (string.IsNullOrEmpty(OutputFile)) - { - OutputFile = GetDefaultFile(); - } + OutputFile = GetDefaultFile(); + } - var filePath = ResolvePath(OutputFile, Resources.BackupKeyFileNotFound); + var filePath = ResolvePath(OutputFile, Resources.BackupKeyFileNotFound); - var backupBlobPath = this.DataServiceClient.BackupKey(VaultName, Name, filePath); + var backupBlobPath = this.DataServiceClient.BackupKey(VaultName, Name, filePath); - this.WriteObject(backupBlobPath); - } - catch (Exception ex) - { - this.WriteErrorDetails(ex); - } + this.WriteObject(backupBlobPath); } private string GetDefaultFile() diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/GetAzureKeyVaultKey.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/GetAzureKeyVaultKey.cs index 7c99ea5286e3..aabb0ec88dfc 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/GetAzureKeyVaultKey.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/GetAzureKeyVaultKey.cs @@ -81,29 +81,21 @@ public class GetAzureKeyVaultKey : KeyVaultCmdletBase public override void ExecuteCmdlet() { - try + switch (ParameterSetName) { - switch (ParameterSetName) - { - case ByKeyNameParameterSet: - var keyBundle = DataServiceClient.GetKey(VaultName, Name, Version); - WriteObject(keyBundle); - break; + case ByKeyNameParameterSet: + var keyBundle = DataServiceClient.GetKey(VaultName, Name, Version); + WriteObject(keyBundle); + break; - case ByVaultNameParameterSet: - IEnumerable keyBundles = DataServiceClient.GetKeys(VaultName); - WriteObject(keyBundles, true); - break; + case ByVaultNameParameterSet: + IEnumerable keyBundles = DataServiceClient.GetKeys(VaultName); + WriteObject(keyBundles, true); + break; - default: - throw new ArgumentException(Resources.BadParameterSetName); - } - } - catch (Exception ex) - { - this.WriteErrorDetails(ex); + default: + throw new ArgumentException(Resources.BadParameterSetName); } } - } } diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/GetAzureKeyVaultSecret.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/GetAzureKeyVaultSecret.cs index 11d9e6bd3d69..e5005b3bea0f 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/GetAzureKeyVaultSecret.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/GetAzureKeyVaultSecret.cs @@ -79,27 +79,20 @@ public class GetAzureKeyVaultSecret : KeyVaultCmdletBase public override void ExecuteCmdlet() { - try + switch (ParameterSetName) { - switch (ParameterSetName) - { - case BySecretNameParameterSet: - var secret = DataServiceClient.GetSecret(VaultName, Name, Version); - WriteObject(secret); - break; + case BySecretNameParameterSet: + var secret = DataServiceClient.GetSecret(VaultName, Name, Version); + WriteObject(secret); + break; - case ByVaultNameParameterSet: - var secrets = DataServiceClient.GetSecrets(VaultName); - WriteObject(secrets, true); - break; + case ByVaultNameParameterSet: + var secrets = DataServiceClient.GetSecrets(VaultName); + WriteObject(secrets, true); + break; - default: - throw new ArgumentException(Resources.BadParameterSetName); - } - } - catch (Exception ex) - { - this.WriteErrorDetails(ex); + default: + throw new ArgumentException(Resources.BadParameterSetName); } } } diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVaultKey.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVaultKey.cs index 33a68f6072bc..404144ba93d1 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVaultKey.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVaultKey.cs @@ -63,30 +63,23 @@ public class RemoveAzureKeyVaultKey : KeyVaultCmdletBase #endregion public override void ExecuteCmdlet() { - try - { - KeyBundle keyBundle = null; - ConfirmAction( - Force.IsPresent, - string.Format( - CultureInfo.InvariantCulture, - Resources.RemoveKeyWarning, - Name), - string.Format( - CultureInfo.InvariantCulture, - Resources.RemoveKeyWhatIfMessage, - Name), - Name, - () => { keyBundle = DataServiceClient.DeleteKey(VaultName, Name); }); - - if (PassThru.IsPresent) - { - WriteObject(keyBundle); - } - } - catch (Exception ex) + KeyBundle keyBundle = null; + ConfirmAction( + Force.IsPresent, + string.Format( + CultureInfo.InvariantCulture, + Resources.RemoveKeyWarning, + Name), + string.Format( + CultureInfo.InvariantCulture, + Resources.RemoveKeyWhatIfMessage, + Name), + Name, + () => { keyBundle = DataServiceClient.DeleteKey(VaultName, Name); }); + + if (PassThru.IsPresent) { - this.WriteErrorDetails(ex); + WriteObject(keyBundle); } } diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVaultSecret.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVaultSecret.cs index cd624e3bc07a..fde81e17f294 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVaultSecret.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RemoveAzureKeyVaultSecret.cs @@ -64,30 +64,23 @@ public class RemoveAzureKeyVaultSecret : KeyVaultCmdletBase public override void ExecuteCmdlet() { - try - { - Secret secret = null; - ConfirmAction( - Force.IsPresent, - string.Format( - CultureInfo.InvariantCulture, - Resources.RemoveSecretWarning, - Name), - string.Format( - CultureInfo.InvariantCulture, - Resources.RemoveSecretWhatIfMessage, - Name), - Name, - () => { secret = DataServiceClient.DeleteSecret(VaultName, Name); }); - - if (PassThru.IsPresent) - { - WriteObject(secret); - } - } - catch (Exception ex) + Secret secret = null; + ConfirmAction( + Force.IsPresent, + string.Format( + CultureInfo.InvariantCulture, + Resources.RemoveSecretWarning, + Name), + string.Format( + CultureInfo.InvariantCulture, + Resources.RemoveSecretWhatIfMessage, + Name), + Name, + () => { secret = DataServiceClient.DeleteSecret(VaultName, Name); }); + + if (PassThru.IsPresent) { - this.WriteErrorDetails(ex); + WriteObject(secret); } } } diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RestoreAzureKeyVaultKey.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RestoreAzureKeyVaultKey.cs index aa99113bc598..27458e4d41df 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RestoreAzureKeyVaultKey.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/RestoreAzureKeyVaultKey.cs @@ -51,19 +51,11 @@ public class RestoreAzureKeyVaultKey : KeyVaultCmdletBase public override void ExecuteCmdlet() { - try - { - var filePath = ResolvePath(InputFile, Resources.BackupKeyFileNotFound); + var filePath = ResolvePath(InputFile, Resources.BackupKeyFileNotFound); - var restoredKeyBundle = this.DataServiceClient.RestoreKey(VaultName, filePath); + var restoredKeyBundle = this.DataServiceClient.RestoreKey(VaultName, filePath); - this.WriteObject(restoredKeyBundle); - } - catch (Exception ex) - { - this.WriteErrorDetails(ex); - } + this.WriteObject(restoredKeyBundle); } - } } diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultKey.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultKey.cs index 523c7955394c..38e65389edf4 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultKey.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultKey.cs @@ -85,22 +85,15 @@ public class SetAzureKeyVaultKey : KeyVaultCmdletBase public override void ExecuteCmdlet() { - try + KeyAttributes attributes = new KeyAttributes { - KeyAttributes attributes = new KeyAttributes - { - Enabled = this.Enable, - Expires = this.Expires, - NotBefore = this.NotBefore, - KeyOps = this.KeyOps - }; + Enabled = this.Enable, + Expires = this.Expires, + NotBefore = this.NotBefore, + KeyOps = this.KeyOps + }; - WriteObject(DataServiceClient.SetKey(VaultName, Name, attributes)); - } - catch (Exception ex) - { - this.WriteErrorDetails(ex); - } + WriteObject(DataServiceClient.SetKey(VaultName, Name, attributes)); } } } diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultSecret.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultSecret.cs index fa3f3d59f953..9a2130e50212 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultSecret.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Commands/SetAzureKeyVaultSecret.cs @@ -58,15 +58,8 @@ public class SetAzureKeyVaultSecret : KeyVaultCmdletBase public override void ExecuteCmdlet() { - try - { - var secret = DataServiceClient.SetSecret(VaultName, Name, SecretValue); - WriteObject(secret); - } - catch (Exception ex) - { - this.WriteErrorDetails(ex); - } + var secret = DataServiceClient.SetSecret(VaultName, Name, SecretValue); + WriteObject(secret); } } } diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Models/DataServiceCredential.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Models/DataServiceCredential.cs index b7da41363c81..c22fd1ef9fcd 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Models/DataServiceCredential.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Models/DataServiceCredential.cs @@ -13,9 +13,8 @@ // ---------------------------------------------------------------------------------- using Microsoft.Azure.Commands.KeyVault.Properties; -using Microsoft.Azure.Common.Extensions; -using Microsoft.Azure.Common.Extensions.Authentication; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; using System; using System.Linq; diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyVaultCmdletBase.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyVaultCmdletBase.cs index 2b6c2865c29f..f819deabfdda 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyVaultCmdletBase.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyVaultCmdletBase.cs @@ -12,7 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Microsoft.WindowsAzure.Commands.Utilities.Common; using System; using System.IO; @@ -25,11 +25,7 @@ public class KeyVaultCmdletBase : AzurePSCmdlet public KeyVaultCmdletBase() { } - protected void WriteErrorDetails(Exception exception) - { - // Call the handler to parse and get ErrorRecord - WriteError(KeyVaultExceptionHandler.RetrieveExceptionDetails(exception)); - } + internal IKeyVaultDataServiceClient DataServiceClient { get @@ -38,7 +34,7 @@ internal IKeyVaultDataServiceClient DataServiceClient { this.dataServiceClient = new KeyVaultDataServiceClient( AzureSession.AuthenticationFactory, - AzureSession.CurrentContext, + Profile.Context, new HttpClient()); } diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyVaultDataServiceClient.cs b/src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyVaultDataServiceClient.cs index 25fc99a3200c..779a08b88575 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyVaultDataServiceClient.cs +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyVaultDataServiceClient.cs @@ -15,8 +15,8 @@ using Hyak.Common; using Microsoft.Azure.Commands.KeyVault.Properties; using Microsoft.Azure.Commands.KeyVault.WebKey; -using Microsoft.Azure.Common.Extensions; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure; using System; using System.Collections.Generic; @@ -85,13 +85,21 @@ public KeyBundle CreateKey(string vaultName, string keyName, KeyAttributes keyAt string vaultAddress = this.vaultUriHelper.CreateVaultAddress(vaultName); Client.KeyAttributes clientAttributes = (Client.KeyAttributes)keyAttributes; - Client.KeyBundle clientKeyBundle = - this.keyVaultClient.CreateKeyAsync( - vaultAddress, - keyName, - keyAttributes.KeyType, - key_ops: keyAttributes.KeyOps, - keyAttributes: clientAttributes).GetAwaiter().GetResult(); + Client.KeyBundle clientKeyBundle; + try + { + clientKeyBundle = + this.keyVaultClient.CreateKeyAsync( + vaultAddress, + keyName, + keyAttributes.KeyType, + key_ops: keyAttributes.KeyOps, + keyAttributes: clientAttributes).GetAwaiter().GetResult(); + } + catch (Exception ex) + { + throw GetInnerException(ex); + } return new KeyBundle(clientKeyBundle, this.vaultUriHelper); } @@ -126,7 +134,14 @@ public KeyBundle ImportKey(string vaultName, string keyName, KeyAttributes keyAt Key = webKey }; - clientKeyBundle = this.keyVaultClient.ImportKeyAsync(vaultAddress, keyName, clientKeyBundle, importToHsm).GetAwaiter().GetResult(); + try + { + clientKeyBundle = this.keyVaultClient.ImportKeyAsync(vaultAddress, keyName, clientKeyBundle, importToHsm).GetAwaiter().GetResult(); + } + catch (Exception ex) + { + throw GetInnerException(ex); + } return new KeyBundle(clientKeyBundle, this.vaultUriHelper); } @@ -150,7 +165,15 @@ public KeyBundle SetKey(string vaultName, string keyName, KeyAttributes keyAttri string vaultAddress = this.vaultUriHelper.CreateVaultAddress(vaultName); - var clientKeyBundle = this.keyVaultClient.UpdateKeyAsync(vaultAddress, keyName, keyAttributes.KeyOps, attributes: clientAttributes).GetAwaiter().GetResult(); + Client.KeyBundle clientKeyBundle; + try + { + clientKeyBundle = this.keyVaultClient.UpdateKeyAsync(vaultAddress, keyName, keyAttributes.KeyOps, attributes: clientAttributes).GetAwaiter().GetResult(); + } + catch (Exception ex) + { + throw GetInnerException(ex); + } return new KeyBundle(clientKeyBundle, this.vaultUriHelper); } @@ -168,7 +191,15 @@ public KeyBundle GetKey(string vaultName, string keyName, string keyVersion) string vaultAddress = this.vaultUriHelper.CreateVaultAddress(vaultName); - Client.KeyBundle clientKeyBundle = this.keyVaultClient.GetKeyAsync(vaultAddress, keyName, keyVersion).GetAwaiter().GetResult(); + Client.KeyBundle clientKeyBundle; + try + { + clientKeyBundle = this.keyVaultClient.GetKeyAsync(vaultAddress, keyName, keyVersion).GetAwaiter().GetResult(); + } + catch (Exception ex) + { + throw GetInnerException(ex); + } return new KeyBundle(clientKeyBundle, this.vaultUriHelper); } @@ -182,8 +213,16 @@ public IEnumerable GetKeys(string vaultName) string vaultAddress = this.vaultUriHelper.CreateVaultAddress(vaultName); - return (this.keyVaultClient.GetKeysAsync(vaultAddress).GetAwaiter().GetResult()). - Select((keyItem) => { return new KeyIdentityItem(keyItem, this.vaultUriHelper); }); + IEnumerable clientKeyBundles; + try + { + clientKeyBundles = this.keyVaultClient.GetKeysAsync(vaultAddress).GetAwaiter().GetResult(); + } + catch (Exception ex) + { + throw GetInnerException(ex); + } + return (clientKeyBundles).Select((keyItem) => { return new KeyIdentityItem(keyItem, this.vaultUriHelper); }); } public KeyBundle DeleteKey(string vaultName, string keyName) @@ -199,7 +238,15 @@ public KeyBundle DeleteKey(string vaultName, string keyName) string vaultAddress = this.vaultUriHelper.CreateVaultAddress(vaultName); - Client.KeyBundle clientKeyBundle = this.keyVaultClient.DeleteKeyAsync(vaultAddress, keyName).GetAwaiter().GetResult(); + Client.KeyBundle clientKeyBundle; + try + { + clientKeyBundle = this.keyVaultClient.DeleteKeyAsync(vaultAddress, keyName).GetAwaiter().GetResult(); + } + catch (Exception ex) + { + throw GetInnerException(ex); + } return new KeyBundle(clientKeyBundle, this.vaultUriHelper); } @@ -221,7 +268,15 @@ public Secret SetSecret(string vaultName, string secretName, SecureString secret string vaultAddress = this.vaultUriHelper.CreateVaultAddress(vaultName); - Client.Secret clientSecret = this.keyVaultClient.SetSecretAsync(vaultAddress, secretName, secretValue).GetAwaiter().GetResult(); + Client.Secret clientSecret; + try + { + clientSecret = this.keyVaultClient.SetSecretAsync(vaultAddress, secretName, secretValue).GetAwaiter().GetResult(); + } + catch (Exception ex) + { + throw GetInnerException(ex); + } return new Secret(clientSecret, this.vaultUriHelper); } @@ -240,7 +295,15 @@ public Secret GetSecret(string vaultName, string secretName, string secretVersio string vaultAddress = this.vaultUriHelper.CreateVaultAddress(vaultName); var secretIdentifier = new Client.SecretIdentifier(vaultAddress, secretName, secretVersion); - Client.Secret clientSecret = this.keyVaultClient.GetSecretAsync(secretIdentifier.Identifier).GetAwaiter().GetResult(); + Client.Secret clientSecret; + try + { + clientSecret = this.keyVaultClient.GetSecretAsync(secretIdentifier.Identifier).GetAwaiter().GetResult(); + } + catch (Exception ex) + { + throw GetInnerException(ex); + } return new Secret(clientSecret, this.vaultUriHelper); } @@ -254,8 +317,17 @@ public IEnumerable GetSecrets(string vaultName) string vaultAddress = this.vaultUriHelper.CreateVaultAddress(vaultName); - return (this.keyVaultClient.GetSecretsAsync(vaultAddress).GetAwaiter().GetResult()). - Select((secretItem) => { return new SecretIdentityItem(secretItem, this.vaultUriHelper); }); + IEnumerable secretItems; + try + { + secretItems = this.keyVaultClient.GetSecretsAsync(vaultAddress).GetAwaiter().GetResult(); + } + catch (Exception ex) + { + throw GetInnerException(ex); + } + + return (secretItems).Select((secretItem) => { return new SecretIdentityItem(secretItem, this.vaultUriHelper); }); } public Secret DeleteSecret(string vaultName, string secretName) @@ -271,7 +343,15 @@ public Secret DeleteSecret(string vaultName, string secretName) string vaultAddress = this.vaultUriHelper.CreateVaultAddress(vaultName); - Client.Secret clientSecret = this.keyVaultClient.DeleteSecretAsync(vaultAddress, secretName).GetAwaiter().GetResult(); + Client.Secret clientSecret; + try + { + clientSecret = this.keyVaultClient.DeleteSecretAsync(vaultAddress, secretName).GetAwaiter().GetResult(); + } + catch (Exception ex) + { + throw GetInnerException(ex); + } return new Secret(clientSecret, this.vaultUriHelper); } @@ -293,7 +373,15 @@ public string BackupKey(string vaultName, string keyName, string outputBlobPath) string vaultAddress = this.vaultUriHelper.CreateVaultAddress(vaultName); - var backupBlob = this.keyVaultClient.BackupKeyAsync(vaultAddress, keyName).GetAwaiter().GetResult(); + byte[] backupBlob; + try + { + backupBlob = this.keyVaultClient.BackupKeyAsync(vaultAddress, keyName).GetAwaiter().GetResult(); + } + catch (Exception ex) + { + throw GetInnerException(ex); + } File.WriteAllBytes(outputBlobPath, backupBlob); @@ -315,7 +403,15 @@ public KeyBundle RestoreKey(string vaultName, string inputBlobPath) string vaultAddress = this.vaultUriHelper.CreateVaultAddress(vaultName); - var clientKeyBundle = this.keyVaultClient.RestoreKeyAsync(vaultAddress, backupBlob).GetAwaiter().GetResult(); + Client.KeyBundle clientKeyBundle; + try + { + clientKeyBundle = this.keyVaultClient.RestoreKeyAsync(vaultAddress, backupBlob).GetAwaiter().GetResult(); + } + catch(Exception ex) + { + throw GetInnerException(ex); + } return new KeyBundle(clientKeyBundle, this.vaultUriHelper); } @@ -336,6 +432,12 @@ private void ReceiveResponseCallback(string correlationId, HttpResponseMessage r } } + private Exception GetInnerException(Exception exception) + { + while (exception.InnerException != null) exception = exception.InnerException; + return exception; + } + private VaultUriHelper vaultUriHelper; private Client.KeyVaultClient keyVaultClient; } diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/packages.config b/src/ResourceManager/KeyVault/Commands.KeyVault/packages.config index bdde83a6dc79..49bb4d5275cf 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/packages.config +++ b/src/ResourceManager/KeyVault/Commands.KeyVault/packages.config @@ -1,15 +1,15 @@  - - + + + - - + - + \ No newline at end of file diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/Commands.RedisCache.Test.csproj b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/Commands.RedisCache.Test.csproj index 81c12f4c1222..b5968c87872a 100644 --- a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/Commands.RedisCache.Test.csproj +++ b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/Commands.RedisCache.Test.csproj @@ -42,17 +42,17 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll ..\..\..\packages\Microsoft.Azure.Management.Redis.0.14.0-preview\lib\net40\Microsoft.Azure.Management.Redis.dll @@ -60,21 +60,21 @@ ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - + False - ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5486.28526-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll + ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll False - ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5486.28526-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll + ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -88,8 +88,9 @@ False ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll False diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/ScenarioTests/RedisCacheTestsBase.cs b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/ScenarioTests/RedisCacheTestsBase.cs index 7925889e9557..26af932e0df4 100644 --- a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/ScenarioTests/RedisCacheTestsBase.cs +++ b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/ScenarioTests/RedisCacheTestsBase.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.RedisCache.Test.ScenarioTests using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.Azure.Test; using Microsoft.Azure.Management.Redis; - using Microsoft.Azure.Common.Extensions; + using Microsoft.Azure.Common.Authentication; public abstract class RedisCacheTestsBase : IDisposable { diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/packages.config b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/packages.config index 6a593376f14f..54ce61f94fa9 100644 --- a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/packages.config +++ b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/packages.config @@ -1,19 +1,19 @@  - - + + + - - - + + - + - + diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj index e754d5f89adc..330bd63349bb 100644 --- a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands.RedisCache.csproj @@ -47,17 +47,17 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll False @@ -67,13 +67,13 @@ False ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -87,9 +87,9 @@ False ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll False diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/NewAzureRedisCache.cs b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/NewAzureRedisCache.cs index 0b2b0b6a8628..7fe227cc5a11 100644 --- a/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/NewAzureRedisCache.cs +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Commands/NewAzureRedisCache.cs @@ -36,8 +36,6 @@ public class NewAzureRedisCache : RedisCacheCmdletBase [Parameter(ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Location where want to create cache.")] [ValidateNotNullOrEmpty] - [ValidateSet("North Central US", "South Central US", "Central US", "West Europe", "North Europe", "West US", "East US", - "East US 2", "Japan East", "Japan West", "Brazil South", "Southeast Asia", "East Asia", "Australia East", "Australia Southeast", IgnoreCase = false)] public string Location { get; set; } [Parameter(ValueFromPipelineByPropertyName = true, Mandatory = false, HelpMessage = "Redis version.")] diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Models/RedisCacheClient.cs b/src/ResourceManager/RedisCache/Commands.RedisCache/Models/RedisCacheClient.cs index fe0241307c05..9d53a8d832cd 100644 --- a/src/ResourceManager/RedisCache/Commands.RedisCache/Models/RedisCacheClient.cs +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Models/RedisCacheClient.cs @@ -14,8 +14,8 @@ namespace Microsoft.Azure.Commands.RedisCache { - using Microsoft.Azure.Common.Extensions; - using Microsoft.Azure.Common.Extensions.Models; + using Microsoft.Azure.Common.Authentication; + using Microsoft.Azure.Common.Authentication.Models; using Microsoft.Azure.Management.Redis; using Microsoft.Azure.Management.Redis.Models; using Microsoft.WindowsAzure; diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/Models/RedisCacheCmdletBase.cs b/src/ResourceManager/RedisCache/Commands.RedisCache/Models/RedisCacheCmdletBase.cs index 1b2dadb68f9f..d9d77b7c7ea5 100644 --- a/src/ResourceManager/RedisCache/Commands.RedisCache/Models/RedisCacheCmdletBase.cs +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/Models/RedisCacheCmdletBase.cs @@ -29,7 +29,7 @@ public RedisCacheClient CacheClient { if (cacheClient == null) { - cacheClient = new RedisCacheClient(CurrentContext); + cacheClient = new RedisCacheClient(Profile.Context); } return cacheClient; } diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache/packages.config b/src/ResourceManager/RedisCache/Commands.RedisCache/packages.config index 7020401c726a..785888723d1c 100644 --- a/src/ResourceManager/RedisCache/Commands.RedisCache/packages.config +++ b/src/ResourceManager/RedisCache/Commands.RedisCache/packages.config @@ -1,16 +1,16 @@  - - + + + - - + - + \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/Commands.Resources.Test.csproj b/src/ResourceManager/Resources/Commands.Resources.Test/Commands.Resources.Test.csproj index 1a164308a647..4ad5d6d187b6 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/Commands.Resources.Test.csproj +++ b/src/ResourceManager/Resources/Commands.Resources.Test/Commands.Resources.Test.csproj @@ -45,16 +45,17 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + + False + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll ..\..\..\packages\Microsoft.Azure.Gallery.2.6.0-preview\lib\net40\Microsoft.Azure.Gallery.dll @@ -64,24 +65,25 @@ ..\..\..\packages\Microsoft.Azure.Graph.RBAC.1.6.0-preview\lib\net40\Microsoft.Azure.Graph.RBAC.dll - ..\..\..\packages\Microsoft.Azure.Management.Authorization.0.16.0-preview\lib\net40\Microsoft.Azure.Management.Authorization.dll + ..\..\..\packages\Microsoft.Azure.Management.Authorization.0.17.0-preview\lib\net40\Microsoft.Azure.Management.Authorization.dll - ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll + False + ..\..\..\packages\Microsoft.Azure.Management.Resources.2.13.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5486.28526-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll + ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll - ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5486.28526-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll + ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -95,8 +97,9 @@ False ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.5.0.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/Models.ResourceGroups/ResourceClientTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/Models.ResourceGroups/ResourceClientTests.cs index 03e0f5af5044..550ea4878bfd 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/Models.ResourceGroups/ResourceClientTests.cs +++ b/src/ResourceManager/Resources/Commands.Resources.Test/Models.ResourceGroups/ResourceClientTests.cs @@ -37,7 +37,7 @@ using Xunit; using Xunit.Extensions; using System.Diagnostics; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Hyak.Common; namespace Microsoft.Azure.Commands.Resources.Test.Models diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourcesController.cs b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourcesController.cs index d1cb7415a4f6..14e9e4a37021 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourcesController.cs +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourcesController.cs @@ -12,7 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Microsoft.Azure.Gallery; using Microsoft.Azure.Graph.RBAC; using Microsoft.Azure.Management.Authorization; diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleAssignmentTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleAssignmentTests.cs index 6f9470f7193d..773a1b22ebab 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleAssignmentTests.cs +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/RoleAssignmentTests.cs @@ -24,6 +24,8 @@ using Microsoft.Azure.Test; using System; using System.Linq; +using System.Threading; +using Microsoft.WindowsAzure.Commands.Utilities.Common; using Xunit; namespace Microsoft.Azure.Commands.Resources.Test.ScenarioTests @@ -78,7 +80,7 @@ public void RaUserPermissions() { User newUser = null; ResourceGroup resourceGroup = null; - string roleAssignmentId = "6A26D717-ABA9-44E3-B971-C53694E413B2"; + string roleAssignmentId = "9B8D3FBE-4A95-406C-AAE6-50528FA2AEFB"; string userName = null; string userPass = null; string userPermission = "*/read"; @@ -116,6 +118,9 @@ public void RaUserPermissions() .ResourceGroups .First(); + // Wait to allow newly created object changes to propagate + TestMockSupport.Delay(20000); + return new[] { string.Format( diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestAzureTagsEndToEnd.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestAzureTagsEndToEnd.json index 77ea97136271..dc17d87a81cb 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestAzureTagsEndToEnd.json +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceGroupTests/TestAzureTagsEndToEnd.json @@ -7,7 +7,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/ogail/\",\r\n \"tagName\": \"ogail\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": []\r\n }\r\n ]\r\n}", @@ -43,7 +43,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/ogail/\",\r\n \"tagName\": \"ogail\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": []\r\n }\r\n ]\r\n}", @@ -79,7 +79,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": []\r\n }\r\n ]\r\n}", @@ -115,7 +115,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": []\r\n }\r\n ]\r\n}", @@ -151,7 +151,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -187,7 +187,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -223,7 +223,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -259,7 +259,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -295,7 +295,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -331,7 +331,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -367,7 +367,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value3\",\r\n \"tagValue\": \"value3\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -403,7 +403,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value3\",\r\n \"tagValue\": \"value3\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -439,7 +439,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value3\",\r\n \"tagValue\": \"value3\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -475,7 +475,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value3\",\r\n \"tagValue\": \"value3\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -511,7 +511,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value3\",\r\n \"tagValue\": \"value3\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -547,7 +547,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value3\",\r\n \"tagValue\": \"value3\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -583,7 +583,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value3\",\r\n \"tagValue\": \"value3\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -619,7 +619,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value3\",\r\n \"tagValue\": \"value3\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -655,7 +655,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/\",\r\n \"tagName\": \"hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/hidden-related:/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/resourcegroups/xDeploymentTestGroup6557/providers/Microsoft.Web/serverfarms/xDeploymentTestHost1/tagValues/Resource\",\r\n \"tagValue\": \"Resource\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value3\",\r\n \"tagValue\": \"value3\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}", @@ -691,7 +691,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "", @@ -727,7 +727,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": []\r\n}", @@ -763,7 +763,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": []\r\n}", @@ -799,7 +799,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": []\r\n}", @@ -835,7 +835,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/\",\r\n \"tagName\": \"onesdk5995\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": []\r\n}", @@ -871,7 +871,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n}", @@ -907,7 +907,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n}", @@ -943,7 +943,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk5995/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n}", @@ -979,7 +979,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": []\r\n}", @@ -1015,7 +1015,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": []\r\n}", @@ -1051,7 +1051,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/\",\r\n \"tagName\": \"onesdk4847\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n },\r\n \"values\": []\r\n}", @@ -1087,7 +1087,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value1\",\r\n \"tagValue\": \"value1\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n}", @@ -1123,7 +1123,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value2\",\r\n \"tagValue\": \"value2\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n}", @@ -1159,7 +1159,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/tagNames/onesdk4847/tagValues/value3\",\r\n \"tagValue\": \"value3\",\r\n \"count\": {\r\n \"type\": \"Total\",\r\n \"value\": 0\r\n }\r\n}", @@ -1195,7 +1195,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "", @@ -1231,7 +1231,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "", @@ -1267,7 +1267,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "", @@ -1303,7 +1303,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "", @@ -1339,7 +1339,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "", @@ -1375,7 +1375,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "", @@ -1411,7 +1411,7 @@ "RequestHeaders": { "User-Agent": [ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0", - "AzurePowershell/v0.8.13" + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "", diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByResource.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByResource.json index e65ba421d4b3..bc4b851b7002 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByResource.json +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByResource.json @@ -10,19 +10,28 @@ "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"value\": [\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"1ddba6df-e959-456b-8f02-50252ece007f\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"group of admins\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"admingroup\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"481689dd-0a1c-44d0-a848-a02e7d591a3a\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"2ff5c0e4-40cf-48b6-be7e-174615c4956d\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"2nd group of readers\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"readergroup2\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"46f915be-2f40-4908-8c6b-9a0232567640\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"8fd46a09-454e-41f1-b70f-f28331b12a31\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"an empty group\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"emptygroup\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"9764488b-bdf2-4169-8045-916fc8083f3d\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"d5fbb343-cf1d-47bb-9aa8-5c3dd57b336f\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"group of owners\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"ownergroup\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"d9dc3124-a996-44d6-9049-3f379194fd1c\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"group of readers\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"readergroup\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"c7a16934-b86a-43a2-8d96-7c6a8949b206\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"value\": [\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"0473b2e9-b70e-4128-a32f-12486a241b5b\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"testGroup4\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"testGroup4\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"2ff5c0e4-40cf-48b6-be7e-174615c4956d\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"2nd group of readers\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"readergroup2\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"46f915be-2f40-4908-8c6b-9a0232567640\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"3e938d0b-0c0a-434e-8f20-cb42c8a21fe2\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"testGroup2\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"testGroup2\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"43f3b202-8d23-4e47-b902-9fbd8f6fad79\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"testGroup9\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"testGroup9\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"7b6e8916-ae66-4214-b5ea-ed5e1546e599\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"testGroup6\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"testGroup6\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"7dd8c83c-dada-4296-b000-4e5f0df39df4\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"testGroup3\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"testGroup3\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"a499b3e4-13f3-4c94-bafd-d9f1da7b36b1\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"testGroup0\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"testGroup0\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"b0003683-47b9-4534-8870-34dd928d3d81\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"testGroup5\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"testGroup5\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"b0fb5457-8090-44ab-94cc-97c65d267569\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"testGroup8\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"testGroup8\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"e6058fa7-e1b0-405a-9a87-a1c06e47353a\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"testGroup7\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"testGroup7\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"fb23ed37-8915-480e-9d79-81e78b2a5825\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"testGroup1\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"testGroup1\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"group of readers\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"readergroup\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"c7a16934-b86a-43a2-8d96-7c6a8949b206\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n }\r\n ]\r\n}", "ResponseHeaders": { + "Content-Length": [ + "6708" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], "ocp-aad-diagnostics-server-name": [ - "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" + "YInlLrlNBpTZUhbUN0exeypQ+lF9YCyb6eRbLm9rx+E=" ], "request-id": [ - "4e39792c-9263-4e51-ab7b-58a21ec87566" + "3d807d93-ad5a-4dd6-b8bd-e8d18425ff80" ], "client-request-id": [ - "c48d3a86-84c5-41de-995a-d6628de7bc0e" + "e0ad615a-7c60-47ca-b352-c1871616e6fd" ], "x-ms-gateway-rewrite": [ "false" @@ -31,7 +40,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "Izt6DXBwvL_zKi8izWa7W7KhhdUD-S3mBdB0URB-_pfLwcO2hzoSiLegrG-I9s4BRAPGF3IMDTXZYqIkybeMub2gZYrSsB3oeo92JEYdVw8._WgFkFGZ8-vgA-toErMdnGVOuRTrzTHasWLx3u_xtLw" + "Rz8-XHPTdm9kLDD6AxmFjlNQ9CkeufsFFa9Ya8190qMJTMCHM9yfR8UM4VS77nVdXt9jvMnTwn9TrzUB5g6FDHpSz6L6lCzvsQkLGUG1OTs.v4EnATvzETa6tDA-uJ9tGW-WI5FgxbqZ8qr0bqWbbHY" ], "X-Content-Type-Options": [ "nosniff" @@ -46,7 +55,7 @@ "no-cache" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -56,7 +65,7 @@ "ASP.NET" ], "Date": [ - "Wed, 17 Sep 2014 01:51:10 GMT" + "Wed, 28 Jan 2015 00:56:55 GMT" ] }, "StatusCode": 200 @@ -71,61 +80,31 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1\",\r\n \"name\": \"contrib1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/owner1\",\r\n \"name\": \"owner1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/reader1\",\r\n \"name\": \"reader1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1\",\r\n \"name\": \"testg1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264\",\r\n \"name\": \"csmrg4264\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4942\",\r\n \"name\": \"csmrg4942\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg608\",\r\n \"name\": \"csmrg608\",\r\n \"location\": \"eastasia\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg7947\",\r\n \"name\": \"csmrg7947\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg9029\",\r\n \"name\": \"csmrg9029\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg9595\",\r\n \"name\": \"csmrg9595\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg9730\",\r\n \"name\": \"csmrg9730\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Networking\",\r\n \"name\": \"Default-Networking\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-SQL-WestUS\",\r\n \"name\": \"Default-SQL-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Storage-WestUS\",\r\n \"name\": \"Default-Storage-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Web-EastUS\",\r\n \"name\": \"Default-Web-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Web-WestUS\",\r\n \"name\": \"Default-Web-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg1234\",\r\n \"name\": \"testrg1234\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571\",\r\n \"name\": \"testrg18571\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31939" - ], - "x-ms-request-id": [ - "1197b599-380e-4640-abe9-23804723ea29" - ], - "x-ms-correlation-request-id": [ - "1197b599-380e-4640-abe9-23804723ea29" - ], - "x-ms-routing-request-id": [ - "WESTUS:20140917T015111Z:1197b599-380e-4640-abe9-23804723ea29" + "Content-Length": [ + "2609" ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "Content-Type": [ + "application/json; charset=utf-8" ], - "Cache-Control": [ - "no-cache" + "Expires": [ + "-1" ], - "Date": [ - "Wed, 17 Sep 2014 01:51:10 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1\",\r\n \"name\": \"contrib1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/owner1\",\r\n \"name\": \"owner1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/reader1\",\r\n \"name\": \"reader1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1\",\r\n \"name\": \"testg1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", - "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31938" + "31999" ], "x-ms-request-id": [ - "040cb9d1-dde1-42ce-90d4-aead73e5c244" + "0d77ad43-370d-4504-b0e9-4880f9f58245" ], "x-ms-correlation-request-id": [ - "040cb9d1-dde1-42ce-90d4-aead73e5c244" + "0d77ad43-370d-4504-b0e9-4880f9f58245" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015111Z:040cb9d1-dde1-42ce-90d4-aead73e5c244" + "WESTUS:20150128T005656Z:0d77ad43-370d-4504-b0e9-4880f9f58245" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -134,14 +113,14 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:51:10 GMT" + "Wed, 28 Jan 2015 00:56:55 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlR3JvdXBzL2NvbnRyaWIxL3Jlc291cmNlcz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzPyZhcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -149,61 +128,31 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/microsoft.insights/alertrules/CPUHigh default01\",\r\n \"name\": \"CPUHigh default01\",\r\n \"type\": \"microsoft.insights/alertrules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/serverfarms/default01\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/microsoft.insights/alertrules/ForbiddenRequests wscontrib002\",\r\n \"name\": \"ForbiddenRequests wscontrib002\",\r\n \"type\": \"microsoft.insights/alertrules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/microsoft.insights/alertrules/ServerErrors wscontrib002\",\r\n \"name\": \"ServerErrors wscontrib002\",\r\n \"type\": \"microsoft.insights/alertrules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/microsoft.insights/autoscalesettings/default01-contrib1\",\r\n \"name\": \"default01-contrib1\",\r\n \"type\": \"microsoft.insights/autoscalesettings\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/serverfarms/default01\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/microsoft.insights/components/wscontrib002\",\r\n \"name\": \"wscontrib002\",\r\n \"type\": \"microsoft.insights/components\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/serverFarms/default01\",\r\n \"name\": \"default01\",\r\n \"type\": \"Microsoft.Web/serverFarms\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002\",\r\n \"name\": \"wscontrib002\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"hidden-related:/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/serverfarms/default01\": \"Resource\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264\",\r\n \"name\": \"csmrg4264\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4942\",\r\n \"name\": \"csmrg4942\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg608\",\r\n \"name\": \"csmrg608\",\r\n \"location\": \"eastasia\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg7947\",\r\n \"name\": \"csmrg7947\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg9029\",\r\n \"name\": \"csmrg9029\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg9595\",\r\n \"name\": \"csmrg9595\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg9730\",\r\n \"name\": \"csmrg9730\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Networking\",\r\n \"name\": \"Default-Networking\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-SQL-WestUS\",\r\n \"name\": \"Default-SQL-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Storage-WestUS\",\r\n \"name\": \"Default-Storage-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Web-EastUS\",\r\n \"name\": \"Default-Web-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Web-WestUS\",\r\n \"name\": \"Default-Web-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg1234\",\r\n \"name\": \"testrg1234\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571\",\r\n \"name\": \"testrg18571\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31937" - ], - "x-ms-request-id": [ - "b1fa901f-c28e-4ccd-bd52-ef040e238ba5" - ], - "x-ms-correlation-request-id": [ - "b1fa901f-c28e-4ccd-bd52-ef040e238ba5" - ], - "x-ms-routing-request-id": [ - "WESTUS:20140917T015111Z:b1fa901f-c28e-4ccd-bd52-ef040e238ba5" + "Content-Length": [ + "2609" ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "Content-Type": [ + "application/json; charset=utf-8" ], - "Cache-Control": [ - "no-cache" + "Expires": [ + "-1" ], - "Date": [ - "Wed, 17 Sep 2014 01:51:11 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups/contrib1/providers/microsoft.insights//alertrules/CPUHigh%20default01/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzL2NvbnRyaWIxL3Byb3ZpZGVycy9taWNyb3NvZnQuaW5zaWdodHMvL2FsZXJ0cnVsZXMvQ1BVSGlnaCUyMGRlZmF1bHQwMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", - "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31902" + "31998" ], "x-ms-request-id": [ - "18d2ad3e-1a23-4545-967f-e806126033dd" + "66d634b2-5efd-4e12-889e-78d3566af0da" ], "x-ms-correlation-request-id": [ - "18d2ad3e-1a23-4545-967f-e806126033dd" + "66d634b2-5efd-4e12-889e-78d3566af0da" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015111Z:18d2ad3e-1a23-4545-967f-e806126033dd" + "WESTUS:20150128T005656Z:66d634b2-5efd-4e12-889e-78d3566af0da" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -212,76 +161,46 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:51:11 GMT" + "Wed, 28 Jan 2015 00:56:55 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups/contrib1/providers/microsoft.insights//alertrules/ForbiddenRequests%20wscontrib002/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzL2NvbnRyaWIxL3Byb3ZpZGVycy9taWNyb3NvZnQuaW5zaWdodHMvL2FsZXJ0cnVsZXMvRm9yYmlkZGVuUmVxdWVzdHMlMjB3c2NvbnRyaWIwMDIvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlR3JvdXBzL2NzbXJnNDI2NC9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264/providers/Microsoft.ClassicStorage/storageAccounts/teststoragecsmrg4264\",\r\n \"name\": \"teststoragecsmrg4264\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31901" - ], - "x-ms-request-id": [ - "0eb4abee-6f23-40f1-83b6-82732e73a448" - ], - "x-ms-correlation-request-id": [ - "0eb4abee-6f23-40f1-83b6-82732e73a448" - ], - "x-ms-routing-request-id": [ - "WESTUS:20140917T015111Z:0eb4abee-6f23-40f1-83b6-82732e73a448" + "Content-Length": [ + "277" ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "Content-Type": [ + "application/json; charset=utf-8" ], - "Cache-Control": [ - "no-cache" + "Expires": [ + "-1" ], - "Date": [ - "Wed, 17 Sep 2014 01:51:11 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups/contrib1/providers/microsoft.insights//alertrules/ServerErrors%20wscontrib002/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzL2NvbnRyaWIxL3Byb3ZpZGVycy9taWNyb3NvZnQuaW5zaWdodHMvL2FsZXJ0cnVsZXMvU2VydmVyRXJyb3JzJTIwd3Njb250cmliMDAyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", - "ResponseHeaders": { "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31900" + "31997" ], "x-ms-request-id": [ - "9361dfd3-233f-447f-97fe-2a2f7cf2861f" + "63412e5f-dd8a-43d1-8113-905be1f42a89" ], "x-ms-correlation-request-id": [ - "9361dfd3-233f-447f-97fe-2a2f7cf2861f" + "63412e5f-dd8a-43d1-8113-905be1f42a89" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015111Z:9361dfd3-233f-447f-97fe-2a2f7cf2861f" + "WESTUS:20150128T005656Z:63412e5f-dd8a-43d1-8113-905be1f42a89" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -290,14 +209,14 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:51:11 GMT" + "Wed, 28 Jan 2015 00:56:56 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups/contrib1/providers/microsoft.insights//autoscalesettings/default01-contrib1/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzL2NvbnRyaWIxL3Byb3ZpZGVycy9taWNyb3NvZnQuaW5zaWdodHMvL2F1dG9zY2FsZXNldHRpbmdzL2RlZmF1bHQwMS1jb250cmliMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups/csmrg4264/providers/Microsoft.ClassicStorage//storageAccounts/teststoragecsmrg4264/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzL2NzbXJnNDI2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkNsYXNzaWNTdG9yYWdlLy9zdG9yYWdlQWNjb3VudHMvdGVzdHN0b3JhZ2Vjc21yZzQyNjQvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -307,98 +226,32 @@ }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", "ResponseHeaders": { - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31899" - ], - "x-ms-request-id": [ - "6d572757-a89e-4dab-a50d-2568b3816fca" - ], - "x-ms-correlation-request-id": [ - "6d572757-a89e-4dab-a50d-2568b3816fca" + "Content-Length": [ + "45" ], - "x-ms-routing-request-id": [ - "WESTUS:20140917T015111Z:6d572757-a89e-4dab-a50d-2568b3816fca" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "Content-Type": [ + "application/json; charset=utf-8" ], - "Cache-Control": [ - "no-cache" + "Expires": [ + "-1" ], - "Date": [ - "Wed, 17 Sep 2014 01:51:11 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups/contrib1/providers/microsoft.insights//components/wscontrib002/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzL2NvbnRyaWIxL3Byb3ZpZGVycy9taWNyb3NvZnQuaW5zaWdodHMvL2NvbXBvbmVudHMvd3Njb250cmliMDAyL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", - "ResponseHeaders": { "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31898" + "Vary": [ + "Accept-Encoding" ], "x-ms-request-id": [ - "d2a8218d-e829-4813-9af9-546d2a89e91e" - ], - "x-ms-correlation-request-id": [ - "d2a8218d-e829-4813-9af9-546d2a89e91e" - ], - "x-ms-routing-request-id": [ - "WESTUS:20140917T015111Z:d2a8218d-e829-4813-9af9-546d2a89e91e" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 17 Sep 2014 01:51:11 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups/contrib1/providers/Microsoft.Web//serverFarms/default01/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzL2NvbnRyaWIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuV2ViLy9zZXJ2ZXJGYXJtcy9kZWZhdWx0MDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Pragma": [ - "no-cache" + "westus:7ec5388a-dc07-487a-be98-d47b1ac2df3f" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31897" - ], - "x-ms-request-id": [ - "b151b4ff-503f-45cc-93a4-7036e135689c" + "31997" ], "x-ms-correlation-request-id": [ - "b151b4ff-503f-45cc-93a4-7036e135689c" + "a15470e6-a931-44b9-ab6c-340b4af18116" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015111Z:b151b4ff-503f-45cc-93a4-7036e135689c" + "WESTUS:20150128T005656Z:a15470e6-a931-44b9-ab6c-340b4af18116" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -407,65 +260,35 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:51:11 GMT" + "Wed, 28 Jan 2015 00:56:55 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups/contrib1/providers/Microsoft.Web//sites/wscontrib002/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzL2NvbnRyaWIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuV2ViLy9zaXRlcy93c2NvbnRyaWIwMDIvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlRGVmaW5pdGlvbnM/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { + "x-ms-version": [ + "2014-10-01-preview" + ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you manage everything except access to resources.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Owner\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you manage everything, including access to resources.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you view everything, but not make any changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31896" - ], - "x-ms-request-id": [ - "73a0475d-4afb-4716-bbe6-a17a778910cb" - ], - "x-ms-correlation-request-id": [ - "73a0475d-4afb-4716-bbe6-a17a778910cb" - ], - "x-ms-routing-request-id": [ - "WESTUS:20140917T015111Z:73a0475d-4afb-4716-bbe6-a17a778910cb" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "Content-Length": [ + "1385" ], - "Cache-Control": [ - "no-cache" + "Content-Type": [ + "application/json; charset=utf-8" ], - "Date": [ - "Wed, 17 Sep 2014 01:51:11 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlRGVmaW5pdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-07-01-preview" + "Expires": [ + "-1" ], - "User-Agent": [ - "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Contributors can manage everything except access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Owner\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Owners can manage everything, including access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n }\r\n ]\r\n}", - "ResponseHeaders": { "Pragma": [ "no-cache" ], @@ -473,16 +296,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:992e3388-57fb-45bf-9906-e2b474da3eb4" + "westus:00a33225-cc88-4adf-a8ca-ebf5ca965f86" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31895" + "31996" ], "x-ms-correlation-request-id": [ - "dd9fe193-c96a-4e3b-a7e5-d823db5da62d" + "3e96d9e2-0701-40d4-9116-bb9d94f1b9f9" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015111Z:dd9fe193-c96a-4e3b-a7e5-d823db5da62d" + "WESTUS:20150128T005656Z:3e96d9e2-0701-40d4-9116-bb9d94f1b9f9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -491,37 +314,52 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:51:11 GMT" + "Wed, 28 Jan 2015 00:56:55 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002/providers/Microsoft.Authorization/roleAssignments/78d6502f-74fc-4800-bb0a-0e1a7bebeca4?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9jb250cmliMS9wcm92aWRlcnMvTWljcm9zb2Z0LldlYi9zaXRlcy93c2NvbnRyaWIwMDIvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cy83OGQ2NTAyZi03NGZjLTQ4MDAtYmIwYS0wZTFhN2JlYmVjYTQ/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264/providers/Microsoft.ClassicStorage/storageAccounts/teststoragecsmrg4264/providers/Microsoft.Authorization/roleAssignments/78d6502f-74fc-4800-bb0a-0e1a7bebeca4?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9jc21yZzQyNjQvcHJvdmlkZXJzL01pY3Jvc29mdC5DbGFzc2ljU3RvcmFnZS9zdG9yYWdlQWNjb3VudHMvdGVzdHN0b3JhZ2Vjc21yZzQyNjQvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cy83OGQ2NTAyZi03NGZjLTQ4MDAtYmIwYS0wZTFhN2JlYmVjYTQ/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"principalId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\"\r\n }\r\n}", "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "254" + ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"principalId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002/providers/Microsoft.Authorization/roleAssignments/78d6502f-74fc-4800-bb0a-0e1a7bebeca4\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"78d6502f-74fc-4800-bb0a-0e1a7bebeca4\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"principalId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264/providers/Microsoft.ClassicStorage/storageAccounts/teststoragecsmrg4264\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264/providers/Microsoft.ClassicStorage/storageAccounts/teststoragecsmrg4264/providers/Microsoft.Authorization/roleAssignments/78d6502f-74fc-4800-bb0a-0e1a7bebeca4\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"78d6502f-74fc-4800-bb0a-0e1a7bebeca4\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "726" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:fe3d2c94-a7bb-4cb2-99bc-7c024bd204e0" + "westus:3df8809b-742e-4df3-86f5-b9571be0a971" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1183" + "1199" ], "x-ms-correlation-request-id": [ - "b1ead3b3-da5a-42d6-a2ac-85e99747b9f9" + "2cd5cd95-fe92-4fd9-b669-ff1d8637da09" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015113Z:b1ead3b3-da5a-42d6-a2ac-85e99747b9f9" + "WESTUS:20150128T005658Z:2cd5cd95-fe92-4fd9-b669-ff1d8637da09" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -530,26 +368,35 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:51:13 GMT" + "Wed, 28 Jan 2015 00:56:58 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002/providers/Microsoft.Authorization/roleAssignments/78d6502f-74fc-4800-bb0a-0e1a7bebeca4?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9jb250cmliMS9wcm92aWRlcnMvTWljcm9zb2Z0LldlYi9zaXRlcy93c2NvbnRyaWIwMDIvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cy83OGQ2NTAyZi03NGZjLTQ4MDAtYmIwYS0wZTFhN2JlYmVjYTQ/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264/providers/Microsoft.ClassicStorage/storageAccounts/teststoragecsmrg4264/providers/Microsoft.Authorization/roleAssignments/78d6502f-74fc-4800-bb0a-0e1a7bebeca4?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9jc21yZzQyNjQvcHJvdmlkZXJzL01pY3Jvc29mdC5DbGFzc2ljU3RvcmFnZS9zdG9yYWdlQWNjb3VudHMvdGVzdHN0b3JhZ2Vjc21yZzQyNjQvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cy83OGQ2NTAyZi03NGZjLTQ4MDAtYmIwYS0wZTFhN2JlYmVjYTQ/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"principalId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002/providers/Microsoft.Authorization/roleAssignments/78d6502f-74fc-4800-bb0a-0e1a7bebeca4\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"78d6502f-74fc-4800-bb0a-0e1a7bebeca4\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"principalId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264/providers/Microsoft.ClassicStorage/storageAccounts/teststoragecsmrg4264\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264/providers/Microsoft.ClassicStorage/storageAccounts/teststoragecsmrg4264/providers/Microsoft.Authorization/roleAssignments/78d6502f-74fc-4800-bb0a-0e1a7bebeca4\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"78d6502f-74fc-4800-bb0a-0e1a7bebeca4\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "726" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], @@ -557,16 +404,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:59379dd3-de6b-4666-82f0-3eb9f411d623" + "westus:7c21aafb-aedc-4481-b17b-6c0f77922cca" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31894" + "31995" ], "x-ms-correlation-request-id": [ - "1330c702-1a5f-4223-a157-76f013c17626" + "be43059b-efb9-4ddf-b618-28a00876548d" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015113Z:1330c702-1a5f-4223-a157-76f013c17626" + "WESTUS:20150128T005658Z:be43059b-efb9-4ddf-b618-28a00876548d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -575,26 +422,35 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:51:13 GMT" + "Wed, 28 Jan 2015 00:56:58 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zLzhlM2FmNjU3LWE4ZmYtNDQzYy1hNzVjLTJmZThjNGJjYjYzNT9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zLzhlM2FmNjU3LWE4ZmYtNDQzYy1hNzVjLTJmZThjNGJjYjYzNT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Owner\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Owners can manage everything, including access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Owner\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you manage everything, including access to resources.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "434" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], @@ -602,16 +458,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:4be65cfd-b6b4-47ec-8eb4-aa6c39f32336" + "westus:555ecee6-41c5-43bf-aaf8-6414f0acc5d3" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31893" + "31994" ], "x-ms-correlation-request-id": [ - "3cfd0994-7164-4ccf-869c-6158629c1c8c" + "045a3032-bae8-4a6a-b9b8-e2bdd24dba72" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015113Z:3cfd0994-7164-4ccf-869c-6158629c1c8c" + "WESTUS:20150128T005658Z:045a3032-bae8-4a6a-b9b8-e2bdd24dba72" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -620,26 +476,35 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:51:13 GMT" + "Wed, 28 Jan 2015 00:56:58 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zLzhlM2FmNjU3LWE4ZmYtNDQzYy1hNzVjLTJmZThjNGJjYjYzNT9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zLzhlM2FmNjU3LWE4ZmYtNDQzYy1hNzVjLTJmZThjNGJjYjYzNT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Owner\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Owners can manage everything, including access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Owner\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you manage everything, including access to resources.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "434" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], @@ -647,16 +512,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:5ddf3188-5bab-4e34-a5c5-573a4db4687b" + "westus:82a4b4e0-2301-4889-9a79-64d282acba3c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31890" + "31992" ], "x-ms-correlation-request-id": [ - "d75d5910-9343-4dc5-bc12-d52ac094a527" + "cd27d6d3-b3f8-40e1-8e52-e3dbb5e10b95" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015114Z:d75d5910-9343-4dc5-bc12-d52ac094a527" + "WESTUS:20150128T005658Z:cd27d6d3-b3f8-40e1-8e52-e3dbb5e10b95" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -665,7 +530,7 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:51:14 GMT" + "Wed, 28 Jan 2015 00:56:58 GMT" ] }, "StatusCode": 200 @@ -682,14 +547,20 @@ }, "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'fb7d9586-9377-43c8-95c0-22f1f067915f' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", "ResponseHeaders": { + "Content-Length": [ + "214" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; charset=utf-8" + ], "ocp-aad-diagnostics-server-name": [ - "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" + "+MzH+2dNYIt6p0PwxNqlMcq3itHIDSnhoyEZsBf+jpA=" ], "request-id": [ - "9dec184f-822e-4a36-bb68-9ea177589a4f" + "557ca456-19f6-4f0f-a0c6-c21c4f3d6a7a" ], "client-request-id": [ - "4c8ff897-ec1c-422f-9f5d-c0305588bb7a" + "0a3b5222-3e39-4277-ba57-8e6487db157e" ], "x-ms-gateway-rewrite": [ "false" @@ -698,7 +569,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "RzjQ3nAthrri0Lj9RTGpggwYxlRoCCzmhEBfU0wcEbhy1OQpy1xsF4LxrLQe9CJ1SazuHQ055A5soTISHKAVGainsbUx8C6U8lfgeU0jY8A.hHBXGnpJjG-8ubDu822eiDcOxDYmkEgrnS8tA3Blptc" + "WewD3oJtwDzbg_8QMO40IXpTm4ns70kYdxkFxVGvDv8ENP_-J1-YIm4egHw5kKcgFyvFza7upfnC-x5BRHrTm0a8JKdwwyRwY9luOFvV-ds.9nD7IX1OAav_wlNMNoxR5is5TDrTLvQ29ZMDcVnUUNM" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -707,7 +578,7 @@ "private" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -717,7 +588,7 @@ "ASP.NET" ], "Date": [ - "Wed, 17 Sep 2014 01:51:13 GMT" + "Wed, 28 Jan 2015 00:56:57 GMT" ] }, "StatusCode": 404 @@ -734,14 +605,20 @@ }, "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'fb7d9586-9377-43c8-95c0-22f1f067915f' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", "ResponseHeaders": { + "Content-Length": [ + "214" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; charset=utf-8" + ], "ocp-aad-diagnostics-server-name": [ - "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" + "YInlLrlNBpTZUhbUN0exeypQ+lF9YCyb6eRbLm9rx+E=" ], "request-id": [ - "f76f1676-5a04-4844-bf60-495e5ef6d75d" + "dffea857-776e-4202-bdb0-8ee39f12794e" ], "client-request-id": [ - "406be2fe-53da-4a05-9cf7-225953ee0708" + "1b8b37e5-f2f8-436c-b7cf-5589bd2dbea4" ], "x-ms-gateway-rewrite": [ "false" @@ -750,7 +627,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "8Q6GwaJpWW6lbBXq61aiPMw4Agwq3Y17isWAhkcDafcxx4sKfEp6KROpr5niO1gjhy_oSJvRscIVhhssm0Ks40N3lpl3rTRRt-Byx1rsipk.GJ-GiysFx-2j_UNdmuRVQn-uyjPlDHQ13_9Jr4PCOS4" + "BythAKT68ywOqJeQJ7XCFhmFwPkj_0ogQOcpiVZjxSB71sHj07rChrxbkmdomEyUhUCFfNgz2h_jyJuesW7esr-R0rh1loGO_n8EV1fsTDQ.RBWVUjEKWxuB0sfMPpMp2BVs_HdOseSsF8hor7rezCI" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -759,7 +636,7 @@ "private" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -769,14 +646,14 @@ "ASP.NET" ], "Date": [ - "Wed, 17 Sep 2014 01:51:13 GMT" + "Wed, 28 Jan 2015 00:56:58 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/fb7d9586-9377-43c8-95c0-22f1f067915f?api-version=1.42-previewInternal", - "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy9mYjdkOTU4Ni05Mzc3LTQzYzgtOTVjMC0yMmYxZjA2NzkxNWY/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/servicePrincipals/fb7d9586-9377-43c8-95c0-22f1f067915f?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9zZXJ2aWNlUHJpbmNpcGFscy9mYjdkOTU4Ni05Mzc3LTQzYzgtOTVjMC0yMmYxZjA2NzkxNWY/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -786,14 +663,20 @@ }, "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'fb7d9586-9377-43c8-95c0-22f1f067915f' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", "ResponseHeaders": { + "Content-Length": [ + "214" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; charset=utf-8" + ], "ocp-aad-diagnostics-server-name": [ - "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" + "YInlLrlNBpTZUhbUN0exeypQ+lF9YCyb6eRbLm9rx+E=" ], "request-id": [ - "b90c294c-b933-41a8-8c5a-64d2ddc0f659" + "3b4867e2-c2c7-40bf-8a99-0af56da1647a" ], "client-request-id": [ - "9282b293-448c-4abc-8fa7-c9d35c7dde37" + "58900cef-e598-4146-9fe1-ed893cefe24a" ], "x-ms-gateway-rewrite": [ "false" @@ -802,7 +685,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "EwkXFcj0V_Pz21tYUjeA9xl_vHTVQ89Zlji_o6KrJ_-JtGTqDZ-hkAWhhmYodL-Hcm2X5DoxZWu7hDcDksnBxSC6K_I37P8lJj1XzPJeYTA.Gl1cFeNtQhirewsd6uDPQBu71shYKbIEMPq-bIXOFpc" + "JnYljhmBWFZhnEXuPZwCCT0PTRh9U_65TLkSd72GMr9WtB6368bs0T0EPbqXOER8bvg1amli5rtMVDFvR_TzOrJjrsdIYxghkpXZUGKP2y4.A_di27M8Fw9crNZiIAxjzUxoXmLVoJX6dlK6mm_6eco" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -811,7 +694,7 @@ "private" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -821,14 +704,14 @@ "ASP.NET" ], "Date": [ - "Wed, 17 Sep 2014 01:51:14 GMT" + "Wed, 28 Jan 2015 00:56:57 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/fb7d9586-9377-43c8-95c0-22f1f067915f?api-version=1.42-previewInternal", - "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy9mYjdkOTU4Ni05Mzc3LTQzYzgtOTVjMC0yMmYxZjA2NzkxNWY/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/servicePrincipals/fb7d9586-9377-43c8-95c0-22f1f067915f?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9zZXJ2aWNlUHJpbmNpcGFscy9mYjdkOTU4Ni05Mzc3LTQzYzgtOTVjMC0yMmYxZjA2NzkxNWY/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -838,14 +721,20 @@ }, "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'fb7d9586-9377-43c8-95c0-22f1f067915f' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", "ResponseHeaders": { + "Content-Length": [ + "214" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; charset=utf-8" + ], "ocp-aad-diagnostics-server-name": [ - "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" + "YInlLrlNBpTZUhbUN0exeypQ+lF9YCyb6eRbLm9rx+E=" ], "request-id": [ - "56941af9-30b8-4791-b35b-7cd8d149786f" + "064c22f9-a4eb-45e2-af57-8205f0f62467" ], "client-request-id": [ - "229c673a-8330-4611-ab5d-b217c52783b7" + "8aca55e1-2b4c-409d-a7ce-971ff6876a89" ], "x-ms-gateway-rewrite": [ "false" @@ -854,7 +743,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "EddsNbx3P1g8fYRzTnRyGK01G9uHQ3GQSYhFiDMo54_sG6Yw5Vv3RsjpLbjDAaj-hclVpju-Glx3jnPxDQLs4Qe2qlL8DtQTR35QoMO51C0.MykDGH4UinoxYuxLzvVnrgqO12dBVNJIuq6Lw4_AuzM" + "-vIOU4rSa2geHOQA93S8nl88Gxo9kRX0Ti9KfKS0vOU2ZygN0Ko1uERcUX_DQdzrnaFKca9GQNeYaAM5uN-STl5fmYhJGEIbaxzRlv_1_vA.5qjjJOib96A7PwEH9AmAqRs80IH9lHKFT5GqJni__AM" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -863,7 +752,7 @@ "private" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -873,14 +762,14 @@ "ASP.NET" ], "Date": [ - "Wed, 17 Sep 2014 01:51:16 GMT" + "Wed, 28 Jan 2015 00:56:58 GMT" ] }, "StatusCode": 404 }, { - "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/servicePrincipals/fb7d9586-9377-43c8-95c0-22f1f067915f?api-version=1.42-previewInternal", - "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9zZXJ2aWNlUHJpbmNpcGFscy9mYjdkOTU4Ni05Mzc3LTQzYzgtOTVjMC0yMmYxZjA2NzkxNWY/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups/fb7d9586-9377-43c8-95c0-22f1f067915f?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHMvZmI3ZDk1ODYtOTM3Ny00M2M4LTk1YzAtMjJmMWYwNjc5MTVmP2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -888,16 +777,28 @@ "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'fb7d9586-9377-43c8-95c0-22f1f067915f' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Group/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"group of readers\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"readergroup\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"c7a16934-b86a-43a2-8d96-7c6a8949b206\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n}", "ResponseHeaders": { + "Content-Length": [ + "741" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], "ocp-aad-diagnostics-server-name": [ - "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" + "YInlLrlNBpTZUhbUN0exeypQ+lF9YCyb6eRbLm9rx+E=" ], "request-id": [ - "61e3ab4a-102c-42aa-9b9d-3813108f10a4" + "f964a84e-0a52-41e5-a815-cec6e4976965" ], "client-request-id": [ - "49601815-bf9b-4d6a-88ba-1f1e9e43f707" + "621f17dd-88d2-4d19-aa90-5829074b795c" ], "x-ms-gateway-rewrite": [ "false" @@ -906,16 +807,22 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "T9yLMbZwnu-brO4lvlOTyjguM-A_0ZA819hOZQLIviVYqj0_-kxXA7W1XLjoC2qR7nKXG_dE7ORqbinL1p8BVzO-OTL7yPdVjfRlpOK4egk.D4T0e7IWMi1yTbGu0gO0aYH4_F-pXPUUU88KO73Xi7c" + "ufq586Jn3Rlogm0sUunvhZbEclwOPkb5gUQYSR4fXvQRH4g761RP00m20EsR80ym24N9ARnfIL9tJfGFUj7AfGwlGZpX2fcJj1AP-kgf_Fc.On9bMVIt-qlaHCDpHDOZ3GbS6VnAdmk-71EwYFFSuWU" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "DataServiceVersion": [ + "3.0;" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Cache-Control": [ - "private" + "no-cache" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -925,14 +832,14 @@ "ASP.NET" ], "Date": [ - "Wed, 17 Sep 2014 01:51:13 GMT" + "Wed, 28 Jan 2015 00:56:57 GMT" ] }, - "StatusCode": 404 + "StatusCode": 200 }, { - "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/servicePrincipals/fb7d9586-9377-43c8-95c0-22f1f067915f?api-version=1.42-previewInternal", - "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9zZXJ2aWNlUHJpbmNpcGFscy9mYjdkOTU4Ni05Mzc3LTQzYzgtOTVjMC0yMmYxZjA2NzkxNWY/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups/fb7d9586-9377-43c8-95c0-22f1f067915f?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHMvZmI3ZDk1ODYtOTM3Ny00M2M4LTk1YzAtMjJmMWYwNjc5MTVmP2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -940,16 +847,28 @@ "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'fb7d9586-9377-43c8-95c0-22f1f067915f' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Group/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"group of readers\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"readergroup\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"c7a16934-b86a-43a2-8d96-7c6a8949b206\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n}", "ResponseHeaders": { + "Content-Length": [ + "741" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], "ocp-aad-diagnostics-server-name": [ - "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" + "YInlLrlNBpTZUhbUN0exeypQ+lF9YCyb6eRbLm9rx+E=" ], "request-id": [ - "ee2be43d-62b6-477b-b96a-09c5e9c826bb" + "452f79d4-f01d-4a1d-93d3-ddece22d8fed" ], "client-request-id": [ - "28f67a9b-4470-4234-b872-04b26ad05f58" + "1120c2ad-2e12-4caf-a843-430e28e77d9b" ], "x-ms-gateway-rewrite": [ "false" @@ -958,166 +877,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "jSHf2PsbEhOVh6MCaxZqAguAD_A2_-bbhDtah9iEWWq_-kGV4ArR9iTaQxaDhGB2gIHFuLF0rxJNMbPhfx098qcDIQqoc3NalS4bTDLH0LA.2kQ6ARmjmpgVpiJUtYB2JnLAVnw7IKkwm5T2AlzuEhQ" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "private" - ], - "Server": [ - "Microsoft-IIS/8.0" - ], - "X-AspNet-Version": [ - "4.0.30319" - ], - "X-Powered-By": [ - "ASP.NET", - "ASP.NET" - ], - "Date": [ - "Wed, 17 Sep 2014 01:51:13 GMT" - ] - }, - "StatusCode": 404 - }, - { - "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/servicePrincipals/fb7d9586-9377-43c8-95c0-22f1f067915f?api-version=1.42-previewInternal", - "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9zZXJ2aWNlUHJpbmNpcGFscy9mYjdkOTU4Ni05Mzc3LTQzYzgtOTVjMC0yMmYxZjA2NzkxNWY/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'fb7d9586-9377-43c8-95c0-22f1f067915f' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", - "ResponseHeaders": { - "ocp-aad-diagnostics-server-name": [ - "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" - ], - "request-id": [ - "2876df1e-3b02-4ac9-a503-c7ce13592763" - ], - "client-request-id": [ - "cfa5926a-a7df-48e9-ae30-7f0357e7628b" - ], - "x-ms-gateway-rewrite": [ - "false" - ], - "x-ms-dirapi-data-contract-version": [ - "1.42-previewInternal" - ], - "ocp-aad-session-key": [ - "Yzcq3IbRkCxWRtP3v3xgLtYtMgoVrRC-Lj-MRk6x5fQ5XYOxqMDsh5tT2Xdm8nNdwRtxloxzc5HqpsM8M9VyRX8GmFA0m8q1JJ7KHWSTDO0.9o0eapWwNJ9nLjgksQvdgNCBYyk3i4q3JHhh73cyx3U" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "private" - ], - "Server": [ - "Microsoft-IIS/8.0" - ], - "X-AspNet-Version": [ - "4.0.30319" - ], - "X-Powered-By": [ - "ASP.NET", - "ASP.NET" - ], - "Date": [ - "Wed, 17 Sep 2014 01:51:14 GMT" - ] - }, - "StatusCode": 404 - }, - { - "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/servicePrincipals/fb7d9586-9377-43c8-95c0-22f1f067915f?api-version=1.42-previewInternal", - "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9zZXJ2aWNlUHJpbmNpcGFscy9mYjdkOTU4Ni05Mzc3LTQzYzgtOTVjMC0yMmYxZjA2NzkxNWY/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'fb7d9586-9377-43c8-95c0-22f1f067915f' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", - "ResponseHeaders": { - "ocp-aad-diagnostics-server-name": [ - "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" - ], - "request-id": [ - "79b5663e-a9d2-4c82-ba2b-39be65bd722e" - ], - "client-request-id": [ - "3d50f490-e120-4228-acf1-c37f5fad5b7f" - ], - "x-ms-gateway-rewrite": [ - "false" - ], - "x-ms-dirapi-data-contract-version": [ - "1.42-previewInternal" - ], - "ocp-aad-session-key": [ - "D4g6eTkn14OCdjPXAW7CwKod7x76bhXzQs-9kuai2mx1s_Az8pfvQCuz7nyt23Hr8VYjNXM5S6Kan04diO6mAZiUVhVOTJomddKzMJs6AyQ.3bimeBUGhCTn0iJSctWEPskrIy1FER3Ibq1kCYfCFxc" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "private" - ], - "Server": [ - "Microsoft-IIS/8.0" - ], - "X-AspNet-Version": [ - "4.0.30319" - ], - "X-Powered-By": [ - "ASP.NET", - "ASP.NET" - ], - "Date": [ - "Wed, 17 Sep 2014 01:51:16 GMT" - ] - }, - "StatusCode": 404 - }, - { - "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups/fb7d9586-9377-43c8-95c0-22f1f067915f?api-version=1.42-previewInternal", - "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHMvZmI3ZDk1ODYtOTM3Ny00M2M4LTk1YzAtMjJmMWYwNjc5MTVmP2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Group/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"group of readers\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"readergroup\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"c7a16934-b86a-43a2-8d96-7c6a8949b206\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n}", - "ResponseHeaders": { - "Pragma": [ - "no-cache" - ], - "ocp-aad-diagnostics-server-name": [ - "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" - ], - "request-id": [ - "fff6dfa3-3c85-430c-b55e-bce6c497ab8d" - ], - "client-request-id": [ - "0857c7e4-5a68-4920-9ac6-64e237808bbc" - ], - "x-ms-gateway-rewrite": [ - "false" - ], - "x-ms-dirapi-data-contract-version": [ - "1.42-previewInternal" - ], - "ocp-aad-session-key": [ - "XIjREbONfIwkOWuYT4vazg2joAp7w29S7SPHS1FFCZIiHyzfCJJ_g4pWUvGUiwsUprmRfTfTICtm37M6sFpY4_oASNoAfH_0KQiEjbNs1hA.WfCYgwgesHBZDh-HZu73fBA2mftOIOa5iPzf7SnOU5U" + "DEc7cMELvDr6ojx-FWvWYizXugoZlG1vp-Kf303tGLYIr9zZqzP8srbOjMtsUoR_Ra4Q8osJzkV7ipE4XBwaluUXV_2oRUy1g4jc5BKB2mE.VQLm0SjHZoiQyZr9fUPxbCm00y8pfotlixz4sJOSfMs" ], "X-Content-Type-Options": [ "nosniff" @@ -1132,7 +892,7 @@ "no-cache" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -1142,254 +902,35 @@ "ASP.NET" ], "Date": [ - "Wed, 17 Sep 2014 01:51:13 GMT" + "Wed, 28 Jan 2015 00:56:58 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups/fb7d9586-9377-43c8-95c0-22f1f067915f?api-version=1.42-previewInternal", - "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHMvZmI3ZDk1ODYtOTM3Ny00M2M4LTk1YzAtMjJmMWYwNjc5MTVmP2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Group/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"group of readers\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"readergroup\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"c7a16934-b86a-43a2-8d96-7c6a8949b206\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n}", - "ResponseHeaders": { - "Pragma": [ - "no-cache" - ], - "ocp-aad-diagnostics-server-name": [ - "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" - ], - "request-id": [ - "91860c8f-f268-44ac-80bf-9349bd751c29" - ], - "client-request-id": [ - "8f33c96a-078c-4cfa-990b-b51d1800efa1" - ], - "x-ms-gateway-rewrite": [ - "false" - ], - "x-ms-dirapi-data-contract-version": [ - "1.42-previewInternal" - ], - "ocp-aad-session-key": [ - "JbeOEguEZpyA0L-LfBYB9H_WEZdT-P70NQ8QGMDxUpD2RpBmzquB005S-dldtcDeiWV2O4UOzIU7Qgkbr9k3s25gB5LL0NQXvlR9dRn1aq4.kgcyw0kN67b_j-pxFkrzS1oZyb1bAuHTtLQ-pEhWKls" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "DataServiceVersion": [ - "3.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Server": [ - "Microsoft-IIS/8.0" - ], - "X-AspNet-Version": [ - "4.0.30319" - ], - "X-Powered-By": [ - "ASP.NET", - "ASP.NET" - ], - "Date": [ - "Wed, 17 Sep 2014 01:51:14 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups/fb7d9586-9377-43c8-95c0-22f1f067915f?api-version=1.42-previewInternal", - "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHMvZmI3ZDk1ODYtOTM3Ny00M2M4LTk1YzAtMjJmMWYwNjc5MTVmP2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Group/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"group of readers\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"readergroup\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"c7a16934-b86a-43a2-8d96-7c6a8949b206\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n}", - "ResponseHeaders": { - "Pragma": [ - "no-cache" - ], - "ocp-aad-diagnostics-server-name": [ - "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" - ], - "request-id": [ - "bd4f55d6-8c90-4792-8c42-00346d853d2c" - ], - "client-request-id": [ - "4d92dd6a-9889-487b-a072-a32c676f7d30" - ], - "x-ms-gateway-rewrite": [ - "false" - ], - "x-ms-dirapi-data-contract-version": [ - "1.42-previewInternal" - ], - "ocp-aad-session-key": [ - "A0rnzbJgYY74Z7aec9IOgY2HcW6v68cZJLla-s6bNTHCxoBVFFw_D9lFjCNBgYTg9a7ANuh3HoPnzwB_wboD8cGbjzDquRcHlHJ0bOGrqnM.E8pY2pOzrVSz8EpxRFw2Y5iQzLLT06z0ZwQwJTkPx9E" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "DataServiceVersion": [ - "3.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Server": [ - "Microsoft-IIS/8.0" - ], - "X-AspNet-Version": [ - "4.0.30319" - ], - "X-Powered-By": [ - "ASP.NET", - "ASP.NET" - ], - "Date": [ - "Wed, 17 Sep 2014 01:51:14 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/groups/fb7d9586-9377-43c8-95c0-22f1f067915f?api-version=1.42-previewInternal", - "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9ncm91cHMvZmI3ZDk1ODYtOTM3Ny00M2M4LTk1YzAtMjJmMWYwNjc5MTVmP2FwaS12ZXJzaW9uPTEuNDItcHJldmlld0ludGVybmFs", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.Group/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.Group\",\r\n \"objectType\": \"Group\",\r\n \"objectId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"softDeletionTimestamp\": null,\r\n \"appMetadata\": null,\r\n \"exchangeResources\": [],\r\n \"description\": \"group of readers\",\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"readergroup\",\r\n \"groupType\": null,\r\n \"isPublic\": null,\r\n \"lastDirSyncTime\": null,\r\n \"licenseAssignment\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"c7a16934-b86a-43a2-8d96-7c6a8949b206\",\r\n \"mailEnabled\": false,\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"securityEnabled\": true,\r\n \"sharepointResources\": []\r\n}", - "ResponseHeaders": { - "Pragma": [ - "no-cache" - ], - "ocp-aad-diagnostics-server-name": [ - "5TnuYhUaV09bxMxpRfIwQrijH1KPxlCtfSFarwsJz+g=" - ], - "request-id": [ - "39963c21-cdb4-4eba-af3e-ac352ef1de77" - ], - "client-request-id": [ - "475a3c2d-7def-4b39-abd6-4eac70e855c3" - ], - "x-ms-gateway-rewrite": [ - "false" - ], - "x-ms-dirapi-data-contract-version": [ - "1.42-previewInternal" - ], - "ocp-aad-session-key": [ - "DdaR4G_nhTtnC9PavdOglglGzLHjQozZdP5FIBqCSxfROF6_ICGy1p7Jn8Bn-2hHnk-C4FAmAvM1q5m1VP2lS1YYLY52QLljhlnNH7M_lKc.NAPBlIVhafEHmTILwWBzTUOuKLv0lt1-VGokx8kPkRE" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "DataServiceVersion": [ - "3.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Server": [ - "Microsoft-IIS/8.0" - ], - "X-AspNet-Version": [ - "4.0.30319" - ], - "X-Powered-By": [ - "ASP.NET", - "ASP.NET" - ], - "Date": [ - "Wed, 17 Sep 2014 01:51:16 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'fb7d9586-9377-43c8-95c0-22f1f067915f'&api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCdmYjdkOTU4Ni05Mzc3LTQzYzgtOTVjMC0yMmYxZjA2NzkxNWYnJmFwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'fb7d9586-9377-43c8-95c0-22f1f067915f'&api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCdmYjdkOTU4Ni05Mzc3LTQzYzgtOTVjMC0yMmYxZjA2NzkxNWYnJmFwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/reader1\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/reader1/providers/Microsoft.Authorization/roleAssignments/76b770a3-1a57-4d41-aa3f-4320cc1fd4b6\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"76b770a3-1a57-4d41-aa3f-4320cc1fd4b6\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"principalId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002/providers/Microsoft.Authorization/roleAssignments/78d6502f-74fc-4800-bb0a-0e1a7bebeca4\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"78d6502f-74fc-4800-bb0a-0e1a7bebeca4\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"principalId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264/providers/Microsoft.ClassicStorage/storageAccounts/teststoragecsmrg4264\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264/providers/Microsoft.ClassicStorage/storageAccounts/teststoragecsmrg4264/providers/Microsoft.Authorization/roleAssignments/78d6502f-74fc-4800-bb0a-0e1a7bebeca4\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"78d6502f-74fc-4800-bb0a-0e1a7bebeca4\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { - "Pragma": [ - "no-cache" + "Content-Length": [ + "738" ], - "Vary": [ - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:05e24c46-b2eb-44f7-a451-636a402b2ce8" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31892" + "Content-Type": [ + "application/json; charset=utf-8" ], - "x-ms-correlation-request-id": [ - "9e124fe4-778e-4c5b-b7d5-53128ecf3340" - ], - "x-ms-routing-request-id": [ - "WESTUS:20140917T015114Z:9e124fe4-778e-4c5b-b7d5-53128ecf3340" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 17 Sep 2014 01:51:13 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'fb7d9586-9377-43c8-95c0-22f1f067915f'&api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCdmYjdkOTU4Ni05Mzc3LTQzYzgtOTVjMC0yMmYxZjA2NzkxNWYnJmFwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-07-01-preview" + "Expires": [ + "-1" ], - "User-Agent": [ - "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/reader1\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/reader1/providers/Microsoft.Authorization/roleAssignments/76b770a3-1a57-4d41-aa3f-4320cc1fd4b6\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"76b770a3-1a57-4d41-aa3f-4320cc1fd4b6\"\r\n }\r\n ]\r\n}", - "ResponseHeaders": { "Pragma": [ "no-cache" ], @@ -1397,16 +938,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:895cd048-8333-46cf-b148-461972c528b5" + "westus:dee768f2-f428-45ab-b60e-e0ae34ee61e0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31889" + "31993" ], "x-ms-correlation-request-id": [ - "2351af96-aaab-4853-b8da-0b0be26dfdb8" + "651c1535-48aa-432a-9c9e-ed81255f72ad" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015115Z:2351af96-aaab-4853-b8da-0b0be26dfdb8" + "WESTUS:20150128T005658Z:651c1535-48aa-432a-9c9e-ed81255f72ad" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1415,71 +956,35 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:51:15 GMT" + "Wed, 28 Jan 2015 00:56:58 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'fb7d9586-9377-43c8-95c0-22f1f067915f'&api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCdmYjdkOTU4Ni05Mzc3LTQzYzgtOTVjMC0yMmYxZjA2NzkxNWYnJmFwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", + "ResponseBody": "{\r\n \"value\": []\r\n}", "ResponseHeaders": { - "Pragma": [ - "no-cache" - ], - "Vary": [ - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:95b364c2-7ea9-4d2f-b2b6-21449af60d0b" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31891" - ], - "x-ms-correlation-request-id": [ - "7a69af23-961d-4e48-b378-5932496460b9" + "Content-Length": [ + "12" ], - "x-ms-routing-request-id": [ - "WESTUS:20140917T015114Z:7a69af23-961d-4e48-b378-5932496460b9" + "Content-Type": [ + "application/json; charset=utf-8" ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "Expires": [ + "-1" ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 17 Sep 2014 01:51:13 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-07-01-preview" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", - "ResponseHeaders": { "Pragma": [ "no-cache" ], @@ -1487,16 +992,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:6ede86d4-95bb-4021-baa3-2761415a66b1" + "westus:9d872168-f717-4136-a0e8-fe2bdecc7a8e" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31888" + "31991" ], "x-ms-correlation-request-id": [ - "d87393cb-f70c-4077-800f-b0e94c03dc6e" + "1787ebc2-74ce-4754-b2a0-b9bc0452e2fc" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015116Z:d87393cb-f70c-4077-800f-b0e94c03dc6e" + "WESTUS:20150128T005659Z:1787ebc2-74ce-4754-b2a0-b9bc0452e2fc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1505,40 +1010,52 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:51:15 GMT" + "Wed, 28 Jan 2015 00:56:59 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002/providers/Microsoft.Authorization/roleAssignments/78d6502f-74fc-4800-bb0a-0e1a7bebeca4?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9jb250cmliMS9wcm92aWRlcnMvTWljcm9zb2Z0LldlYi9zaXRlcy93c2NvbnRyaWIwMDIvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cy83OGQ2NTAyZi03NGZjLTQ4MDAtYmIwYS0wZTFhN2JlYmVjYTQ/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264/providers/Microsoft.ClassicStorage/storageAccounts/teststoragecsmrg4264/providers/Microsoft.Authorization/roleAssignments/78d6502f-74fc-4800-bb0a-0e1a7bebeca4?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9jc21yZzQyNjQvcHJvdmlkZXJzL01pY3Jvc29mdC5DbGFzc2ljU3RvcmFnZS9zdG9yYWdlQWNjb3VudHMvdGVzdHN0b3JhZ2Vjc21yZzQyNjQvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cy83OGQ2NTAyZi03NGZjLTQ4MDAtYmIwYS0wZTFhN2JlYmVjYTQ/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"principalId\": \"fb7d9586-9377-43c8-95c0-22f1f067915f\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264/providers/Microsoft.ClassicStorage/storageAccounts/teststoragecsmrg4264\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264/providers/Microsoft.ClassicStorage/storageAccounts/teststoragecsmrg4264/providers/Microsoft.Authorization/roleAssignments/78d6502f-74fc-4800-bb0a-0e1a7bebeca4\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"78d6502f-74fc-4800-bb0a-0e1a7bebeca4\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "726" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], + "Vary": [ + "Accept-Encoding" + ], "x-ms-request-id": [ - "westus:a49e9a01-0f74-4e60-9f8b-4ba3c61d3360" + "westus:b2fdc0ac-a9d4-4151-90cd-10a7aa34cafe" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1182" + "1198" ], "x-ms-correlation-request-id": [ - "e8bd4700-ee61-4649-88cf-91d927fb528e" + "26c35cd6-a0dc-46b3-8ccc-bd6a310f5e00" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015115Z:e8bd4700-ee61-4649-88cf-91d927fb528e" + "WESTUS:20150128T005659Z:26c35cd6-a0dc-46b3-8ccc-bd6a310f5e00" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1547,7 +1064,7 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:51:14 GMT" + "Wed, 28 Jan 2015 00:56:59 GMT" ] }, "StatusCode": 200 @@ -1556,6 +1073,7 @@ "Names": {}, "Variables": { "SubscriptionId": "3ca49042-782a-4cc9-89b5-ee1b487fe115", - "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0" + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0", + "Domain": "rbactest.onmicrosoft.com" } } \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByResourceGroup.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByResourceGroup.json index d5ee92f1f445..851cfe78b78e 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByResourceGroup.json +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByResourceGroup.json @@ -10,19 +10,28 @@ "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"value\": [\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"a73a146e-93ad-43bf-8590-2f43343656b5\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Global Administrator for RBAC Testing\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Global\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"admin\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B9977C6\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"markcowl@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Admin\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"f6b529cb-97da-4126-b925-16fecac9679f\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 5,\r\n \"identityProvider\": null,\r\n \"key\": \"EAM//4ueL3M=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Alternative Owner\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Alternative\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"alt-owner_azsdkposhteamoutlook.onmicrosoft.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008BA3AFD4\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"alt-owner@azsdkposhteamoutlook.onmicrosoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"alt-owner@azsdkposhteamoutlook.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Owner\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"alt-owner_azsdkposhteamoutlook.onmicrosoft.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"da03a14a-f92e-4d70-b5c7-b0dad6324b04\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 1,\r\n \"identityProvider\": null,\r\n \"key\": \"AAN//tE+u3M=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Mark Cowlishaw\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Mark\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"azsdkposhteam_outlook.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008B9B411F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"azsdkposhteam@outlook.com\"\r\n ],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"azsdkposhteam@outlook.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Cowlishaw\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"azsdkposhteam_outlook.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"bac2a76b-6dc2-4343-be12-4af6dff38cac\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 1,\r\n \"identityProvider\": null,\r\n \"key\": \"AAMAAIngDtI=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Marky mark\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Mark\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"markcowl_live.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8BA27081\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"markcowl@live.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"markcowl@live.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Cowlishaw\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"markcowl_live.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"7b45838f-42c3-4fef-a85a-0a9051dfda41\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Owner1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Owner\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"owner1\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D83D\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"owner1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"One\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"owner1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"576b6988-ffa9-4096-a98f-c2151f8ddab1\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Owner2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Owner\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"owner2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998B5C\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"owner2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Two\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"owner2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"4f8bcdeb-e36d-4fcd-9e21-c5c76dd38a74\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Reader1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Reader\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"reader1\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B99874F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"reader1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"One\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"reader1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"fcb281e3-9b38-4868-abec-2c640743cfa9\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Reader2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Reader\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"reader2\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D58F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"reader2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Two\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"reader2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"546880c8-4956-4527-a17f-6671332ef66a\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin1\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D9C3\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminOne\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"value\": [\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"a73a146e-93ad-43bf-8590-2f43343656b5\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Global Administrator for RBAC Testing\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Global\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"admin\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B9977C6\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"markcowl@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": \"en-US\",\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Admin\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"346d4101-07d0-43cf-8667-5bd339506923\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"admin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"admin\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"admin2\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008D70CED5\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"amzavery@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"admin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"2\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"admin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"e08336bc-3ffa-4b8d-bcb0-591f6604acb5\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser1952\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser1952test\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8D70606D\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser1952@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser1952@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"36048c94-e9d5-441e-8bb5-53d3f7dece5e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser330\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser330test\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8D6C89F6\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser330@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser330@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"a2b11821-47da-43ee-8e40-49306bd315ca\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser3981\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser3981test\",\r\n \"mobile\": null,\r\n \"netId\": \"10037FFE8D6AD38F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser3981@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser3981@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"54f69052-6dcf-4627-92a5-66d310b29888\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser3995\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser3995test\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8D6524B0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser3995@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser3995@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"2652b627-7aed-4126-a7ba-1f71a5c96a64\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser4199\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser4199test\",\r\n \"mobile\": null,\r\n \"netId\": \"10037FFE8D6E66AA\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser4199@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser4199@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"40d2b434-cddc-4f29-a8dc-d8f6e98d3557\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser5681\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser5681test\",\r\n \"mobile\": null,\r\n \"netId\": \"10037FFE8D6A8C1E\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser5681@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser5681@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"18cd05f3-2c08-4d82-bfdb-f0e60b438c5c\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser6459\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser6459test\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8D771F3D\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser6459@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser6459@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"3e7a5f9d-2060-4db9-91e0-3cbd312d2788\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser6587\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser6587test\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8D7BFF0F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser6587@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser6587@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"e6221aa8-25fe-4005-90dd-7cde6272ca15\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser7950\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser7950test\",\r\n \"mobile\": null,\r\n \"netId\": \"10037FFE8D69FF04\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser7950@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser7950@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"d504ac47-7603-40f8-b738-e18c8bebe82b\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser9072\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser9072test\",\r\n \"mobile\": null,\r\n \"netId\": \"10037FFE8D6A0311\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser9072@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser9072@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"56eafb57-e03d-4a26-863d-380cca3f9e30\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser9881\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser9881test\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8D7B1DA9\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser9881@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser9881@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"da03a14a-f92e-4d70-b5c7-b0dad6324b04\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 1,\r\n \"identityProvider\": null,\r\n \"key\": \"AAN//tE+u3M=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Mark Cowlishaw\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Mark\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"azsdkposhteam_outlook.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008B9B411F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"azsdkposhteam@outlook.com\"\r\n ],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"azsdkposhteam@outlook.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Cowlishaw\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"azsdkposhteam_outlook.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"bac2a76b-6dc2-4343-be12-4af6dff38cac\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 1,\r\n \"identityProvider\": null,\r\n \"key\": \"AAMAAIngDtI=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Marky mark\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Mark\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"markcowl_live.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8BA27081\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"markcowl@live.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"markcowl@live.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Cowlishaw\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"markcowl_live.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"7b45838f-42c3-4fef-a85a-0a9051dfda41\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Owner1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Owner\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"owner1\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D83D\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"amzavery@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"owner1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"One\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"owner1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"576b6988-ffa9-4096-a98f-c2151f8ddab1\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Owner2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Owner\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"owner3\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998B5C\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"owner3@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Two\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"owner3@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"4f8bcdeb-e36d-4fcd-9e21-c5c76dd38a74\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Reader1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Reader\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"reader1\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B99874F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"amzavery@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"reader1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"One\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"reader1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"fcb281e3-9b38-4868-abec-2c640743cfa9\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Reader2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Reader\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"reader2\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D58F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"amarzavery@outlook.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"reader2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Two\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"reader2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"546880c8-4956-4527-a17f-6671332ef66a\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin1\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D9C3\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"yugangw@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminOne\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { + "Content-Length": [ + "38145" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], "ocp-aad-diagnostics-server-name": [ - "4JBXES2oJSo7EFxoGUZySbVZz5f0jRgg9xWilhxiOOk=" + "Nv0YIi2YUldDWu0YPQAXsYwXQ4ttyr7ded6Waf8xyCc=" ], "request-id": [ - "0178fa54-41c4-4b31-b043-24711b9df42c" + "f525c49d-9e69-4811-94f9-b8e9933ae50c" ], "client-request-id": [ - "e9a7e01d-4cab-49e2-b759-cd6d642ad4a8" + "681176b1-48ba-4439-ba1f-9ba1264308d1" ], "x-ms-gateway-rewrite": [ "false" @@ -31,7 +40,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "hoTIeVFSOfrm1XlJUnItTU_3PfdBZm-m6AEtd_JNmQ1PtWywPI5--Ei-yGKR8LTjlrIw73daTXGn21F3hzH__LJ10e0GurrBEVz7KXTd2D8.yPqp4dIsTUCHFEBOcvmCLuuBEr0WieaIoOC7eKwc35Y" + "_0RRDP-jMDa4bWX2h_fPtua2hpwrgE4_u9R2GMXAcmWtDvu_TpLu38H8D5wumNu_E-kbq8VCsdLBH1lgk8UYzmmdDhWTbSVMukEj4TpojdELvOm1QbjvviT0rL0wmss0P58tnnOrWeRsCD0OnGJqLA.wuPSn-vBlqBvSQ5Dzz8SmUYzoXVVHLL7ZKrxOi00u5U" ], "X-Content-Type-Options": [ "nosniff" @@ -46,7 +55,7 @@ "no-cache" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -56,7 +65,7 @@ "ASP.NET" ], "Date": [ - "Wed, 17 Sep 2014 01:51:25 GMT" + "Wed, 28 Jan 2015 00:57:24 GMT" ] }, "StatusCode": 200 @@ -71,22 +80,31 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1\",\r\n \"name\": \"contrib1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/owner1\",\r\n \"name\": \"owner1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/reader1\",\r\n \"name\": \"reader1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1\",\r\n \"name\": \"testg1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264\",\r\n \"name\": \"csmrg4264\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4942\",\r\n \"name\": \"csmrg4942\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg608\",\r\n \"name\": \"csmrg608\",\r\n \"location\": \"eastasia\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg7947\",\r\n \"name\": \"csmrg7947\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg9029\",\r\n \"name\": \"csmrg9029\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg9595\",\r\n \"name\": \"csmrg9595\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg9730\",\r\n \"name\": \"csmrg9730\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Networking\",\r\n \"name\": \"Default-Networking\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-SQL-WestUS\",\r\n \"name\": \"Default-SQL-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Storage-WestUS\",\r\n \"name\": \"Default-Storage-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Web-EastUS\",\r\n \"name\": \"Default-Web-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Web-WestUS\",\r\n \"name\": \"Default-Web-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg1234\",\r\n \"name\": \"testrg1234\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571\",\r\n \"name\": \"testrg18571\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { + "Content-Length": [ + "2609" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31887" + "31990" ], "x-ms-request-id": [ - "6d3614ef-766b-47ce-a7fb-6a3b450deefa" + "b2dbaffe-8f87-49f5-83d9-0e7eb3f83652" ], "x-ms-correlation-request-id": [ - "6d3614ef-766b-47ce-a7fb-6a3b450deefa" + "b2dbaffe-8f87-49f5-83d9-0e7eb3f83652" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015125Z:6d3614ef-766b-47ce-a7fb-6a3b450deefa" + "WESTUS:20150128T005725Z:b2dbaffe-8f87-49f5-83d9-0e7eb3f83652" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -95,7 +113,7 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:51:25 GMT" + "Wed, 28 Jan 2015 00:57:24 GMT" ] }, "StatusCode": 200 @@ -110,22 +128,31 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1\",\r\n \"name\": \"contrib1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/owner1\",\r\n \"name\": \"owner1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/reader1\",\r\n \"name\": \"reader1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1\",\r\n \"name\": \"testg1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264\",\r\n \"name\": \"csmrg4264\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4942\",\r\n \"name\": \"csmrg4942\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg608\",\r\n \"name\": \"csmrg608\",\r\n \"location\": \"eastasia\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg7947\",\r\n \"name\": \"csmrg7947\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg9029\",\r\n \"name\": \"csmrg9029\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg9595\",\r\n \"name\": \"csmrg9595\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg9730\",\r\n \"name\": \"csmrg9730\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Networking\",\r\n \"name\": \"Default-Networking\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-SQL-WestUS\",\r\n \"name\": \"Default-SQL-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Storage-WestUS\",\r\n \"name\": \"Default-Storage-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Web-EastUS\",\r\n \"name\": \"Default-Web-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Web-WestUS\",\r\n \"name\": \"Default-Web-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg1234\",\r\n \"name\": \"testrg1234\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571\",\r\n \"name\": \"testrg18571\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { + "Content-Length": [ + "2609" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31886" + "31989" ], "x-ms-request-id": [ - "b9ecfe5a-0acb-4739-b3b4-14b606faba2b" + "7d5f14cb-52ad-432f-bab5-67e471d3fff5" ], "x-ms-correlation-request-id": [ - "b9ecfe5a-0acb-4739-b3b4-14b606faba2b" + "7d5f14cb-52ad-432f-bab5-67e471d3fff5" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015125Z:b9ecfe5a-0acb-4739-b3b4-14b606faba2b" + "WESTUS:20150128T005725Z:7d5f14cb-52ad-432f-bab5-67e471d3fff5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -134,26 +161,35 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:51:25 GMT" + "Wed, 28 Jan 2015 00:57:24 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlRGVmaW5pdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlRGVmaW5pdGlvbnM/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Contributors can manage everything except access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Owner\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Owners can manage everything, including access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you manage everything except access to resources.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Owner\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you manage everything, including access to resources.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you view everything, but not make any changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { + "Content-Length": [ + "1385" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], @@ -161,16 +197,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:f6287ab6-58b7-4f0a-a1b8-08ac5872556c" + "westus:26c26f78-6d75-4e36-b8b7-bef6fecca31c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31936" + "31999" ], "x-ms-correlation-request-id": [ - "3d5810d2-27d6-48d8-9c4f-e527b991ccef" + "0fe67b83-3b62-4624-b52a-6b8f0df7def8" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015125Z:3d5810d2-27d6-48d8-9c4f-e527b991ccef" + "WESTUS:20150128T005725Z:0fe67b83-3b62-4624-b52a-6b8f0df7def8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -179,37 +215,52 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:51:24 GMT" + "Wed, 28 Jan 2015 00:57:25 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1/providers/Microsoft.Authorization/roleAssignments/a4b82891-ebee-4568-b606-632899bf9453?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy90ZXN0ZzEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cy9hNGI4Mjg5MS1lYmVlLTQ1NjgtYjYwNi02MzI4OTliZjk0NTM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571/providers/Microsoft.Authorization/roleAssignments/a4b82891-ebee-4568-b606-632899bf9453?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy90ZXN0cmcxODU3MS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzL2E0YjgyODkxLWViZWUtNDU2OC1iNjA2LTYzMjg5OWJmOTQ1Mz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\"\r\n }\r\n}", "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "254" + ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1/providers/Microsoft.Authorization/roleAssignments/a4b82891-ebee-4568-b606-632899bf9453\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"a4b82891-ebee-4568-b606-632899bf9453\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571/providers/Microsoft.Authorization/roleAssignments/a4b82891-ebee-4568-b606-632899bf9453\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"a4b82891-ebee-4568-b606-632899bf9453\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "586" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:8dae3881-369c-498c-b104-c495f8431ef2" + "westus:280e7e35-3650-4584-8a4f-8fa2e8519b47" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" + "1199" ], "x-ms-correlation-request-id": [ - "6780d381-a168-4bc1-97c6-475b05a1acaf" + "5e52b5e9-3f88-4aad-b566-656bbb0077c4" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015127Z:6780d381-a168-4bc1-97c6-475b05a1acaf" + "WESTUS:20150128T005726Z:5e52b5e9-3f88-4aad-b566-656bbb0077c4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -218,26 +269,35 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:51:26 GMT" + "Wed, 28 Jan 2015 00:57:26 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1/providers/Microsoft.Authorization/roleAssignments/a4b82891-ebee-4568-b606-632899bf9453?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy90ZXN0ZzEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cy9hNGI4Mjg5MS1lYmVlLTQ1NjgtYjYwNi02MzI4OTliZjk0NTM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571/providers/Microsoft.Authorization/roleAssignments/a4b82891-ebee-4568-b606-632899bf9453?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy90ZXN0cmcxODU3MS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzL2E0YjgyODkxLWViZWUtNDU2OC1iNjA2LTYzMjg5OWJmOTQ1Mz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1/providers/Microsoft.Authorization/roleAssignments/a4b82891-ebee-4568-b606-632899bf9453\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"a4b82891-ebee-4568-b606-632899bf9453\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571/providers/Microsoft.Authorization/roleAssignments/a4b82891-ebee-4568-b606-632899bf9453\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"a4b82891-ebee-4568-b606-632899bf9453\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "586" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], @@ -245,16 +305,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:a16bff46-b2ea-4a75-8f61-815979173aee" + "westus:f2de217d-1b31-480e-aceb-bb37260fc13c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31935" + "31998" ], "x-ms-correlation-request-id": [ - "1538f4e8-f6d0-435a-a509-14ef6b7473f6" + "201a399c-6df5-444d-8e2a-3eb8b63ee5a1" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015127Z:1538f4e8-f6d0-435a-a509-14ef6b7473f6" + "WESTUS:20150128T005726Z:201a399c-6df5-444d-8e2a-3eb8b63ee5a1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -263,26 +323,35 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:51:26 GMT" + "Wed, 28 Jan 2015 00:57:26 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2IyNDk4OGFjLTYxODAtNDJhMC1hYjg4LTIwZjczODJkZDI0Yz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2IyNDk4OGFjLTYxODAtNDJhMC1hYjg4LTIwZjczODJkZDI0Yz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Contributors can manage everything except access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you manage everything except access to resources.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "504" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], @@ -290,16 +359,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:8a9ba971-8547-4d88-b805-01ed96ef4b92" + "westus:b5ded8d2-64bd-4f84-9cda-2ad0600e2dd4" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31934" + "31997" ], "x-ms-correlation-request-id": [ - "0682f03a-410a-40f2-a6fe-f72fd6312ef0" + "c51f7e8c-5c3c-42e1-b92b-3c8862fb7bfd" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015127Z:0682f03a-410a-40f2-a6fe-f72fd6312ef0" + "WESTUS:20150128T005726Z:c51f7e8c-5c3c-42e1-b92b-3c8862fb7bfd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -308,26 +377,35 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:51:26 GMT" + "Wed, 28 Jan 2015 00:57:26 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2IyNDk4OGFjLTYxODAtNDJhMC1hYjg4LTIwZjczODJkZDI0Yz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2IyNDk4OGFjLTYxODAtNDJhMC1hYjg4LTIwZjczODJkZDI0Yz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Contributors can manage everything except access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you manage everything except access to resources.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "504" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], @@ -335,16 +413,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:4df6c72a-de72-44f5-85f0-e43b6b95a33e" + "westus:83a4fc2e-9b90-49a0-a157-0a13c533238d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31931" + "31995" ], "x-ms-correlation-request-id": [ - "71a35aa5-835c-4b9e-8716-aba0cbcaaa28" + "3f0039c5-6f84-40c8-8052-e4c0eaaad2b9" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015127Z:71a35aa5-835c-4b9e-8716-aba0cbcaaa28" + "WESTUS:20150128T005727Z:3f0039c5-6f84-40c8-8052-e4c0eaaad2b9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -353,7 +431,7 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:51:26 GMT" + "Wed, 28 Jan 2015 00:57:26 GMT" ] }, "StatusCode": 200 @@ -370,78 +448,26 @@ }, "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", "ResponseHeaders": { - "Pragma": [ - "no-cache" + "Content-Length": [ + "1956" ], - "ocp-aad-diagnostics-server-name": [ - "wByDmqOAuV8t6pYQ6JlEvztwcfHFDpgbEASm4svTq80=" + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], - "request-id": [ - "23521066-382b-453d-954d-093a7bc7a0df" + "Expires": [ + "-1" ], - "client-request-id": [ - "5871305c-d888-44dc-9649-363d68d98f6b" - ], - "x-ms-gateway-rewrite": [ - "false" - ], - "x-ms-dirapi-data-contract-version": [ - "1.42-previewInternal" - ], - "ocp-aad-session-key": [ - "lZcI48LEpr3JgZD_a9uLUi1f8TjzygfAaVdNSPpIlg-wlkQ90wmjruJ0SjY0FhwimDlM4VSL9wv-1Qh6iiX38oIwfpHiCED2mnYkcUGZ7q8.RtaEcX0QcjrMH7kebp84A7kPRXuWNU37vNABoREbFGk" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "DataServiceVersion": [ - "3.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Server": [ - "Microsoft-IIS/8.0" - ], - "X-AspNet-Version": [ - "4.0.30319" - ], - "X-Powered-By": [ - "ASP.NET", - "ASP.NET" - ], - "Date": [ - "Wed, 17 Sep 2014 01:51:27 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/5509dd91-9239-4de9-877c-985984f9284e?api-version=1.42-previewInternal", - "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy81NTA5ZGQ5MS05MjM5LTRkZTktODc3Yy05ODU5ODRmOTI4NGU/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", - "ResponseHeaders": { "Pragma": [ "no-cache" ], "ocp-aad-diagnostics-server-name": [ - "wByDmqOAuV8t6pYQ6JlEvztwcfHFDpgbEASm4svTq80=" + "Nv0YIi2YUldDWu0YPQAXsYwXQ4ttyr7ded6Waf8xyCc=" ], "request-id": [ - "3d4f4a6a-9747-4931-bd30-ac9911171dbb" + "ed5cf6eb-365a-4d82-acd6-98fbbec5cacf" ], "client-request-id": [ - "6a03c780-a2dc-4430-8af3-2289c7e281e8" + "d2098f52-2464-4bd7-a365-37da9b9a26de" ], "x-ms-gateway-rewrite": [ "false" @@ -450,7 +476,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "At7ZxFOEJmI5oqABPI66bsp8jnFXhX6ajHHIIm1SwKjrXo-iPlTDFAowmel1gDpFbBOwptJzzw7UKidZUbGie4D-7S4v8LVgxdCT2p0mBnc.Ngmpz8R0xco4JRWsQSARLSLCY9QCrZQu1Te4QOnzhhA" + "qAvN3aj8w05wVnfH5ryi5Njdi7LUfp4rRopxk3DkUiRk70sPxNSmuy4vaCEd9Xfn_dZ87Yj4BILab5V2YMEilZyTrjSrxKkcnnBoVvYz_2HZ-q265vOqsxAXj4vCrqNssRGb86EWDVhbwGy_IoIoCg.HGUibJMp9JxZZo53ZMh6FDSXY4Pvp3abPslywo0fnYE" ], "X-Content-Type-Options": [ "nosniff" @@ -465,7 +491,7 @@ "no-cache" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -475,7 +501,7 @@ "ASP.NET" ], "Date": [ - "Wed, 17 Sep 2014 01:51:27 GMT" + "Wed, 28 Jan 2015 00:57:26 GMT" ] }, "StatusCode": 200 @@ -492,78 +518,26 @@ }, "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", "ResponseHeaders": { - "Pragma": [ - "no-cache" - ], - "ocp-aad-diagnostics-server-name": [ - "wByDmqOAuV8t6pYQ6JlEvztwcfHFDpgbEASm4svTq80=" - ], - "request-id": [ - "3f730acd-e13f-4707-8f57-ca6894fb3a34" - ], - "client-request-id": [ - "4b8f5736-4b9d-46a5-819a-37b009f33b61" - ], - "x-ms-gateway-rewrite": [ - "false" - ], - "x-ms-dirapi-data-contract-version": [ - "1.42-previewInternal" - ], - "ocp-aad-session-key": [ - "Fc2LZyuAiFIJFwH-KH4hY8y-bj6shIm61PqTAKZYF8xiyQhKMlxt7Fk2oKCcYTmXz34p4JV9tGLr_WM5knkAA6ds3iQDZdlwyepwM_pK4e4.xAs9DJX9czqN6tmqQ0O8mmo8nqKJAlEQi7qCUdkpaFU" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "DataServiceVersion": [ - "3.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "Content-Length": [ + "1956" ], - "Cache-Control": [ - "no-cache" + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], - "Server": [ - "Microsoft-IIS/8.0" + "Expires": [ + "-1" ], - "X-AspNet-Version": [ - "4.0.30319" - ], - "X-Powered-By": [ - "ASP.NET", - "ASP.NET" - ], - "Date": [ - "Wed, 17 Sep 2014 01:51:28 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/5509dd91-9239-4de9-877c-985984f9284e?api-version=1.42-previewInternal", - "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy81NTA5ZGQ5MS05MjM5LTRkZTktODc3Yy05ODU5ODRmOTI4NGU/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", - "ResponseHeaders": { "Pragma": [ "no-cache" ], "ocp-aad-diagnostics-server-name": [ - "wByDmqOAuV8t6pYQ6JlEvztwcfHFDpgbEASm4svTq80=" + "Nv0YIi2YUldDWu0YPQAXsYwXQ4ttyr7ded6Waf8xyCc=" ], "request-id": [ - "0ec9f9f5-57b4-4dda-bf0e-90d155a034a9" + "98b4f62b-9282-4f40-a999-2199962ce794" ], "client-request-id": [ - "3242a9b4-9722-4db9-8a24-a15b8b00b2f2" + "8889c32b-7885-4d9f-8eef-f8d31989b9fc" ], "x-ms-gateway-rewrite": [ "false" @@ -572,7 +546,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "sPsqDJ2-f0Rmt9JBoio3XSPbGZ6HMfS4trGcW1_zh7DmGG8oZ5T5CkH1FP2eoj0UnrCG3wUA_LsR-mHDrM4SmUslh4jDlYmnvT_e3DEWVi8.MtW2JP6OvSCII7lREME-p8x-pB5XUSERm53Yd-xEDVM" + "9ct1s2DL89LNfummMbkaZ4uNEdInM_2U4kWJL90C_xexq6b1taOyG7fSRNvIX0F04Rp6fsDl_PBVZ2uLz7icJRaOWU3Ze5zXt7_gz_34eXzjQtQiuJojC2XCGkvy0W8lDk0U4M0FldzWkDfpSOfskg.-7FFynKJlZjTTLTQNu4YHk6X7gA544R0vcjK4ipvK5g" ], "X-Content-Type-Options": [ "nosniff" @@ -587,7 +561,7 @@ "no-cache" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -597,71 +571,35 @@ "ASP.NET" ], "Date": [ - "Wed, 17 Sep 2014 01:51:28 GMT" + "Wed, 28 Jan 2015 00:57:26 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'5509dd91-9239-4de9-877c-985984f9284e'&api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCc1NTA5ZGQ5MS05MjM5LTRkZTktODc3Yy05ODU5ODRmOTI4NGUnJmFwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'5509dd91-9239-4de9-877c-985984f9284e'&api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCc1NTA5ZGQ5MS05MjM5LTRkZTktODc3Yy05ODU5ODRmOTI4NGUnJmFwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/nonexistentRG\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/nonexistentRG/providers/Microsoft.Authorization/roleAssignments/ddfb9670-5239-475b-9428-be0adc07bef1\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"ddfb9670-5239-475b-9428-be0adc07bef1\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1/providers/Microsoft.Authorization/roleAssignments/a4b82891-ebee-4568-b606-632899bf9453\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"a4b82891-ebee-4568-b606-632899bf9453\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571/providers/Microsoft.Authorization/roleAssignments/a4b82891-ebee-4568-b606-632899bf9453\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"a4b82891-ebee-4568-b606-632899bf9453\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { - "Pragma": [ - "no-cache" + "Content-Length": [ + "598" ], - "Vary": [ - "Accept-Encoding" + "Content-Type": [ + "application/json; charset=utf-8" ], - "x-ms-request-id": [ - "westus:72b7ce50-19b7-4780-a4c2-5b2eee69aa54" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31933" + "Expires": [ + "-1" ], - "x-ms-correlation-request-id": [ - "daa73e12-456a-400a-9044-6cd0b95f17fe" - ], - "x-ms-routing-request-id": [ - "WESTUS:20140917T015127Z:daa73e12-456a-400a-9044-6cd0b95f17fe" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 17 Sep 2014 01:51:26 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'5509dd91-9239-4de9-877c-985984f9284e'&api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCc1NTA5ZGQ5MS05MjM5LTRkZTktODc3Yy05ODU5ODRmOTI4NGUnJmFwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-07-01-preview" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/nonexistentRG\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/nonexistentRG/providers/Microsoft.Authorization/roleAssignments/ddfb9670-5239-475b-9428-be0adc07bef1\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"ddfb9670-5239-475b-9428-be0adc07bef1\"\r\n }\r\n ]\r\n}", - "ResponseHeaders": { "Pragma": [ "no-cache" ], @@ -669,16 +607,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:2732686b-2755-426f-84b2-0ff19fe97f9e" + "westus:ceb7fd34-6c89-4e77-81be-8c851f684fd2" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31930" + "31996" ], "x-ms-correlation-request-id": [ - "686928b9-bb51-4428-b5d5-e0e2d42e08d4" + "381a1c78-1307-4391-a8b0-5d19578945c4" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015128Z:686928b9-bb51-4428-b5d5-e0e2d42e08d4" + "WESTUS:20150128T005727Z:381a1c78-1307-4391-a8b0-5d19578945c4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -687,71 +625,35 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:51:27 GMT" + "Wed, 28 Jan 2015 00:57:26 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'5509dd91-9239-4de9-877c-985984f9284e'&api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCc1NTA5ZGQ5MS05MjM5LTRkZTktODc3Yy05ODU5ODRmOTI4NGUnJmFwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", + "ResponseBody": "{\r\n \"value\": []\r\n}", "ResponseHeaders": { - "Pragma": [ - "no-cache" - ], - "Vary": [ - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:360ef652-132c-44aa-be8e-88988a092b3f" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31932" - ], - "x-ms-correlation-request-id": [ - "323d5d48-a311-487f-aad3-e1459ef61e8f" - ], - "x-ms-routing-request-id": [ - "WESTUS:20140917T015127Z:323d5d48-a311-487f-aad3-e1459ef61e8f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "Content-Length": [ + "12" ], - "Cache-Control": [ - "no-cache" + "Content-Type": [ + "application/json; charset=utf-8" ], - "Date": [ - "Wed, 17 Sep 2014 01:51:26 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-07-01-preview" + "Expires": [ + "-1" ], - "User-Agent": [ - "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", - "ResponseHeaders": { "Pragma": [ "no-cache" ], @@ -759,16 +661,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:984651b1-a17a-4553-b576-77e4a259bb61" + "westus:621f7309-55ea-44c1-95bb-a6796f7721fc" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31929" + "31994" ], "x-ms-correlation-request-id": [ - "7cc264e6-3e74-44a8-aa68-95669ce22297" + "4313fffa-f9ad-4088-a02a-65f54cc31cc1" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015128Z:7cc264e6-3e74-44a8-aa68-95669ce22297" + "WESTUS:20150128T005728Z:4313fffa-f9ad-4088-a02a-65f54cc31cc1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -777,40 +679,52 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:51:27 GMT" + "Wed, 28 Jan 2015 00:57:28 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1/providers/Microsoft.Authorization/roleAssignments/a4b82891-ebee-4568-b606-632899bf9453?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy90ZXN0ZzEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cy9hNGI4Mjg5MS1lYmVlLTQ1NjgtYjYwNi02MzI4OTliZjk0NTM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571/providers/Microsoft.Authorization/roleAssignments/a4b82891-ebee-4568-b606-632899bf9453?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy90ZXN0cmcxODU3MS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzL2E0YjgyODkxLWViZWUtNDU2OC1iNjA2LTYzMjg5OWJmOTQ1Mz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571/providers/Microsoft.Authorization/roleAssignments/a4b82891-ebee-4568-b606-632899bf9453\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"a4b82891-ebee-4568-b606-632899bf9453\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "586" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], + "Vary": [ + "Accept-Encoding" + ], "x-ms-request-id": [ - "westus:6d65c6df-31de-4e36-8f4f-8a88a7ebd878" + "westus:60438f9c-a668-47a5-a381-8a1b83d551b2" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1189" + "1198" ], "x-ms-correlation-request-id": [ - "72f4057a-6c35-426c-856c-0f85a666a7a3" + "fdd8a767-ac3a-4fd3-a631-89c07973865d" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015128Z:72f4057a-6c35-426c-856c-0f85a666a7a3" + "WESTUS:20150128T005728Z:fdd8a767-ac3a-4fd3-a631-89c07973865d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -819,7 +733,7 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:51:27 GMT" + "Wed, 28 Jan 2015 00:57:28 GMT" ] }, "StatusCode": 200 @@ -828,6 +742,7 @@ "Names": {}, "Variables": { "SubscriptionId": "3ca49042-782a-4cc9-89b5-ee1b487fe115", - "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0" + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0", + "Domain": "rbactest.onmicrosoft.com" } } \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByScope.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByScope.json index c74694837c32..cc8766986b7d 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByScope.json +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByScope.json @@ -10,19 +10,28 @@ "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"value\": [\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"a73a146e-93ad-43bf-8590-2f43343656b5\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Global Administrator for RBAC Testing\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Global\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"admin\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B9977C6\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"markcowl@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Admin\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"f6b529cb-97da-4126-b925-16fecac9679f\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 5,\r\n \"identityProvider\": null,\r\n \"key\": \"EAM//4ueL3M=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Alternative Owner\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Alternative\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"alt-owner_azsdkposhteamoutlook.onmicrosoft.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008BA3AFD4\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"alt-owner@azsdkposhteamoutlook.onmicrosoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"alt-owner@azsdkposhteamoutlook.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Owner\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"alt-owner_azsdkposhteamoutlook.onmicrosoft.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"da03a14a-f92e-4d70-b5c7-b0dad6324b04\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 1,\r\n \"identityProvider\": null,\r\n \"key\": \"AAN//tE+u3M=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Mark Cowlishaw\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Mark\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"azsdkposhteam_outlook.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008B9B411F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"azsdkposhteam@outlook.com\"\r\n ],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"azsdkposhteam@outlook.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Cowlishaw\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"azsdkposhteam_outlook.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"bac2a76b-6dc2-4343-be12-4af6dff38cac\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 1,\r\n \"identityProvider\": null,\r\n \"key\": \"AAMAAIngDtI=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Marky mark\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Mark\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"markcowl_live.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8BA27081\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"markcowl@live.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"markcowl@live.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Cowlishaw\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"markcowl_live.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"7b45838f-42c3-4fef-a85a-0a9051dfda41\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Owner1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Owner\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"owner1\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D83D\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"owner1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"One\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"owner1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"576b6988-ffa9-4096-a98f-c2151f8ddab1\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Owner2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Owner\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"owner2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998B5C\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"owner2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Two\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"owner2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"4f8bcdeb-e36d-4fcd-9e21-c5c76dd38a74\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Reader1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Reader\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"reader1\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B99874F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"reader1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"One\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"reader1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"fcb281e3-9b38-4868-abec-2c640743cfa9\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Reader2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Reader\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"reader2\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D58F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"reader2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Two\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"reader2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"546880c8-4956-4527-a17f-6671332ef66a\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin1\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D9C3\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminOne\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"value\": [\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"a73a146e-93ad-43bf-8590-2f43343656b5\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Global Administrator for RBAC Testing\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Global\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"admin\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B9977C6\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"markcowl@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": \"en-US\",\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Admin\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"346d4101-07d0-43cf-8667-5bd339506923\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"admin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"admin\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"admin2\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008D70CED5\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"amzavery@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"admin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"2\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"admin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"e08336bc-3ffa-4b8d-bcb0-591f6604acb5\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser1952\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser1952test\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8D70606D\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser1952@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser1952@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"36048c94-e9d5-441e-8bb5-53d3f7dece5e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser330\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser330test\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8D6C89F6\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser330@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser330@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"a2b11821-47da-43ee-8e40-49306bd315ca\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser3981\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser3981test\",\r\n \"mobile\": null,\r\n \"netId\": \"10037FFE8D6AD38F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser3981@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser3981@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"54f69052-6dcf-4627-92a5-66d310b29888\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser3995\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser3995test\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8D6524B0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser3995@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser3995@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"2652b627-7aed-4126-a7ba-1f71a5c96a64\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser4199\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser4199test\",\r\n \"mobile\": null,\r\n \"netId\": \"10037FFE8D6E66AA\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser4199@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser4199@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"40d2b434-cddc-4f29-a8dc-d8f6e98d3557\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser5681\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser5681test\",\r\n \"mobile\": null,\r\n \"netId\": \"10037FFE8D6A8C1E\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser5681@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser5681@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"18cd05f3-2c08-4d82-bfdb-f0e60b438c5c\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser6459\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser6459test\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8D771F3D\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser6459@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser6459@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"e6221aa8-25fe-4005-90dd-7cde6272ca15\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser7950\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser7950test\",\r\n \"mobile\": null,\r\n \"netId\": \"10037FFE8D69FF04\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser7950@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser7950@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"d504ac47-7603-40f8-b738-e18c8bebe82b\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser9072\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser9072test\",\r\n \"mobile\": null,\r\n \"netId\": \"10037FFE8D6A0311\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser9072@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser9072@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"56eafb57-e03d-4a26-863d-380cca3f9e30\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser9881\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser9881test\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8D7B1DA9\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser9881@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser9881@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"da03a14a-f92e-4d70-b5c7-b0dad6324b04\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 1,\r\n \"identityProvider\": null,\r\n \"key\": \"AAN//tE+u3M=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Mark Cowlishaw\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Mark\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"azsdkposhteam_outlook.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008B9B411F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"azsdkposhteam@outlook.com\"\r\n ],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"azsdkposhteam@outlook.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Cowlishaw\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"azsdkposhteam_outlook.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"bac2a76b-6dc2-4343-be12-4af6dff38cac\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 1,\r\n \"identityProvider\": null,\r\n \"key\": \"AAMAAIngDtI=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Marky mark\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Mark\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"markcowl_live.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8BA27081\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"markcowl@live.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"markcowl@live.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Cowlishaw\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"markcowl_live.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"7b45838f-42c3-4fef-a85a-0a9051dfda41\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Owner1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Owner\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"owner1\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D83D\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"amzavery@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"owner1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"One\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"owner1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"576b6988-ffa9-4096-a98f-c2151f8ddab1\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Owner2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Owner\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"owner3\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998B5C\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"owner3@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Two\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"owner3@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"4f8bcdeb-e36d-4fcd-9e21-c5c76dd38a74\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Reader1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Reader\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"reader1\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B99874F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"amzavery@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"reader1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"One\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"reader1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"fcb281e3-9b38-4868-abec-2c640743cfa9\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Reader2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Reader\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"reader2\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D58F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"amarzavery@outlook.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"reader2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Two\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"reader2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"546880c8-4956-4527-a17f-6671332ef66a\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin1\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D9C3\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"yugangw@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminOne\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { + "Content-Length": [ + "36351" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], "ocp-aad-diagnostics-server-name": [ - "1Ptot0LG1647jq6Jd5jbCVVlBPXTTRRWQ3OcUhRUILc=" + "Nv0YIi2YUldDWu0YPQAXsYwXQ4ttyr7ded6Waf8xyCc=" ], "request-id": [ - "468b5c11-1c38-498d-868f-9906a84b11b2" + "9b14738b-23a8-4d94-b27d-6fab86283cf9" ], "client-request-id": [ - "a12b2967-1eec-4904-86fe-3bff7a166b0d" + "181426b4-12a7-47f3-8721-d6b63c2ea16c" ], "x-ms-gateway-rewrite": [ "false" @@ -31,7 +40,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "UTlJxnV4fhBX9ZPFJzAwtmWNCga6aVcQKiMSEe1LM2VhlVEkrZSy171cisVFA26XQxPrV7An6BSy7PIcPyHBHACFhjPQwi2tT6fti46xAB4.d8A7joD_MmQ5LPX7PN_ewEgh0_x222nOGPgOlGfuZyU" + "GbUqE7XYpoqTcOlRpVD0K0rCJcCLwsbujfMq_mJ2z2njtKfNMe4Rz11teoXjCDtxsHC_5-fYcJc8IWwCV0yCTNrCa9jLc9HgV6QlEr0D6Jw.l31wifKR59hql66WyNcnzPrGJyK776cf2D8WAn-aRvs" ], "X-Content-Type-Options": [ "nosniff" @@ -46,7 +55,7 @@ "no-cache" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -56,26 +65,35 @@ "ASP.NET" ], "Date": [ - "Wed, 17 Sep 2014 17:09:29 GMT" + "Wed, 28 Jan 2015 00:56:11 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlRGVmaW5pdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlRGVmaW5pdGlvbnM/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Contributors can manage everything except access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Owner\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Owners can manage everything, including access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you manage everything except access to resources.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Owner\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you manage everything, including access to resources.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you view everything, but not make any changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { + "Content-Length": [ + "1385" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], @@ -83,16 +101,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:65dce94c-0d71-43d0-8c25-6c5c8a7d9c73" + "westus:ab1dc492-1dc0-476e-a49b-fc9ef447883a" ], "x-ms-ratelimit-remaining-subscription-reads": [ "31999" ], "x-ms-correlation-request-id": [ - "ac597b0a-0576-4b93-960d-013b3aa68d2e" + "fafbace1-d6d1-458c-aa17-45a201246a8a" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T170930Z:ac597b0a-0576-4b93-960d-013b3aa68d2e" + "WESTUS:20150128T005611Z:fafbace1-d6d1-458c-aa17-45a201246a8a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -101,37 +119,52 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 17:09:30 GMT" + "Wed, 28 Jan 2015 00:56:11 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroup/providers/Microsoft.Authorization/roleAssignments/8d7dd69e-9ae2-44a1-94d8-f7bc8e12645e?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9Tb21lUmVzb3VyY2VHcm91cC9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzLzhkN2RkNjllLTlhZTItNDRhMS05NGQ4LWY3YmM4ZTEyNjQ1ZT9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroup/providers/Microsoft.Authorization/roleAssignments/8d7dd69e-9ae2-44a1-94d8-f7bc8e12645e?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9Tb21lUmVzb3VyY2VHcm91cC9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzLzhkN2RkNjllLTlhZTItNDRhMS05NGQ4LWY3YmM4ZTEyNjQ1ZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"a73a146e-93ad-43bf-8590-2f43343656b5\"\r\n }\r\n}", "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "254" + ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"a73a146e-93ad-43bf-8590-2f43343656b5\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroup\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroup/providers/Microsoft.Authorization/roleAssignments/8d7dd69e-9ae2-44a1-94d8-f7bc8e12645e\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"8d7dd69e-9ae2-44a1-94d8-f7bc8e12645e\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "598" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:1b563d0b-2b62-4417-8f67-d5c6b60d4189" + "westus:6da5183b-488a-4ac2-894f-013dfc80127b" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-correlation-request-id": [ - "b81627c6-7f80-4114-a11d-b8ba18717a29" + "d69cbf2d-40dc-4d91-80d1-415daf76e280" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T170932Z:b81627c6-7f80-4114-a11d-b8ba18717a29" + "WESTUS:20150128T005614Z:d69cbf2d-40dc-4d91-80d1-415daf76e280" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -140,19 +173,19 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 17:09:32 GMT" + "Wed, 28 Jan 2015 00:56:13 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroup/providers/Microsoft.Authorization/roleAssignments/8d7dd69e-9ae2-44a1-94d8-f7bc8e12645e?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9Tb21lUmVzb3VyY2VHcm91cC9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzLzhkN2RkNjllLTlhZTItNDRhMS05NGQ4LWY3YmM4ZTEyNjQ1ZT9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroup/providers/Microsoft.Authorization/roleAssignments/8d7dd69e-9ae2-44a1-94d8-f7bc8e12645e?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9Tb21lUmVzb3VyY2VHcm91cC9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzLzhkN2RkNjllLTlhZTItNDRhMS05NGQ4LWY3YmM4ZTEyNjQ1ZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" @@ -160,6 +193,15 @@ }, "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"a73a146e-93ad-43bf-8590-2f43343656b5\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroup\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroup/providers/Microsoft.Authorization/roleAssignments/8d7dd69e-9ae2-44a1-94d8-f7bc8e12645e\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"8d7dd69e-9ae2-44a1-94d8-f7bc8e12645e\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "598" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], @@ -167,16 +209,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:939e98d6-c393-4227-9a0b-70af4a05601a" + "westus:efefb09f-8afc-4b2d-9c9b-c328ebc4083a" ], "x-ms-ratelimit-remaining-subscription-reads": [ "31998" ], "x-ms-correlation-request-id": [ - "9007f7fb-e1da-48b6-b6cf-e28fcf79dd60" + "119f9674-70e7-452f-b9fd-f81626ebab4d" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T170932Z:9007f7fb-e1da-48b6-b6cf-e28fcf79dd60" + "WESTUS:20150128T005614Z:119f9674-70e7-452f-b9fd-f81626ebab4d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -185,26 +227,35 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 17:09:32 GMT" + "Wed, 28 Jan 2015 00:56:13 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you view everything, but not make any changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "433" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], @@ -212,16 +263,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:bdd4ea1e-2717-470b-bcdb-6d41cdbcdbfa" + "westus:bb0bda10-bff7-461d-83df-31f55f459b9f" ], "x-ms-ratelimit-remaining-subscription-reads": [ "31997" ], "x-ms-correlation-request-id": [ - "97730561-aa7b-4f64-9f26-b016023c7e74" + "c6806fef-7f2e-45f1-846e-e78723b6121a" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T170932Z:97730561-aa7b-4f64-9f26-b016023c7e74" + "WESTUS:20150128T005614Z:c6806fef-7f2e-45f1-846e-e78723b6121a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -230,26 +281,35 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 17:09:32 GMT" + "Wed, 28 Jan 2015 00:56:14 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you view everything, but not make any changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "433" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], @@ -257,16 +317,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:b8274877-7402-4a1e-b882-dc43b2243d2a" + "westus:7d33b19d-137a-4bbc-9f1f-a276ba57208a" ], "x-ms-ratelimit-remaining-subscription-reads": [ "31995" ], "x-ms-correlation-request-id": [ - "61f6d871-f5b2-4a9e-8f16-8ad1233b344c" + "c9837826-604b-4af4-b939-465874cd2bc3" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T170932Z:61f6d871-f5b2-4a9e-8f16-8ad1233b344c" + "WESTUS:20150128T005614Z:c9837826-604b-4af4-b939-465874cd2bc3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -275,7 +335,7 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 17:09:32 GMT" + "Wed, 28 Jan 2015 00:56:14 GMT" ] }, "StatusCode": 200 @@ -290,19 +350,28 @@ "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"a73a146e-93ad-43bf-8590-2f43343656b5\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Global Administrator for RBAC Testing\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Global\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"admin\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B9977C6\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"markcowl@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Admin\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"a73a146e-93ad-43bf-8590-2f43343656b5\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Global Administrator for RBAC Testing\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Global\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"admin\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B9977C6\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"markcowl@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": \"en-US\",\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Admin\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "1999" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], "ocp-aad-diagnostics-server-name": [ - "1Ptot0LG1647jq6Jd5jbCVVlBPXTTRRWQ3OcUhRUILc=" + "Nv0YIi2YUldDWu0YPQAXsYwXQ4ttyr7ded6Waf8xyCc=" ], "request-id": [ - "3a7969c7-c6e0-4838-b98e-2be07535a4c1" + "ee09695b-0af6-45ee-adbd-6ca6d72dac89" ], "client-request-id": [ - "8175d51e-628a-4749-898c-3c62870de4f3" + "6a8ca8ec-e7ed-4b6f-b8bc-312be74fea77" ], "x-ms-gateway-rewrite": [ "false" @@ -311,7 +380,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "SVUfJMoW7qydIiU0UJ-AxTM2JoiPKIWie2TIgXl3OB_qz2ggfHVLegPHwiYSNzAllnAEwZTIUSZCgulwElZZuCdGi7h8K9ShA_cEsLJ1hJo.DlUpQHi9DXiB3ZYNtHpSOgMvCFVd_0VFDJmw-teH4rI" + "2om1Qa6WtmCfZsNmSVtQsnygiwpFhHP4WGges4tNevqJEOA3yEik5p4hkLmlPBFIDXM-dIZw_xVfilQs3OA3gIFVWxgjRmhKqTXC_2MdYOo.ToAAU19qy7QYeVct3RNNvEj4uP1ymoaDELQbwZLoqMw" ], "X-Content-Type-Options": [ "nosniff" @@ -326,7 +395,7 @@ "no-cache" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -336,7 +405,7 @@ "ASP.NET" ], "Date": [ - "Wed, 17 Sep 2014 17:09:31 GMT" + "Wed, 28 Jan 2015 00:56:13 GMT" ] }, "StatusCode": 200 @@ -351,19 +420,28 @@ "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"a73a146e-93ad-43bf-8590-2f43343656b5\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Global Administrator for RBAC Testing\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Global\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"admin\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B9977C6\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"markcowl@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Admin\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"a73a146e-93ad-43bf-8590-2f43343656b5\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Global Administrator for RBAC Testing\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Global\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"admin\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B9977C6\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"markcowl@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": \"en-US\",\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Admin\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "1999" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], "ocp-aad-diagnostics-server-name": [ - "1Ptot0LG1647jq6Jd5jbCVVlBPXTTRRWQ3OcUhRUILc=" + "Ev7Hd/oipnCIUzrwXxDqH/F82pF5rlTsyUdf4tMaVXs=" ], "request-id": [ - "ac8abe7f-85df-407a-b771-86cddb697af1" + "233b3af3-7229-4c62-9667-b1b7e169cb37" ], "client-request-id": [ - "a381898c-53ee-47a9-8bb8-481493b9529e" + "33441fe1-3fec-4172-9c3a-91b5e843cc7e" ], "x-ms-gateway-rewrite": [ "false" @@ -372,7 +450,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "ODQK4353WQxz3ZjpKBykUaGRFAxDwDJUCfys4yo_dMjmJL45tRwVW8kKKv7MXNZ1pJAEHAya5_msIDvVwaYBATf4DmwjKI7brji9hkEwbho.bcl_X43Kiy18BEOPEDatREm19khPSR6VwMGl2Gdpms8" + "bB-eL9D-OnDzLlw56vp6HOrZ7P5rmwslu9dei00DHl7FVRm-7UPkQ1APgeGNJ24YnvQREI_lCy4mlwScdeK52odlPQTZX_Bbkjurf389C8Q.3yaqwzEfsRUEr2CPt6Lk5Uj33bSGWWMtc6zVw4lfZ6I" ], "X-Content-Type-Options": [ "nosniff" @@ -387,7 +465,7 @@ "no-cache" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -397,19 +475,19 @@ "ASP.NET" ], "Date": [ - "Wed, 17 Sep 2014 17:09:32 GMT" + "Wed, 28 Jan 2015 00:56:14 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'a73a146e-93ad-43bf-8590-2f43343656b5'&api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCdhNzNhMTQ2ZS05M2FkLTQzYmYtODU5MC0yZjQzMzQzNjU2YjUnJmFwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'a73a146e-93ad-43bf-8590-2f43343656b5'&api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCdhNzNhMTQ2ZS05M2FkLTQzYmYtODU5MC0yZjQzMzQzNjU2YjUnJmFwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" @@ -417,6 +495,15 @@ }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"a73a146e-93ad-43bf-8590-2f43343656b5\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroup\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroup/providers/Microsoft.Authorization/roleAssignments/8d7dd69e-9ae2-44a1-94d8-f7bc8e12645e\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"8d7dd69e-9ae2-44a1-94d8-f7bc8e12645e\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { + "Content-Length": [ + "610" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], @@ -424,16 +511,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:7d283fda-2eab-48bd-ab54-d748ed8bb09c" + "westus:4677490e-e88d-48e6-9239-9c6b13099f96" ], "x-ms-ratelimit-remaining-subscription-reads": [ "31996" ], "x-ms-correlation-request-id": [ - "ab32d579-1b4d-4687-bf61-f696012ed277" + "7cf454c7-5498-45a0-a075-a1ed0296503c" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T170932Z:ab32d579-1b4d-4687-bf61-f696012ed277" + "WESTUS:20150128T005614Z:7cf454c7-5498-45a0-a075-a1ed0296503c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -442,19 +529,19 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 17:09:32 GMT" + "Wed, 28 Jan 2015 00:56:14 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'a73a146e-93ad-43bf-8590-2f43343656b5'&api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCdhNzNhMTQ2ZS05M2FkLTQzYmYtODU5MC0yZjQzMzQzNjU2YjUnJmFwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'a73a146e-93ad-43bf-8590-2f43343656b5'&api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCdhNzNhMTQ2ZS05M2FkLTQzYmYtODU5MC0yZjQzMzQzNjU2YjUnJmFwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" @@ -462,6 +549,15 @@ }, "ResponseBody": "{\r\n \"value\": []\r\n}", "ResponseHeaders": { + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], @@ -469,16 +565,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:769b1f95-8e49-48f5-97ab-3a7fee63b86e" + "westus:b325747b-41ab-462f-baea-4e577405ce01" ], "x-ms-ratelimit-remaining-subscription-reads": [ "31994" ], "x-ms-correlation-request-id": [ - "8921b0f3-f900-4257-8048-9160a7e40c72" + "931a8f54-fb33-4880-9fcf-0ac9de537921" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T170933Z:8921b0f3-f900-4257-8048-9160a7e40c72" + "WESTUS:20150128T005616Z:931a8f54-fb33-4880-9fcf-0ac9de537921" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -487,40 +583,52 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 17:09:33 GMT" + "Wed, 28 Jan 2015 00:56:15 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroup/providers/Microsoft.Authorization/roleAssignments/8d7dd69e-9ae2-44a1-94d8-f7bc8e12645e?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9Tb21lUmVzb3VyY2VHcm91cC9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzLzhkN2RkNjllLTlhZTItNDRhMS05NGQ4LWY3YmM4ZTEyNjQ1ZT9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroup/providers/Microsoft.Authorization/roleAssignments/8d7dd69e-9ae2-44a1-94d8-f7bc8e12645e?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9Tb21lUmVzb3VyY2VHcm91cC9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzLzhkN2RkNjllLTlhZTItNDRhMS05NGQ4LWY3YmM4ZTEyNjQ1ZT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"a73a146e-93ad-43bf-8590-2f43343656b5\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroup\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroup/providers/Microsoft.Authorization/roleAssignments/8d7dd69e-9ae2-44a1-94d8-f7bc8e12645e\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"8d7dd69e-9ae2-44a1-94d8-f7bc8e12645e\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "598" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], + "Vary": [ + "Accept-Encoding" + ], "x-ms-request-id": [ - "westus:9fb9dc83-0be6-4660-a54f-676c22a8540e" + "westus:93155c00-1b47-4b0e-b291-edcf5ad2cfea" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], "x-ms-correlation-request-id": [ - "353fde26-57a8-4f13-be67-cc60f0b600ac" + "5f4385b2-1d3b-4f5f-80f4-290ea576f382" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T170933Z:353fde26-57a8-4f13-be67-cc60f0b600ac" + "WESTUS:20150128T005615Z:5f4385b2-1d3b-4f5f-80f4-290ea576f382" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -529,7 +637,7 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 17:09:33 GMT" + "Wed, 28 Jan 2015 00:56:15 GMT" ] }, "StatusCode": 200 @@ -538,6 +646,7 @@ "Names": {}, "Variables": { "SubscriptionId": "3ca49042-782a-4cc9-89b5-ee1b487fe115", - "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0" + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0", + "Domain": "rbactest.onmicrosoft.com" } } \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByServicePrincipal.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByServicePrincipal.json index 47281922209f..b81919c305c8 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByServicePrincipal.json +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByServicePrincipal.json @@ -10,19 +10,28 @@ "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"value\": [\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"038de80f-387d-48b7-b29f-b1f16253bdec\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"Windows Azure Active Directory\",\r\n \"appId\": \"00000002-0000-0000-c000-000000000000\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [\r\n {\r\n \"claimValue\": \"user_impersonation\",\r\n \"description\": \"Allow the application to access your organization's directory on behalf of the signed-in user.\",\r\n \"directAccessGrantTypes\": [],\r\n \"displayName\": \"Access your organization's directory (preview)\",\r\n \"impersonationAccessGrantTypes\": [\r\n {\r\n \"impersonated\": \"User\",\r\n \"impersonator\": \"Application\"\r\n }\r\n ],\r\n \"isDisabled\": false,\r\n \"origin\": \"Application\",\r\n \"permissionId\": \"a42657d6-7f20-40e3-b6f0-cee03008a62a\",\r\n \"resourceScopeType\": \"Personal\",\r\n \"userConsentDescription\": \"Allow the application to access your organization's directory information on your behalf, such as photo and contact information from your user profile.\",\r\n \"userConsentDisplayName\": \"Access your organization's directory (preview)\"\r\n },\r\n {\r\n \"claimValue\": \"Directory.Write\",\r\n \"description\": \"Allow the application to read and write data in your organization's directory, such as users and groups.\",\r\n \"directAccessGrantTypes\": [\r\n \"Application\"\r\n ],\r\n \"displayName\": \"Read and write directory data\",\r\n \"impersonationAccessGrantTypes\": [\r\n {\r\n \"impersonated\": \"User\",\r\n \"impersonator\": \"Application\"\r\n }\r\n ],\r\n \"isDisabled\": false,\r\n \"origin\": \"Application\",\r\n \"permissionId\": \"78c8a3c8-a07e-4b9e-af1b-b5ccab50a175\",\r\n \"resourceScopeType\": \"Global\",\r\n \"userConsentDescription\": \"Allow the application to read and write data in your organization's directory, such as users and groups.\",\r\n \"userConsentDisplayName\": \"Read and write directory data\"\r\n },\r\n {\r\n \"claimValue\": \"Directory.Read\",\r\n \"description\": \"Allow the application to read data in your organization's directory, such as users, groups and applications.\",\r\n \"directAccessGrantTypes\": [\r\n \"Application\"\r\n ],\r\n \"displayName\": \"Read directory data\",\r\n \"impersonationAccessGrantTypes\": [\r\n {\r\n \"impersonated\": \"User\",\r\n \"impersonator\": \"Application\"\r\n }\r\n ],\r\n \"isDisabled\": false,\r\n \"origin\": \"Application\",\r\n \"permissionId\": \"5778995a-e1bf-45b8-affa-663a9f3f4d04\",\r\n \"resourceScopeType\": \"Global\",\r\n \"userConsentDescription\": \"Allow the application to read data in your organization's directory, such as users, groups and applications.\",\r\n \"userConsentDisplayName\": \"Read directory data\"\r\n },\r\n {\r\n \"claimValue\": \"UserProfile.Read\",\r\n \"description\": \"Allow users to sign in to the application with their organizational accounts and let the application read the profiles of signed-in users, such as their email address and contact information.\",\r\n \"directAccessGrantTypes\": [],\r\n \"displayName\": \"Enable sign-on and read users' profiles (preview)\",\r\n \"impersonationAccessGrantTypes\": [\r\n {\r\n \"impersonated\": \"User\",\r\n \"impersonator\": \"Application\"\r\n }\r\n ],\r\n \"isDisabled\": false,\r\n \"origin\": \"Application\",\r\n \"permissionId\": \"311a71cc-e848-46a1-bdf8-97ff7156d8e6\",\r\n \"resourceScopeType\": \"Personal\",\r\n \"userConsentDescription\": \"Allow you to sign in to the application with your organizational account and let the application read your profile, such as your email address and contact information.\",\r\n \"userConsentDisplayName\": \"Sign you in and read your profile (preview)\"\r\n }\r\n ],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.Azure.ActiveDirectory\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"https://graph.windows.net\",\r\n \"00000002-0000-0000-c000-000000000000/graph.windows.net\",\r\n \"00000002-0000-0000-c000-000000000000/directory.windows.net\",\r\n \"00000002-0000-0000-c000-000000000000\",\r\n \"Microsoft.Azure.ActiveDirectory\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"2f3e66a5-a1b3-4094-a846-4baf81cdfc6d\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"Policy Administration Service\",\r\n \"appId\": \"0469d4cd-df37-4d93-8a61-f8c75b809164\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft Policy Administration Service\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [\r\n \"https://pas.windows.net\"\r\n ],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"https://pas.windows.net\",\r\n \"0469d4cd-df37-4d93-8a61-f8c75b809164\",\r\n \"Microsoft Policy Administration Service\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"58fe5a3b-3a72-4924-ab1f-a4a26b39d9e5\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": null,\r\n \"appId\": \"0000000f-0000-0000-c000-000000000000\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.Azure.GraphExplorer\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"0000000f-0000-0000-c000-000000000000/graphexplorer.windows.net\",\r\n \"0000000f-0000-0000-c000-000000000000\",\r\n \"Microsoft.Azure.GraphExplorer\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"5ae77d41-2dec-41e6-9a34-b6928e4312be\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": null,\r\n \"appId\": \"595d87a1-277b-4c0a-aa7f-44f8a068eafc\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.SupportTicketSubmission\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"595d87a1-277b-4c0a-aa7f-44f8a068eafc\",\r\n \"Microsoft.SupportTicketSubmission\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"64a789b2-203d-4286-88f4-fcc9ef065b6d\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"RbacBackfill\",\r\n \"appId\": \"914ed757-9257-4200-b68e-a2bed2f12c5a\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"RbacBackfill\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"914ed757-9257-4200-b68e-a2bed2f12c5a\",\r\n \"RbacBackfill\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"75ed092d-8e37-466a-a09a-63ebb2e85746\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"Azure Portal\",\r\n \"appId\": \"00000013-0000-0000-c000-000000000000\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": \"f8cdef31-a31e-4b4a-93e4-5f571e91255a\",\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.Azure.Portal\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [\r\n \"https://portal.windowsazure.com\",\r\n \"https://manage.windowsazure.com\"\r\n ],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"https://manage.windowsazure.com\",\r\n \"00000013-0000-0000-c000-000000000000\",\r\n \"Microsoft.Azure.Portal\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"8f379e12-3dbd-40e2-8e32-341e3d421d11\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"Windows Azure Service Management API\",\r\n \"appId\": \"797f4846-ba00-4fd7-ba43-dac1f8f63013\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": \"f8cdef31-a31e-4b4a-93e4-5f571e91255a\",\r\n \"appPermissions\": [\r\n {\r\n \"claimValue\": \"user_impersonation\",\r\n \"description\": \"Allow the application to access the Azure Management Service API on behalf of the signed-in user.\",\r\n \"directAccessGrantTypes\": [],\r\n \"displayName\": \"Access Azure Service Management (preview)\",\r\n \"impersonationAccessGrantTypes\": [\r\n {\r\n \"impersonated\": \"User\",\r\n \"impersonator\": \"Application\"\r\n }\r\n ],\r\n \"isDisabled\": false,\r\n \"origin\": \"Application\",\r\n \"permissionId\": \"41094075-9dad-400e-a0bd-54e686782033\",\r\n \"resourceScopeType\": \"Personal\",\r\n \"userConsentDescription\": \"Allow the application to access Azure Service Management API on your behalf.\",\r\n \"userConsentDisplayName\": \"Access Azure Service Management (preview)\"\r\n }\r\n ],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Windows Azure Service Management API\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"https://management.core.windows.net/\",\r\n \"797f4846-ba00-4fd7-ba43-dac1f8f63013\",\r\n \"Windows Azure Service Management API\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"d9d09142-a31e-4e25-a9b3-2c072b6f60f0\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"Office 365 Configure\",\r\n \"appId\": \"aa9ecb1e-fd53-4aaa-a8fe-7a54de2c1334\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.Office365.Configure\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"aa9ecb1e-fd53-4aaa-a8fe-7a54de2c1334/configure.office.net\",\r\n \"aa9ecb1e-fd53-4aaa-a8fe-7a54de2c1334\",\r\n \"Microsoft.Office365.Configure\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"dbea5a32-0033-4e62-9606-97f75431b5ca\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"Microsoft App Access Panel\",\r\n \"appId\": \"0000000c-0000-0000-c000-000000000000\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.Azure.ActiveDirectoryUX\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"0000000c-0000-0000-c000-000000000000/activedirectory.windowsazure.com\",\r\n \"0000000c-0000-0000-c000-000000000000\",\r\n \"Microsoft.Azure.ActiveDirectoryUX\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"e68deb93-98e3-476f-8667-1bb60a7f867b\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"sampleapp\",\r\n \"appId\": \"20c58db7-4501-44e8-8e76-6febdb400c6b\",\r\n \"appMetadata\": {\r\n \"version\": 0,\r\n \"data\": []\r\n },\r\n \"appOwnerTenantId\": \"1449d5b7-8a83-47db-ae4c-9b03e888bad0\",\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": {\r\n \"defaultPolicy\": null,\r\n \"allowedPolicies\": []\r\n },\r\n \"displayName\": \"sampleapp\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": \"https://localhost:8080\",\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": null,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": \"RBAC Testing\",\r\n \"replyUrls\": [\r\n \"https://localhost:8080\"\r\n ],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"https://localhost:8080\",\r\n \"20c58db7-4501-44e8-8e76-6febdb400c6b\"\r\n ],\r\n \"tags\": [\r\n \"WindowsAzureActiveDirectoryIntegratedApp\"\r\n ],\r\n \"webApi\": null,\r\n \"webApp\": false\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": null,\r\n \"appId\": \"8fca0a66-c008-4564-a876-ab3ae0fd5cff\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.SMIT\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"8fca0a66-c008-4564-a876-ab3ae0fd5cff/lowlatency.cloudapp.net\",\r\n \"8fca0a66-c008-4564-a876-ab3ae0fd5cff\",\r\n \"Microsoft.SMIT\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"value\": [\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"038de80f-387d-48b7-b29f-b1f16253bdec\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"Windows Azure Active Directory\",\r\n \"appId\": \"00000002-0000-0000-c000-000000000000\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [\r\n {\r\n \"claimValue\": \"Directory.Read\",\r\n \"description\": \"Allow the application to read data in your organization's directory, such as users, groups and applications.\",\r\n \"directAccessGrantTypes\": [\r\n \"Application\"\r\n ],\r\n \"displayName\": \"Read directory data\",\r\n \"impersonationAccessGrantTypes\": [\r\n {\r\n \"impersonated\": \"User\",\r\n \"impersonator\": \"Application\"\r\n }\r\n ],\r\n \"isDisabled\": false,\r\n \"origin\": \"Application\",\r\n \"permissionId\": \"5778995a-e1bf-45b8-affa-663a9f3f4d04\",\r\n \"resourceScopeType\": \"Global\",\r\n \"userConsentDescription\": \"Allow the application to read data in your organization's directory, such as users, groups and applications.\",\r\n \"userConsentDisplayName\": \"Read directory data\",\r\n \"lang\": null\r\n },\r\n {\r\n \"claimValue\": \"Directory.Write\",\r\n \"description\": \"Allow the application to read and write data in your organization's directory, such as users and groups.\",\r\n \"directAccessGrantTypes\": [\r\n \"Application\"\r\n ],\r\n \"displayName\": \"Read and write directory data\",\r\n \"impersonationAccessGrantTypes\": [\r\n {\r\n \"impersonated\": \"User\",\r\n \"impersonator\": \"Application\"\r\n }\r\n ],\r\n \"isDisabled\": false,\r\n \"origin\": \"Application\",\r\n \"permissionId\": \"78c8a3c8-a07e-4b9e-af1b-b5ccab50a175\",\r\n \"resourceScopeType\": \"Global\",\r\n \"userConsentDescription\": \"Allow the application to read and write data in your organization's directory, such as users and groups.\",\r\n \"userConsentDisplayName\": \"Read and write directory data\",\r\n \"lang\": null\r\n },\r\n {\r\n \"claimValue\": \"UserProfile.Read\",\r\n \"description\": \"Allow users to sign in to the application with their organizational accounts and let the application read the profiles of signed-in users, such as their email address and contact information.\",\r\n \"directAccessGrantTypes\": [],\r\n \"displayName\": \"Enable sign-on and read users' profiles\",\r\n \"impersonationAccessGrantTypes\": [\r\n {\r\n \"impersonated\": \"User\",\r\n \"impersonator\": \"Application\"\r\n }\r\n ],\r\n \"isDisabled\": false,\r\n \"origin\": \"Application\",\r\n \"permissionId\": \"311a71cc-e848-46a1-bdf8-97ff7156d8e6\",\r\n \"resourceScopeType\": \"Personal\",\r\n \"userConsentDescription\": \"Allow you to sign in to the application with your organizational account and let the application read your profile, such as your email address and contact information.\",\r\n \"userConsentDisplayName\": \"Sign you in and read your profile\",\r\n \"lang\": null\r\n },\r\n {\r\n \"claimValue\": \"user_impersonation\",\r\n \"description\": \"Allow the application to access your organization's directory on behalf of the signed-in user.\",\r\n \"directAccessGrantTypes\": [],\r\n \"displayName\": \"Access your organization's directory\",\r\n \"impersonationAccessGrantTypes\": [\r\n {\r\n \"impersonated\": \"User\",\r\n \"impersonator\": \"Application\"\r\n }\r\n ],\r\n \"isDisabled\": false,\r\n \"origin\": \"Application\",\r\n \"permissionId\": \"a42657d6-7f20-40e3-b6f0-cee03008a62a\",\r\n \"resourceScopeType\": \"Personal\",\r\n \"userConsentDescription\": \"Allow the application to access your organization's directory information on your behalf, such as photo and contact information from your user profile.\",\r\n \"userConsentDisplayName\": \"Access your organization's directory\",\r\n \"lang\": null\r\n }\r\n ],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.Azure.ActiveDirectory\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"https://graph.windows.net\",\r\n \"00000002-0000-0000-c000-000000000000/graph.windows.net\",\r\n \"00000002-0000-0000-c000-000000000000/directory.windows.net\",\r\n \"00000002-0000-0000-c000-000000000000\",\r\n \"Microsoft.Azure.ActiveDirectory\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"1ba98b33-f85f-4d78-9938-8c117a5d0bbc\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"rbacApp\",\r\n \"appId\": \"59253046-1d78-4775-adfd-e0e341daee22\",\r\n \"appMetadata\": {\r\n \"version\": 0,\r\n \"data\": []\r\n },\r\n \"appOwnerTenantId\": \"1449d5b7-8a83-47db-ae4c-9b03e888bad0\",\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": {\r\n \"defaultPolicy\": null,\r\n \"allowedPolicies\": []\r\n },\r\n \"displayName\": \"rbacApp\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": \"https://localhost:9090\",\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": null,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": \"RBAC Testing\",\r\n \"replyUrls\": [\r\n \"https://localhost:9090\"\r\n ],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"https://localhost:9090\",\r\n \"59253046-1d78-4775-adfd-e0e341daee22\"\r\n ],\r\n \"tags\": [\r\n \"WindowsAzureActiveDirectoryIntegratedApp\"\r\n ],\r\n \"webApi\": null,\r\n \"webApp\": false\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"2f3e66a5-a1b3-4094-a846-4baf81cdfc6d\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"Policy Administration Service\",\r\n \"appId\": \"0469d4cd-df37-4d93-8a61-f8c75b809164\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft Policy Administration Service\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [\r\n \"https://pas.windows.net\"\r\n ],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"https://pas.windows.net\",\r\n \"0469d4cd-df37-4d93-8a61-f8c75b809164\",\r\n \"Microsoft Policy Administration Service\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"514c71c5-c9bc-4c63-87d3-086a2f7b5e08\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"mytestapprandom9190\",\r\n \"appId\": \"5fb9268a-b81d-4640-b0ed-e8dda1bfafdf\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": \"1449d5b7-8a83-47db-ae4c-9b03e888bad0\",\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"mytestapprandom9190\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": \"http://mytestapprandom9190/home\",\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": null,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": \"RBAC Testing\",\r\n \"replyUrls\": [\r\n \"http://mytestapprandom9190/home\"\r\n ],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"http://mytestapprandom9190/home\",\r\n \"5fb9268a-b81d-4640-b0ed-e8dda1bfafdf\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"58fe5a3b-3a72-4924-ab1f-a4a26b39d9e5\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": null,\r\n \"appId\": \"0000000f-0000-0000-c000-000000000000\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.Azure.GraphExplorer\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"0000000f-0000-0000-c000-000000000000/graphexplorer.windows.net\",\r\n \"0000000f-0000-0000-c000-000000000000\",\r\n \"Microsoft.Azure.GraphExplorer\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"5ae77d41-2dec-41e6-9a34-b6928e4312be\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": null,\r\n \"appId\": \"595d87a1-277b-4c0a-aa7f-44f8a068eafc\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.SupportTicketSubmission\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"595d87a1-277b-4c0a-aa7f-44f8a068eafc\",\r\n \"Microsoft.SupportTicketSubmission\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"61a3bf3a-24fd-4200-a209-52077b4edc01\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": null,\r\n \"appId\": \"27ca7e0e-7e50-4cd8-a7ac-6df0de36106e\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"sp5696\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [\r\n {\r\n \"customKeyIdentifier\": null,\r\n \"endDate\": \"2015-09-27T00:15:57.6639154Z\",\r\n \"keyId\": \"66378d23-1d82-4db8-8888-98a244829006\",\r\n \"startDate\": \"2014-09-27T00:15:57.6639154Z\",\r\n \"type\": \"Symmetric\",\r\n \"usage\": \"Verify\",\r\n \"value\": null\r\n }\r\n ],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": null,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"27ca7e0e-7e50-4cd8-a7ac-6df0de36106e\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"64a789b2-203d-4286-88f4-fcc9ef065b6d\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"RbacBackfill\",\r\n \"appId\": \"914ed757-9257-4200-b68e-a2bed2f12c5a\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"RbacBackfill\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"914ed757-9257-4200-b68e-a2bed2f12c5a\",\r\n \"RbacBackfill\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"65b61ca3-efc2-46d7-a99a-904d22437d22\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"testapp\",\r\n \"appId\": \"a8d497e1-514f-46d3-95e6-1175b52e8c1d\",\r\n \"appMetadata\": {\r\n \"version\": 0,\r\n \"data\": []\r\n },\r\n \"appOwnerTenantId\": \"1449d5b7-8a83-47db-ae4c-9b03e888bad0\",\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": {\r\n \"defaultPolicy\": null,\r\n \"allowedPolicies\": []\r\n },\r\n \"displayName\": \"testapp\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": \"http://testapp/home\",\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": null,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": \"RBAC Testing\",\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"http://testapp/home\",\r\n \"a8d497e1-514f-46d3-95e6-1175b52e8c1d\"\r\n ],\r\n \"tags\": [\r\n \"WindowsAzureActiveDirectoryIntegratedApp\"\r\n ],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"75ed092d-8e37-466a-a09a-63ebb2e85746\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"Azure Portal\",\r\n \"appId\": \"00000013-0000-0000-c000-000000000000\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": \"f8cdef31-a31e-4b4a-93e4-5f571e91255a\",\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.Azure.Portal\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [\r\n \"https://portal.windowsazure.com\",\r\n \"https://manage.windowsazure.com\"\r\n ],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"https://manage.windowsazure.com\",\r\n \"00000013-0000-0000-c000-000000000000\",\r\n \"Microsoft.Azure.Portal\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"8f379e12-3dbd-40e2-8e32-341e3d421d11\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"Windows Azure Service Management API\",\r\n \"appId\": \"797f4846-ba00-4fd7-ba43-dac1f8f63013\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": \"f8cdef31-a31e-4b4a-93e4-5f571e91255a\",\r\n \"appPermissions\": [\r\n {\r\n \"claimValue\": \"user_impersonation\",\r\n \"description\": \"Allow the application to access the Azure Management Service API on behalf of the signed-in user.\",\r\n \"directAccessGrantTypes\": [],\r\n \"displayName\": \"Access Azure Service Management (preview)\",\r\n \"impersonationAccessGrantTypes\": [\r\n {\r\n \"impersonated\": \"User\",\r\n \"impersonator\": \"Application\"\r\n }\r\n ],\r\n \"isDisabled\": false,\r\n \"origin\": \"Application\",\r\n \"permissionId\": \"41094075-9dad-400e-a0bd-54e686782033\",\r\n \"resourceScopeType\": \"Personal\",\r\n \"userConsentDescription\": \"Allow the application to access Azure Service Management API on your behalf.\",\r\n \"userConsentDisplayName\": \"Access Azure Service Management (preview)\",\r\n \"lang\": null\r\n }\r\n ],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Windows Azure Service Management API\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"https://management.core.windows.net/\",\r\n \"797f4846-ba00-4fd7-ba43-dac1f8f63013\",\r\n \"Windows Azure Service Management API\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"d9d09142-a31e-4e25-a9b3-2c072b6f60f0\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"Office 365 Configure\",\r\n \"appId\": \"aa9ecb1e-fd53-4aaa-a8fe-7a54de2c1334\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.Office365.Configure\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"aa9ecb1e-fd53-4aaa-a8fe-7a54de2c1334/configure.office.net\",\r\n \"aa9ecb1e-fd53-4aaa-a8fe-7a54de2c1334\",\r\n \"Microsoft.Office365.Configure\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"dbea5a32-0033-4e62-9606-97f75431b5ca\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"Microsoft App Access Panel\",\r\n \"appId\": \"0000000c-0000-0000-c000-000000000000\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.Azure.ActiveDirectoryUX\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"0000000c-0000-0000-c000-000000000000/activedirectory.windowsazure.com\",\r\n \"0000000c-0000-0000-c000-000000000000\",\r\n \"Microsoft.Azure.ActiveDirectoryUX\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"e68deb93-98e3-476f-8667-1bb60a7f867b\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": \"sampleapp\",\r\n \"appId\": \"20c58db7-4501-44e8-8e76-6febdb400c6b\",\r\n \"appMetadata\": {\r\n \"version\": 0,\r\n \"data\": []\r\n },\r\n \"appOwnerTenantId\": \"1449d5b7-8a83-47db-ae4c-9b03e888bad0\",\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": {\r\n \"defaultPolicy\": null,\r\n \"allowedPolicies\": []\r\n },\r\n \"displayName\": \"sampleapp\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": \"https://localhost:8080\",\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": null,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": \"RBAC Testing\",\r\n \"replyUrls\": [\r\n \"https://localhost:8080\"\r\n ],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"https://localhost:8080\",\r\n \"20c58db7-4501-44e8-8e76-6febdb400c6b\"\r\n ],\r\n \"tags\": [\r\n \"WindowsAzureActiveDirectoryIntegratedApp\"\r\n ],\r\n \"webApi\": null,\r\n \"webApp\": false\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": null,\r\n \"appId\": \"8fca0a66-c008-4564-a876-ab3ae0fd5cff\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.SMIT\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"8fca0a66-c008-4564-a876-ab3ae0fd5cff/lowlatency.cloudapp.net\",\r\n \"8fca0a66-c008-4564-a876-ab3ae0fd5cff\",\r\n \"Microsoft.SMIT\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n }\r\n ]\r\n}", "ResponseHeaders": { + "Content-Length": [ + "17032" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], "ocp-aad-diagnostics-server-name": [ - "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + "9WYEenkGfQgzy7gXrMPmukcdKNy0q53uHj0JbV3NXwY=" ], "request-id": [ - "9494cf40-a56e-45dc-8df8-97d638fe98f3" + "d17e8935-7466-42fb-9bc4-3d8290fb1cab" ], "client-request-id": [ - "a9963ef0-2c23-4079-8228-fcc5b72de333" + "f889c3f8-6508-4b79-8d62-64d2e2ec0e8a" ], "x-ms-gateway-rewrite": [ "false" @@ -31,7 +40,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "8_Jea31Z2eaS3S02sh5yBGJK2V8WgwHNRQ69CLy2ym6wiaUVZOJDK1NxP7mndFiMEAH_2Ro84dmTEdNV504tNow9VoWLA2FbFJoeVtMCqv0.d5D8NrQ_XnslTULhZUzjJfQi61YLjLpVAmOJ37fwEgI" + "sZqpRuxEYlbhXCKfViaasM8ey2hNyRAvR9IFsFerq1ktH2OFxbciOlSrvJac_1SDk150lUsA2NIGWKq9uHrlhJlpVuCnabgx9r6o1_XQank.oahx5MBzKqrMa-t13QJxooVM9DGtyOKjeDp7xMWrQJ0" ], "X-Content-Type-Options": [ "nosniff" @@ -46,7 +55,7 @@ "no-cache" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -56,7 +65,7 @@ "ASP.NET" ], "Date": [ - "Wed, 17 Sep 2014 17:13:55 GMT" + "Wed, 28 Jan 2015 00:55:52 GMT" ] }, "StatusCode": 200 @@ -73,17 +82,26 @@ }, "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"value\": [\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": null,\r\n \"appId\": \"8fca0a66-c008-4564-a876-ab3ae0fd5cff\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.SMIT\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"8fca0a66-c008-4564-a876-ab3ae0fd5cff/lowlatency.cloudapp.net\",\r\n \"8fca0a66-c008-4564-a876-ab3ae0fd5cff\",\r\n \"Microsoft.SMIT\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n }\r\n ]\r\n}", "ResponseHeaders": { + "Content-Length": [ + "1002" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], "ocp-aad-diagnostics-server-name": [ - "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + "9WYEenkGfQgzy7gXrMPmukcdKNy0q53uHj0JbV3NXwY=" ], "request-id": [ - "ac2cefc6-81b2-4784-b9d9-9c3169713ce4" + "d22146b6-b74c-48a6-b131-364295cd33dd" ], "client-request-id": [ - "d4d396b4-d0ac-4877-8a8d-2802e8ed8903" + "d096d0d9-8f27-4319-b3f8-f78793231d12" ], "x-ms-gateway-rewrite": [ "false" @@ -92,7 +110,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "0wuO22DseV23GTkKelmD8Nrxw4XpQll-R5zvm7YCPzkTbABEkWYYQqQpRc2ImLt7plc9AZNx9O-xWhcNH25-kPeoAHZH8n4Aa38MOBAOppU.y6fTAOOr2MWG4F5jZdu-I4M8aL-omqK93cT9DuNml7w" + "KrUMCUD1V_vCEpQptErqPRwqNGZuUFDl_54khRtoaue_0r0fkIQIvHQ9hb5SOua1fShvej0LAvYg9spNGlTMoN88WNrceXAPmUJHxKWq26g.39LaOPf2ccBEwiAWza0MIhdEt3c3XiuwQjDqLs1Sho4" ], "X-Content-Type-Options": [ "nosniff" @@ -107,7 +125,7 @@ "no-cache" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -117,26 +135,35 @@ "ASP.NET" ], "Date": [ - "Wed, 17 Sep 2014 17:13:55 GMT" + "Wed, 28 Jan 2015 00:55:52 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlRGVmaW5pdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlRGVmaW5pdGlvbnM/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Contributors can manage everything except access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Owner\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Owners can manage everything, including access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you manage everything except access to resources.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Owner\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you manage everything, including access to resources.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you view everything, but not make any changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { + "Content-Length": [ + "1385" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], @@ -144,16 +171,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:52afb585-f902-4ddf-8c84-0b93336c5493" + "westus:c7c70d35-b9e1-4517-a3b4-89ec85fcfd99" ], "x-ms-ratelimit-remaining-subscription-reads": [ "31999" ], "x-ms-correlation-request-id": [ - "32971fce-1ab8-49f4-b856-875cdd30afe0" + "8cecbf8d-10de-4c45-b789-a4982bcb65da" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T171356Z:32971fce-1ab8-49f4-b856-875cdd30afe0" + "WESTUS:20150128T005554Z:8cecbf8d-10de-4c45-b789-a4982bcb65da" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -162,37 +189,52 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 17:13:55 GMT" + "Wed, 28 Jan 2015 00:55:53 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroupForSpn/providers/Microsoft.Authorization/roleAssignments/fa1a4d3b-2cca-406b-8956-6b6b32377641?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9Tb21lUmVzb3VyY2VHcm91cEZvclNwbi9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzL2ZhMWE0ZDNiLTJjY2EtNDA2Yi04OTU2LTZiNmIzMjM3NzY0MT9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroupForSpn/providers/Microsoft.Authorization/roleAssignments/fa1a4d3b-2cca-406b-8956-6b6b32377641?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9Tb21lUmVzb3VyY2VHcm91cEZvclNwbi9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzL2ZhMWE0ZDNiLTJjY2EtNDA2Yi04OTU2LTZiNmIzMjM3NzY0MT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\"\r\n }\r\n}", "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "254" + ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroupForSpn\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroupForSpn/providers/Microsoft.Authorization/roleAssignments/fa1a4d3b-2cca-406b-8956-6b6b32377641\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"fa1a4d3b-2cca-406b-8956-6b6b32377641\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "610" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:2f3ccc15-1c2e-4658-a388-d7be7f5a3bf3" + "westus:fa4bab64-6473-40e3-9279-8519284cc485" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-correlation-request-id": [ - "073e686e-2420-418d-913e-f552c965870f" + "fba55128-da51-4e03-8629-f49a0248e37d" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T171357Z:073e686e-2420-418d-913e-f552c965870f" + "WESTUS:20150128T005555Z:fba55128-da51-4e03-8629-f49a0248e37d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -201,19 +243,19 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 17:13:57 GMT" + "Wed, 28 Jan 2015 00:55:55 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroupForSpn/providers/Microsoft.Authorization/roleAssignments/fa1a4d3b-2cca-406b-8956-6b6b32377641?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9Tb21lUmVzb3VyY2VHcm91cEZvclNwbi9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzL2ZhMWE0ZDNiLTJjY2EtNDA2Yi04OTU2LTZiNmIzMjM3NzY0MT9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroupForSpn/providers/Microsoft.Authorization/roleAssignments/fa1a4d3b-2cca-406b-8956-6b6b32377641?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9Tb21lUmVzb3VyY2VHcm91cEZvclNwbi9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzL2ZhMWE0ZDNiLTJjY2EtNDA2Yi04OTU2LTZiNmIzMjM3NzY0MT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" @@ -221,6 +263,15 @@ }, "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroupForSpn\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroupForSpn/providers/Microsoft.Authorization/roleAssignments/fa1a4d3b-2cca-406b-8956-6b6b32377641\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"fa1a4d3b-2cca-406b-8956-6b6b32377641\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "610" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], @@ -228,16 +279,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:86add209-49b4-41cf-aa7e-db42ecde9697" + "westus:a0b6d7a0-ccd2-43cc-9e7e-2fc96211e29b" ], "x-ms-ratelimit-remaining-subscription-reads": [ "31998" ], "x-ms-correlation-request-id": [ - "ecfb6d32-f3e3-45d5-8eb7-f36886fd668a" + "be3e4e0a-fdaa-45a1-b476-912b3e383fd9" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T171358Z:ecfb6d32-f3e3-45d5-8eb7-f36886fd668a" + "WESTUS:20150128T005555Z:be3e4e0a-fdaa-45a1-b476-912b3e383fd9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -246,71 +297,35 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 17:13:57 GMT" + "Wed, 28 Jan 2015 00:55:55 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you view everything, but not make any changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", "ResponseHeaders": { - "Pragma": [ - "no-cache" + "Content-Length": [ + "433" ], - "Vary": [ - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:d5cfe07f-d5da-4bcc-bdca-b0879bc77d58" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31997" - ], - "x-ms-correlation-request-id": [ - "2f0a1e88-7bb2-47c4-9412-c034f2128e86" + "Content-Type": [ + "application/json; charset=utf-8" ], - "x-ms-routing-request-id": [ - "WESTUS:20140917T171358Z:2f0a1e88-7bb2-47c4-9412-c034f2128e86" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 17 Sep 2014 17:13:57 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-07-01-preview" + "Expires": [ + "-1" ], - "User-Agent": [ - "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", - "ResponseHeaders": { "Pragma": [ "no-cache" ], @@ -318,16 +333,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:427274dd-b1ce-41ca-86e5-76097636d0cf" + "westus:9ca7978e-8e94-4119-9e58-b472837f494a" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31995" + "31997" ], "x-ms-correlation-request-id": [ - "c9e4cb26-7fe8-4bb1-b76e-590a41fba9c5" + "30ab8850-e645-472e-8d0e-ba743ef3813c" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T171358Z:c9e4cb26-7fe8-4bb1-b76e-590a41fba9c5" + "WESTUS:20150128T005556Z:30ab8850-e645-472e-8d0e-ba743ef3813c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -336,71 +351,35 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 17:13:57 GMT" + "Wed, 28 Jan 2015 00:55:55 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you view everything, but not make any changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", "ResponseHeaders": { - "Pragma": [ - "no-cache" + "Content-Length": [ + "433" ], - "Vary": [ - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:c702a86e-2007-4ddb-81ec-209708d8cd02" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31994" - ], - "x-ms-correlation-request-id": [ - "8c5a19da-35ee-4525-a5f0-dcf54e8b8c86" - ], - "x-ms-routing-request-id": [ - "WESTUS:20140917T171358Z:8c5a19da-35ee-4525-a5f0-dcf54e8b8c86" + "Content-Type": [ + "application/json; charset=utf-8" ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "Expires": [ + "-1" ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 17 Sep 2014 17:13:58 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-07-01-preview" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", - "ResponseHeaders": { "Pragma": [ "no-cache" ], @@ -408,16 +387,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:04cccf77-7f1a-4609-bda9-2f2e0dd0d37d" + "westus:c679bbc8-223a-4c0c-865e-ce448e422cd0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31992" + "31995" ], "x-ms-correlation-request-id": [ - "7bd05457-17f1-41cf-9040-9b768d352d18" + "b31e5fe5-272d-4288-95ae-241ff07a9381" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T171400Z:7bd05457-17f1-41cf-9040-9b768d352d18" + "WESTUS:20150128T005556Z:b31e5fe5-272d-4288-95ae-241ff07a9381" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -426,7 +405,7 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 17:14:00 GMT" + "Wed, 28 Jan 2015 00:55:56 GMT" ] }, "StatusCode": 200 @@ -443,66 +422,20 @@ }, "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'f1990eeb-b040-47de-a12e-c45da0f9595a' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", "ResponseHeaders": { - "ocp-aad-diagnostics-server-name": [ - "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" - ], - "request-id": [ - "7c0e3e39-da11-41e0-b7a0-2adbae240ad7" - ], - "client-request-id": [ - "c7d4f827-01d4-47c0-a817-694ee8a04e19" + "Content-Length": [ + "214" ], - "x-ms-gateway-rewrite": [ - "false" - ], - "x-ms-dirapi-data-contract-version": [ - "1.42-previewInternal" - ], - "ocp-aad-session-key": [ - "dlonYkhzjlJDVZfm0SAHUBds3keZPC--K3FtiB-zOhDWQT_JbS1iMx6-ZYCfg4vh__TtOWcIOBQWPsF6WQdDaIoIvS8W8gmFErC1wNAKcoI.v-IeLNZNb0PASxdm-2OVIRgFjDz06zYv1663deZZL34" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "private" - ], - "Server": [ - "Microsoft-IIS/8.0" - ], - "X-AspNet-Version": [ - "4.0.30319" + "Content-Type": [ + "application/json; odata=minimalmetadata; charset=utf-8" ], - "X-Powered-By": [ - "ASP.NET", - "ASP.NET" - ], - "Date": [ - "Wed, 17 Sep 2014 17:13:57 GMT" - ] - }, - "StatusCode": 404 - }, - { - "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/f1990eeb-b040-47de-a12e-c45da0f9595a?api-version=1.42-previewInternal", - "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy9mMTk5MGVlYi1iMDQwLTQ3ZGUtYTEyZS1jNDVkYTBmOTU5NWE/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'f1990eeb-b040-47de-a12e-c45da0f9595a' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", - "ResponseHeaders": { "ocp-aad-diagnostics-server-name": [ - "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + "9WYEenkGfQgzy7gXrMPmukcdKNy0q53uHj0JbV3NXwY=" ], "request-id": [ - "c922cc80-c3bd-4394-b00f-e3b2b191d62f" + "48cbb5ec-7cd8-401e-8b74-1def33b88628" ], "client-request-id": [ - "34a6890d-6750-43f3-9aca-8e54882fb719" + "9f6e981f-0e67-47d2-beef-8c25ac1fc7ab" ], "x-ms-gateway-rewrite": [ "false" @@ -511,7 +444,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "FgQaKYUCI6rPJJ2LbGINFbGa_a7tHLubPbi0zwHvtZRIF7SrXdtCq53jHGSch9srwONCUrkgxYexRYJir_aTz0yfuM4qLHHJ29XITdKuc2Q.ds2YaS6szOn9u_KkehI69iBsyNwVf29VIBuTV45NB1Y" + "EUIuX9u8nLXYc3K8WXtVxIYt_kXEOmfu8UdD1asZbU5lRSpzBgUijKQywbZtGPYe1PkxFAWGTox7i7hlnHBR0enyDrOLro9H1HlSLMLG3_Q.HbLrdVVHFghLsDb24HsW5gdyfS3WADNC_Ux7U83U7GI" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -520,7 +453,7 @@ "private" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -530,7 +463,7 @@ "ASP.NET" ], "Date": [ - "Wed, 17 Sep 2014 17:13:58 GMT" + "Wed, 28 Jan 2015 00:55:55 GMT" ] }, "StatusCode": 404 @@ -547,66 +480,20 @@ }, "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'f1990eeb-b040-47de-a12e-c45da0f9595a' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", "ResponseHeaders": { - "ocp-aad-diagnostics-server-name": [ - "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" - ], - "request-id": [ - "f0d1981b-3e55-416a-a7f4-caeec4156d3e" - ], - "client-request-id": [ - "989cb927-d083-43b6-96be-b52e667e8fda" - ], - "x-ms-gateway-rewrite": [ - "false" - ], - "x-ms-dirapi-data-contract-version": [ - "1.42-previewInternal" - ], - "ocp-aad-session-key": [ - "BPyr3WQa0OXZVPV1_KweVO9dUe6u9rExeQK8EjzN9UnZ1nZs1zeJy54thv_DLUFSB7DM4PDnYldFPT3INvgdcXMgpBlSRpY2zooulNvxCyo.j9jifwk_TUSY72TPDQSTINXD2kRjGbnHtQUNYm5IsIM" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "private" - ], - "Server": [ - "Microsoft-IIS/8.0" + "Content-Length": [ + "214" ], - "X-AspNet-Version": [ - "4.0.30319" + "Content-Type": [ + "application/json; odata=minimalmetadata; charset=utf-8" ], - "X-Powered-By": [ - "ASP.NET", - "ASP.NET" - ], - "Date": [ - "Wed, 17 Sep 2014 17:13:58 GMT" - ] - }, - "StatusCode": 404 - }, - { - "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/f1990eeb-b040-47de-a12e-c45da0f9595a?api-version=1.42-previewInternal", - "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy9mMTk5MGVlYi1iMDQwLTQ3ZGUtYTEyZS1jNDVkYTBmOTU5NWE/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'f1990eeb-b040-47de-a12e-c45da0f9595a' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", - "ResponseHeaders": { "ocp-aad-diagnostics-server-name": [ - "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + "9WYEenkGfQgzy7gXrMPmukcdKNy0q53uHj0JbV3NXwY=" ], "request-id": [ - "b5c2d2fd-d825-4926-90c8-b88e9924d34b" + "ca733835-aace-4a79-9763-660fb29ef210" ], "client-request-id": [ - "a9d82eac-27dd-49f0-a776-cd634b57115f" + "10b34d2f-cc6e-46a6-981d-6ae08fccc673" ], "x-ms-gateway-rewrite": [ "false" @@ -615,7 +502,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "fQ3Ixqs0wJ_N2QFaC1wC-Qe3i4uNaYh9e1UK3NpGwhQv3C_sd2YihPPkjIhGpKcHyNnYxBsn5sB1fBWJKKstaxYsGAMfTGiXpNlIRWgcOyA.Zp_vCPPCXWJhBlcGVprGSw1iBwrverFwyuRJ_pAXGY0" + "4pX_F2zH5EXbmCf3PxqIz_rhIb9VgzGb-W01g3szgL-rbL8U7R-TSeD29juAQf5Ii4boWPmfA12xE3axMVTzAO_V0q6nOlZ4H3xbltjc52Q.FjoxAZdCjGjs3XfQyJAJkgrLP-H5x0-Law8dDQAzGzs" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -624,7 +511,7 @@ "private" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -634,7 +521,7 @@ "ASP.NET" ], "Date": [ - "Wed, 17 Sep 2014 17:13:59 GMT" + "Wed, 28 Jan 2015 00:55:55 GMT" ] }, "StatusCode": 404 @@ -651,78 +538,26 @@ }, "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": null,\r\n \"appId\": \"8fca0a66-c008-4564-a876-ab3ae0fd5cff\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.SMIT\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"8fca0a66-c008-4564-a876-ab3ae0fd5cff/lowlatency.cloudapp.net\",\r\n \"8fca0a66-c008-4564-a876-ab3ae0fd5cff\",\r\n \"Microsoft.SMIT\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n}", "ResponseHeaders": { - "Pragma": [ - "no-cache" - ], - "ocp-aad-diagnostics-server-name": [ - "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" - ], - "request-id": [ - "7d34f197-1cf8-4f49-b01d-78e6e4761053" - ], - "client-request-id": [ - "e6bf2a26-569d-4a0d-b4b2-a1ff64ce461f" + "Content-Length": [ + "999" ], - "x-ms-gateway-rewrite": [ - "false" - ], - "x-ms-dirapi-data-contract-version": [ - "1.42-previewInternal" + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], - "ocp-aad-session-key": [ - "_K9MXjY-cfiwVgUVwDZHQxESMaA5w50dHika0Jtkp4_zAMiiQQnv5KnRe_BLJeg0kKWoYPu0kvIkUcXEwlyZGyWo8s9e7NCHgvFFTShBvjA.U61rlrHg7Ddu3MSTQSHgPi-oA_N_VC1mP-HUBHXushU" + "Expires": [ + "-1" ], - "X-Content-Type-Options": [ - "nosniff" - ], - "DataServiceVersion": [ - "3.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Server": [ - "Microsoft-IIS/8.0" - ], - "X-AspNet-Version": [ - "4.0.30319" - ], - "X-Powered-By": [ - "ASP.NET", - "ASP.NET" - ], - "Date": [ - "Wed, 17 Sep 2014 17:13:57 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/servicePrincipals/f1990eeb-b040-47de-a12e-c45da0f9595a?api-version=1.42-previewInternal", - "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9zZXJ2aWNlUHJpbmNpcGFscy9mMTk5MGVlYi1iMDQwLTQ3ZGUtYTEyZS1jNDVkYTBmOTU5NWE/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": null,\r\n \"appId\": \"8fca0a66-c008-4564-a876-ab3ae0fd5cff\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.SMIT\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"8fca0a66-c008-4564-a876-ab3ae0fd5cff/lowlatency.cloudapp.net\",\r\n \"8fca0a66-c008-4564-a876-ab3ae0fd5cff\",\r\n \"Microsoft.SMIT\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n}", - "ResponseHeaders": { "Pragma": [ "no-cache" ], "ocp-aad-diagnostics-server-name": [ - "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + "9WYEenkGfQgzy7gXrMPmukcdKNy0q53uHj0JbV3NXwY=" ], "request-id": [ - "9766c45f-b854-4c6d-8ea5-de6ffb44707e" + "f81756b4-7419-4730-b8fb-ea42e9f23738" ], "client-request-id": [ - "31303330-bd97-49cf-b206-ba488a127544" + "15117b44-c764-47ef-b55e-bb9f4e9a8cf8" ], "x-ms-gateway-rewrite": [ "false" @@ -731,7 +566,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "JWEnX-Ts5W63Aqui9M8uhISNxuXrL7ids30k3bufUoB7wf_GO3PWM1JjkuxM6_t9SzBYbYs0ncSwCVJeFLEli0xSxRbOCaernHXQwZOWjTE._4rrU6FiTmHjjoBORGmOOsPMKq3JJVpucgZ00MVkHD0" + "TCiU0Mo7GK94lLMqn3uBWStGhfAMibQfRM_ZISogUl4UerW_bXOB2O3Chy8sF-0blmUXeqByagdh0LMq5NBebxHn6mMpq80SuDpDlgH4fYU.6orwr6LndhELp2aZUY0LMsRNLfH4gaco8rVhL_JYlbU" ], "X-Content-Type-Options": [ "nosniff" @@ -746,7 +581,7 @@ "no-cache" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -756,7 +591,7 @@ "ASP.NET" ], "Date": [ - "Wed, 17 Sep 2014 17:13:58 GMT" + "Wed, 28 Jan 2015 00:55:55 GMT" ] }, "StatusCode": 200 @@ -773,78 +608,26 @@ }, "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": null,\r\n \"appId\": \"8fca0a66-c008-4564-a876-ab3ae0fd5cff\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.SMIT\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"8fca0a66-c008-4564-a876-ab3ae0fd5cff/lowlatency.cloudapp.net\",\r\n \"8fca0a66-c008-4564-a876-ab3ae0fd5cff\",\r\n \"Microsoft.SMIT\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n}", "ResponseHeaders": { - "Pragma": [ - "no-cache" + "Content-Length": [ + "999" ], - "ocp-aad-diagnostics-server-name": [ - "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], - "request-id": [ - "4c84466e-da3a-4f39-8b29-89335497fb45" - ], - "client-request-id": [ - "9a5fe4f6-fdc5-48f5-9840-e2ac566467af" - ], - "x-ms-gateway-rewrite": [ - "false" - ], - "x-ms-dirapi-data-contract-version": [ - "1.42-previewInternal" + "Expires": [ + "-1" ], - "ocp-aad-session-key": [ - "rvCs5hUrNU4NDaHzcE-rRoVReWaqn-r0aZEk6hz0pCo2hFx9IhK0olP84YdQey6sjfIyRKtfL4ydW3h-ouUVc449A5aKsF8Tf3M1Rafir5Y.Q-mNxsTAp-PCC2Ry7o6H8lwk6Ru7OJh9SoHk87y1CUY" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "DataServiceVersion": [ - "3.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Server": [ - "Microsoft-IIS/8.0" - ], - "X-AspNet-Version": [ - "4.0.30319" - ], - "X-Powered-By": [ - "ASP.NET", - "ASP.NET" - ], - "Date": [ - "Wed, 17 Sep 2014 17:13:58 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/servicePrincipals/f1990eeb-b040-47de-a12e-c45da0f9595a?api-version=1.42-previewInternal", - "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC9zZXJ2aWNlUHJpbmNpcGFscy9mMTk5MGVlYi1iMDQwLTQ3ZGUtYTEyZS1jNDVkYTBmOTU5NWE/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"objectType\": \"ServicePrincipal\",\r\n \"objectId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\",\r\n \"softDeletionTimestamp\": null,\r\n \"accountEnabled\": true,\r\n \"appDisplayName\": null,\r\n \"appId\": \"8fca0a66-c008-4564-a876-ab3ae0fd5cff\",\r\n \"appMetadata\": null,\r\n \"appOwnerTenantId\": null,\r\n \"appPermissions\": [],\r\n \"authenticationPolicy\": null,\r\n \"displayName\": \"Microsoft.SMIT\",\r\n \"errorUrl\": null,\r\n \"explicitAccessGrantRequired\": false,\r\n \"homepage\": null,\r\n \"keyCredentials\": [],\r\n \"logoutUrl\": null,\r\n \"microsoftFirstParty\": true,\r\n \"passwordCredentials\": [],\r\n \"publisherName\": null,\r\n \"replyUrls\": [],\r\n \"resourceApplicationSet\": null,\r\n \"samlMetadataUrl\": null,\r\n \"servicePrincipalNames\": [\r\n \"8fca0a66-c008-4564-a876-ab3ae0fd5cff/lowlatency.cloudapp.net\",\r\n \"8fca0a66-c008-4564-a876-ab3ae0fd5cff\",\r\n \"Microsoft.SMIT\"\r\n ],\r\n \"tags\": [],\r\n \"webApi\": null,\r\n \"webApp\": null\r\n}", - "ResponseHeaders": { "Pragma": [ "no-cache" ], "ocp-aad-diagnostics-server-name": [ - "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + "9WYEenkGfQgzy7gXrMPmukcdKNy0q53uHj0JbV3NXwY=" ], "request-id": [ - "21abce32-4ea6-4ca4-8422-7098012c9c6e" + "4d209adb-60cd-424f-bb0c-c3378ce810f6" ], "client-request-id": [ - "d76bbecb-4984-4f7a-8424-e76571a447c2" + "2ef9607f-96fe-4747-abdb-6f500e64603f" ], "x-ms-gateway-rewrite": [ "false" @@ -853,7 +636,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "8Eo7Qn7MuDo8ecCbApKirA71tVD9N4AYykiNM48cT1E2iZc0h5gWlypRRJremOAd10yHh4mO_QpX-b6tZ8_jog-aON8isdY3yu67ovW1V4U.KYpzRLOcuiWd7V_tImvY-xzfooUzTLNMHUjtHCkqsaQ" + "ee6QdCMmrLWC2rpW7XeXMPpIqZpxG_dDdEGb-nnau5VDhuFHYL-YGXQu2Ad4Hd9d1fnZG-e7ZQZpFj5QBpEYn0eoiSTuZntagiG22H5w_V8.jqvYCN111Si0B_KP0HtX7hhBWeOusMNB65BD5IJaXnM" ], "X-Content-Type-Options": [ "nosniff" @@ -868,7 +651,7 @@ "no-cache" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -878,26 +661,35 @@ "ASP.NET" ], "Date": [ - "Wed, 17 Sep 2014 17:13:59 GMT" + "Wed, 28 Jan 2015 00:55:55 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'f1990eeb-b040-47de-a12e-c45da0f9595a'&api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCdmMTk5MGVlYi1iMDQwLTQ3ZGUtYTEyZS1jNDVkYTBmOTU5NWEnJmFwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'f1990eeb-b040-47de-a12e-c45da0f9595a'&api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCdmMTk5MGVlYi1iMDQwLTQ3ZGUtYTEyZS1jNDVkYTBmOTU5NWEnJmFwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/nonexistentRGForSpn\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/nonexistentRGForSpn/providers/Microsoft.Authorization/roleAssignments/bf13ced9-00e6-452c-bc8a-0121df14c994\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"bf13ced9-00e6-452c-bc8a-0121df14c994\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroupForSpn\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroupForSpn/providers/Microsoft.Authorization/roleAssignments/fa1a4d3b-2cca-406b-8956-6b6b32377641\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"fa1a4d3b-2cca-406b-8956-6b6b32377641\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroupForSpn\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroupForSpn/providers/Microsoft.Authorization/roleAssignments/fa1a4d3b-2cca-406b-8956-6b6b32377641\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"fa1a4d3b-2cca-406b-8956-6b6b32377641\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { + "Content-Length": [ + "622" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], @@ -905,16 +697,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:ac2bc920-ba88-44d9-a366-a7db3d48626e" + "westus:15247394-9cfe-4bb9-8a2f-1bb659d23687" ], "x-ms-ratelimit-remaining-subscription-reads": [ "31996" ], "x-ms-correlation-request-id": [ - "5ac499f2-0db9-4448-a1c8-f7fae8ede35d" + "26610007-c42f-4066-aba8-59ab05501902" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T171358Z:5ac499f2-0db9-4448-a1c8-f7fae8ede35d" + "WESTUS:20150128T005556Z:26610007-c42f-4066-aba8-59ab05501902" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -923,26 +715,35 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 17:13:57 GMT" + "Wed, 28 Jan 2015 00:55:56 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'f1990eeb-b040-47de-a12e-c45da0f9595a'&api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCdmMTk5MGVlYi1iMDQwLTQ3ZGUtYTEyZS1jNDVkYTBmOTU5NWEnJmFwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'f1990eeb-b040-47de-a12e-c45da0f9595a'&api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCdmMTk5MGVlYi1iMDQwLTQ3ZGUtYTEyZS1jNDVkYTBmOTU5NWEnJmFwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/nonexistentRGForSpn\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/nonexistentRGForSpn/providers/Microsoft.Authorization/roleAssignments/bf13ced9-00e6-452c-bc8a-0121df14c994\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"bf13ced9-00e6-452c-bc8a-0121df14c994\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": []\r\n}", "ResponseHeaders": { + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], @@ -950,16 +751,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:1817520b-91a7-4d68-8cce-710d78334243" + "westus:87cde3c1-b053-4940-936e-a31c5b5615a2" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31993" + "31994" ], "x-ms-correlation-request-id": [ - "2ec1d779-2cd7-4d23-861d-b28cfa6a8ba1" + "318a8c34-a388-4804-b442-f7f40b7c6bfa" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T171400Z:2ec1d779-2cd7-4d23-861d-b28cfa6a8ba1" + "WESTUS:20150128T005557Z:318a8c34-a388-4804-b442-f7f40b7c6bfa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -968,40 +769,52 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 17:14:00 GMT" + "Wed, 28 Jan 2015 00:55:57 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroupForSpn/providers/Microsoft.Authorization/roleAssignments/fa1a4d3b-2cca-406b-8956-6b6b32377641?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9Tb21lUmVzb3VyY2VHcm91cEZvclNwbi9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzL2ZhMWE0ZDNiLTJjY2EtNDA2Yi04OTU2LTZiNmIzMjM3NzY0MT9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroupForSpn/providers/Microsoft.Authorization/roleAssignments/fa1a4d3b-2cca-406b-8956-6b6b32377641?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9Tb21lUmVzb3VyY2VHcm91cEZvclNwbi9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzL2ZhMWE0ZDNiLTJjY2EtNDA2Yi04OTU2LTZiNmIzMjM3NzY0MT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"f1990eeb-b040-47de-a12e-c45da0f9595a\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroupForSpn\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/SomeResourceGroupForSpn/providers/Microsoft.Authorization/roleAssignments/fa1a4d3b-2cca-406b-8956-6b6b32377641\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"fa1a4d3b-2cca-406b-8956-6b6b32377641\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "610" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], + "Vary": [ + "Accept-Encoding" + ], "x-ms-request-id": [ - "westus:633f4f38-8f08-4f10-8d45-2cc039c69f87" + "westus:e15fca4f-498d-4299-8e13-a4c59ecd7d78" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], "x-ms-correlation-request-id": [ - "62f1e1b6-9951-430c-9a35-545f5f4629a4" + "fe4bf379-5ccd-433a-9a6e-7c6a51868a74" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T171400Z:62f1e1b6-9951-430c-9a35-545f5f4629a4" + "WESTUS:20150128T005557Z:fe4bf379-5ccd-433a-9a6e-7c6a51868a74" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1010,7 +823,7 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 17:14:00 GMT" + "Wed, 28 Jan 2015 00:55:56 GMT" ] }, "StatusCode": 200 @@ -1019,6 +832,7 @@ "Names": {}, "Variables": { "SubscriptionId": "3ca49042-782a-4cc9-89b5-ee1b487fe115", - "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0" + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0", + "Domain": "rbactest.onmicrosoft.com" } } \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByUpn.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByUpn.json index 29f1b1c387f0..ff40b0a7a4cd 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByUpn.json +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaByUpn.json @@ -10,19 +10,28 @@ "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"value\": [\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"a73a146e-93ad-43bf-8590-2f43343656b5\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Global Administrator for RBAC Testing\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Global\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"admin\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B9977C6\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"markcowl@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Admin\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"f6b529cb-97da-4126-b925-16fecac9679f\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 5,\r\n \"identityProvider\": null,\r\n \"key\": \"EAM//4ueL3M=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Alternative Owner\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Alternative\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"alt-owner_azsdkposhteamoutlook.onmicrosoft.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008BA3AFD4\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"alt-owner@azsdkposhteamoutlook.onmicrosoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"alt-owner@azsdkposhteamoutlook.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Owner\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"alt-owner_azsdkposhteamoutlook.onmicrosoft.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"da03a14a-f92e-4d70-b5c7-b0dad6324b04\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 1,\r\n \"identityProvider\": null,\r\n \"key\": \"AAN//tE+u3M=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Mark Cowlishaw\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Mark\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"azsdkposhteam_outlook.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008B9B411F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"azsdkposhteam@outlook.com\"\r\n ],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"azsdkposhteam@outlook.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Cowlishaw\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"azsdkposhteam_outlook.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"bac2a76b-6dc2-4343-be12-4af6dff38cac\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 1,\r\n \"identityProvider\": null,\r\n \"key\": \"AAMAAIngDtI=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Marky mark\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Mark\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"markcowl_live.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8BA27081\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"markcowl@live.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"markcowl@live.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Cowlishaw\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"markcowl_live.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"7b45838f-42c3-4fef-a85a-0a9051dfda41\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Owner1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Owner\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"owner1\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D83D\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"owner1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"One\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"owner1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"576b6988-ffa9-4096-a98f-c2151f8ddab1\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Owner2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Owner\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"owner2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998B5C\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"owner2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Two\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"owner2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"4f8bcdeb-e36d-4fcd-9e21-c5c76dd38a74\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Reader1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Reader\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"reader1\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B99874F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"reader1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"One\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"reader1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"fcb281e3-9b38-4868-abec-2c640743cfa9\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Reader2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Reader\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"reader2\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D58F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"reader2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Two\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"reader2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"546880c8-4956-4527-a17f-6671332ef66a\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin1\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D9C3\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminOne\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"value\": [\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"a73a146e-93ad-43bf-8590-2f43343656b5\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Global Administrator for RBAC Testing\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Global\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"admin\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B9977C6\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"markcowl@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": \"en-US\",\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Admin\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"admin@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"346d4101-07d0-43cf-8667-5bd339506923\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"admin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"admin\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"admin2\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008D70CED5\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"amzavery@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"admin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"2\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"admin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"e08336bc-3ffa-4b8d-bcb0-591f6604acb5\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser1952\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser1952test\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8D70606D\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser1952@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser1952@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"36048c94-e9d5-441e-8bb5-53d3f7dece5e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser330\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser330test\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8D6C89F6\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser330@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser330@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"a2b11821-47da-43ee-8e40-49306bd315ca\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser3981\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser3981test\",\r\n \"mobile\": null,\r\n \"netId\": \"10037FFE8D6AD38F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser3981@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser3981@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"54f69052-6dcf-4627-92a5-66d310b29888\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser3995\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser3995test\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8D6524B0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser3995@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser3995@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"2652b627-7aed-4126-a7ba-1f71a5c96a64\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser4199\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser4199test\",\r\n \"mobile\": null,\r\n \"netId\": \"10037FFE8D6E66AA\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser4199@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser4199@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"40d2b434-cddc-4f29-a8dc-d8f6e98d3557\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser5681\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser5681test\",\r\n \"mobile\": null,\r\n \"netId\": \"10037FFE8D6A8C1E\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser5681@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser5681@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"18cd05f3-2c08-4d82-bfdb-f0e60b438c5c\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser6459\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser6459test\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8D771F3D\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser6459@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser6459@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"e6221aa8-25fe-4005-90dd-7cde6272ca15\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser7950\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser7950test\",\r\n \"mobile\": null,\r\n \"netId\": \"10037FFE8D69FF04\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser7950@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser7950@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"d504ac47-7603-40f8-b738-e18c8bebe82b\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser9072\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser9072test\",\r\n \"mobile\": null,\r\n \"netId\": \"10037FFE8D6A0311\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser9072@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser9072@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"56eafb57-e03d-4a26-863d-380cca3f9e30\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser9881\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser9881test\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8D7B1DA9\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser9881@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser9881@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"da03a14a-f92e-4d70-b5c7-b0dad6324b04\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 1,\r\n \"identityProvider\": null,\r\n \"key\": \"AAN//tE+u3M=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Mark Cowlishaw\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Mark\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"azsdkposhteam_outlook.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008B9B411F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"azsdkposhteam@outlook.com\"\r\n ],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"azsdkposhteam@outlook.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Cowlishaw\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"azsdkposhteam_outlook.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"bac2a76b-6dc2-4343-be12-4af6dff38cac\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [\r\n {\r\n \"type\": 1,\r\n \"identityProvider\": null,\r\n \"key\": \"AAMAAIngDtI=\"\r\n }\r\n ],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Marky mark\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Mark\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"markcowl_live.com#EXT#\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8BA27081\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"markcowl@live.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"markcowl@live.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Cowlishaw\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"markcowl_live.com#EXT#@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"7b45838f-42c3-4fef-a85a-0a9051dfda41\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Owner1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Owner\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"owner1\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D83D\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"amzavery@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"owner1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"One\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"owner1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"576b6988-ffa9-4096-a98f-c2151f8ddab1\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Owner2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Owner\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"owner3\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998B5C\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"owner3@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Two\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"owner3@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"4f8bcdeb-e36d-4fcd-9e21-c5c76dd38a74\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Reader1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Reader\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"reader1\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B99874F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"amzavery@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"reader1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"One\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"reader1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"fcb281e3-9b38-4868-abec-2c640743cfa9\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"Reader2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Reader\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"reader2\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D58F\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"amarzavery@outlook.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"reader2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"Two\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"reader2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"546880c8-4956-4527-a17f-6671332ef66a\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin1\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin1\",\r\n \"mobile\": null,\r\n \"netId\": \"10033FFF8B95D9C3\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [\r\n \"yugangw@microsoft.com\"\r\n ],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin1@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminOne\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin1@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n },\r\n {\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { + "Content-Length": [ + "36351" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], "ocp-aad-diagnostics-server-name": [ - "TeRcHeoqA22BHcRGBKky0IV4jTQ6ab7yWgt9gZFyqCs=" + "0AVMhAfrTlI+fqqedZbHx2kwMj2ND9BLZXbvopf3MpM=" ], "request-id": [ - "f48f163f-0fa9-46c2-9a83-b050cc8d9e40" + "0679a8ed-149e-4a7c-b085-a50e7252b0cd" ], "client-request-id": [ - "c4706566-918c-4a2a-867e-acb135255632" + "2e05249d-095a-48fe-b1bf-521142571136" ], "x-ms-gateway-rewrite": [ "false" @@ -31,7 +40,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "YEa9ta2IYxCGGq1aUN9CXL7QwNO_ifWWGd7sDqJmy3QoKz0T5dLIkhX4XnojaVaNZk_hz1P4TydSdUv1_g4zOThnkdCHOCFuIAoeP-XbrQM.ITARncHmg7JIBFytX3gW7RfyzUrBoBZzBnSDCh4mPrc" + "PHq1iCW26gmXOsJyv0ql57cHWprPvW8ha8No2jZRh_vXDpWomIXQM62VN5RR_vqi_H1OzlqC7WnMm1N3T8zKD9YmAC0ehC1LnS7KfYk2Zg0.B-lhAag7cjw9XTX1sCRVqMu364wm0mypR9T5Ol6yfI0" ], "X-Content-Type-Options": [ "nosniff" @@ -46,7 +55,7 @@ "no-cache" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -56,7 +65,7 @@ "ASP.NET" ], "Date": [ - "Wed, 17 Sep 2014 01:50:39 GMT" + "Wed, 28 Jan 2015 00:56:38 GMT" ] }, "StatusCode": 200 @@ -71,22 +80,31 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1\",\r\n \"name\": \"contrib1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/owner1\",\r\n \"name\": \"owner1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/reader1\",\r\n \"name\": \"reader1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1\",\r\n \"name\": \"testg1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264\",\r\n \"name\": \"csmrg4264\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4942\",\r\n \"name\": \"csmrg4942\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg608\",\r\n \"name\": \"csmrg608\",\r\n \"location\": \"eastasia\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg7947\",\r\n \"name\": \"csmrg7947\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg9029\",\r\n \"name\": \"csmrg9029\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg9595\",\r\n \"name\": \"csmrg9595\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg9730\",\r\n \"name\": \"csmrg9730\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Networking\",\r\n \"name\": \"Default-Networking\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-SQL-WestUS\",\r\n \"name\": \"Default-SQL-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Storage-WestUS\",\r\n \"name\": \"Default-Storage-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Web-EastUS\",\r\n \"name\": \"Default-Web-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Web-WestUS\",\r\n \"name\": \"Default-Web-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg1234\",\r\n \"name\": \"testrg1234\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571\",\r\n \"name\": \"testrg18571\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { + "Content-Length": [ + "2609" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31941" + "31993" ], "x-ms-request-id": [ - "fc035f1d-42b9-455a-a898-0e0074db0d3a" + "c24d692e-28fb-4d2e-adc4-3d5dad2b2e13" ], "x-ms-correlation-request-id": [ - "fc035f1d-42b9-455a-a898-0e0074db0d3a" + "c24d692e-28fb-4d2e-adc4-3d5dad2b2e13" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015039Z:fc035f1d-42b9-455a-a898-0e0074db0d3a" + "WESTUS:20150128T005640Z:c24d692e-28fb-4d2e-adc4-3d5dad2b2e13" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -95,7 +113,7 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:50:39 GMT" + "Wed, 28 Jan 2015 00:56:40 GMT" ] }, "StatusCode": 200 @@ -110,22 +128,31 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1\",\r\n \"name\": \"contrib1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/owner1\",\r\n \"name\": \"owner1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/reader1\",\r\n \"name\": \"reader1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1\",\r\n \"name\": \"testg1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264\",\r\n \"name\": \"csmrg4264\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4942\",\r\n \"name\": \"csmrg4942\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg608\",\r\n \"name\": \"csmrg608\",\r\n \"location\": \"eastasia\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg7947\",\r\n \"name\": \"csmrg7947\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg9029\",\r\n \"name\": \"csmrg9029\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg9595\",\r\n \"name\": \"csmrg9595\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg9730\",\r\n \"name\": \"csmrg9730\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Networking\",\r\n \"name\": \"Default-Networking\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-SQL-WestUS\",\r\n \"name\": \"Default-SQL-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Storage-WestUS\",\r\n \"name\": \"Default-Storage-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Web-EastUS\",\r\n \"name\": \"Default-Web-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Web-WestUS\",\r\n \"name\": \"Default-Web-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg1234\",\r\n \"name\": \"testrg1234\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571\",\r\n \"name\": \"testrg18571\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { + "Content-Length": [ + "2609" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31940" + "31992" ], "x-ms-request-id": [ - "116f3eb9-68f7-4230-889e-eedd748ada26" + "9482258a-e25d-48c6-9def-125de8c8c484" ], "x-ms-correlation-request-id": [ - "116f3eb9-68f7-4230-889e-eedd748ada26" + "9482258a-e25d-48c6-9def-125de8c8c484" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015039Z:116f3eb9-68f7-4230-889e-eedd748ada26" + "WESTUS:20150128T005640Z:9482258a-e25d-48c6-9def-125de8c8c484" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -134,7 +161,7 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:50:39 GMT" + "Wed, 28 Jan 2015 00:56:40 GMT" ] }, "StatusCode": 200 @@ -151,17 +178,26 @@ }, "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "1956" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], "ocp-aad-diagnostics-server-name": [ - "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + "0AVMhAfrTlI+fqqedZbHx2kwMj2ND9BLZXbvopf3MpM=" ], "request-id": [ - "cfe9024e-36ac-4f00-a311-b80dea7e13e0" + "1076b4bc-dd61-4cf4-a9bf-68c2067da9d5" ], "client-request-id": [ - "e1f4a635-4972-47eb-b076-8e9604b513d2" + "1b2ee084-6bac-4d01-87e8-44d3537df211" ], "x-ms-gateway-rewrite": [ "false" @@ -170,7 +206,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "GOXHSIAxMCX8o1z7_DhOsw_omguYa-PZK3I1Om953Non79cosbBOTzrclInIPyUdUsVghbkhbGwhDOZ8Nt8kvON-QWnC-mBfhuFZlChBZ3M.bNp0GnEUbw8-f2cJhLgMSXQyhx3Za6WBC1mgqDTnW_A" + "YPlkm7r_-6kJFrcT-Ssp2Hyxdbx1le5obRPyJ9E1SjS_DfQX7zMzab1V52S1GHVyH9-JDJRkkKSSxPNKcezcs7fHtnPxjgMDETawPEo7_ec.RrEoY55KYznNIY-nNuaRRxujR_ZDjIYoaikB9vtw_uc" ], "X-Content-Type-Options": [ "nosniff" @@ -185,7 +221,7 @@ "no-cache" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -195,26 +231,35 @@ "ASP.NET" ], "Date": [ - "Wed, 17 Sep 2014 01:50:39 GMT" + "Wed, 28 Jan 2015 00:56:40 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlRGVmaW5pdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlRGVmaW5pdGlvbnM/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Contributors can manage everything except access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Owner\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Owners can manage everything, including access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you manage everything except access to resources.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Owner\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you manage everything, including access to resources.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you view everything, but not make any changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { + "Content-Length": [ + "1385" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], @@ -222,16 +267,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:2343b468-f6cf-4a30-a19e-3432a7f8a8ad" + "westus:5eb241d4-f21e-441a-8985-447032903090" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31910" + "31999" ], "x-ms-correlation-request-id": [ - "37e54548-79cf-42ea-b0b7-2a9f08b5cb1a" + "a29c3573-1dff-40f2-8f4b-fbd01fc26813" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015040Z:37e54548-79cf-42ea-b0b7-2a9f08b5cb1a" + "WESTUS:20150128T005641Z:a29c3573-1dff-40f2-8f4b-fbd01fc26813" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -240,37 +285,52 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:50:39 GMT" + "Wed, 28 Jan 2015 00:56:40 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1/providers/Microsoft.Authorization/roleAssignments/7a750d57-9d92-4be1-ad66-f099cecffc01?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy90ZXN0ZzEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cy83YTc1MGQ1Ny05ZDkyLTRiZTEtYWQ2Ni1mMDk5Y2VjZmZjMDE/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571/providers/Microsoft.Authorization/roleAssignments/7a750d57-9d92-4be1-ad66-f099cecffc01?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy90ZXN0cmcxODU3MS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzLzdhNzUwZDU3LTlkOTItNGJlMS1hZDY2LWYwOTljZWNmZmMwMT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\"\r\n }\r\n}", "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "254" + ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1/providers/Microsoft.Authorization/roleAssignments/7a750d57-9d92-4be1-ad66-f099cecffc01\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"7a750d57-9d92-4be1-ad66-f099cecffc01\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571/providers/Microsoft.Authorization/roleAssignments/7a750d57-9d92-4be1-ad66-f099cecffc01\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"7a750d57-9d92-4be1-ad66-f099cecffc01\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "586" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "westus:452dda8f-03ad-4853-84b5-2cddcdb87d2f" + "westus:d0e7269e-34ec-4642-89a3-9e94836fa8c2" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1185" + "1199" ], "x-ms-correlation-request-id": [ - "fdd8c709-d9aa-4631-9d5f-37a875c0edc3" + "f8ffc5ec-0340-4319-a135-765185be27dc" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015041Z:fdd8c709-d9aa-4631-9d5f-37a875c0edc3" + "WESTUS:20150128T005642Z:f8ffc5ec-0340-4319-a135-765185be27dc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -279,26 +339,35 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:50:40 GMT" + "Wed, 28 Jan 2015 00:56:42 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1/providers/Microsoft.Authorization/roleAssignments/7a750d57-9d92-4be1-ad66-f099cecffc01?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy90ZXN0ZzEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cy83YTc1MGQ1Ny05ZDkyLTRiZTEtYWQ2Ni1mMDk5Y2VjZmZjMDE/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571/providers/Microsoft.Authorization/roleAssignments/7a750d57-9d92-4be1-ad66-f099cecffc01?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy90ZXN0cmcxODU3MS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzLzdhNzUwZDU3LTlkOTItNGJlMS1hZDY2LWYwOTljZWNmZmMwMT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1/providers/Microsoft.Authorization/roleAssignments/7a750d57-9d92-4be1-ad66-f099cecffc01\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"7a750d57-9d92-4be1-ad66-f099cecffc01\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571/providers/Microsoft.Authorization/roleAssignments/7a750d57-9d92-4be1-ad66-f099cecffc01\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"7a750d57-9d92-4be1-ad66-f099cecffc01\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "586" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], @@ -306,16 +375,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:c0f34d11-74e0-4eb7-a078-b35c594c584e" + "westus:86a7e203-981f-4c48-94bc-f21bfe35b3e4" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31909" + "31998" ], "x-ms-correlation-request-id": [ - "d9d63eb2-d557-4496-bc55-016c1bb743ff" + "6e2cbb0c-d7a5-4dfe-90f0-76b9997949c9" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015041Z:d9d63eb2-d557-4496-bc55-016c1bb743ff" + "WESTUS:20150128T005642Z:6e2cbb0c-d7a5-4dfe-90f0-76b9997949c9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -324,26 +393,35 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:50:41 GMT" + "Wed, 28 Jan 2015 00:56:42 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2IyNDk4OGFjLTYxODAtNDJhMC1hYjg4LTIwZjczODJkZDI0Yz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2IyNDk4OGFjLTYxODAtNDJhMC1hYjg4LTIwZjczODJkZDI0Yz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Contributors can manage everything except access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you manage everything except access to resources.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "504" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], @@ -351,16 +429,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:5b72b7e7-ef78-4efe-9825-78c78a7bb449" + "westus:9d6757bc-315d-4aac-8c61-a146a9b67b4d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31908" + "31997" ], "x-ms-correlation-request-id": [ - "9f843a64-88c2-464f-89d9-266c717c455d" + "e5d8d6e5-f501-40a8-b507-27ce7cdeb099" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015041Z:9f843a64-88c2-464f-89d9-266c717c455d" + "WESTUS:20150128T005642Z:e5d8d6e5-f501-40a8-b507-27ce7cdeb099" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -369,26 +447,35 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:50:41 GMT" + "Wed, 28 Jan 2015 00:56:42 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2IyNDk4OGFjLTYxODAtNDJhMC1hYjg4LTIwZjczODJkZDI0Yz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2IyNDk4OGFjLTYxODAtNDJhMC1hYjg4LTIwZjczODJkZDI0Yz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Contributors can manage everything except access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you manage everything except access to resources.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "504" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], @@ -396,16 +483,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:2684f89a-24dd-425a-b887-4f661b488368" + "westus:2ed4f9f3-ed1d-4d00-85de-c6a1bedea17f" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31905" + "31995" ], "x-ms-correlation-request-id": [ - "580c2c33-98fe-473d-bcc8-2488089790f8" + "6f2166ce-6a78-443d-9491-3dce566f77c8" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015042Z:580c2c33-98fe-473d-bcc8-2488089790f8" + "WESTUS:20150128T005643Z:6f2166ce-6a78-443d-9491-3dce566f77c8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -414,7 +501,7 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:50:41 GMT" + "Wed, 28 Jan 2015 00:56:42 GMT" ] }, "StatusCode": 200 @@ -431,78 +518,26 @@ }, "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", "ResponseHeaders": { - "Pragma": [ - "no-cache" - ], - "ocp-aad-diagnostics-server-name": [ - "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" - ], - "request-id": [ - "4474eae0-2c8c-4fc5-b0ef-c1031006f195" - ], - "client-request-id": [ - "e84aab2e-0714-4843-9098-e8f345928830" - ], - "x-ms-gateway-rewrite": [ - "false" + "Content-Length": [ + "1956" ], - "x-ms-dirapi-data-contract-version": [ - "1.42-previewInternal" + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], - "ocp-aad-session-key": [ - "zIKavK5vvep4OMhwSEqLN4lLlAMnTDlBZVYKAw2poao2jZASwu3JcrfATRbOoz6Zu2BykSc19Q2NoWL2jD4LmMU3WTdhf1rweB3eY_DRkBQ.5XqvN83Is7ForfqIz3BC8sCAV28ZLsfdAyrKNEptMyE" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "DataServiceVersion": [ - "3.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "Expires": [ + "-1" ], - "Cache-Control": [ - "no-cache" - ], - "Server": [ - "Microsoft-IIS/8.0" - ], - "X-AspNet-Version": [ - "4.0.30319" - ], - "X-Powered-By": [ - "ASP.NET", - "ASP.NET" - ], - "Date": [ - "Wed, 17 Sep 2014 01:50:41 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/5509dd91-9239-4de9-877c-985984f9284e?api-version=1.42-previewInternal", - "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy81NTA5ZGQ5MS05MjM5LTRkZTktODc3Yy05ODU5ODRmOTI4NGU/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", - "ResponseHeaders": { "Pragma": [ "no-cache" ], "ocp-aad-diagnostics-server-name": [ - "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + "0AVMhAfrTlI+fqqedZbHx2kwMj2ND9BLZXbvopf3MpM=" ], "request-id": [ - "f669c5b4-3a1c-4868-8432-858de8c63251" + "54dfbc71-2e79-40fc-92c2-b845f0babb21" ], "client-request-id": [ - "022d46a4-df85-4251-a7d2-0a749f3d784f" + "51f10105-e422-4b18-b930-995b086ac3f5" ], "x-ms-gateway-rewrite": [ "false" @@ -511,7 +546,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "xdj0Vv_cuQuVJi_rH4vuvvDyqWI9tZyaK40B6USHPa5myzOl44zNzpUJcSIxLpM9jd7sbcDX6pvkLi-aqO4k6-hJ605QWqwihsnnqKEXv-c.W9nf54wk6BZ_V8_CeUR3auGQoGd6NQ85b4ks7_66eqc" + "gNPJk2vYxDB9N6ISuq2TOToYFwHs1m1NfxNOaoW9u_DQ53R5il2XUXlQEtLCikL2pQLPj13pKYVg5MUgyfIyq9kHGV_vzNnsknvD316Bkr4.HUPm6Pw-R8BjKfMloPMuEiL7uVRcDUqqJ0vbRqOioYA" ], "X-Content-Type-Options": [ "nosniff" @@ -526,7 +561,7 @@ "no-cache" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -536,7 +571,7 @@ "ASP.NET" ], "Date": [ - "Wed, 17 Sep 2014 01:50:41 GMT" + "Wed, 28 Jan 2015 00:56:42 GMT" ] }, "StatusCode": 200 @@ -553,78 +588,26 @@ }, "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", "ResponseHeaders": { - "Pragma": [ - "no-cache" + "Content-Length": [ + "1956" ], - "ocp-aad-diagnostics-server-name": [ - "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ], - "request-id": [ - "ddaed303-67f8-4373-9c27-e1f715802710" + "Expires": [ + "-1" ], - "client-request-id": [ - "acb63867-c8e4-4138-b7fd-4027b8dff67f" - ], - "x-ms-gateway-rewrite": [ - "false" - ], - "x-ms-dirapi-data-contract-version": [ - "1.42-previewInternal" - ], - "ocp-aad-session-key": [ - "465TuaCmL9dLd14KbGM3BDsQY7-naTi3icCRlo02ndSVv_3-PRB0F3PxEOdOXPltzxnOA29zA6uFTW3iCGBr9NbI6VQgRVJJmiJT5O2a7q0.7LKplQkrL3pwAfITtin6AMlSaovUSLNa2euLHORTnIw" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "DataServiceVersion": [ - "3.0;" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Server": [ - "Microsoft-IIS/8.0" - ], - "X-AspNet-Version": [ - "4.0.30319" - ], - "X-Powered-By": [ - "ASP.NET", - "ASP.NET" - ], - "Date": [ - "Wed, 17 Sep 2014 01:50:42 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/5509dd91-9239-4de9-877c-985984f9284e?api-version=1.42-previewInternal", - "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy81NTA5ZGQ5MS05MjM5LTRkZTktODc3Yy05ODU5ODRmOTI4NGU/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"webadmin2\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": \"Web\",\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"webadmin2\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8B998CA0\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": \"None\",\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": \"AdminTwo\",\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"webadmin2@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", - "ResponseHeaders": { "Pragma": [ "no-cache" ], "ocp-aad-diagnostics-server-name": [ - "jC0LEgyX+Xs4wMEfLHHxy6tdbt5rWMqcCmfvwI5RNyo=" + "wUAYkBKal6oqagFY7aouGCtQCtmejpC9YPiTOfHJ8us=" ], "request-id": [ - "1de3a8fa-bd61-4c26-a44f-80e5dff4b1ac" + "2ec8eeb6-3640-4606-afc2-8a6989cec783" ], "client-request-id": [ - "d95cbd9f-9cdf-40cd-b9ab-f1b9b7b25611" + "f1c4242c-b4a9-472e-94fd-63b8a36ae780" ], "x-ms-gateway-rewrite": [ "false" @@ -633,7 +616,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "YE11z2L4fBwkEZXyntND_Gy_iZIMTdXEo37nRjMGNZjD6msfFhfYFZ-3mXVweOLYPdyEjI7-qk87zMx4piBg06xWu9RCGAufimrqppJ_k0A.90sJoJnQmFjIWk8wUUyn81UwvSKsBoSD3w3A9nO3PzY" + "hE54JG0ia0ZIDfh0H2-abn7ONIQN73HOp1NxiGRH2SNQMhVhi11YzHIa3CuhPPPBPqZMqsGhc1iXsbUhtYZsj_n9BuSJhNO-AIcJQXU5uy0.Jee2vIvG4EFfF5oCWzN-Z1MPOblKl-ed_wq4x0Fbgbs" ], "X-Content-Type-Options": [ "nosniff" @@ -648,7 +631,7 @@ "no-cache" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -658,71 +641,35 @@ "ASP.NET" ], "Date": [ - "Wed, 17 Sep 2014 01:50:43 GMT" + "Wed, 28 Jan 2015 00:56:42 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'5509dd91-9239-4de9-877c-985984f9284e'&api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCc1NTA5ZGQ5MS05MjM5LTRkZTktODc3Yy05ODU5ODRmOTI4NGUnJmFwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'5509dd91-9239-4de9-877c-985984f9284e'&api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCc1NTA5ZGQ5MS05MjM5LTRkZTktODc3Yy05ODU5ODRmOTI4NGUnJmFwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/nonexistentRG\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/nonexistentRG/providers/Microsoft.Authorization/roleAssignments/ddfb9670-5239-475b-9428-be0adc07bef1\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"ddfb9670-5239-475b-9428-be0adc07bef1\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1/providers/Microsoft.Authorization/roleAssignments/7a750d57-9d92-4be1-ad66-f099cecffc01\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"7a750d57-9d92-4be1-ad66-f099cecffc01\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571/providers/Microsoft.Authorization/roleAssignments/7a750d57-9d92-4be1-ad66-f099cecffc01\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"7a750d57-9d92-4be1-ad66-f099cecffc01\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { - "Pragma": [ - "no-cache" + "Content-Length": [ + "598" ], - "Vary": [ - "Accept-Encoding" - ], - "x-ms-request-id": [ - "westus:dbecf4b2-f5f1-4ea4-89b4-19646c5273e9" + "Content-Type": [ + "application/json; charset=utf-8" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31907" - ], - "x-ms-correlation-request-id": [ - "bb189a8e-3189-47bd-8f03-53f0f6720449" - ], - "x-ms-routing-request-id": [ - "WESTUS:20140917T015042Z:bb189a8e-3189-47bd-8f03-53f0f6720449" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 17 Sep 2014 01:50:41 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'5509dd91-9239-4de9-877c-985984f9284e'&api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCc1NTA5ZGQ5MS05MjM5LTRkZTktODc3Yy05ODU5ODRmOTI4NGUnJmFwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-07-01-preview" + "Expires": [ + "-1" ], - "User-Agent": [ - "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/nonexistentRG\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/nonexistentRG/providers/Microsoft.Authorization/roleAssignments/ddfb9670-5239-475b-9428-be0adc07bef1\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"ddfb9670-5239-475b-9428-be0adc07bef1\"\r\n }\r\n ]\r\n}", - "ResponseHeaders": { "Pragma": [ "no-cache" ], @@ -730,16 +677,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:6aaa5d56-1003-4e9a-8e5f-d0af398cabb8" + "westus:c2656119-c386-443f-9887-9d113f2953aa" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31904" + "31996" ], "x-ms-correlation-request-id": [ - "1f4ec3bd-dc4d-47fa-a8f1-29d7c9dbde9c" + "6d6265ce-e5e4-4d60-8184-f90920c96d49" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015043Z:1f4ec3bd-dc4d-47fa-a8f1-29d7c9dbde9c" + "WESTUS:20150128T005643Z:6d6265ce-e5e4-4d60-8184-f90920c96d49" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -748,71 +695,35 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:50:43 GMT" + "Wed, 28 Jan 2015 00:56:42 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'5509dd91-9239-4de9-877c-985984f9284e'&api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCc1NTA5ZGQ5MS05MjM5LTRkZTktODc3Yy05ODU5ODRmOTI4NGUnJmFwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", + "ResponseBody": "{\r\n \"value\": []\r\n}", "ResponseHeaders": { - "Pragma": [ - "no-cache" - ], - "Vary": [ - "Accept-Encoding" + "Content-Length": [ + "12" ], - "x-ms-request-id": [ - "westus:b15d7845-7304-4385-9283-d15185257e47" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31906" + "Content-Type": [ + "application/json; charset=utf-8" ], - "x-ms-correlation-request-id": [ - "1dd22a71-e3c6-48af-95db-3c073e756392" - ], - "x-ms-routing-request-id": [ - "WESTUS:20140917T015042Z:1dd22a71-e3c6-48af-95db-3c073e756392" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "Expires": [ + "-1" ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 17 Sep 2014 01:50:41 GMT" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-version": [ - "2014-07-01-preview" - ], - "User-Agent": [ - "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", - "ResponseHeaders": { "Pragma": [ "no-cache" ], @@ -820,16 +731,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:a4dc92ab-dbb9-4c97-8cd8-7caa5572758f" + "westus:282174c3-3845-4fbc-b15a-ee099cb5f06e" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31903" + "31994" ], "x-ms-correlation-request-id": [ - "51547a60-4b81-407c-89ae-eb8f4ce28f72" + "acfc7b8c-4bc0-42bf-95df-718d0bed9726" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015043Z:51547a60-4b81-407c-89ae-eb8f4ce28f72" + "WESTUS:20150128T005644Z:acfc7b8c-4bc0-42bf-95df-718d0bed9726" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -838,40 +749,52 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:50:43 GMT" + "Wed, 28 Jan 2015 00:56:43 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1/providers/Microsoft.Authorization/roleAssignments/7a750d57-9d92-4be1-ad66-f099cecffc01?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy90ZXN0ZzEvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cy83YTc1MGQ1Ny05ZDkyLTRiZTEtYWQ2Ni1mMDk5Y2VjZmZjMDE/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571/providers/Microsoft.Authorization/roleAssignments/7a750d57-9d92-4be1-ad66-f099cecffc01?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy90ZXN0cmcxODU3MS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzLzdhNzUwZDU3LTlkOTItNGJlMS1hZDY2LWYwOTljZWNmZmMwMT9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"principalId\": \"5509dd91-9239-4de9-877c-985984f9284e\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571/providers/Microsoft.Authorization/roleAssignments/7a750d57-9d92-4be1-ad66-f099cecffc01\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"7a750d57-9d92-4be1-ad66-f099cecffc01\"\r\n}", "ResponseHeaders": { + "Content-Length": [ + "586" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], + "Vary": [ + "Accept-Encoding" + ], "x-ms-request-id": [ - "westus:70ab6090-967a-4ced-9d3b-58514d9478de" + "westus:c646b7de-419b-4099-8120-056634fed0ea" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1184" + "1198" ], "x-ms-correlation-request-id": [ - "6153d582-fc9b-4681-b11c-8f0e4cbb6bea" + "7c3a216b-86f2-49c2-8e73-c2b17bb3b31a" ], "x-ms-routing-request-id": [ - "WESTUS:20140917T015043Z:6153d582-fc9b-4681-b11c-8f0e4cbb6bea" + "WESTUS:20150128T005644Z:7c3a216b-86f2-49c2-8e73-c2b17bb3b31a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -880,7 +803,7 @@ "no-cache" ], "Date": [ - "Wed, 17 Sep 2014 01:50:43 GMT" + "Wed, 28 Jan 2015 00:56:43 GMT" ] }, "StatusCode": 200 @@ -889,6 +812,7 @@ "Names": {}, "Variables": { "SubscriptionId": "3ca49042-782a-4cc9-89b5-ee1b487fe115", - "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0" + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0", + "Domain": "rbactest.onmicrosoft.com" } } \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaNegativeScenarios.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaNegativeScenarios.json index f10dd856ce60..4a763ba06415 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaNegativeScenarios.json +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaNegativeScenarios.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa'&api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCdhYWFhYWFhYS1hYWFhLWFhYWEtYWFhYS1hYWFhYWFhYWFhYWEnJmFwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleAssignments?&$filter=principalId%20eq%20'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa'&api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlQXNzaWdubWVudHM/JiRmaWx0ZXI9cHJpbmNpcGFsSWQlMjBlcSUyMCdhYWFhYWFhYS1hYWFhLWFhYWEtYWFhYS1hYWFhYWFhYWFhYWEnJmFwaS12ZXJzaW9uPTIwMTQtMTAtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" @@ -15,6 +15,15 @@ }, "ResponseBody": "{\r\n \"value\": []\r\n}", "ResponseHeaders": { + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], @@ -22,16 +31,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:d0c705e3-fad6-4f89-9a27-f7293422fb24" + "westus:02025db9-9228-440d-be4b-9a19661df59d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31989" + "31999" ], "x-ms-correlation-request-id": [ - "374d21e3-9749-4afc-8b9e-21e2ddfd34a5" + "72977e35-6d99-4461-a713-b3eb3948e7fe" ], "x-ms-routing-request-id": [ - "WESTUS:20140915T235131Z:374d21e3-9749-4afc-8b9e-21e2ddfd34a5" + "WESTUS:20150128T005628Z:72977e35-6d99-4461-a713-b3eb3948e7fe" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -40,7 +49,7 @@ "no-cache" ], "Date": [ - "Mon, 15 Sep 2014 23:51:31 GMT" + "Wed, 28 Jan 2015 00:56:27 GMT" ] }, "StatusCode": 200 @@ -57,14 +66,20 @@ }, "ResponseBody": "{\r\n \"odata.error\": {\r\n \"code\": \"Request_ResourceNotFound\",\r\n \"message\": {\r\n \"lang\": \"en\",\r\n \"value\": \"Resource 'nonexistent@provider.com' does not exist or one of its queried reference-property objects are not present.\"\r\n }\r\n }\r\n}", "ResponseHeaders": { + "Content-Length": [ + "202" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; charset=utf-8" + ], "ocp-aad-diagnostics-server-name": [ - "0KG3XJca10JBaCPPVyV6S/TPZvVBRyYmKz0GZKrigX0=" + "+MzH+2dNYIt6p0PwxNqlMcq3itHIDSnhoyEZsBf+jpA=" ], "request-id": [ - "2a62d192-c67a-4c20-a233-2ac9036772c8" + "c9799225-0bcf-43b1-8ef8-2a6819cf427c" ], "client-request-id": [ - "bb4ec3b6-28d4-4aea-be83-33f05d250df6" + "90908a61-8850-49aa-9681-7944b8d9f983" ], "x-ms-gateway-rewrite": [ "false" @@ -73,7 +88,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "oX-z3dVYrpKpqzPeQaNpWugF8eg9wOxNSHX-vb3Ntp6fOVrdaFyYfQ2MvbtUUv6HTnKdOJ0YoGLpasiMyR0Uqp7m97STF-xi91VvD23DS1A.mfZ-KCp8x6IT8EKPDbHHHYOPhEP1M-Nh3rhXi1uPc_c" + "2_nOPcPlurKbxYy8-F6566mg6uLcTIhQLaKwUURvIblAwx8Qqb2LnHLkpHbcnGkVrvTJ2jR2wLngMJfOyVE9Y6V9Jdnc4tnsuWfZJ4RvDho.abAvuMmtNFsfhrGQrPVhfmxwyFIN3MX7Jd5KvyjpUvI" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -82,7 +97,7 @@ "private" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -92,7 +107,7 @@ "ASP.NET" ], "Date": [ - "Mon, 15 Sep 2014 23:51:31 GMT" + "Wed, 28 Jan 2015 00:56:28 GMT" ] }, "StatusCode": 404 @@ -109,17 +124,26 @@ }, "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.ServicePrincipal\",\r\n \"value\": []\r\n}", "ResponseHeaders": { + "Content-Length": [ + "177" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], "ocp-aad-diagnostics-server-name": [ - "0KG3XJca10JBaCPPVyV6S/TPZvVBRyYmKz0GZKrigX0=" + "+MzH+2dNYIt6p0PwxNqlMcq3itHIDSnhoyEZsBf+jpA=" ], "request-id": [ - "0f930761-2271-401b-9686-12aa512722b6" + "708cc059-6f31-46e2-a51a-ae8f128085b1" ], "client-request-id": [ - "6c3b2a3f-9cf6-4bbe-90d2-e86389cb250d" + "b5b74344-4990-4b64-a4d6-db4a219d795a" ], "x-ms-gateway-rewrite": [ "false" @@ -128,7 +152,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "PmJ7L4OP3yAiB8K40dalrv6mxP8E_iQG5r5iNlv0CKix76r1DDj6DIYrlcZ7CWEAp2Yj-KG8IFyT9Xt8qnUIfxqj_ppuCM3YJPVB69xdVCw.q1P0Ad5McuvkwoUf9iEY4p6FIaEomTEov4InznXf2rg" + "YNboRDXu_cLTLZjCkVfui1T2ZxFWqHIsw8kNDTxFNmR13yotpM4m1CpG7Q3u8oqsF_4v2jSy6GdwaLCit_nAyGwHNGbMbY4w_8aQwnR72Ks.wS6CPEWUT7XJKwMx97NojCgTrlMFqJVwxbV-NpYMWYE" ], "X-Content-Type-Options": [ "nosniff" @@ -143,7 +167,7 @@ "no-cache" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -153,19 +177,19 @@ "ASP.NET" ], "Date": [ - "Mon, 15 Sep 2014 23:51:32 GMT" + "Wed, 28 Jan 2015 00:56:28 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/nonexistent/providers/Microsoft.Authorization/roleAssignments?$filter=atScope()&api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvbm9uZXhpc3RlbnQvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cz8kZmlsdGVyPWF0U2NvcGUoKSZhcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/nonexistent/providers/Microsoft.Authorization/roleAssignments?$filter=atScope()&api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvbm9uZXhpc3RlbnQvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cz8kZmlsdGVyPWF0U2NvcGUoKSZhcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" @@ -173,17 +197,26 @@ }, "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"InvalidResourceNamespace\",\r\n \"message\": \"The resource namespace 'nonexistent' is invalid.\"\r\n }\r\n}", "ResponseHeaders": { + "Content-Length": [ + "106" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], "Pragma": [ "no-cache" ], "x-ms-request-id": [ - "f3e798c6-279b-44c6-ae6b-1357525ee8b2" + "b4bc762c-1b4a-4d7a-8237-6822bea307a6" ], "x-ms-correlation-request-id": [ - "f3e798c6-279b-44c6-ae6b-1357525ee8b2" + "b4bc762c-1b4a-4d7a-8237-6822bea307a6" ], "x-ms-routing-request-id": [ - "WESTUS:20140915T235132Z:f3e798c6-279b-44c6-ae6b-1357525ee8b2" + "WESTUS:20150128T005629Z:b4bc762c-1b4a-4d7a-8237-6822bea307a6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -192,7 +225,7 @@ "no-cache" ], "Date": [ - "Mon, 15 Sep 2014 23:51:31 GMT" + "Wed, 28 Jan 2015 00:56:28 GMT" ] }, "StatusCode": 404 @@ -201,6 +234,7 @@ "Names": {}, "Variables": { "SubscriptionId": "3ca49042-782a-4cc9-89b5-ee1b487fe115", - "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0" + "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0", + "Domain": "rbactest.onmicrosoft.com" } } \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaUserPermissions_Cleanup.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaUserPermissions_Cleanup.json index 7df4a1058d50..79f7bdcc8d68 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaUserPermissions_Cleanup.json +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaUserPermissions_Cleanup.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/68730ae1-2d5c-446b-b37c-bd495a91bf6d?api-version=1.42-previewInternal", - "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy82ODczMGFlMS0yZDVjLTQ0NmItYjM3Yy1iZDQ5NWE5MWJmNmQ/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/a1a58b22-a124-4ae2-bd50-c9ecaccb6eb5?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy9hMWE1OGIyMi1hMTI0LTRhZTItYmQ1MC1jOWVjYWNjYjZlYjU/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { @@ -19,13 +19,13 @@ "no-cache" ], "ocp-aad-diagnostics-server-name": [ - "OijwP55bzFPNFU61dGL7reXxvBErwXnDlELDsunJBUw=" + "BvccHteD7GpRtL6WC1VKppjYFJCLmeocW/AMspEjmnI=" ], "request-id": [ - "a26fe1c3-5ac7-4ed0-90f3-8b2389cb6363" + "06ea92e6-4967-4d64-ac5f-5be2fbff7a91" ], "client-request-id": [ - "d1806fcd-5342-440f-8e9a-cac57ed8088b" + "f7d3274e-9d94-4a47-ba42-e63d8ed09d92" ], "x-ms-gateway-rewrite": [ "false" @@ -34,7 +34,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "g76B0s0E53V6bbPU1FYqzXWtq50zj4D291xTO3DNHCC1tyP_Rt3QJgNjVWr2r-Au7iVzBYens9kYkUOV_tSWGnF8C6YhECcZwQ1ftOwQ1r8YTaQMIvXXAR5Uq_F4VLj2_m3rreF5_zoOYe5JObjWyA.rp4UgIeMaoSzJbSRsjzEZrEMSLFVcNQQkG3KP6_ty2M" + "c6Y6RFDl0yP0NBdoVG_xCBjGbKNdQZqBYrR1ggyU3MilX92iH4qTxLYft8KvQINa2U3aHEquJPyjlyw4QYF7qIR8P5OWtGVzWsywsXmiL8E6YDfqNUwDDcXEjtBhpc4X0iZSvVV_fqgnZ3_GtVHiiw.N7KYNQsrTETf6_HUOKOAzImRsnN_LpVJgyLonYeoylc" ], "X-Content-Type-Options": [ "nosniff" @@ -49,7 +49,7 @@ "no-cache" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -59,28 +59,31 @@ "ASP.NET" ], "Date": [ - "Thu, 25 Sep 2014 17:34:35 GMT" + "Wed, 28 Jan 2015 01:01:56 GMT" ] }, "StatusCode": 204 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Authorization/roleAssignments/6a26d717-aba9-44e3-b971-c53694e413b2?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9jb250cmliMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzLzZhMjZkNzE3LWFiYTktNDRlMy1iOTcxLWM1MzY5NGU0MTNiMj9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264/providers/Microsoft.Authorization/roleAssignments/9b8d3fbe-4a95-406c-aae6-50528fa2aefb?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9jc21yZzQyNjQvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cy85YjhkM2ZiZS00YTk1LTQwNmMtYWFlNi01MDUyOGZhMmFlZmI/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"a1a58b22-a124-4ae2-bd50-c9ecaccb6eb5\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264/providers/Microsoft.Authorization/roleAssignments/9b8d3fbe-4a95-406c-aae6-50528fa2aefb\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"9b8d3fbe-4a95-406c-aae6-50528fa2aefb\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "0" + "582" + ], + "Content-Type": [ + "application/json; charset=utf-8" ], "Expires": [ "-1" @@ -88,17 +91,20 @@ "Pragma": [ "no-cache" ], + "Vary": [ + "Accept-Encoding" + ], "x-ms-request-id": [ - "westus:75bb9eee-20db-48f8-b237-0cf3929206eb" + "westus:1e9149af-59e1-44b4-a6d2-569f14f0f7d0" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "1197" ], "x-ms-correlation-request-id": [ - "620b9a6a-dbd8-4d8e-8e7e-d5ac0e4045aa" + "bf12fa31-da99-47d3-81f7-5573267ffc2b" ], "x-ms-routing-request-id": [ - "WESTUS:20140925T173440Z:620b9a6a-dbd8-4d8e-8e7e-d5ac0e4045aa" + "WESTUS:20150128T010158Z:bf12fa31-da99-47d3-81f7-5573267ffc2b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -107,7 +113,7 @@ "no-cache" ], "Date": [ - "Thu, 25 Sep 2014 17:34:40 GMT" + "Wed, 28 Jan 2015 01:01:57 GMT" ] }, "StatusCode": 200 diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaUserPermissions_Setup.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaUserPermissions_Setup.json index 1b098bb19d09..03e997827df1 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaUserPermissions_Setup.json +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaUserPermissions_Setup.json @@ -4,7 +4,7 @@ "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users?api-version=1.42-previewInternal", "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycz9hcGktdmVyc2lvbj0xLjQyLXByZXZpZXdJbnRlcm5hbA==", "RequestMethod": "POST", - "RequestBody": "{\r\n \"userPrincipalName\": \"aduser2365@rbactest.onmicrosoft.com\",\r\n \"accountEnabled\": true,\r\n \"displayName\": \"aduser2365\",\r\n \"mailNickname\": \"aduser2365test\",\r\n \"passwordProfile\": {\r\n \"password\": \"adpass37690#$\",\r\n \"forceChangePasswordNextLogin\": false\r\n }\r\n}", + "RequestBody": "{\r\n \"userPrincipalName\": \"aduser3907@rbactest.onmicrosoft.com\",\r\n \"accountEnabled\": true,\r\n \"displayName\": \"aduser3907\",\r\n \"mailNickname\": \"aduser3907test\",\r\n \"passwordProfile\": {\r\n \"password\": \"adpass71570#$\",\r\n \"forceChangePasswordNextLogin\": false\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -16,7 +16,7 @@ "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"68730ae1-2d5c-446b-b37c-bd495a91bf6d\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser2365\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser2365test\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008BD7259E\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser2365@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser2365@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"a1a58b22-a124-4ae2-bd50-c9ecaccb6eb5\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser3907\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser3907test\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8D7C00E7\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser3907@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser3907@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", "ResponseHeaders": { "Content-Length": [ "1955" @@ -31,13 +31,13 @@ "no-cache" ], "ocp-aad-diagnostics-server-name": [ - "GHWom5F4FhO0ryJj9WTZucEuZW4pI1MbWekjNz7LQZA=" + "Ev7Hd/oipnCIUzrwXxDqH/F82pF5rlTsyUdf4tMaVXs=" ], "request-id": [ - "c3a2e03e-51d2-414f-b181-ae628800a2f0" + "b6d218cb-681e-454c-a741-389333d9f612" ], "client-request-id": [ - "4e4b96a9-abf2-4452-ba23-c5437312841a" + "cec82f54-ca21-4123-9a67-114b19fbfe82" ], "x-ms-gateway-rewrite": [ "false" @@ -46,7 +46,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "U7Lwq4chXffR6ij10H7cSArGpCgYmaAAswKZ-PUP7uS19ycF7Jyo3mD2VY1sb5ZG2qzXrMUcgBwZHvJ83kRq31PMZEn6GvH9B3uV_Hns6zZH5OtAuX09KOcDquYwyz1s7nc34B6nGnbJtpUvSiJ8TQ.2kO9okTFU7HGGM-_PHr2CNK3goVeJhw3F1EWVAJq4HE" + "41YlsB7A5qTL4MFdNrra6x1DRXBXiUb5AyhrBnNoWebYdIW_MFmGtB2_3Tz0Fum3BQaeHqoFxTdvixedi-4ti22nJRX-Gdw9_DK_--rLFEAl3z8O2QcarsypHaOnUiP_VAS_JJWi_3gpM3jjvsaDZw.je1Zf3hXX7nrbnUJbx3sydlLl2p8qUHlKZ503KlqKe0" ], "X-Content-Type-Options": [ "nosniff" @@ -61,10 +61,10 @@ "no-cache" ], "Location": [ - "https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/directoryObjects/68730ae1-2d5c-446b-b37c-bd495a91bf6d/Microsoft.WindowsAzure.ActiveDirectory.User" + "https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/directoryObjects/a1a58b22-a124-4ae2-bd50-c9ecaccb6eb5/Microsoft.WindowsAzure.ActiveDirectory.User" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -74,7 +74,7 @@ "ASP.NET" ], "Date": [ - "Thu, 25 Sep 2014 17:33:05 GMT" + "Wed, 28 Jan 2015 01:01:11 GMT" ] }, "StatusCode": 201 @@ -89,10 +89,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1\",\r\n \"name\": \"contrib1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/owner1\",\r\n \"name\": \"owner1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/reader1\",\r\n \"name\": \"reader1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testg1\",\r\n \"name\": \"testg1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264\",\r\n \"name\": \"csmrg4264\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4942\",\r\n \"name\": \"csmrg4942\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg608\",\r\n \"name\": \"csmrg608\",\r\n \"location\": \"eastasia\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg7947\",\r\n \"name\": \"csmrg7947\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg9029\",\r\n \"name\": \"csmrg9029\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg9595\",\r\n \"name\": \"csmrg9595\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg9730\",\r\n \"name\": \"csmrg9730\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Networking\",\r\n \"name\": \"Default-Networking\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-SQL-WestUS\",\r\n \"name\": \"Default-SQL-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Storage-WestUS\",\r\n \"name\": \"Default-Storage-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Web-EastUS\",\r\n \"name\": \"Default-Web-EastUS\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/Default-Web-WestUS\",\r\n \"name\": \"Default-Web-WestUS\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg1234\",\r\n \"name\": \"testrg1234\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/testrg18571\",\r\n \"name\": \"testrg18571\",\r\n \"location\": \"southcentralus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "721" + "2609" ], "Content-Type": [ "application/json; charset=utf-8" @@ -104,16 +104,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31994" + "31988" ], "x-ms-request-id": [ - "8fbcf120-69e1-47ac-8e7d-327a35a1ad03" + "60e64cbd-e1fd-4fad-9e53-abc6d51e9743" ], "x-ms-correlation-request-id": [ - "8fbcf120-69e1-47ac-8e7d-327a35a1ad03" + "60e64cbd-e1fd-4fad-9e53-abc6d51e9743" ], "x-ms-routing-request-id": [ - "WESTUS:20140925T173309Z:8fbcf120-69e1-47ac-8e7d-327a35a1ad03" + "WESTUS:20150128T010112Z:60e64cbd-e1fd-4fad-9e53-abc6d51e9743" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -122,28 +122,28 @@ "no-cache" ], "Date": [ - "Thu, 25 Sep 2014 17:33:09 GMT" + "Wed, 28 Jan 2015 01:01:12 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlRGVmaW5pdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions?api-version=2014-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9yb2xlRGVmaW5pdGlvbnM/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Contributors can manage everything except access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Owner\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Owners can manage everything, including access.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Contributor\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you manage everything except access to resources.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": [\r\n \"Microsoft.Authorization/*/Write\",\r\n \"Microsoft.Authorization/*/Delete\"\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"b24988ac-6180-42a0-ab88-20f7382dd24c\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Owner\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you manage everything, including access to resources.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"\r\n },\r\n {\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you view everything, but not make any changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "1370" + "1385" ], "Content-Type": [ "application/json; charset=utf-8" @@ -158,16 +158,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:5f60f071-9b39-4e09-a96f-8a5f2296f4db" + "westus:3f159685-cc5e-46c3-af88-191a4f9e9039" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31993" + "31992" ], "x-ms-correlation-request-id": [ - "c934665b-827d-4a66-9fda-3b44bfa5c93c" + "9e35e407-57bc-4057-b1c4-514a1a25eb30" ], "x-ms-routing-request-id": [ - "WESTUS:20140925T173329Z:c934665b-827d-4a66-9fda-3b44bfa5c93c" + "WESTUS:20150128T010133Z:9e35e407-57bc-4057-b1c4-514a1a25eb30" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -176,16 +176,16 @@ "no-cache" ], "Date": [ - "Thu, 25 Sep 2014 17:33:29 GMT" + "Wed, 28 Jan 2015 01:01:32 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Authorization/roleAssignments/6a26d717-aba9-44e3-b971-c53694e413b2?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9jb250cmliMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzLzZhMjZkNzE3LWFiYTktNDRlMy1iOTcxLWM1MzY5NGU0MTNiMj9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264/providers/Microsoft.Authorization/roleAssignments/9b8d3fbe-4a95-406c-aae6-50528fa2aefb?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9jc21yZzQyNjQvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cy85YjhkM2ZiZS00YTk1LTQwNmMtYWFlNi01MDUyOGZhMmFlZmI/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"68730ae1-2d5c-446b-b37c-bd495a91bf6d\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"a1a58b22-a124-4ae2-bd50-c9ecaccb6eb5\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -197,10 +197,10 @@ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"68730ae1-2d5c-446b-b37c-bd495a91bf6d\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Authorization/roleAssignments/6a26d717-aba9-44e3-b971-c53694e413b2\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"6a26d717-aba9-44e3-b971-c53694e413b2\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"a1a58b22-a124-4ae2-bd50-c9ecaccb6eb5\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264/providers/Microsoft.Authorization/roleAssignments/9b8d3fbe-4a95-406c-aae6-50528fa2aefb\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"9b8d3fbe-4a95-406c-aae6-50528fa2aefb\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "580" + "582" ], "Content-Type": [ "application/json; charset=utf-8" @@ -212,16 +212,16 @@ "no-cache" ], "x-ms-request-id": [ - "westus:f557056b-afd8-4235-a8c8-27764bbaf858" + "westus:6caeb3cf-886f-4bae-8eef-dce92f136f01" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "1196" ], "x-ms-correlation-request-id": [ - "d18985a3-1a81-4860-8e71-6fb409562c4e" + "f1fcc696-4332-434c-b960-d03d682b39d7" ], "x-ms-routing-request-id": [ - "WESTUS:20140925T173330Z:d18985a3-1a81-4860-8e71-6fb409562c4e" + "WESTUS:20150128T010135Z:f1fcc696-4332-434c-b960-d03d682b39d7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -230,28 +230,28 @@ "no-cache" ], "Date": [ - "Thu, 25 Sep 2014 17:33:30 GMT" + "Wed, 28 Jan 2015 01:01:35 GMT" ] }, "StatusCode": 201 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Authorization/roleAssignments/6a26d717-aba9-44e3-b971-c53694e413b2?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9jb250cmliMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZUFzc2lnbm1lbnRzLzZhMjZkNzE3LWFiYTktNDRlMy1iOTcxLWM1MzY5NGU0MTNiMj9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264/providers/Microsoft.Authorization/roleAssignments/9b8d3fbe-4a95-406c-aae6-50528fa2aefb?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9yZXNvdXJjZUdyb3Vwcy9jc21yZzQyNjQvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3JvbGVBc3NpZ25tZW50cy85YjhkM2ZiZS00YTk1LTQwNmMtYWFlNi01MDUyOGZhMmFlZmI/YXBpLXZlcnNpb249MjAxNC0xMC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"68730ae1-2d5c-446b-b37c-bd495a91bf6d\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Authorization/roleAssignments/6a26d717-aba9-44e3-b971-c53694e413b2\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"6a26d717-aba9-44e3-b971-c53694e413b2\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleDefinitionId\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"principalId\": \"a1a58b22-a124-4ae2-bd50-c9ecaccb6eb5\",\r\n \"scope\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264\"\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264/providers/Microsoft.Authorization/roleAssignments/9b8d3fbe-4a95-406c-aae6-50528fa2aefb\",\r\n \"type\": \"Microsoft.Authorization/roleAssignments\",\r\n \"name\": \"9b8d3fbe-4a95-406c-aae6-50528fa2aefb\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "580" + "582" ], "Content-Type": [ "application/json; charset=utf-8" @@ -266,16 +266,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:624ce38e-7be4-40e3-b361-12e94d005a16" + "westus:38424bc2-13bc-42d7-9c60-6e912ec49744" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31992" + "31991" ], "x-ms-correlation-request-id": [ - "54e08685-4dde-49eb-a65f-11dc02f646bc" + "92366ab2-b2f0-4b56-bae5-f22ff912735c" ], "x-ms-routing-request-id": [ - "WESTUS:20140925T173330Z:54e08685-4dde-49eb-a65f-11dc02f646bc" + "WESTUS:20150128T010135Z:92366ab2-b2f0-4b56-bae5-f22ff912735c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -284,28 +284,28 @@ "no-cache" ], "Date": [ - "Thu, 25 Sep 2014 17:33:30 GMT" + "Wed, 28 Jan 2015 01:01:35 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-07-01-preview", - "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "//subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7?api-version=2014-10-01-preview", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zLzNjYTQ5MDQyLTc4MmEtNGNjOS04OWI1LWVlMWI0ODdmZTExNS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcm9sZURlZmluaXRpb25zL2FjZGQ3MmE3LTMzODUtNDhlZi1iZDQyLWY2MDZmYmE4MWFlNz9hcGktdmVyc2lvbj0yMDE0LTEwLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-version": [ - "2014-07-01-preview" + "2014-10-01-preview" ], "User-Agent": [ "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Readers can view everything, but can't make changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"roleName\": \"Reader\",\r\n \"type\": \"BuiltInRole\",\r\n \"description\": \"Lets you view everything, but not make any changes.\",\r\n \"scope\": \"/\",\r\n \"permissions\": [\r\n {\r\n \"actions\": [\r\n \"*/read\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\r\n \"type\": \"Microsoft.Authorization/roleDefinitions\",\r\n \"name\": \"acdd72a7-3385-48ef-bd42-f606fba81ae7\"\r\n}", "ResponseHeaders": { "Content-Length": [ - "434" + "433" ], "Content-Type": [ "application/json; charset=utf-8" @@ -320,16 +320,16 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "westus:22850d2c-efeb-466e-a60b-f5f1af7191d0" + "westus:2797d2cb-7597-4933-b7b9-0a9a01a8a4e9" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31991" + "31990" ], "x-ms-correlation-request-id": [ - "1eb43a14-921d-406e-8853-4f2d0d25d5ca" + "6e959c6e-d565-4255-b12b-b84fd6600072" ], "x-ms-routing-request-id": [ - "WESTUS:20140925T173330Z:1eb43a14-921d-406e-8853-4f2d0d25d5ca" + "WESTUS:20150128T010135Z:6e959c6e-d565-4255-b12b-b84fd6600072" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -338,14 +338,14 @@ "no-cache" ], "Date": [ - "Thu, 25 Sep 2014 17:33:30 GMT" + "Wed, 28 Jan 2015 01:01:35 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/68730ae1-2d5c-446b-b37c-bd495a91bf6d?api-version=1.42-previewInternal", - "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy82ODczMGFlMS0yZDVjLTQ0NmItYjM3Yy1iZDQ5NWE5MWJmNmQ/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", + "RequestUri": "/1449d5b7-8a83-47db-ae4c-9b03e888bad0/users/a1a58b22-a124-4ae2-bd50-c9ecaccb6eb5?api-version=1.42-previewInternal", + "EncodedRequestUri": "LzE0NDlkNWI3LThhODMtNDdkYi1hZTRjLTliMDNlODg4YmFkMC91c2Vycy9hMWE1OGIyMi1hMTI0LTRhZTItYmQ1MC1jOWVjYWNjYjZlYjU/YXBpLXZlcnNpb249MS40Mi1wcmV2aWV3SW50ZXJuYWw=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -353,7 +353,7 @@ "Microsoft.Azure.Graph.RBAC.GraphRbacManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"68730ae1-2d5c-446b-b37c-bd495a91bf6d\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser2365\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser2365test\",\r\n \"mobile\": null,\r\n \"netId\": \"100300008BD7259E\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser2365@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser2365@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", + "ResponseBody": "{\r\n \"odata.metadata\": \"https://graph.windows.net/1449d5b7-8a83-47db-ae4c-9b03e888bad0/$metadata#directoryObjects/Microsoft.WindowsAzure.ActiveDirectory.User/@Element\",\r\n \"odata.type\": \"Microsoft.WindowsAzure.ActiveDirectory.User\",\r\n \"objectType\": \"User\",\r\n \"objectId\": \"a1a58b22-a124-4ae2-bd50-c9ecaccb6eb5\",\r\n \"softDeletionTimestamp\": null,\r\n \"acceptedAs\": null,\r\n \"acceptedOn\": null,\r\n \"accountEnabled\": true,\r\n \"alternativeSecurityIds\": [],\r\n \"appMetadata\": null,\r\n \"assignedLicenses\": [],\r\n \"assignedPlans\": [],\r\n \"city\": null,\r\n \"country\": null,\r\n \"creationType\": null,\r\n \"department\": null,\r\n \"dirSyncEnabled\": null,\r\n \"displayName\": \"aduser3907\",\r\n \"extensionAttribute1\": null,\r\n \"extensionAttribute2\": null,\r\n \"extensionAttribute3\": null,\r\n \"extensionAttribute4\": null,\r\n \"extensionAttribute5\": null,\r\n \"extensionAttribute6\": null,\r\n \"extensionAttribute7\": null,\r\n \"extensionAttribute8\": null,\r\n \"extensionAttribute9\": null,\r\n \"extensionAttribute10\": null,\r\n \"extensionAttribute11\": null,\r\n \"extensionAttribute12\": null,\r\n \"extensionAttribute13\": null,\r\n \"extensionAttribute14\": null,\r\n \"extensionAttribute15\": null,\r\n \"facsimileTelephoneNumber\": null,\r\n \"givenName\": null,\r\n \"immutableId\": null,\r\n \"invitedOn\": null,\r\n \"inviteReplyUrl\": [],\r\n \"inviteResources\": [],\r\n \"inviteTicket\": [],\r\n \"isCompromised\": null,\r\n \"jobTitle\": null,\r\n \"jrnlAddress\": null,\r\n \"lastDirSyncTime\": null,\r\n \"logonIdentifiers\": [],\r\n \"mail\": null,\r\n \"mailNickname\": \"aduser3907test\",\r\n \"mobile\": null,\r\n \"netId\": \"1003BFFD8D7C00E7\",\r\n \"onPremiseSecurityIdentifier\": null,\r\n \"otherMails\": [],\r\n \"passwordPolicies\": null,\r\n \"passwordProfile\": null,\r\n \"physicalDeliveryOfficeName\": null,\r\n \"postalCode\": null,\r\n \"preferredLanguage\": null,\r\n \"primarySMTPAddress\": null,\r\n \"provisionedPlans\": [],\r\n \"provisioningErrors\": [],\r\n \"proxyAddresses\": [],\r\n \"searchableDeviceKey\": [],\r\n \"selfServePasswordResetData\": null,\r\n \"signInName\": \"aduser3907@rbactest.onmicrosoft.com\",\r\n \"sipProxyAddress\": null,\r\n \"smtpAddresses\": [],\r\n \"state\": null,\r\n \"streetAddress\": null,\r\n \"surname\": null,\r\n \"telephoneNumber\": null,\r\n \"usageLocation\": null,\r\n \"userPrincipalName\": \"aduser3907@rbactest.onmicrosoft.com\",\r\n \"userState\": null,\r\n \"userStateChangedOn\": null,\r\n \"userType\": \"Member\"\r\n}", "ResponseHeaders": { "Content-Length": [ "1955" @@ -368,13 +368,13 @@ "no-cache" ], "ocp-aad-diagnostics-server-name": [ - "GHWom5F4FhO0ryJj9WTZucEuZW4pI1MbWekjNz7LQZA=" + "Ev7Hd/oipnCIUzrwXxDqH/F82pF5rlTsyUdf4tMaVXs=" ], "request-id": [ - "e6fa0d95-2b96-4eef-a83b-4d785b6a946d" + "da676941-09d8-4ac9-a6ac-f47079d4bd26" ], "client-request-id": [ - "25674de1-b973-4455-b503-e114b5882158" + "81244b8c-59a9-4d54-b5d8-d5ca0c06895f" ], "x-ms-gateway-rewrite": [ "false" @@ -383,7 +383,7 @@ "1.42-previewInternal" ], "ocp-aad-session-key": [ - "z1VUcReksQX8t7VPCQbY7u_LWqd-RiYc4oTwEhxd215VMDKbWtBb2JuMlCKPYheJeNfoBHGoy9mU59MHSseFQvnjAkCeqR5W-dvANrrHCauQSQSZhq3EKjyEZJ00wMut8XmtjlrqSHyjl7Li1ov0hg.9tIe2ChIZhaLL26oc9RbAIJeIlrVM2EmrABMkkYZTp4" + "Qm6J8a78yhTZ7elALwvnp2EhJBnXwba0wSBYvHOrmYwiCM7OCQT1MRZEwb5aIVePEsQ6Tm-9zdVP9NJHVpb0dedXKiqnuGBhPiktmTfrg4f_LDp4fZlgsr0c9t_FnBo2eFLssNm6No4ScaeNZmp0SQ.X7NJsmx0wHISIVd13TzriPrcay9q2BZm_f6N-DMenaM" ], "X-Content-Type-Options": [ "nosniff" @@ -398,7 +398,7 @@ "no-cache" ], "Server": [ - "Microsoft-IIS/8.0" + "Microsoft-IIS/8.5" ], "X-AspNet-Version": [ "4.0.30319" @@ -408,7 +408,7 @@ "ASP.NET" ], "Date": [ - "Thu, 25 Sep 2014 17:33:30 GMT" + "Wed, 28 Jan 2015 01:01:35 GMT" ] }, "StatusCode": 200 @@ -416,8 +416,8 @@ ], "Names": { "b__2": [ - "aduser2365", - "adpass3769" + "aduser3907", + "adpass7157" ] }, "Variables": { diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaUserPermissions_Test.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaUserPermissions_Test.json index d4d46d8f95c2..40f65bbb54ce 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaUserPermissions_Test.json +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.RoleAssignmentTests/RaUserPermissions_Test.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups/contrib1?api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzL2NvbnRyaWIxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups/csmrg4264?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzL2NzbXJnNDI2ND9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -10,7 +10,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1\",\r\n \"name\": \"contrib1\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264\",\r\n \"name\": \"csmrg4264\",\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "179" @@ -25,16 +25,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31996" + "31987" ], "x-ms-request-id": [ - "21f2d0d7-c225-405f-9513-0e34694d648e" + "ce1da67f-bff3-4749-a211-806458b4d76f" ], "x-ms-correlation-request-id": [ - "21f2d0d7-c225-405f-9513-0e34694d648e" + "ce1da67f-bff3-4749-a211-806458b4d76f" ], "x-ms-routing-request-id": [ - "WESTUS:20140925T173413Z:21f2d0d7-c225-405f-9513-0e34694d648e" + "WESTUS:20150128T010145Z:ce1da67f-bff3-4749-a211-806458b4d76f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -43,14 +43,14 @@ "no-cache" ], "Date": [ - "Thu, 25 Sep 2014 17:34:13 GMT" + "Wed, 28 Jan 2015 01:01:44 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/resources?&api-version=2014-04-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlR3JvdXBzL2NvbnRyaWIxL3Jlc291cmNlcz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264/resources?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlR3JvdXBzL2NzbXJnNDI2NC9yZXNvdXJjZXM/JmFwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -58,10 +58,10 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/microsoft.insights/alertrules/CPUHigh default01\",\r\n \"name\": \"CPUHigh default01\",\r\n \"type\": \"microsoft.insights/alertrules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/serverfarms/default01\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/microsoft.insights/alertrules/ForbiddenRequests wscontrib002\",\r\n \"name\": \"ForbiddenRequests wscontrib002\",\r\n \"type\": \"microsoft.insights/alertrules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/microsoft.insights/alertrules/ServerErrors wscontrib002\",\r\n \"name\": \"ServerErrors wscontrib002\",\r\n \"type\": \"microsoft.insights/alertrules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/microsoft.insights/autoscalesettings/default01-contrib1\",\r\n \"name\": \"default01-contrib1\",\r\n \"type\": \"microsoft.insights/autoscalesettings\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/serverfarms/default01\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/microsoft.insights/components/wscontrib002\",\r\n \"name\": \"wscontrib002\",\r\n \"type\": \"microsoft.insights/components\",\r\n \"location\": \"centralus\",\r\n \"tags\": {\r\n \"hidden-link:/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002\": \"Resource\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/serverFarms/default01\",\r\n \"name\": \"default01\",\r\n \"type\": \"Microsoft.Web/serverFarms\",\r\n \"location\": \"westus\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/sites/wscontrib002\",\r\n \"name\": \"wscontrib002\",\r\n \"type\": \"Microsoft.Web/sites\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"hidden-related:/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/contrib1/providers/Microsoft.Web/serverfarms/default01\": \"Resource\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourceGroups/csmrg4264/providers/Microsoft.ClassicStorage/storageAccounts/teststoragecsmrg4264\",\r\n \"name\": \"teststoragecsmrg4264\",\r\n \"type\": \"Microsoft.ClassicStorage/storageAccounts\",\r\n \"location\": \"southcentralus\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Length": [ - "2541" + "277" ], "Content-Type": [ "application/json; charset=utf-8" @@ -73,16 +73,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "31995" + "31986" ], "x-ms-request-id": [ - "be81ce03-35f7-40a7-b527-d5867529ac37" + "3620a386-d63c-4402-a91d-d144c397375f" ], "x-ms-correlation-request-id": [ - "be81ce03-35f7-40a7-b527-d5867529ac37" + "3620a386-d63c-4402-a91d-d144c397375f" ], "x-ms-routing-request-id": [ - "WESTUS:20140925T173413Z:be81ce03-35f7-40a7-b527-d5867529ac37" + "WESTUS:20150128T010145Z:3620a386-d63c-4402-a91d-d144c397375f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -91,14 +91,14 @@ "no-cache" ], "Date": [ - "Thu, 25 Sep 2014 17:34:13 GMT" + "Wed, 28 Jan 2015 01:01:44 GMT" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups/contrib1/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzL2NvbnRyaWIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wZXJtaXNzaW9ucz9hcGktdmVyc2lvbj0yMDE0LTA3LTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/3ca49042-782a-4cc9-89b5-ee1b487fe115/resourcegroups/csmrg4264/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2NhNDkwNDItNzgyYS00Y2M5LTg5YjUtZWUxYjQ4N2ZlMTE1L3Jlc291cmNlZ3JvdXBzL2NzbXJnNDI2NC9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dGhvcml6YXRpb24vcGVybWlzc2lvbnM/YXBpLXZlcnNpb249MjAxNC0wNy0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -120,17 +120,20 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "31993" + "Vary": [ + "Accept-Encoding" ], "x-ms-request-id": [ - "c3371547-844f-463a-aac4-a14ea1d768cf" + "westus:a91e1400-fee2-4d46-b317-13e382b41fd5" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" ], "x-ms-correlation-request-id": [ - "c3371547-844f-463a-aac4-a14ea1d768cf" + "8b8e6f6e-b043-4d62-a9dd-ce6476e8079a" ], "x-ms-routing-request-id": [ - "WESTUS:20140925T173413Z:c3371547-844f-463a-aac4-a14ea1d768cf" + "WESTUS:20150128T010145Z:8b8e6f6e-b043-4d62-a9dd-ce6476e8079a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -139,7 +142,7 @@ "no-cache" ], "Date": [ - "Thu, 25 Sep 2014 17:34:13 GMT" + "Wed, 28 Jan 2015 01:01:45 GMT" ] }, "StatusCode": 200 @@ -148,7 +151,6 @@ "Names": {}, "Variables": { "SubscriptionId": "3ca49042-782a-4cc9-89b5-ee1b487fe115", - "UserId": "aduser2365@rbactest.onmicrosoft.com", "TenantId": "1449d5b7-8a83-47db-ae4c-9b03e888bad0", "Domain": "rbactest.onmicrosoft.com" } diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/packages.config b/src/ResourceManager/Resources/Commands.Resources.Test/packages.config index 2075ae391f4b..b2c7f8c1d77d 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/packages.config +++ b/src/ResourceManager/Resources/Commands.Resources.Test/packages.config @@ -1,21 +1,21 @@  - - + + + - - - - - + + + + - + - + diff --git a/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 b/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 index 1f4b4a66bb35..d5773eacf5b6 100644 --- a/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 +++ b/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.8.13' +ModuleVersion = '0.8.14' # ID used to uniquely identify this module GUID = '81d522a4-6e5d-4105-8f58-376204c47458' @@ -64,7 +64,7 @@ FormatsToProcess = @( '.\DataFactories\Microsoft.Azure.Commands.DataFactories.format.ps1xml', '.\RedisCache\Microsoft.Azure.Commands.RedisCache.format.ps1xml', '.\Batch\Microsoft.Azure.Commands.Batch.format.ps1xml', - '.\KeyVault\Microsoft.Azure.Commands.KeyVault.format.ps1xml' + '.\KeyVault\Microsoft.Azure.Commands.KeyVault.format.ps1xml', '.\StreamAnalytics\Microsoft.Azure.Commands.StreamAnalytics.format.ps1xml' ) @@ -77,8 +77,10 @@ NestedModules = @( '.\DataFactories\Microsoft.Azure.Commands.DataFactories.dll', '.\RedisCache\Microsoft.Azure.Commands.RedisCache.dll', '.\Batch\Microsoft.Azure.Commands.Batch.dll', - '.\KeyVault\Microsoft.Azure.Commands.KeyVault.dll' - '.\StreamAnalytics\Microsoft.Azure.Commands.StreamAnalytics.dll' + '.\KeyVault\Microsoft.Azure.Commands.KeyVault.dll', + '.\StreamAnalytics\Microsoft.Azure.Commands.StreamAnalytics.dll', + '.\Insights\Microsoft.Azure.Commands.Insights.dll', + '.\Websites\Microsoft.Azure.Commands.Websites.dll' ) # Functions to export from this module diff --git a/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj b/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj index 8d39def107f7..133888671c68 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj +++ b/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj @@ -49,17 +49,17 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll False @@ -70,20 +70,20 @@ ..\..\..\packages\Microsoft.Azure.Graph.RBAC.1.6.0-preview\lib\net40\Microsoft.Azure.Graph.RBAC.dll - False - ..\..\..\packages\Microsoft.Azure.Management.Authorization.0.16.0-preview\lib\net40\Microsoft.Azure.Management.Authorization.dll + ..\..\..\packages\Microsoft.Azure.Management.Authorization.0.17.0-preview\lib\net40\Microsoft.Azure.Management.Authorization.dll + True - + False - ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll + ..\..\..\packages\Microsoft.Azure.Management.Resources.2.13.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -97,9 +97,9 @@ False ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll @@ -232,10 +232,18 @@ {c60342b1-47d3-4a0e-8081-9b97ce60b7af} Commands.Profile + + {11524d98-6c40-4091-a8e1-86463fee607c} + Commands.StorSimple + {d470e50a-9607-48d6-a924-4f9f86502704} Commands.Batch + + {dea446a1-84e2-46cc-b780-eb4afde2460e} + Commands.Insights + {9ffc40cc-a341-4d0c-a25d-dc6b78ef6c94} Commands.KeyVault @@ -256,6 +264,10 @@ {F49A314A-A235-47D3-A654-1EC19ACA366C} Commands.StreamAnalytics + + {80a92297-7c92-456b-8ee7-9fb6ce30149d} + Commands.Websites + diff --git a/src/ResourceManager/Resources/Commands.Resources/Microsoft.Azure.Commands.Resources.dll-Help.xml b/src/ResourceManager/Resources/Commands.Resources/Microsoft.Azure.Commands.Resources.dll-Help.xml index 8a8d1bdba4bf..f6613b1d4798 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Microsoft.Azure.Commands.Resources.dll-Help.xml +++ b/src/ResourceManager/Resources/Commands.Resources/Microsoft.Azure.Commands.Resources.dll-Help.xml @@ -1,5 +1,5 @@ - - + + Get-AzureADGroup @@ -14,7 +14,7 @@ - + This is the Description section Filters active directory groups. @@ -79,77 +79,94 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + -------------------------- Filters groups using object id -------------------------- - + PS C:\> PS C:\> Get-AzureADGroup -ObjectId 85F89C90-780E-4AA6-9F4F-6F268D322EEE Gets group with 85F89C90-780E-4AA6-9F4F-6F268D322EEE id + + + - + + + -------------------------- Filters groups using Search String -------------------------- - + PS C:\> PS C:\> Get-AzureADGroup -SearchString Joe Filters all ad groups that has Joe in the display name. + + + - + + + -------------------------- List AD groups -------------------------- - + PS C:\> PS C:\> Get-AzureADGroup Gets all AD groups + + + - + + + @@ -169,7 +186,7 @@ - + Get-AzureADGroupMember @@ -184,7 +201,7 @@ - + This is the Description section Get a group members. @@ -217,47 +234,54 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + -------------------------- Filters group members using group object id -------------------------- - + PS C:\> PS C:\> Get-AzureADGroupMember -GroupObjectId 85F89C90-780E-4AA6-9F4F-6F268D322EEE Gets group members with 85F89C90-780E-4AA6-9F4F-6F268D322EEE id + + + - + + + @@ -277,7 +301,7 @@ - + Get-AzureADServicePrincipal @@ -292,7 +316,7 @@ - + This is the Description section Filters active directory service principals. @@ -379,77 +403,94 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + -------------------------- Filters service principals using SPN -------------------------- - + PS C:\> PS C:\> Get-AzureADServicePrincipal -SPN 36f81fc3-b00f-48cd-8218-3879f51ff39f Gets service principals with 36f81fc3-b00f-48cd-8218-3879f51ff39f SPN + + + - + + + -------------------------- Filters service principals using Search String -------------------------- - + PS C:\> PS C:\> Get-AzureADServicePrincipal -SearchString Web Filters all ad service principals that has Web in the display name. + + + - + + + -------------------------- List AD service principals -------------------------- - + PS C:\> PS C:\> Get-AzureADServicePrincipal Gets all AD service principals + + + - + + + @@ -469,7 +510,7 @@ - + Get-AzureADUser @@ -484,7 +525,7 @@ - + This is the Description section Filters active directory users. @@ -528,6 +569,16 @@ String + + Get-AzureADUser + + Mail + + + + String + + @@ -566,82 +617,111 @@ + + Mail + + + + String + + String + + + + - - - - + + - + + + + - - - - + + - - - + + + + + + - + -------------------------- Filters users using UPN -------------------------- - + PS C:\> PS C:\> Get-AzureADUser -UPN foo@domain.com Gets user with foo@domain.com + + + - + + + -------------------------- Filters users using Search String -------------------------- - + PS C:\> PS C:\> Get-AzureADUser -SearchString Joe Filters all ad users that has Joe in the display name. + + + - + + + -------------------------- List AD users -------------------------- - + PS C:\> PS C:\> Get-AzureADUser Gets all AD users + + + - + + + @@ -661,7 +741,7 @@ - + Get-AzureLocation @@ -676,7 +756,7 @@ - + This is the Description section The Get-AzureLocation cmdlet gets the Azure data center locations that support each resource type. This cmdlet returns all resource types and locations. It has no parameters.A resource is a user-managed entity, such as a website, database server, or database. When you create a resource, you need to specify a location, and not every location supports all resource types. Before you create your resources, use this cmdlet to find a location for each resource.Azure resources are members of a resource group, which is a collection of resources that are deployed as a unit. Resource groups have a location, but the group and its members do not need to be in the same location. @@ -689,35 +769,41 @@ None - - - - + + - + + + + Microsoft.Azure.Commands.ResourceManagement.Models.PSResourceProviderType - - - - + + - - - + + + + + + + + + + -------------------------- Example 1: Get all locations -------------------------- - + PS C:\> PS C:\>Get-AzureLocation Name Locations @@ -747,17 +833,22 @@ microsoft.network/Subnets Central US, West Europe ... This command gets all resources and the locations in which they are supported. + + + - + + + -------------------------- Example 2: Get locations that support web sites -------------------------- - + PS C:\> PS C:\>Get-AzureLocation | Where-Object Name -like "*web*site*" @@ -770,10 +861,15 @@ Microsoft.Web/sites North Central US, Central USPS C:\>New-AzureResource -Name MyWebSite -Location 'North Central US' ... This examples shows how to find a location that supports a web site resource and how to use the location in a command to create a web site. + + + The first command uses the Get-AzureLocation cmdlet to get all resource types and their locations. It pipes the output to the Where-Object cmdlet, which selects only resources with names that include "web" and "site". The output shows that the Azure data centers in the North Central US and Central US support web sites.The second command uses the New-AzureResource cmdlet to create a new web site. The value of the Location parameter, which is required, is North Central US. - The first command uses the Get-AzureLocation cmdlet to get all resource types and their locations. It pipes the output to the Where-Object cmdlet, which selects only resources with names that include "web" and "site". The output shows that the Azure data centers in the North Central US and Central US support web sites.The second command uses the New-AzureResource cmdlet to create a new web site. The value of the Location parameter, which is required, is North Central US. + + + @@ -785,7 +881,7 @@ C:\>New-AzureResource -Name MyWebSite -Location 'North Central US' - + Get-AzureResource @@ -800,7 +896,7 @@ C:\>New-AzureResource -Name MyWebSite -Location 'North Central US' - + This is the Description section The Get-AzureResource cmdlet gets the Azure resources in the subscription. By default, it gets all resources in the subscription, but you can use the parameters in the cmdlet to filter the results.An Azure resource is a user-managed Azure entity, such as a database server, database, or website. Every Azure resource is associated with a resource group, which is a collection of resources that are deployed as a unit. @@ -945,35 +1041,41 @@ C:\>New-AzureResource -Name MyWebSite -Location 'North Central US' None - - - - + + - + + + + Microsoft.Azure.Commands.ResourceManagement.Models.PSResource - - - - + + - - - + + + + + + + + + + -------------------------- Example 1: Get all resources -------------------------- - + PS C:\> PS C:\>Get-AzureResource Name : HostingFarm1 @@ -992,17 +1094,22 @@ ParentResource : ... This commands gets all Azure resources in the subscription. + + + - + + + -------------------------- Example 2: Get resources by resource group -------------------------- - + PS C:\> PS C:\>Get-AzureResource -ResourceGroupName ContosoRG01 @@ -1020,17 +1127,22 @@ Location : northeurope ParentResource : This commands gets all Azure resources in the ContosoRG01 resource group. + + + - + + + -------------------------- Example 3: Get resources by resource type -------------------------- - + PS C:\> PS C:\>Get-AzureResource | Group-Object ResourceType @@ -1071,17 +1183,22 @@ Location : southcentralus ParentResource : These commands get all resources with a specified resource type. + + + The first command finds the types of resources in the subscription. It uses the Get-AzureResource cmdlet to get all resources and Group-Object cmdlet to group the objects by resource type. The output shows that there are server farms and web sites in the subscription.The second command uses the ResourceType parameter of Get-AzureResource to get all server farms in the subscription. - The first command finds the types of resources in the subscription. It uses the Get-AzureResource cmdlet to get all resources and Group-Object cmdlet to group the objects by resource type. The output shows that there are server farms and web sites in the subscription.The second command uses the ResourceType parameter of Get-AzureResource to get all server farms in the subscription. + + + -------------------------- Example 4: Get a resource by name -------------------------- - + PS C:\> PS C:\>Get-AzureResource -Name ContosoLabWeb -ResourceGroupName ContosoLabsRG -ResourceType "Microsoft.Web/sites" -ApiVersion 2014-04-01 Name : ContosoLabWeb @@ -1096,32 +1213,42 @@ Properties : Tags : This commands gets the "ContosoLabWeb" web site resource. When you use the Name parameter to get a particular resource, the ResourceGroupName, ResourceType, and APIVersion parameters are required. + + + You can also use the Where-Object cmdlet to select a resource. For example: Get-AzureResource | Where-Object Name -eq "ConsotoLabWeb" - You can also use the Where-Object cmdlet to select a resource. For example: Get-AzureResource | Where-Object Name -eq "ConsotoLabWeb" + + + -------------------------- Example 5: Get a resource by its tag -------------------------- - + PS C:\> PS C:\>Get-AzureResource -Tag @{Name="Department";Value="IT"} This command gets resources that have a tag named "Department with a value of "IT". + + + - + + + -------------------------- Example 6: Get all tags of a resource -------------------------- - + PS C:\> PS C:\>Get-AzureResource -Name ContosoLabWeb -ResourceGroupName ContosoLabsRG -ResourceType "Microsoft.Web/sites" -ApiVersion 2014-04-01 @@ -1137,10 +1264,15 @@ Tags: FY2016 These commands get all tags of the ContosoWeb resource. The first command gets the resource by name with all of its properties. The second command, which uses the Tags property of the output object, gets only the tags. + + + - + + + @@ -1152,7 +1284,7 @@ Tags: - + Get-AzureResourceGroup @@ -1167,7 +1299,7 @@ Tags: - + This is the Description section The Get-AzureResourceGroup cmdlet gets the Azure resource groups in your subscription. You can use the Name parameter to select resource groups by name. The default is all resource groups.An Azure resource is a user-managed Azure entity, such as a database server, database, or web site. An Azure resource group is a collection of Azure resources that are deployed as a unit. @@ -1241,35 +1373,41 @@ Tags: None - - - - + + - + + + + Microsoft.Azure.Commands.ResourceManagement.PSResourceGroup - - - - + + - - - + + + + + + + + + + -------------------------- Example 1: Get all resource groups and their details -------------------------- - + PS C:\> PS C:\>Get-AzureResourceGroup -Detailed Name: Contoso @@ -1291,17 +1429,22 @@ Resources: EngDB02 Microsoft.Sql/databases West US This command gets all resource groups in the subscription. + + + - + + + -------------------------- Example 2: Get resource groups by name -------------------------- - + PS C:\> PS C:\>Get-AzureResourceGroup -Name EngineerBlog Name: EngineerBlog @@ -1314,51 +1457,66 @@ Resources: EngDB02 Microsoft.Sql/databases West US This command gets Azure resource groups in your subscription that have names that begin with "eng". + + + - + + + -------------------------- Example 3: Get resource groups by other properties -------------------------- - + PS C:\> PS C:\>Get-AzureResourceGroup -Detailed | Where-Object {$_.Resources.Type -like "*serverFarms*"} | Select-Object -Property ResourceGroupName Contoso EngineerBlog The command uses the Where-Object, ForEach-Object, and Select-Object cmdlets to get the names of resource groups that include Azure database server farms. You can use commands like this one to find resource groups with resources or properties of interest. + + + The command uses the Get-AzureResourceGroup cmdlet to get all resource groups in the subscription. It pipes the resource groups to the Where-Object cmdlet, which returns only the resource groups that include server farm resources. The command pipes those resource groups to the Select-Object cmdlet, which returns only the value of the ResourceGroupName property of each resource group. - The command uses the Get-AzureResourceGroup cmdlet to get all resource groups in the subscription. It pipes the resource groups to the Where-Object cmdlet, which returns only the resource groups that include server farm resources. The command pipes those resource groups to the Select-Object cmdlet, which returns only the value of the ResourceGroupName property of each resource group. + + + -------------------------- Example 4: Get resource groups by tag -------------------------- - + PS C:\> PS C:\>Get-AzureResourceGroup -Tag @{Name="CostCenter";Value="Development"} PS C:\>Get-AzureResourceGroup -Tag @{Name="CostCenter"} These commands get resource groups by tag. The first command gets resource groups that have a "CostCenter" tag with a value of "Development". The second command gets all resource groups that have a "CostCenter" tag, regardless of its value. + + + - + + + -------------------------- Example 5: Get all tags of a resource group -------------------------- - + PS C:\> PS C:\>Get-AzureResourceGroup -Name ContosoRG @@ -1373,10 +1531,15 @@ Tags: FY2016 These commands get all tags of the ContosoRG resource group. The first command gets the resource group by name with all of its properties. The second command, which uses the Tags property of the output object, gets only the tags. + + + - + + + @@ -1396,7 +1559,7 @@ Tags: - + Get-AzureResourceGroupDeployment @@ -1411,7 +1574,7 @@ Tags: - + This is the Description section The Get-AzureResourceGroupDeployment cmdlet gets the deployments in an Azure resource group. You can use the Name (DeploymentName) and ProvisioningState parameters to filter the deployments. By default, Get-AzureResourceGroupDeployment returns all deployments for a specified resource group.An Azure resource is a user-managed Azure entity, such as a database server, database, or web site. An Azure resource group is a collection of Azure resources that are deployed as a unit. A deployment is the operation that makes the resources in the resource group available for use.This cmdlet is very useful for tracking. For debugging, use it with the Get-AzureResourceGroupLog cmdlet. @@ -1482,35 +1645,41 @@ Tags: None - - - - + + - + + + + Microsoft.Azure.Commands.ResourceManagement.Models. PSResourceGroupDeployment - - - - + + - - - + + + + + + + + + + -------------------------- Example 1: Get all deployments for a resource group -------------------------- - + PS C:\> PS C:\>Get-AzureResourceGroupDeployment -ResourceGroupName ContosoLabsRG DeploymentName : WordPress.WordPress @@ -1544,47 +1713,62 @@ Parameters : Outputs : This command gets all deployments for the ContosoLabsRG resource group. The output shows a deployment for a WordPress blog that used a gallery template. + + + - + + + -------------------------- Example 2: Get a deployment by name -------------------------- - + PS C:\> PS C:\>Get-AzureResourceGroupDeployment -ResourceGroupName ContosoLabsRG -Name DeployWebsite1 This command gets the DeployWebsite1 deployment of the ContosoLabsRG resource group. You can assign a name to a deployment when you create it by using the New-AzureResourceGroup or New-AzureResourceGroupDeployment cmdlets. If you do not assign a name, the cmdlets provide a default name based on the template used to create the deployment. + + + - + + + -------------------------- Example 3: Get a deployment by provisioning state -------------------------- - + PS C:\> PS C:\>Get-AzureResourceGroupDeployment -ResourceGroupName ContosoLabsRG -ProvisioningState NotProvisioned This command gets the deployments of the ContosoLabsRG resource group that are not yet provisioned. + + + - + + + -------------------------- Example 4: Get the deployments of all resource groups -------------------------- - + PS C:\> PS C:\>Get-AzureResourceGroup | Get-AzureResourceGroupDeployment | Format-Table ResourceGroupName, DeploymentName, ProvisioningState ResourceGroupName DeploymentName ProvisioningState @@ -1598,10 +1782,15 @@ ContosoBlog WordPress.WordPress.0.1.0-preview1 Succ ContosoLabsRG WordPress.WordPress Succeeded This command gets all deployments of all resource groups in the subscription and formats them in a table with their ResourceGroupName, DeploymentName and ProvisioningState property values. + + + - + + + @@ -1613,7 +1802,7 @@ ContosoLabsRG WordPress.WordPress Succ - + Get-AzureResourceGroupGalleryTemplate @@ -1628,7 +1817,7 @@ ContosoLabsRG WordPress.WordPress Succ - + This is the Description section The Get-AzureResourceGroupGalleryTemplate cmdlet gets resource group gallery templates from the template gallery that Azure hosts. To save a gallery template as a JSON file, use the Save-AzureResourceGroupGalleryTemplate cmdlet.A resource group template is a JSON string that defines a resource group for a complex entity, such as a web portal, a blog, a photo gallery, a commerce site, or a wiki. The template defines the resources that are typically needed for the entity, such as web sites, database servers, databases and storage accounts, and includes parameters for user-defined values, such as the names and properties of the resources. To create a resource group with a template, just identify the template and provide values for its parameters.You can create your own templates or use the Get-AzureResourceGroupGalleryTemplate get a template from the template gallery that Azure hosts. You can also create templates by editing the gallery templates. If you create or edit a template, be sure to use the Test-AzureResourceGroupTemplate cmdlet to verify that your template and its parameters are valid.To create a resource group with a custom or gallery template, use the New-AzureResourceGroup or New-AzureResourceGroupDeployment cmdlets.By default the cmdlet gets only the latest version of the template. To get all versions, use the -AllVersions parameter flag. @@ -1651,7 +1840,7 @@ ContosoLabsRG WordPress.WordPress Succ ApplicationName - + String @@ -1702,7 +1891,7 @@ ContosoLabsRG WordPress.WordPress Succ ApplicationName - + String @@ -1740,67 +1929,83 @@ ContosoLabsRG WordPress.WordPress Succ None - - - - + + - + + + + System.Management.Automation.PSCustomObject - - - - + + - - - + + + + + + + + + + -------------------------- Example 1: Get all gallery templates -------------------------- - + PS C:\> PS C:\>Get-AzureResourceGroupGalleryTemplate Publisher Identity--------- --------Acquiacom Acquiacom.AcquiaDrupal7MySQL.0.1.0-preview1Acquiacom Acquiacom.AcquiaDrupal7SQL.0.1.0-preview1Avensoft Avensoft.nService.0.1.0-preview1BlogEngineNET BlogEngineNET.BlogEngineNET.0.1.0-preview1Brandoo Brandoo.BrandooWordPressMSSQLorAzureSQL.0.1.0-preview1bugnetproject bugnetproject.BugNET.0.1.0-preview1CakeSoftwareFoundation CakeSoftwareFoundation.CakePHP.0.1.0-preview1CommerceGuys CommerceGuys.DrupalCommerceKickstartMySQL.0.1.0-preview1... This command gets all gallery templates in the Azure template gallery and displays the Identity and Description of each gallery template in a list. The list lets you browse through the templates and select the ones that meet your needs. + + + To save the list in a text file that you can search, use the redirection operator (>). For example, Get-AzureResourceGroupGalleryTemplate | Format-List Identity, Description > $home\Documents\Azure\TemplateDescriptions.txt. - To save the list in a text file that you can search, use the redirection operator (>). For example, Get-AzureResourceGroupGalleryTemplate | Format-List Identity, Description > $home\Documents\Azure\TemplateDescriptions.txt. + + + -------------------------- Example 2: Get a gallery template by its identity -------------------------- - + PS C:\> PS C:\> PS C:\ps-test> Get-AzureResourceGroupGalleryTemplate -Identity WikimediaFoundation.MediaWiki.0.1.0-preview1 This command uses the Get-AzureResourceGroupGalleryTemplate cmdlet to get the WikimediaFoundation.MediaWiki.0.1.0-preview1 gallery template. You can review the gallery template and its properties, such as icons and screenshots. + + + - + + + -------------------------- Example 3: Save a gallery template as a JSON file -------------------------- - + PS C:\> PS C:\>Save-AzureResourceGroupGalleryTemplate -Identity Microsoft.PhotoGallery.0.1.0-preview1 -Path $home\Documents\Azure\MyTemplates @@ -1808,17 +2013,22 @@ PS C:\>Get-Content -Path $home\Documents\Azure\MyTemplates Microsoft.PhotoGal When you find a gallery template that matches your resource needs, you can save it as a JSON file on disk. This makes it easy to review and analyze the resources that the template creates and the parameters (user-defined values) that it defines for each resource. Then, you can use the template with the New-AzureResourceGroup and New-AzureResourceGroupDeployment cmdlets. + + + The first command uses the Save-AzureResourceGroupGalleryTemplate cmdlet to save the Microsoft.PhotoGallery.0.1.0-preview1 gallery template as a JSON file in the path that you specify.The second command uses the Get-Content cmdlet to get the content of the template file. The output that's displayed here is just an excerpt of the JSON template file, but you can see the Parameters and Resources attributes that are common to every template file. To see examples of using the template, type: Get-Help New-AzureResourceGroup or Get-Help New-AzureResourceGroupDeployment. - The first command uses the Save-AzureResourceGroupGalleryTemplate cmdlet to save the Microsoft.PhotoGallery.0.1.0-preview1 gallery template as a JSON file in the path that you specify.The second command uses the Get-Content cmdlet to get the content of the template file. The output that's displayed here is just an excerpt of the JSON template file, but you can see the Parameters and Resources attributes that are common to every template file. To see examples of using the template, type: Get-Help New-AzureResourceGroup or Get-Help New-AzureResourceGroupDeployment. + + + -------------------------- Example 4: Get the category, identity, and summary of the templates -------------------------- - + PS C:\> PS C:\>Get-AzureResourceGroupGalleryTemplate | Foreach-Object {Get-AzureResourceGroupGalleryTemplate -Identity $_.Identity} | Format-List -Property CategoryIds, Identity, Summary CategoryIds : {web, blogscms, ecommerce} @@ -1832,10 +2042,15 @@ Summary : Help desk and service management software that empowers you to pro ... This example shows you how to display the category (CategoryIds property), identity, and summary of each template in a list. You can use commands with this format to get any template property. To find all template properties, pipe a Get-AzureResourceGroupGalleryTemplate command with the Identity parameter to the Get-Member cmdlet. For example: (Get-AzureResourceGroupGalleryTemplate Microsoft.TeamProject.0.1.0-preview1 | Get-Member). + + + - + + + @@ -1847,252 +2062,96 @@ Summary : Help desk and service management software that empowers you to pro - + - Get-AzureResourceGroupLog + Get-AzureRoleAssignment - Gets the deployment log for a resource group + Filters role assignments. Get - AzureResourceGroupLog + AzureRoleAssignment - - The Get-AzureResourceGroupLog cmdlet gets the deployment log entries for a resource group. The entries are very useful for many IT tasks, including maintaining a transaction history, performing statistical analyses, and debugging.By default, Get-AzureResourceGroupLog gets the log entries of the currently running or most recently completed deployment for the resource group, but you can use the cmdlet parameters to get the entries for a particular deployment by name or all deployments. + This is the Description section + Filters role assignments. - Get-AzureResourceGroupLog - - Name + Get-AzureRoleAssignment + + RoleDefinitionName - Specifies the name of a resource group. This parameter is required. Enter the name of one resource group in each command. + Role to assign the principals with. String - Get-AzureResourceGroupLog - - Name + Get-AzureRoleAssignment + + ObjectId + + Object id of the user, group or service principal. + + Guid + + + RoleDefinitionName - Specifies the name of a resource group. This parameter is required. Enter the name of one resource group in each command. + Role to assign the principals with. String - - All + + Scope - Gets all deployment log entries for the resource group. + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. - SwitchParameter + String - Get-AzureResourceGroupLog - - Name + Get-AzureRoleAssignment + + ObjectId + + Object id of the user, group or service principal. + + Guid + + + ResourceGroupName - Specifies the name of a resource group. This parameter is required. Enter the name of one resource group in each command. + Resource group to assign the role to. String - DeploymentName + ResourceName - Gets the log entries for the deployments with the specified name.To get the names of deployments for a resource group, use the Get-AzureResourceGroupDeployment cmdlet. To specify a deployment name when deploying resources, use the DeploymentName parameter of New-AzureResourceGroup or the Name parameter (alias DeploymentName) of the New-AzureResourceGroupDeployment cmdlets. + Name of the resource to assign the role to. String - - - - - Name - - Specifies the name of a resource group. This parameter is required. Enter the name of one resource group in each command. - - String - - String - - - - - - All - - Gets all deployment log entries for the resource group. - - SwitchParameter - - SwitchParameter - - - - - - DeploymentName - - Gets the log entries for the deployments with the specified name.To get the names of deployments for a resource group, use the Get-AzureResourceGroupDeployment cmdlet. To specify a deployment name when deploying resources, use the DeploymentName parameter of New-AzureResourceGroup or the Name parameter (alias DeploymentName) of the New-AzureResourceGroupDeployment cmdlets. - - String - - String - - - - - - - - - None - + + ResourceType - + Type of the resource to assign the role to. - - - - - - - - Microsoft.Azure.Commands.ResourceManagement.Models.PSDeploymentEventData - + String + + + ParentResource - + Parent resource of the resource to assign the role to, if there is any. - - - - - - - - - - - -------------------------- Example 1: Get the log entries for the most recent deployment -------------------------- - - - - PS C:\>Get-AzureResourceGroupLog -Name ContosoRG01 -Authorization : - Scope : /subscriptions/9b14a38b-4b93-4554-8bb0-3cefb47a4e1f/resourcegroups/ContosoLabsRG/deployments/LabDeploy02 - Action : Microsoft.Resources/subscriptions/resourcegroups/deployments/write - Role : Subscription Admin - Condition : -ResourceUri : /subscriptions/9b14a38b-4b93-4554-8bb0-3cefb47a4e1f/resourcegroups/ContosoLabsRG/deployments/LabDeploy02 -SubscriptionId : 9b14a38b-4b93-4554-8bb0-3cefb47a4e1f -Timestamp(UTC) : 3/21/2014 9:17:33 PM -OperationName : Update deployment -OperationId : 4877e67f-868b-4b3e-8778-4a40ee3a1af2 -Status : Succeeded -SubStatus : Created -Caller : live.com#auxtm702@live.com -CorrelationId : 4877e67f-868b-4b3e-8778-4a40ee3a1af2Description : -HttpRequest : - ClientId : - Method : PUT - Url : - ClientIpAddress : 131.107.192.39 -Level : Informational -ResourceGroupName : ContosoLabsRG -ResourceProvider : Microsoft Resources -EventSource : Microsoft Resources -Properties : - statusCode : Created - - This command gets the log entries of the currently running or most recently completed deployment of the ContosoRG01 resource group. In this case, the log entries records the addition of a new web site. - - - - - - - - - -------------------------- Example 2: Get log entries by deployment name -------------------------- - - - - PS C:\>(Get-AzureResourceGroupDeployment -ResourceGroupName ContosoLabsRG).DeploymentNameMicrosoft.WebSiteSQLDatabase.0.1.0-preview1LabDeploy02LabDeploy03 -PS C:\>Get-AzureResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDeploy02 - - These commands get the log entries of the LabDeploy02 deployment of the ContosoLabsRG resource group. - - - - The first command uses the Get-AzureResourceGroupDeployment cmdlet to get all deployments for the ContosoLabsRG resource group. It uses the dot method to get the DeploymentName property of each deployment. Notice that the name of the first deployment is a template name, which is the default value when you do not specify a deployment name.The second command uses the Get-AzureResourceGroupLog cmdlet to get the log entries for the LabDeploy02 deployment. - - - - - -------------------------- Example 3: Get all failing log entries for a resource group -------------------------- - - - - PS C:\>Get-AzureResourceGroupLog -Name ContosoRG01 -All | Where-Object Status -eq Failed - - This command gets all log entries of failed operations for the ContosoRG01 resource group. You might use a command like this for debugging. - - - - The first command uses the All parameter of the Get-AzureResourceGroupLog to get log entries for all deployments of the resource group. Then it pipes the log entries to the Where-Object cmdlet, which selects only entries that have a value of Failed for the Status property - - - - - -------------------------- Example 4: Get the logs of the most recent deployment for each resource group -------------------------- - - - - PS C:\>Get-AzureResourceGroup | Get-AzureResourceGroupLog - - This command gets the log entries for the most recent deployment of each resource group in the subscription. The command uses the Get-AzureResourceGroup cmdlet to get all resource groups in the subscription. It pipes the resources groups to the Get-AzureResourceGroupLog which gets the log entries for the last deployment of each resource group. - - - - - - - - - - - Online Version: - http://go.microsoft.com/fwlink/?LinkID=393459 - - - - - - - Get-AzureRoleAssignment - - Filters role assignments. - - - - - Get - AzureRoleAssignment - - - - - Filters role assignments. - - - - Get-AzureRoleAssignment + String + RoleDefinitionName @@ -2134,31 +2193,34 @@ PS C:\>Get-AzureResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDeplo String - - ResourceName + + RoleDefinitionName - Name of the resource to assign the role to. + Role to assign the principals with. String + + + Get-AzureRoleAssignment - ResourceType + Mail - Type of the resource to assign the role to. + Mail of the user or group String - ParentResource + RoleDefinitionName - Parent resource of the resource to assign the role to, if there is any. + Role to assign the principals with. String - - RoleDefinitionName + + Scope - Role to assign the principals with. + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. String @@ -2166,16 +2228,9 @@ PS C:\>Get-AzureResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDeplo Get-AzureRoleAssignment - ObjectId - - Object id of the user, group or service principal. - - Guid - - - ResourceGroupName + Mail - Resource group to assign the role to. + Mail of the user or group String @@ -2190,23 +2245,23 @@ PS C:\>Get-AzureResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDeplo Get-AzureRoleAssignment - ObjectId + Mail - Object id of the user, group or service principal. + Mail of the user or group - Guid + String - - RoleDefinitionName + + ResourceGroupName - Role to assign the principals with. + Resource group to assign the role to. String - - Scope + + RoleDefinitionName - Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + Role to assign the principals with. String @@ -2259,16 +2314,9 @@ PS C:\>Get-AzureResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDeplo Get-AzureRoleAssignment - Mail - - Mail of the user or group - - String - - - ResourceGroupName + UserPrincipalName - Resource group to assign the role to. + UPN of the user. String @@ -2283,33 +2331,16 @@ PS C:\>Get-AzureResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDeplo Get-AzureRoleAssignment - Mail - - Mail of the user or group - - String - - - RoleDefinitionName - - Role to assign the principals with. - - String - - - Scope + UserPrincipalName - Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + UPN of the user. String - - - Get-AzureRoleAssignment - Mail + ResourceGroupName - Mail of the user or group + Resource group to assign the role to. String @@ -2330,14 +2361,42 @@ PS C:\>Get-AzureResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDeplo String - - RoleDefinitionName + + ResourceGroupName - Role to assign the principals with. + Resource group to assign the role to. String - + + ResourceName + + Name of the resource to assign the role to. + + String + + + ResourceType + + Type of the resource to assign the role to. + + String + + + ParentResource + + Parent resource of the resource to assign the role to, if there is any. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + Get-AzureRoleAssignment @@ -2347,10 +2406,27 @@ PS C:\>Get-AzureResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDeplo String + + RoleDefinitionName + + Role to assign the principals with. + + String + - ResourceGroupName + Scope - Resource group to assign the role to. + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + + String + + + + Get-AzureRoleAssignment + + ServicePrincipalName + + SPN of the service principal. String @@ -2365,9 +2441,9 @@ PS C:\>Get-AzureResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDeplo Get-AzureRoleAssignment - UserPrincipalName + ServicePrincipalName - UPN of the user. + SPN of the service principal. String @@ -2410,9 +2486,33 @@ PS C:\>Get-AzureResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDeplo Get-AzureRoleAssignment - UserPrincipalName + ServicePrincipalName - UPN of the user. + SPN of the service principal. + + String + + + ResourceGroupName + + Resource group to assign the role to. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + Get-AzureRoleAssignment + + ServicePrincipalName + + SPN of the service principal. String @@ -2434,12 +2534,22 @@ PS C:\>Get-AzureResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDeplo Get-AzureRoleAssignment - ServicePrincipalName + ResourceGroupName - SPN of the service principal. + Resource group to assign the role to. + + String + + + RoleDefinitionName + + Role to assign the principals with. String + + + Get-AzureRoleAssignment ResourceGroupName @@ -2457,168 +2567,646 @@ PS C:\>Get-AzureResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDeplo ResourceType - Type of the resource to assign the role to. + Type of the resource to assign the role to. + + String + + + ParentResource + + Parent resource of the resource to assign the role to, if there is any. + + String + + + RoleDefinitionName + + Role to assign the principals with. + + String + + + + Get-AzureRoleAssignment + + RoleDefinitionName + + Role to assign the principals with. + + String + + + Scope + + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + + String + + + + + + RoleDefinitionName + + Role to assign the principals with. + + String + + String + + + + + + ObjectId + + Object id of the user, group or service principal. + + Guid + + Guid + + + + + + Scope + + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + + String + + String + + + + + + ResourceGroupName + + Resource group to assign the role to. + + String + + String + + + + + + ResourceName + + Name of the resource to assign the role to. + + String + + String + + + + + + ResourceType + + Type of the resource to assign the role to. + + String + + String + + + + + + ParentResource + + Parent resource of the resource to assign the role to, if there is any. + + String + + String + + + + + + Mail + + Mail of the user or group + + String + + String + + + + + + UserPrincipalName + + UPN of the user. + + String + + String + + + + + + ServicePrincipalName + + SPN of the service principal. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Filters role assignment using UPN, Role Definition and Resource Group -------------------------- + + PS C:\> + + PS C:\> Get-AzureRoleAssignment -ResourceGroupName rg1 -UPN foo@domain.com -RoleDefinitionName Reader + + gets role assignments for principal in a resource group that have Reader role definition + + + + + + + + + + + + + + -------------------------- Filters role assignments using Service Principal Name -------------------------- + + PS C:\> + + PS C:\> Get-AzureRoleAssignment -ServicePrincipalName 36f81fc3-b00f-48cd-8218-3879f51ff39f -RoleDefinitionName Contributor + + Gets role assignments of a service principal that have contribution role definition. + + + + + + + + + + + + + + -------------------------- List all role assignments in the subscription -------------------------- + + PS C:\> + + PS C:\> Get-AzureRoleAssignment + + Gets all role assignments under the subscription + + + + + + + + + + + + + + -------------------------- Filters role assignment using explict Scope -------------------------- + + PS C:\> + + PS C:\> Get-AzureRoleAssignment -Mail allen.young@live.cn -RoleDefinitionName Owner -Scope "/resourcegroups/rg1/providers/Microsoft.Web/sites/site1" + + gets role assignment to a live email on a resource using the generic parameter. Since the scope doens't start with "/subscriptions/{id}", the current subscription id will be used + + + + + + + + + + + + + + + + New-AzureRoleAssignment + + + + Remove-AzureRoleAssignment + + + + Get-AzureRoleDefinition + + + + + + + + Get-AzureRoleDefinition + + Filters role definitions. + + + + + Get + AzureRoleDefinition + + + + This is the Description section + Gets role definitions. + + + + Get-AzureRoleDefinition + + Name + + Role definition name. + + String + + + + + + Name + + Role definition name. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Gets a role definition -------------------------- + + PS C:\> + + PS C:\> Get-AzureRoleDefinition -Name Reader + + Gets a role definition with Reader name + + + + + + + + + + + + + + -------------------------- Lists all role definitions -------------------------- + + PS C:\> + + PS C:\> Get-AzureRoleDefinition + + Lists all role definitions + + + + + + + + + + + + + + + + New-AzureRoleAssignment + + + + Get-AzureRoleAssignment + + + + Get-AzureRoleAssignment + + + + + + + + New-AzureADApplication + + Creates a new azure active directory application. + + + + + New + AzureADApplication + + + + This is the Description section + Creates a new azure active directory application. + + + + New-AzureADApplication + + DisplayName + + String - - ParentResource + + HomePage - Parent resource of the resource to assign the role to, if there is any. + String - - RoleDefinitionName + + IdentifierUris - Role to assign the principals with. + - String + String[] - Get-AzureRoleAssignment + New-AzureADApplication - ServicePrincipalName + DisplayName - SPN of the service principal. + String - ResourceGroupName + HomePage - Resource group to assign the role to. + String - - RoleDefinitionName + + IdentifierUris - Role to assign the principals with. + - String + String[] + + + KeyCredentials + + + + PSADKeyCredential[] - Get-AzureRoleAssignment + New-AzureADApplication - ServicePrincipalName + DisplayName - SPN of the service principal. + String - - RoleDefinitionName + + HomePage - Role to assign the principals with. + String - - - Get-AzureRoleAssignment + + IdentifierUris + + + + String[] + - ServicePrincipalName + Password - SPN of the service principal. + String - RoleDefinitionName + StartDate - Role to assign the principals with. + - String + DateTime - - Scope + + EndDate - Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + - String + DateTime - Get-AzureRoleAssignment + New-AzureADApplication - ResourceGroupName + DisplayName - Resource group to assign the role to. + String - - RoleDefinitionName + + HomePage - Role to assign the principals with. + String - - - Get-AzureRoleAssignment - - ResourceGroupName + + IdentifierUris - Resource group to assign the role to. + - String + String[] - ResourceName + KeyValue - Name of the resource to assign the role to. + String - - ResourceType + + KeyType - Type of the resource to assign the role to. + String - ParentResource + KeyUsage - Parent resource of the resource to assign the role to, if there is any. + String - RoleDefinitionName + StartDate - Role to assign the principals with. + - String + DateTime + + + EndDate + + + + DateTime - Get-AzureRoleAssignment - - RoleDefinitionName + New-AzureADApplication + + DisplayName - Role to assign the principals with. + String - Scope + HomePage - Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + String + + IdentifierUris + + + + String[] + + + PasswordCredentials + + + + PSADPasswordCredential[] + - - RoleDefinitionName + + DisplayName - Role to assign the principals with. + String @@ -2628,45 +3216,45 @@ PS C:\>Get-AzureResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDeplo - ObjectId + HomePage - Object id of the user, group or service principal. + - Guid + String - Guid + String - - ResourceGroupName + + IdentifierUris - Resource group to assign the role to. + - String + String[] - String + String[] - - ResourceName + + KeyCredentials - Name of the resource to assign the role to. + - String + PSADKeyCredential[] - String + PSADKeyCredential[] - ResourceType + Password - Type of the resource to assign the role to. + String @@ -2676,33 +3264,33 @@ PS C:\>Get-AzureResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDeplo - ParentResource + StartDate - Parent resource of the resource to assign the role to, if there is any. + - String + DateTime - String + DateTime - - Scope + + EndDate - Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + - String + DateTime - String + DateTime - Mail + KeyValue - Mail of the user or group + String @@ -2711,10 +3299,10 @@ PS C:\>Get-AzureResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDeplo - - UserPrincipalName + + KeyType - UPN of the user. + String @@ -2723,10 +3311,10 @@ PS C:\>Get-AzureResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDeplo - - ServicePrincipalName + + KeyUsage - SPN of the service principal. + String @@ -2735,155 +3323,213 @@ PS C:\>Get-AzureResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDeplo + + PasswordCredentials + + + + PSADPasswordCredential[] + + PSADPasswordCredential[] + + + + - - - - + + - + + + - - - - + + - - - + + + + + - + - -------------------------- Filters role assignment using UPN, Role Definition and Resource Group -------------------------- - - - - PS C:\> Get-AzureRoleAssignment -ResourceGroupName rg1 -UPN foo@domain.com -RoleDefinitionName Reader - - gets role assignments for principal in a resource group that have Reader role definition - - - - - - - - - -------------------------- Filters role assignments using Service Principal Name -------------------------- - - - - PS C:\> Get-AzureRoleAssignment -ServicePrincipalName 36f81fc3-b00f-48cd-8218-3879f51ff39f -RoleDefinitionName Contributor - - Gets role assignments of a service principal that have contribution role definition. - - - - - - - - - -------------------------- List all role assignments in the subscription -------------------------- + -------------------------- Create new AAD application. -------------------------- - + PS C:\> - PS C:\> Get-AzureRoleAssignment + PS C:\> New-AzureADApplication -DisplayName "NewApplication" -HomePage "http://www.microsoft.com" -IdentifierUris "http://NewApplication" - Gets all role assignments under the subscription + Creates a new azure active directory application without any credentials. + + + Type : Application +ApplicationId : 9400567a-3d4f-4c99-a690-276ba94fbf47 +ApplicationObjectId : 4de22120-3c65-4786-aa51-9886c079d892 +AvailableToOtherTenants : False +AppPermissions : {{ + "claimValue": "user_impersonation", + "description": "Allow the application to access NewApplication on behalf of the signed-in + user.", + "directAccessGrantTypes": [], + "displayName": "Access NewApplication", + "impersonationAccessGrantTypes": [ + { + "impersonated": "User", + "impersonator": "Application" + } + ], + "isDisabled": false, + "origin": "Application", + "permissionId": "0efb9772-220f-48d4-9f86-eb3e01402d54", + "resourceScopeType": "Personal", + "userConsentDescription": "Allow the application to access NewApplication on your behalf.", + "userConsentDisplayName": "Access NewApplication", + "lang": null + }} - + + + - -------------------------- Filters role assignment using explict Scope -------------------------- + -------------------------- Create new AAD application with password. -------------------------- - + PS C:\> - PS C:\> Get-AzureRoleAssignment -Mail allen.young@live.cn -RoleDefinitionName Owner -Scope "/resourcegroups/rg1/providers/Microsoft.Web/sites/site1" + PS C:\> New-AzureADApplication -DisplayName "NewApplication" -HomePage "http://www.microsoft.com" -IdentifierUris "http: +//NewApplication" -Password "password" - gets role assignment to a live email on a resource using the generic parameter. Since the scope doens't start with "/subscriptions/{id}", the current subscription id will be used + Creates a new azure active directory application and associates password credentials with it. + + + Type : Application +ApplicationId : a3dad041-8119-4182-b500-f8f959bf31db +ApplicationObjectId : b4cd1619-80b3-4cfb-9f8f-9f2333425738 +AvailableToOtherTenants : False +AppPermissions : {{ + "claimValue": "user_impersonation", + "description": "Allow the application to access NewApplication on behalf of the signed-in + user.", + "directAccessGrantTypes": [], + "displayName": "Access NewApplication", + "impersonationAccessGrantTypes": [ + { + "impersonated": "User", + "impersonator": "Application" + } + ], + "isDisabled": false, + "origin": "Application", + "permissionId": "18509754-f97a-47f9-9c31-d4a16046e0ee", + "resourceScopeType": "Personal", + "userConsentDescription": "Allow the application to access NewApplication on your behalf.", + "userConsentDisplayName": "Access NewApplication", + "lang": null + }} - + + + - New-AzureRoleAssignment + Remove-AzureADApplication - Remove-AzureRoleAssignment + New-AzureADServicePrincipal - Get-AzureRoleDefinition + Remove-AzureADServicePrincipal - + - Get-AzureRoleDefinition + New-AzureADServicePrincipal - Filters role definitions. + Creates a new azure active directory service principal. - Get - AzureRoleDefinition + New + AzureADServicePrincipal - - Gets role definitions. + This is the Description section + Creates a new azure active directory service principal. - Get-AzureRoleDefinition - - Name + New-AzureADServicePrincipal + + ApplicationId - Role definition name. + - String + Guid + + + DisableAccount + + + + SwitchParameter - - Name + + ApplicationId - Role definition name. + - String + Guid - String + Guid + + + + + + DisableAccount + + + + SwitchParameter + + SwitchParameter @@ -2893,82 +3539,78 @@ PS C:\>Get-AzureResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDeplo - - - - + + - + + + - - - - + + - - - + + + + + - + - -------------------------- Gets a role definition -------------------------- - - - - PS C:\> Get-AzureRoleDefinition -Name Reader - - Gets a role definition with Reader name - - - - - - - - - -------------------------- Lists all role definitions -------------------------- + -------------------------- Create new AAD service principal. -------------------------- - + PS C:\> - PS C:\> Get-AzureRoleDefinition + New-AzureADServicePrincipal -ApplicationId a3dad041-8119-4182-b500-f8f959bf31db - Lists all role definitions + Creates a new azure active directory service principal. + + + DisplayName Type ObjectId +----------- ---- -------- +NewApplication 61b5d8ea-fdc6-40a2-8d5b-ad447c678d45 - + + + - New-AzureRoleAssignment + Remove-AzureADServicePrincipal - Get-AzureRoleAssignment + Get-AzureADServicePrincipal + + + + New-AzureADApplication - Get-AzureRoleAssignment + Remove-AzureADApplication - + New-AzureResource @@ -2983,7 +3625,7 @@ PS C:\>Get-AzureResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDeplo - + This is the Description section The New-AzureResource cmdlet creates an Azure resource, such as a website, SQL Azure database server, or SQL Azure database, in a new or existing resource group.If a resource with the same name exists in the resource group, the cmdlet prompts for confirmation before replacing the existing resource. To suppress the confirmation prompt, use the Force parameter.A resource is a user-managed Azure entity. A resource group is a collection of resources that are deployed as a unit. Every resource belongs to exactly one resource group.Typically, you use a template to create a resource group (New-AzureResourceGroup) and its resources. Then, if necessary, you can use this cmdlet to add additional resources to it. @@ -3168,35 +3810,41 @@ PS C:\>Get-AzureResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDeplo None - - - - + + - + + + + Microsoft.Azure.Commands.ResourceManagement.Models.PSResource - - - - + + - - - + + + + + + + + + + -------------------------- Example 1: Create a new web site -------------------------- - + PS C:\> PS C:\>New-AzureResource -Name ContosoEngSite -Location "North Europe" -ResourceGroupName ContosoEngineering -ResourceType "Microsoft.Web/sites" -ApiVersion 2004-04-01 -PropertyObject @{"name" = "ContosoEngSite"; "siteMode" = "Limited"; "computeMode" = "Shared"} Name : ContosoEngSite @@ -3208,17 +3856,22 @@ Properties : {[name, ContosoEngSite], [state, Running], [hostNames, ContosoEngineering-NorthEuropewebspace]...} This command uses the New-AzureResource cmdlet to create the ContosoEngSite web site in the ContosoEngineering resource group. If the ContosoEngineering resource group doesn't exist, New-AzureResource creates it. If the ContosoEngineering resource group already has a resource named ContosoEngSite, the cmdlet prompt for confirmation before replacing it. + + + The command uses the Location parameter to place the new web in the "North Europe" data center, although the resource group and its resources are located in several different locations.The cmdlet returns a PSResource object that represents the new database. - The command uses the Location parameter to place the new web in the "North Europe" data center, although the resource group and its resources are located in several different locations.The cmdlet returns a PSResource object that represents the new database. + + + -------------------------- Example 2: Create a web site with property values -------------------------- - + PS C:\> PS C:\>$WebsiteProperties = @{name = "ContosoWeb"; serverFarm = CS01; computeMode = "Shared"; siteMode = "Limited";}PS C:\>New-AzureResource -Name ContosoWeb -ResouceGroupName CRG01 -ResourceType 'Microsoft.Web/sites' -Location "South Central US" -ApiVersion 2014-04-01 -PropertyObject $WebsiteProperties Name : ContosoWeb @@ -3230,17 +3883,22 @@ Properties : {[name, ContosoWeb], [state, Running], [hostNames, CRG01-Southcentralwebspace]...} These commands create the ContosoWeb Azure website in the CRG01 resource group. + + + The first command creates a hash table of web site properties and saves it in the $WebsiteProperties variable. To find the properties that you can set for an Azure web site, use a gallery template, such as the ones that the Get-AzureResourceGroupGalleryTemplate cmdlet return.The second command uses the New-AzureResource cmdlet to create the web site. The value of the PropertyObject parameter is the hash table in the $WebsiteProperties variable. - The first command creates a hash table of web site properties and saves it in the $WebsiteProperties variable. To find the properties that you can set for an Azure web site, use a gallery template, such as the ones that the Get-AzureResourceGroupGalleryTemplate cmdlet return.The second command uses the New-AzureResource cmdlet to create the web site. The value of the PropertyObject parameter is the hash table in the $WebsiteProperties variable. + + + -------------------------- Example 3: Add a website to a resource group -------------------------- - + PS C:\> PS C:\>New-AzureResourceGroup -Name ContosoPortal -Location "West US" -GalleryTemplateIdentity WordPress.WordPress.0.1.0-preview1 -TemplateParameterFile ".\WordPressParameters.json" @@ -3248,25 +3906,35 @@ Properties : {[name, ContosoWeb], [state, Running], [hostNames, PS C:\>New-AzureResource –Name sqldb03 –ResourceType "Microsoft.Sql/servers/databases" –ResourceGroup ContosoPortal –Location "West US" –ParentResource "Microsoft.Sql/servers/ContosoServer01" –PropertyObject @{Edition = "Enterprise"; MaxSizeGB = 100} This example shows a typical use of this cmdlet. The first command uses the New-AzureResourceGroup cmdlet to create the ContosoPortal resource group. The command uses the WordPress gallery template (Get-AzureResourceGroupGalleryTemplate) and a JSON file, WordPressParameters.json, to specify values for the template-specific parameters, such as the name and location of the database, a name for the hosting plan, and web deployment credentials. + + + The second command uses the New-AzureResource cmdlet to add an additional database to the ContosoPortal resource group. The command uses the PropertyObject parameter to specify a hash table of values for the Edition and MaxSizeGB properties of the new database. For the other databases in the resource group, these values were specified in the PortalParameters.rgcfg resource group configuration file. - The second command uses the New-AzureResource cmdlet to add an additional database to the ContosoPortal resource group. The command uses the PropertyObject parameter to specify a hash table of values for the Edition and MaxSizeGB properties of the new database. For the other databases in the resource group, these values were specified in the PortalParameters.rgcfg resource group configuration file. + + + -------------------------- Example 4: Create a resource group with tags -------------------------- - + PS C:\> PS C:\>New-AzureResource -Name ContosoEngSite -Location "North Europe" -ResourceGroupName ContosoEngineering -ResourceType "Microsoft.Web/sites" -ApiVersion 2004-04-01 -Tag @{Name="Status";Value="Approved"},@{Name="New"} This command creates a new website and applies two tags to it. The command uses the Tag parameter to apply a "Status" tag with a value of "Approved" and a tag named "New" with no value. + + + - + + + @@ -3278,7 +3946,7 @@ PS C:\>New-AzureResource –Name sqldb03 –ResourceType "Microsoft.Sql/ - + New-AzureResourceGroup @@ -3293,7 +3961,7 @@ PS C:\>New-AzureResource –Name sqldb03 –ResourceType "Microsoft.Sql/ - + This is the Description section The New-AzureResourceGroup cmdlet creates an Azure resource group and its resources and returns an object that represents the resource group.Use this cmdlet to create a new resource group. To add a deployment to an existing resource group, use the New-AzureResourceGroupDeployment cmdlet. To add a resource to an existing resource group, use the New-AzureResource cmdlet.An Azure resource is a user-managed Azure entity, such as a database server, database, or web site. An Azure resource group is a collection of Azure resources that are deployed as a unit.You can create a resource group with just a name and location, and then use the New-AzureResource cmdlet to create resources and add them to the resource group. However, typically, you use a resource group template, which is a JSON-based model of a resource group for a complex cloud-based service, such as a web portal. You can find many templates in the Azure template gallery (Get-AzureResourceGroupGalleryTemplate) and you can create your own templates.To find a gallery template, use the Get-AzureResourceGroupGalleryTemplate template cmdlet. To use a gallery template, use the GalleryTemplateIdentity parameter of New-AzureResourceGroup to specify the template identity. Or, use the Save-AzureResourceGalleryTemplate cmdlet to save the gallery template as a JSON file, and then use the TemplateFile or TemplateUri parameters to provide the name and location of the file.You can also create a custom resource group template, either by typing in a text file or by editing a gallery template. To use a custom template to create a resource group, use TemplateFile or TemplateUri parameters to supply the location and file name.The template includes parameters (placeholders) for configurable property values, likes names and sizes. To specify values for the template parameters, use a JSON-formatted parameter file (TemplateParameterFile parameter) or a hash table of parameter names and values (TemplateParameterObject parameter). Or, you can use the template parameters that are added to the command dynamically as soon as you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required template parameter, the cmdlet prompts you for the value. Template parameter values that you specify at the command line take precedence over template parameter values in a template parameter object or file. @@ -3387,9 +4055,16 @@ PS C:\>New-AzureResource –Name sqldb03 –ResourceType "Microsoft.Sql/ Hashtable - GalleryTemplateIdentity + TemplateFile - Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default. + Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + + StorageAccountName + + Specifies the name of a storage account in the subscription. New-AzureResourceGroup saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use a Switch-AzureMode -Name AzureServiceManagement command to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. String @@ -3446,16 +4121,9 @@ PS C:\>New-AzureResource –Name sqldb03 –ResourceType "Microsoft.Sql/ Hashtable - TemplateFile - - Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - - StorageAccountName + GalleryTemplateIdentity - Specifies the name of a storage account in the subscription. New-AzureResourceGroup saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use a Switch-AzureMode -Name AzureServiceManagement command to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default. String @@ -3571,16 +4239,9 @@ PS C:\>New-AzureResource –Name sqldb03 –ResourceType "Microsoft.Sql/ String - TemplateFile - - Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - - StorageAccountName + TemplateUri - Specifies the name of a storage account in the subscription. New-AzureResourceGroup saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use a Switch-AzureMode -Name AzureServiceManagement command to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. String @@ -3696,9 +4357,16 @@ PS C:\>New-AzureResource –Name sqldb03 –ResourceType "Microsoft.Sql/ String - TemplateUri + TemplateFile - Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. + Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + + StorageAccountName + + Specifies the name of a storage account in the subscription. New-AzureResourceGroup saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use a Switch-AzureMode -Name AzureServiceManagement command to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. String @@ -3960,9 +4628,9 @@ PS C:\>New-AzureResource –Name sqldb03 –ResourceType "Microsoft.Sql/ - GalleryTemplateIdentity + TemplateFile - Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default. + Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. String @@ -3971,10 +4639,10 @@ PS C:\>New-AzureResource –Name sqldb03 –ResourceType "Microsoft.Sql/ - - TemplateFile + + StorageAccountName - Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + Specifies the name of a storage account in the subscription. New-AzureResourceGroup saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use a Switch-AzureMode -Name AzureServiceManagement command to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. String @@ -3983,10 +4651,10 @@ PS C:\>New-AzureResource –Name sqldb03 –ResourceType "Microsoft.Sql/ - - StorageAccountName + + GalleryTemplateIdentity - Specifies the name of a storage account in the subscription. New-AzureResourceGroup saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use a Switch-AzureMode -Name AzureServiceManagement command to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default. String @@ -4024,35 +4692,41 @@ PS C:\>New-AzureResource –Name sqldb03 –ResourceType "Microsoft.Sql/ None - - - - + + - + + + + Microsoft.Azure.Commands.ResourceManagement.Models.PSResourceGroup - - - - + + - - - + + + + + + + + + + -------------------------- Example 1: Create an empty resource group -------------------------- - + PS C:\> PS C:\>New-AzureResourceGroup -Name RG1 -Location "South Central US" ResourceGroupName : RG1 @@ -4061,17 +4735,22 @@ ProvisioningState : Succeeded Resources This command creates a resource group that has no resources. You can use the New-AzureResource or New-AzureResourceGroupDeployment cmdlets to add resources and deployments to this resource group. + + + - + + + -------------------------- Example 2: Create a resource group from a custom template -------------------------- - + PS C:\> PS C:\>New-AzureResourceGroup –Name ContosoHosting –Location "West US" –TemplateFile D:\Templates\ContosoHosting.json -TemplateVersion "2014-04-01-preview" -DeploymentName ContosoHosting -TemplateParameterFile D:\Templates\ContosoHostingParms.json Name: ContosoHosting @@ -4083,17 +4762,22 @@ Resources: Contoso Microsoft.Web/Sites West US This command creates the "ContosoHosting" resource group from a custom template. It uses the TemplateFile parameter to specify the path and file name of the ContosoHosting.json template file and the TemplateParameterFile parameter to specify the ContosoHostingParms.json file, which contains the names and values of the parameters in the template. Because the command does not specify a storage account, New-AzureResourceGroup uses the current storage account in the subscription. + + + - + + + -------------------------- Example 3: Create a resource group from a gallery template -------------------------- - + PS C:\> PS C:\>New-AzureResourceGroup –Name ContosoRG01 –Location "West US" –GalleryTemplateIdentity Microsoft.WebSite.0.1.0-preview1 -siteName ContosoWeb -hostingPlanName ContosoHosting -siteMode Limited -computeMode Shared -siteLocation "South Central US" -subscriptionID "9b14a38b-4b93-4554-8bb0-3cefb47abcde" -resourceGroup ContosoRG01 ResourceGroupName : ContosoRG01 @@ -4106,17 +4790,22 @@ Resources : ContosoWeb Microsoft.Web/sites southcentralus This example shows how to create a resource group from a gallery template and use the parameters that are added to the command dynamically to provide the template parameter values. + + + This command uses the New-AzureResourceGroup cmdlet to create a new resource group. It uses the GalleryTemplateIdentity parameter to specify the identity of the gallery template. In this scenario, you don't need to save the gallery template to disk.After you type the cmdlet parameters and values, type a minus sign (to indicate a parameter name) and then press the TAB key to trigger tab-completion. The cmdlet adds a parameter, such as siteMode. Type the parameter value, type a minus sign, press TAB, and it adds another parameter. To cycle through the parameter names, press TAB repeatedly. If you miss a mandatory template parameter, the cmdlet prompts you for the value. - This command uses the New-AzureResourceGroup cmdlet to create a new resource group. It uses the GalleryTemplateIdentity parameter to specify the identity of the gallery template. In this scenario, you don't need to save the gallery template to disk.After you type the cmdlet parameters and values, type a minus sign (to indicate a parameter name) and then press the TAB key to trigger tab-completion. The cmdlet adds a parameter, such as siteMode. Type the parameter value, type a minus sign, press TAB, and it adds another parameter. To cycle through the parameter names, press TAB repeatedly. If you miss a mandatory template parameter, the cmdlet prompts you for the value. + + + -------------------------- Example 4: Create a resource group from a saved gallery template -------------------------- - + PS C:\> PS C:\> The first command uses the Get-AzureResourceGroupGalleryTemplate to get a gallery item. It pipes the gallery item to the Save-AzureResourceGroupGalleryTemplate cmdlet, which save the template as a JSON file in the path that you specify. PS C:\>Get-AzureResourceGroupGalleryTemplate -Identity Microsoft.WebSite.0.1.0-preview1 | Save-AzureResourceGroupTemplate -Path D:\Azure\Templates @@ -4154,25 +4843,35 @@ Resources : ContosoWeb Microsoft.Web/sites southcentralus This example shows how to create a resource group from a gallery template that you saved to disk by using the Save-AzureResourceGroupGalleryTemplate cmdlet and a hash table of template parameter names and values. + + + - + + + -------------------------- Example 5: Create a resource group with tags -------------------------- - + PS C:\> PS C:\>New-AzureResourceGroup -Name RG1 -Location "South Central US" -Tag @{Name="Empty"}, @{Name="Department";Value="Marketing"} This command creates a new empty resource group. This command is the same as the command in Example 1, except that it assigns tags to the resource group. The first tag, named "Empty," could be used to identify resource groups that have no resources. The second tag is named "Department" and has a value of "Marketing". You can use a tag like this one to categorize resource groups for administration or budgeting. + + + - + + + @@ -4184,7 +4883,7 @@ Resources : - + New-AzureResourceGroupDeployment @@ -4199,7 +4898,7 @@ Resources : - + This is the Description section The New-AzureResourceGroupDeployment cmdlet adds a deployment to an existing resource group, including the resources that the deployment requires. This cmdlet is similar to the New-AzureResourceGroup cmdlet, but it works on existing resource groups, instead of new ones. To add resources to a resource group without using a template, use the New-AzureResource cmdlet.An Azure resource is a user-managed Azure entity, such as a database server, database, website, virtual machine, or storage account. An Azure resource group is a collection of Azure resources that are deployed as a unit, such as the web site, database server, and databases that are required for a financial web site. A deployment uses a resource group template to add resource to a resource group and publish them so they are available in Azure.To add a resource group deployment, specify the name of an existing resource group and a resource group template, which is a JSON string that represents of a resource group for a complex cloud-based service, such as a web portal. The template includes parameter (placeholders) for required resources and configurable property values, likes names and sizes. You can find many templates in the Azure template gallery and you can create your own templates.To find a gallery template, use the Get-AzureResourceGroupGalleryTemplate template cmdlet. To use a gallery template, use the GalleryTemplateIdentity parameter of New-AzureResourceGroupDeployment to specify the template identity. Or, use the Save-AzureResourceGalleryTemplate cmdlet to save the gallery template as a JSON file, and then use the TemplateFile or TemplateUri parameters to provide the name and location of the file.You can also create a custom resource group template, either by typing in a text file or by editing a gallery template. To use a custom template to create a resource group, use TemplateFile or TemplateUri parameters to supply the location and file name.Each template has different parameters for configurable properties. To specify values for the template parameters, use a JSON-formatted parameter file (TemplateParameterFile parameter) or a hash table of parameter names and values (TemplateParameterObject parameter). Or, use the template parameters that are added to the command dynamically as soon as you specify a template. To use the dynamic parameters, just type them in the command, or type a minus sign to indicate a parameter name (-) and then press the TAB key repeatedly to cycle through the available parameters. If you miss a required parameter, the cmdlet prompts you for the value. Template parameter values that are typed at the command line take precedence over values in a template parameter object or file. @@ -4251,9 +4950,16 @@ Resources : Hashtable - GalleryTemplateIdentity + TemplateFile - Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default. + Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + + StorageAccountName + + Specifies the name of a storage account in the subscription. New-AzureResourceGroupDeployment saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. String @@ -4289,16 +4995,9 @@ Resources : Hashtable - TemplateFile - - Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - - StorageAccountName + GalleryTemplateIdentity - Specifies the name of a storage account in the subscription. New-AzureResourceGroupDeployment saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default. String @@ -4372,16 +5071,9 @@ Resources : String - TemplateFile - - Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - - StorageAccountName + TemplateUri - Specifies the name of a storage account in the subscription. New-AzureResourceGroupDeployment saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. String @@ -4455,9 +5147,16 @@ Resources : String - TemplateUri + TemplateFile - Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. + Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + + StorageAccountName + + Specifies the name of a storage account in the subscription. New-AzureResourceGroupDeployment saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. String @@ -4620,9 +5319,9 @@ Resources : - GalleryTemplateIdentity + TemplateFile - Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default. + Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. String @@ -4631,10 +5330,10 @@ Resources : - - TemplateFile + + StorageAccountName - Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + Specifies the name of a storage account in the subscription. New-AzureResourceGroupDeployment saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. String @@ -4643,10 +5342,10 @@ Resources : - - StorageAccountName + + GalleryTemplateIdentity - Specifies the name of a storage account in the subscription. New-AzureResourceGroupDeployment saves the contents of template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a current storage account, the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + Specifies the identity of a template in the Azure gallery. To find gallery templates, use the Get-AzureResourceGroupGalleryTemplate cmdlet. The value of the Identity property of each gallery item is displayed by default. String @@ -4684,35 +5383,41 @@ Resources : None - - - - + + - + + + + Microsoft.Azure.Commands.ResourceManager.Models.PSResourceGroupDeployment - - - - + + - - - + + + + + + + + + + -------------------------- Create a deployment with a gallery template -------------------------- - + PS C:\> PS C:\>New-AzureResourceGroupDeployment -New-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -GalleryTemplateIdentity Microsoft.WebSite.0.1.0-preview1 -Name WebDeploy01 -siteName ContosoWeb -hostingPlanName ContosoHosting -siteMode Limited -computeMode Dedicated -siteLocation "North Europe" -subscriptionID "9b14a38b-4b93-4554-8bb0-3cefb47abcde" -resourceGroup ContosoRG01 DeploymentName : WebDeploy01 @@ -4737,32 +5442,42 @@ Parameters : resourceGroup String ContosoRG01 This example shows how to create a resource group deployment from a gallery template and use the parameters that are added to the command dynamically to provide the template parameter values. + + + This command uses the New-AzureResourceGroupDeployment cmdlet to create a new deployment in the ContosoRG01 resource group. It uses the GalleryTemplateIdentity parameter to specify the gallery template. In this scenario, you don't need to save the gallery template to disk.Instead of using a template parameter file or a template parameter object, we'll just use the parameters that are added to the command dynamically when you specify the template.After typing the Name parameter and its value, type a minus sign (to indicate a parameter name) and then press the TAB key to trigger tab-completion. The cmdlet adds a parameter, such as siteMode. Type the parameter value, type a minus sign, press TAB, and it adds another parameter. To cycle through the parameter names, press TAB repeatedly. If you miss a mandatory template parameter, the cmdlet prompts you for the value. - This command uses the New-AzureResourceGroupDeployment cmdlet to create a new deployment in the ContosoRG01 resource group. It uses the GalleryTemplateIdentity parameter to specify the gallery template. In this scenario, you don't need to save the gallery template to disk.Instead of using a template parameter file or a template parameter object, we'll just use the parameters that are added to the command dynamically when you specify the template.After typing the Name parameter and its value, type a minus sign (to indicate a parameter name) and then press the TAB key to trigger tab-completion. The cmdlet adds a parameter, such as siteMode. Type the parameter value, type a minus sign, press TAB, and it adds another parameter. To cycle through the parameter names, press TAB repeatedly. If you miss a mandatory template parameter, the cmdlet prompts you for the value. + + + -------------------------- Example 2: Use a custom template and parameter file -------------------------- - + PS C:\> PS C:\>New-AzureResourceGroupDeployment -ResourceGroupName ContosoEngineering -TemplateFile D:\Azure\Templates\EngineeringSite.json -TemplateParameterFile D:\Azure\Templates\EngSiteParms.json -TemplateVersion "2.1" -StorageAccountName contosostorage This command creates a new deployment by using a custom template and a template file on disk. The command uses the TemplateFile parameter to specify the template and the TemplateParameterFile to specify a file of parameters and parameter values. It uses the TemplateVersion parameter to specify a particular version of the template. Because the template files are stored in a storage account of the subscription, the cmdlet uses the StorageAccountName to specify the storage account to use. + + + - + + + -------------------------- Example 3: Use a saved gallery template and parameter object -------------------------- - + PS C:\> PS C:\> The first command uses the Save-AzureResourceGroupGalleryTemplate cmdlet to save the WordPress gallery template as a JSON file on disk. PS C:\>Save-AzureResourceGroupGalleryTemplate -Identity WordPress.WordPress.0.1.0-preview1 -Path D:\Azure\Templates @@ -4777,10 +5492,15 @@ The third command uses New-AzureResourceGroupDeployment cmdlet to add the new de PS C:\>New-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -TemplateFile D:\Azure\Templates\WordPress.WordPress.0.1.0-preview1.json -TemplateParameterObject $params -StorageAccountName contosostorage This command creates a new deployment by using a gallery template that is saved to disk as a JSON file and a hash table of parameter values. + + + - + + + @@ -4792,7 +5512,7 @@ PS C:\>New-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -Templ - + New-AzureRoleAssignment @@ -4807,7 +5527,7 @@ PS C:\>New-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -Templ - + This is the Description section Create a role assignment to some principals at a given scope. @@ -4821,9 +5541,9 @@ PS C:\>New-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -Templ Guid - Scope + ResourceGroupName - Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + Resource group to assign the role to. String @@ -4890,9 +5610,9 @@ PS C:\>New-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -Templ Guid - ResourceGroupName + Scope - Resource group to assign the role to. + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. String @@ -4930,6 +5650,13 @@ PS C:\>New-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -Templ String + + ResourceGroupName + + Resource group to assign the role to. + + String + RoleDefinitionName @@ -4954,6 +5681,27 @@ PS C:\>New-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -Templ String + + ResourceName + + Name of the resource to assign the role to. + + String + + + ResourceType + + Type of the resource to assign the role to. + + String + + + ParentResource + + Parent resource of the resource to assign the role to, if there is any. + + String + RoleDefinitionName @@ -4972,30 +5720,26 @@ PS C:\>New-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -Templ String - ResourceGroupName + RoleDefinitionName - Resource group to assign the role to. + Role to assign the principals with. String + + + New-AzureRoleAssignment - ResourceName + Mail - Name of the resource to assign the role to. + Mail of the user or group String - ResourceType - - Type of the resource to assign the role to. - - String - - - ParentResource + Scope - Parent resource of the resource to assign the role to, if there is any. + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. String @@ -5010,16 +5754,33 @@ PS C:\>New-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -Templ New-AzureRoleAssignment - Mail + UserPrincipalName + + UPN of the user. + + String + + + ResourceGroupName + + Resource group to assign the role to. + + String + + + RoleDefinitionName - Mail of the user or group + Role to assign the principals with. String + + + New-AzureRoleAssignment - Scope + UserPrincipalName - Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + UPN of the user. String @@ -5086,9 +5847,9 @@ PS C:\>New-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -Templ String - ResourceGroupName + Scope - Resource group to assign the role to. + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. String @@ -5103,33 +5864,16 @@ PS C:\>New-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -Templ New-AzureRoleAssignment - UserPrincipalName - - UPN of the user. - - String - - - Scope - - Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. - - String - - - RoleDefinitionName + ServicePrincipalName - Role to assign the principals with. + SPN of the service principal. String - - - New-AzureRoleAssignment - UserPrincipalName + ResourceGroupName - UPN of the user. + Resource group to assign the role to. String @@ -5186,30 +5930,6 @@ PS C:\>New-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -Templ String - - New-AzureRoleAssignment - - ServicePrincipalName - - SPN of the service principal. - - String - - - ResourceGroupName - - Resource group to assign the role to. - - String - - - RoleDefinitionName - - Role to assign the principals with. - - String - - New-AzureRoleAssignment @@ -5266,9 +5986,9 @@ PS C:\>New-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -Templ - Scope + ResourceGroupName - Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + Resource group to assign the role to. String @@ -5290,9 +6010,9 @@ PS C:\>New-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -Templ - ResourceGroupName + ResourceName - Resource group to assign the role to. + Name of the resource to assign the role to. String @@ -5302,73 +6022,390 @@ PS C:\>New-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -Templ - ResourceName + ResourceType - Name of the resource to assign the role to. + Type of the resource to assign the role to. + + String + + String + + + + + + ParentResource + + Parent resource of the resource to assign the role to, if there is any. + + String + + String + + + + + + Scope + + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + + String + + String + + + + + + Mail + + Mail of the user or group + + String + + String + + + + + + UserPrincipalName + + UPN of the user. + + String + + String + + + + + + ServicePrincipalName + + SPN of the service principal. + + String + + String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Create new role assignment using UPN -------------------------- + + PS C:\> + + PS C:\> New-AzureRoleAssignment -ResourceGroupName rg1 -UPN foo@domain.com -RoleDefinitionName Reader + + add role assignment to a principal for a resource group using the separate parameters + + + + + + + + + + + + + + -------------------------- Create new role assignment using Service Principal Name -------------------------- + + PS C:\> + + PS C:\> New-AzureRoleAssignment -ServicePrincipalName 36f81fc3-b00f-48cd-8218-3879f51ff39f -RoleDefinitionName Contributor + + add role assignment to a service principal for a subscription. + + + + + + + + + + + + + + -------------------------- Create new role assignment using explict Scope -------------------------- + + PS C:\> + + PS C:\> New-AzureRoleAssignment -Mail allen.young@live.cn -RoleDefinitionName Owner -Scope "/resourcegroups/rg1/providers/Microsoft.Web/sites/site1" + + add role assignment to a principal for a resource using the generic parameter. Since the scope doens't start with "/subscriptions/{id}", the current subscription id will be used + + + + + + + + + + + + + + + + Get-AzureRoleAssignment + + + + Remove-AzureRoleAssignment + + + + Get-AzureRoleDefinition + + + + + + + + Remove-AzureADApplication + + Deletes the azure active directory application. + + + + + Remove + AzureADApplication + + + + This is the Description section + Deletes the azure active directory application. + + + + Remove-AzureADApplication + + ApplicationObjectId + + + + Guid + + + Force + + + + SwitchParameter + + + + + + ApplicationObjectId + + - String + Guid - String + Guid - - ResourceType + + Force - Type of the resource to assign the role to. + - String + SwitchParameter - String + SwitchParameter - - ParentResource + + + + + + + + - Parent resource of the resource to assign the role to, if there is any. + - String + + + + - String - + + + - - + + + + + + + + + + + + + + + + -------------------------- Delete AAD application. -------------------------- + + PS C:\> + + PS C:\> Remove-AzureADApplication -ApplicationObjectId b4cd1619-80b3-4cfb-9f8f-9f2333425738 -Force + + Deletes the azure active directory application. + + + + + + + + + + + + + + + + New-AzureADApplication + + + + + + + + Remove-AzureADServicePrincipal + + Deletes the azure active directory service principal. + + + + + Remove + AzureADServicePrincipal + + + + This is the Description section + Deletes the azure active directory service principal. + + + + Remove-AzureADServicePrincipal + + ObjectId + + + + Guid + + + Force + + + + SwitchParameter + + + PassThru + + + + SwitchParameter + + + + - Mail + ObjectId - Mail of the user or group + - String + Guid - String + Guid - - UserPrincipalName + + Force - UPN of the user. + - String + SwitchParameter - String + SwitchParameter - - ServicePrincipalName + + PassThru - SPN of the service principal. + - String + SwitchParameter - String + SwitchParameter @@ -5378,97 +6415,68 @@ PS C:\>New-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -Templ - - - - + + - + + + - - - - + + - - - + + + + + - + - -------------------------- Create new role assignment using UPN -------------------------- - - - - PS C:\> New-AzureRoleAssignment -ResourceGroupName rg1 -UPN foo@domain.com -RoleDefinitionName Reader - - add role assignment to a principal for a resource group using the separate parameters - - - - - - - - - -------------------------- Create new role assignment using Service Principal Name -------------------------- + -------------------------- Delete AAD service principal. -------------------------- - + PS C:\> - PS C:\> New-AzureRoleAssignment -ServicePrincipalName 36f81fc3-b00f-48cd-8218-3879f51ff39f -RoleDefinitionName Contributor + PS C:\> Remove-AzureADServicePrincipal -ObjectId 61b5d8ea-fdc6-40a2-8d5b-ad447c678d45 -Force - add role assignment to a service principal for a subscription. - - - - - - - - - -------------------------- Create new role assignment using explict Scope -------------------------- - + Deletes the given azure active directory service principal. + + - - PS C:\> New-AzureRoleAssignment -Mail allen.young@live.cn -RoleDefinitionName Owner -Scope "/resourcegroups/rg1/providers/Microsoft.Web/sites/site1" - - add role assignment to a principal for a resource using the generic parameter. Since the scope doens't start with "/subscriptions/{id}", the current subscription id will be used - + + + - Get-AzureRoleAssignment - - - - Remove-AzureRoleAssignment + New-AzureADServicePrincipal - Get-AzureRoleDefinition + Get-AzureADServicePrincipal - + Remove-AzureResource @@ -5483,7 +6491,7 @@ PS C:\>New-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -Templ - + This is the Description section The Remove-AzureResource cmdlet deletes a resource from your subscription. It does not delete the resource group of the resource. By default, Remove-AzureResource prompts you for confirmation. To suppress the prompt, use the Force parameter. @@ -5668,59 +6676,75 @@ PS C:\>New-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -Templ None - - - - + + - + + + + None or Boolean - - - - + + - - - + + + + + + + + + + -------------------------- Example 1: Remove a resource -------------------------- - + PS C:\> PS C:\>Remove-AzureResource -Name ContosoWeb -ResourceGroupName ContosoRG01 -ResourceType Microsoft.web/sites -ApiVersion 2014-04-01 ConfirmAre you sure you want to remove resource ' ContosoWeb'[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y This command removes the ContosoWeb web site from the ContosoRG01 resource group. + + + - + + + -------------------------- Example 2: Pipe a resource to RemoveAzureResource -------------------------- - + PS C:\> PS C:\>Get-AzureResource -Name contosodb01 -ResourceGroupName ContosoRG01 -ResourceType "Microsoft.Sql/servers/databases" -ParentResource "Microsoft.Sql/servers/contososvr01" -ApiVersion 2.0 | Remove-AzureResource -Passthru ConfirmAre you sure you want to remove resource 'contosodb01'[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y True This command uses the Get-AzureResource cmdlet to get the ContosoDB01 database. The command pipes the database to the Remove-AzureResource cmdlet to remove it. The command uses the Passthru parameter, which causes the cmdlet to return a Boolean value that represents the success or failure of the operation. In this case, it returns True. + + + - + + + @@ -5732,7 +6756,7 @@ True - + Remove-AzureResourceGroup @@ -5747,7 +6771,7 @@ True - + This is the Description section The Remove-AzureResourceGroup cmdlet deletes a resource group and its resources from your subscription. By default, Remove-AzureResourceGroup prompts you for confirmation. To suppress the prompt, use the Force parameter.To delete a resource, but leave the resource group, use the Remove-AzureResource cmdlet. @@ -5856,35 +6880,41 @@ True None - - - - + + - + + + + None or System.Boolean - - - - + + - - - + + + + + + + + + + -------------------------- Example 1: Remove a resource group -------------------------- - + PS C:\> PS C:\>Remove-AzureResourceGroup -Name -ContosoRG01 Confirm @@ -5894,33 +6924,43 @@ Are you sure you want to remove resource group 'ContosoRG01' [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y This command removes the ContosoRG01 resource group from the subscription. The cmdlet prompts for confirmation and does not return any output by default. + + + - + + + -------------------------- Example 2: Use the Force parameter -------------------------- - + PS C:\> PS C:\>Get-AzureResourceGroup -Name ContosoRG01 | Remove-AzureResourceGroup -Verbose -Force VERBOSE: Performing the operation "Removing resource group ..." on target "ContosoRG01". This command deletes the ContosoRG01 resource group from the subscription. It uses the Get-AzureResourceGroup cmdlet to get the resource group and pipes the resource group (by name) to the Remove-AzureResourceGroup cmdlet. The Remove-AzureResourceGroup command uses the Verbose common parameter to get status information about the operation and the Force parameter to suppress the confirmation prompt. + + + - + + + -------------------------- Example 3: Remove all resource groups -------------------------- - + PS C:\> PS C:\>Get-AzureResourceGroup | Remove-AzureResourceGroup -PassThru @@ -5943,10 +6983,15 @@ Are you sure you want to remove resource group 'ContosoRG02' True This command deletes all resource groups in the subscription. To get all resource groups, it uses a Get-AzureResourceGroup command with no parameters. Then, it pipes the resource groups to the Remove-AzureResourceGroup cmdlet. The Remove-AzureResourceGroup command uses the Passthru parameter. As a result, the cmdlet returns a value of $True for each operation that succeeds. + + + - + + + @@ -5958,63 +7003,25 @@ True - + Remove-AzureRoleAssignment Removes a role assignment. - - - - - Remove - AzureRoleAssignment - - - - - Removes a role assignments. - - - - Remove-AzureRoleAssignment - - ObjectId - - Object id of the user, group or service principal. - - Guid - - - ResourceGroupName - - Resource group to assign the role to. - - String - - - RoleDefinitionName - - Role to assign the principals with. - - String - - - Force - - - - SwitchParameter - - - PassThru - - - - SwitchParameter - - + + + + + Remove + AzureRoleAssignment + + + + This is the Description section + Removes a role assignments. + + Remove-AzureRoleAssignment @@ -6062,14 +7069,14 @@ True Force - + SwitchParameter PassThru - + SwitchParameter @@ -6084,9 +7091,40 @@ True Guid - Scope + RoleDefinitionName - Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + Role to assign the principals with. + + String + + + Force + + + + SwitchParameter + + + PassThru + + + + SwitchParameter + + + + Remove-AzureRoleAssignment + + ObjectId + + Object id of the user, group or service principal. + + Guid + + + ResourceGroupName + + Resource group to assign the role to. String @@ -6100,14 +7138,14 @@ True Force - + SwitchParameter PassThru - + SwitchParameter @@ -6121,6 +7159,13 @@ True Guid + + Scope + + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + + String + RoleDefinitionName @@ -6131,14 +7176,14 @@ True Force - + SwitchParameter PassThru - + SwitchParameter @@ -6153,9 +7198,9 @@ True String - Scope + ResourceGroupName - Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + Resource group to assign the role to. String @@ -6169,14 +7214,14 @@ True Force - + SwitchParameter PassThru - + SwitchParameter @@ -6191,9 +7236,9 @@ True String - ResourceGroupName + Scope - Resource group to assign the role to. + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. String @@ -6207,14 +7252,14 @@ True Force - + SwitchParameter PassThru - + SwitchParameter @@ -6238,14 +7283,14 @@ True Force - + SwitchParameter PassThru - + SwitchParameter @@ -6297,14 +7342,14 @@ True Force - + SwitchParameter PassThru - + SwitchParameter @@ -6319,9 +7364,9 @@ True String - Scope + ResourceGroupName - Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + Resource group to assign the role to. String @@ -6335,14 +7380,14 @@ True Force - + SwitchParameter PassThru - + SwitchParameter @@ -6357,9 +7402,40 @@ True String - ResourceGroupName + RoleDefinitionName - Resource group to assign the role to. + Role to assign the principals with. + + String + + + Force + + + + SwitchParameter + + + PassThru + + + + SwitchParameter + + + + Remove-AzureRoleAssignment + + UserPrincipalName + + UPN of the user. + + String + + + Scope + + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. String @@ -6373,14 +7449,14 @@ True Force - + SwitchParameter PassThru - + SwitchParameter @@ -6432,14 +7508,14 @@ True Force - + SwitchParameter PassThru - + SwitchParameter @@ -6447,47 +7523,37 @@ True Remove-AzureRoleAssignment - UserPrincipalName + ServicePrincipalName - UPN of the user. + SPN of the service principal. String - RoleDefinitionName + ResourceGroupName - Role to assign the principals with. + Resource group to assign the role to. String - - Force - - - - SwitchParameter - - - PassThru + + ResourceName - + Name of the resource to assign the role to. - SwitchParameter + String - - - Remove-AzureRoleAssignment - ServicePrincipalName + ResourceType - SPN of the service principal. + Type of the resource to assign the role to. String - - ResourceGroupName + + ParentResource - Resource group to assign the role to. + Parent resource of the resource to assign the role to, if there is any. String @@ -6501,14 +7567,14 @@ True Force - + SwitchParameter PassThru - + SwitchParameter @@ -6523,30 +7589,9 @@ True String - ResourceGroupName - - Resource group to assign the role to. - - String - - - ResourceName - - Name of the resource to assign the role to. - - String - - - ResourceType - - Type of the resource to assign the role to. - - String - - - ParentResource + Scope - Parent resource of the resource to assign the role to, if there is any. + Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. String @@ -6560,14 +7605,14 @@ True Force - + SwitchParameter PassThru - + SwitchParameter @@ -6582,9 +7627,9 @@ True String - Scope + ResourceGroupName - Scope of the role assignment. In the format of relative URI. If not specified, will assign the role at subscription level. If specified, it can either start with "/subscriptions/{id}" or the part after that. If it's latter, the current subscription id will be used. + Resource group to assign the role to. String @@ -6598,14 +7643,14 @@ True Force - + SwitchParameter PassThru - + SwitchParameter @@ -6629,14 +7674,14 @@ True Force - + SwitchParameter PassThru - + SwitchParameter @@ -6668,9 +7713,9 @@ True - RoleDefinitionName + ResourceName - Role to assign the principals with. + Name of the resource to assign the role to. String @@ -6679,34 +7724,34 @@ True - - Force + + ResourceType - + Type of the resource to assign the role to. - SwitchParameter + String - SwitchParameter + String - - PassThru + + ParentResource - + Parent resource of the resource to assign the role to, if there is any. - SwitchParameter + String - SwitchParameter + String - ResourceName + RoleDefinitionName - Name of the resource to assign the role to. + Role to assign the principals with. String @@ -6715,26 +7760,26 @@ True - - ResourceType + + Force - Type of the resource to assign the role to. + - String + SwitchParameter - String + SwitchParameter - - ParentResource + + PassThru - Parent resource of the resource to assign the role to, if there is any. + - String + SwitchParameter - String + SwitchParameter @@ -6792,47 +7837,54 @@ True - - - - + + - + + + + - - - - + + - - - + + + + + + - + -------------------------- Removes role assignment using UPN, Role Definition and Resource Group -------------------------- - + PS C:\> PS C:\> Remove-AzureRoleAssignment -ResourceGroupName rg1 -UPN foo@domain.com -RoleDefinitionName Reader Removes a role assignment for principal in a resource group that have Reader role definition + + + - + + + @@ -6852,7 +7904,7 @@ True - + Save-AzureResourceGroupGalleryTemplate @@ -6867,7 +7919,7 @@ True - + This is the Description section The Save-AzureResourceGroupGalleryTemplate cmdlet saves a template from the Azure template gallery as a JSON file on disk and returns the path to the saved file. You can to use the template to create Azure resource groups and deploymentsA resource is a user-managed entity, such as a website, database server, or database. A resource group is a collection of resources that are deployed as a unit. You can create resources individually and add them to resource groups. However, typically, you create a resource group by using a template.A template is a JSON string that defines a resource group for a complex entity, such as a web hosting site or web portal. The template defines the resources that are typically needed for the entity, such as websites, databases, and storage accounts, and includes parameters for user-defined values, such as the names and properties of the resources. To get a resource group template, use the Get-AzureResourceGroupGalleryTemplate cmdlet to get a gallery template and then use the Save-AzureResourceGroupGalleryTemplate cmdlet to save the template as a JSON file. Or, you can create your own templates, either from scratch or by editing a gallery template. To verify the syntax of a template, use the Test-AzureResourceGroupTemplate cmdlet.To use a template to create a resource group, use the New-AzureResourceGroup or New-AzureResourceGroupDeployment cmdlets. Just identify the template and provide values for its parameters. @@ -6938,35 +7990,41 @@ True None - - - - + + - + + + + System.Management.Automation.PSCustomObject - - - - + + - - - + + + + + + + + + + -------------------------- Example 1: Save a template -------------------------- - + PS C:\> PS C:\>Save-AzureResourceGroupGalleryTemplate -Identity Microsoft.WebSite.0.1.0-preview1 Path: @@ -6974,17 +8032,22 @@ Path: C:\ Microsoft.WebSite.0.1.0-preview1.json This command saves the Microsoft.WebSite.0.1.0-preview1 template to the current directory as Microsoft.WebSite.0.1.0-preview1.json. + + + - + + + -------------------------- Example 2: Pipe a gallery item to SaveAzureResourceGroupGalleryTemplate -------------------------- - + PS C:\> PS C:\>Get-AzureResourceGroupGalleryTemplate -Identity Microsoft.WebSite.0.1.0-preview1 | Save-AzureResourceGroupGalleryTemplate -Path $home\Documents\MyTemplates Path @@ -6992,17 +8055,22 @@ Path C:\Users\User01\Documents\MyTemplates\ Microsoft.WebSite.0.1.0-preview1.json This command pipes the Microsoft.WebSite.0.1.0-preview1 gallery item from the Get-AzureResourceGroupGalleryTemplate cmdlet to the Save-AzureResourceGroupGalleryTemplate cmdlet. The command uses the Path parameter to save the JSON template in an alternate directory. Because the command uses the Passthru parameter, the cmdlet returns True to indicate that the save operation succeeded. + + + - + + + -------------------------- Example 3: Save and use a gallery template -------------------------- - + PS C:\> PS C:\> The first command uses the Save-AzureResourceGalleryTemplate cmdlet to save a template to disk. The cmdlet returns the path to the JSON file. PS C:\>Save-AzureResourceGroupGalleryTemplate -Identity TechInfoSystems.GalleryServerPro.0.1.0-preview1 -Path $home\Documents\MyTemplates @@ -7014,10 +8082,15 @@ The second command uses the New-AzureResourceGroup cmdlet to create a new resour PS C:\>New-AzureResourceGroup -Name ContosoRG02 -Location 'South Central US' -DeploymentName DeployWeb1 –StorageAccountName contosostorage01 -TemplateFile $home\Documents\MyTemplates\TechInfoSystems.GalleryServerPro.0.1.0-preview1.json -TemplateParameterFile $home\Documents\MyTemplates\TechInfoParameters.json This example shows how to use a saved gallery template to create a new resource group. + + + It's often useful to save a gallery template to disk before using it to create a resource group or a deployment. This gives you the opportunity to review the template and the resources that it creates and to determine that values that you will use for the parameters. But, you do not need to save a gallery template before using it to create a resource group. To use a gallery template without saving it, use the GalleryTemplateIdentity parameter of the New-AzureResourceGroup or New-AzureResourceGroupDeployment cmdlets. - It's often useful to save a gallery template to disk before using it to create a resource group or a deployment. This gives you the opportunity to review the template and the resources that it creates and to determine that values that you will use for the parameters. But, you do not need to save a gallery template before using it to create a resource group. To use a gallery template without saving it, use the GalleryTemplateIdentity parameter of the New-AzureResourceGroup or New-AzureResourceGroupDeployment cmdlets. + + + @@ -7029,7 +8102,7 @@ PS C:\>New-AzureResourceGroup -Name ContosoRG02 -Location 'South Central - + Set-AzureResource @@ -7044,7 +8117,7 @@ PS C:\>New-AzureResourceGroup -Name ContosoRG02 -Location 'South Central - + This is the Description section The Set-AzureResource cmdlet changes the properties of an Azure resource. To use the cmdlet, use the Name, ResourceGroupName, ResourceGroupType, and ParentResource parameters to identify the resource, and the PropertyObject parameter to specify the new property names and values.If the command succeeds, it returns the resource with the new properties and values.An Azure resource is a user-managed entity, such as an Azure Website or Azure SQL Database. Some resources have properties, which are user-configured values, like sizes and operational modes. You can specify these values when you create the resource, such as by using the New-AzureResource, New-AzureResourceGroup, or New-AzureResourceGroupDeployment cmdlets. And, you can change the properties by using this cmdlet.To get the properties of a resource, use the Get-AzureResource cmdlet to get the resource. Then use the dot method to get the Properties property collection and a particular named property. For example, to get the siteMode property of an object, type (Get-AzureResource -Name MyWebSite -ResourceGroupName RG -ResourceType Microsoft.Web/sites -ApiVersion 2014-04-01).Properties.siteMode @@ -7191,35 +8264,41 @@ PS C:\>New-AzureResourceGroup -Name ContosoRG02 -Location 'South Central None - - - - + + - + + + + Microsoft.Azure.Commands.ResourceManager.Models.PSResource - - - - + + - - - + + + + + + + + + + -------------------------- Example 1: Change the properties of a resource -------------------------- - + PS C:\> PS C:\> The first command uses the Get-AzureResource cmdlet to get the ContosoLabWeb2 web site. The command saves the resource in the $r variable. PS C:\>$r = Get-AzureResource -Name ContosoLabWeb2 -ResourceGroupName ContosoLabsRG -ResourceType "Microsoft.Web/sites" -ApiVersion 2004-04-01 @@ -7240,32 +8319,42 @@ The sixth command displays the Properties property of the resource in the $r2 va PS C:\>$r2.PropertiesName Value---- -----storageRecoveryDefaultState RunningavailabilityState 0trafficManagerHostNamesrepositorySiteName ContosoLabWeb2runtimeAvailabilityState 0siteMode BasicruntimeADUserlastModifiedTimeUtc 3/25/2014 6:00:04 PMusageState 0hostNames {contosolabweb2.antares-int.windows-int.net}adminEnabled TruehostNameSslStates {System.Collections.Generic.Dictionary`2[System.String,System.Object], System.Collect...runtimeADUserDomainenabled TruedeploymentId ContosoLabWeb2selfLink https://antpreview2.api.admin-antares-int.windows-int.net:454/20130801/websystems/web...computeMode DedicatedwebSpace ContosoLabsRG-NorthEuropewebspacecsrs {}siteConfigintegratedSqlAuthEnabled Falsestate RunningruntimeADUserPasswordserverFarm Default2sslCertificates {}cerscontentAvailabilityState 0enabledHostNames {contosolabweb2.antares-int.windows-int.net, contosolabweb2.scm.antares-int.windows-i...windowsAuthEnabled 0ownersiteProperties {[metadata, ], [properties, System.Collections.Generic.List`1[System.Object]], [appSe...sku Basicname ContosoLabWeb2 This example shows how to change the properties of an Azure resource. In this case, we'll shift a web site from one server farm to another. To do that, we have to change the web site properties to be compatible with the new server farm. + + + - + + + -------------------------- Example 2: Apply a tag to a resource -------------------------- - + PS C:\> PS C:\>Get-AzureResource -Name ContosoLabWeb2 -ResourceGroupName ContosoLabsRG -ResourceType "Microsoft.Web/sites" -ApiVersion 2004-04-01 -Tag @{Name="CostCenter";Value="Sales"} This command uses the Tag parameter to add a CostCenter tag with a value of "Sales" to a resource that did not have any existing tags. + + + - + + + -------------------------- Example 3: Add tags to a resource -------------------------- - + PS C:\> PS C:\>$tags = (Get-AzureResource -Name ContosoWeb -ResourceGroupName ContosoLabsRG -ResourceType "Microsoft.Web/sites" -ApiVersion 2004-04-01).Tags @@ -7295,25 +8384,35 @@ Tags: FY2016 This command adds a "Status" tag with a value of "Approved" and an "FY2016" tag to a resource that has existing tags. Because the tags you specify replace the existing tags, you must include the existing tags in the new tag collection or you will lose them. + + + The first command gets all existing tags of the ContosoWeb resource. It uses the Get-AzureResource cmdlet to get the resource and then uses the dot method to get the value of its Tags property. It saves the existing tags in a $tags variable.The second command gets the tags in the $tags variable.The third command uses a "+=" operator to add the Status and FY2016 tags to the collection (array) of tags in the $tags variable.The fourth command uses the Tag parameter of Set-AzureResource to apply the tags in the $tags variable to the ContosoWeb resource.The fifth command shows the effect of the change. It gets all of the tags applied to the ContosoWeb resource. The output shows that the resource has the Department tag and the two new tags, Status and FY2015. - The first command gets all existing tags of the ContosoWeb resource. It uses the Get-AzureResource cmdlet to get the resource and then uses the dot method to get the value of its Tags property. It saves the existing tags in a $tags variable.The second command gets the tags in the $tags variable.The third command uses a "+=" operator to add the Status and FY2016 tags to the collection (array) of tags in the $tags variable.The fourth command uses the Tag parameter of Set-AzureResource to apply the tags in the $tags variable to the ContosoWeb resource.The fifth command shows the effect of the change. It gets all of the tags applied to the ContosoWeb resource. The output shows that the resource has the Department tag and the two new tags, Status and FY2015. + + + -------------------------- Example 4: Delete all tags -------------------------- - + PS C:\> PS C:\>Get-AzureResource -Name ContosoLabWeb2 -ResourceGroupName ContosoLabsRG -ResourceType "Microsoft.Web/sites" -ApiVersion 2004-04-01 -Tag @{} This command uses the Tag parameter and an empty hash table value to delete all tags from a resource. + + + - + + + @@ -7325,7 +8424,7 @@ Tags: - + Set-AzureResourceGroup @@ -7340,7 +8439,7 @@ Tags: - + This is the Description section The Set-AzureResourceGroup cmdlet changes the properties of a resource group. You can use this cmdlet to add, change, or delete the Azure tags applied to a resource group. Use the Name parameter to identify the resource group and the Tag parameter to change the tags. You cannot use this cmdlet to change the name of a resource group. @@ -7392,54 +8491,61 @@ Tags: None - - - - + + - + + + + Microsoft.Azure.Commands.Resources.Models.PSResourceGroup - - - - + + - - - + + + + + + - + -------------------------- Example 1: Apply a tag to a resource group -------------------------- - + PS C:\> PS C:\>Set-AzureResourceGroup -Name ContosoRG -Tag @{Name="Department";Value="IT"} This command applies a "Department" tag with a value of "IT" to a resource group that has no existing tags. + + + - + + + -------------------------- Example 2: Add tags to a resource group -------------------------- - + PS C:\> PS C:\>$tags = (Get-AzureResourceGroup -Name ContosoRG).Tags @@ -7469,25 +8575,35 @@ Tags: FY2016 This command adds a "Status" tag with a value of "Approved" and an "FY2016" tag to a resource group that has existing tags. Because the tags you specify replace the existing tags, you must include the existing tags in the new tag collection or you will lose them. + + + The first command gets all existing tags of the ContosoRG resource group. It uses the Get-AzureResourceGroup cmdlet to get the ContosoRG resource group and then uses the dot method to get the value of its Tags property. It saves the existing tags in a $tags variable.The second command gets the tags in the $tags variable.The third command uses a "+=" operator to add the Status and FY2016 tags to the collection (array) of tags in the $tags variable.The fourth command uses the Tag parameter of Set-AzureResourceGroup to apply the tags in the $tags variable to the ContosoRG resource group.The fifth command shows the effect of the change. It gets all of the tags applied to the ContosoRG resource group. The output shows that the resource group has the Department tag and the two new tags, Status and FY2015. - The first command gets all existing tags of the ContosoRG resource group. It uses the Get-AzureResourceGroup cmdlet to get the ContosoRG resource group and then uses the dot method to get the value of its Tags property. It saves the existing tags in a $tags variable.The second command gets the tags in the $tags variable.The third command uses a "+=" operator to add the Status and FY2016 tags to the collection (array) of tags in the $tags variable.The fourth command uses the Tag parameter of Set-AzureResourceGroup to apply the tags in the $tags variable to the ContosoRG resource group.The fifth command shows the effect of the change. It gets all of the tags applied to the ContosoRG resource group. The output shows that the resource group has the Department tag and the two new tags, Status and FY2015. + + + -------------------------- Example 3: Delete all tags -------------------------- - + PS C:\> PS C:\>Set-AzureResourceGroup -Name ContosoRG -Tag @{} This command deletes all tags from the ContosoRG resource group. It uses the Tag parameter with an empty hash table value. + + + - + + + @@ -7499,7 +8615,7 @@ Tags: - + Stop-AzureResourceGroupDeployment @@ -7514,7 +8630,7 @@ Tags: - + This is the Description section The Stop-AzureResourceGroupDeployment cmdlet cancels an Azure resource group deployment that is started, but not completed. To stop a deployment, the deployment must have an incomplete provisioning state, such as Provisioning, and not a completed state, such as Provisioned or Failed.An Azure resource is a user-managed entity, such as a website, database, or database server. A resource group is a collection of resources that are deployed as a unit. To deploy a resource group, use the New-AzureResourceGroup or New-AzureResourceGroupDeployment cmdlets. The New-AzureResource cmdlet creates a new resource, but it does not trigger a resource group deployment operation that this cmdlet can stop.This cmdlet stops only one running deployment. Use the Name parameter to stop a particular deployment. If you omit the Name parameter, Stop-AzureResourceGroupDeployment searches for a running deployment and stops it, but if it finds more than one running deployment, the command fails.By default, Stop-AzureResourceGroupDeployment prompts you for confirmation. To suppress the prompt, use the Force parameter. @@ -7604,52 +8720,63 @@ Tags: None - - - - + + - + + + + None or Boolean - - - - + + - - - + + + + + + + + + + -------------------------- Example 1: Stop a resource group deployment -------------------------- - + PS C:\> PS C:\>New-AzureResourceGroup -ResourceGroupName ContosoRG01 -GalleryTemplateName WebHosting -TemplateParameterFile .\HostingTemplateValues PS C:\>Stop-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -Force This example shows how to use the Stop-AzureResourceGroupDeployment command to stop a deployment in progress. The first command uses the New-AzureResourceGroup cmdlet to create and deploy a new resource group. + + + Immediately after pressing enter, you remember that you need to get manager approval before deploying new resources. The second command uses the Stop-AzureResourceGroupDeployment cmdlet to stop the deployment before it completes. The command uses the ResourceGroupName parameter to identify the deployment. It also uses the Force parameter to suppress the confirmation prompt. - Immediately after pressing enter, you remember that you need to get manager approval before deploying new resources. The second command uses the Stop-AzureResourceGroupDeployment cmdlet to stop the deployment before it completes. The command uses the ResourceGroupName parameter to identify the deployment. It also uses the Force parameter to suppress the confirmation prompt. + + + -------------------------- Example 2: Stop a resource group deployment by deployment name -------------------------- - + PS C:\> PS C:\>New-AzureResourceGroup -ResourceGroupName ContosoRG01 -GalleryTemplateName WebHosting -TemplateParameterFile .\HostingTemplateValues -DeploymentName DeployHost @@ -7659,10 +8786,15 @@ PS C:\>Stop-AzureResourceGroupDeployment -ResourceGroupName ContosoRG01 -Name True This example shows how to use the Name (alias DeploymentName) parameter of the Stop-AzureResourceGroupDeployment command to stop a deployment in progress. + + + The first command uses the New-AzureResourceGroup cmdlet to create and deploy a new "ContosoRG01" resource group with a "DeployHost" deployment. The second command uses the New-AzureResourceGroupDeployment to add the "DeployPortal" deployment to the "ContosoRG01" resource group.The third command uses the Stop-AzureResourceGroupDeployment cmdlet to stop the "DeployPortal" deployment before it completes. The command uses the ResourceGroupName parameter to identify the resource group and the Name parameter to specify the deployment name. Because the command include the Passthru parameter, the cmdlet returns a value of True ($True) to indicate that the deployment stopped. - The first command uses the New-AzureResourceGroup cmdlet to create and deploy a new "ContosoRG01" resource group with a "DeployHost" deployment. The second command uses the New-AzureResourceGroupDeployment to add the "DeployPortal" deployment to the "ContosoRG01" resource group.The third command uses the Stop-AzureResourceGroupDeployment cmdlet to stop the "DeployPortal" deployment before it completes. The command uses the ResourceGroupName parameter to identify the resource group and the Name parameter to specify the deployment name. Because the command include the Passthru parameter, the cmdlet returns a value of True ($True) to indicate that the deployment stopped. + + + @@ -7674,7 +8806,7 @@ True - + Test-AzureResourceGroupTemplate @@ -7689,7 +8821,7 @@ True - + This is the Description section The Test-AzureResourceGroupTemplate cmdlet verifies the validity of a resource group template, its parameters, and parameter values. It returns errors that it finds. Otherwise, it does not return any output.To specify a template, use the GalleryTemplateIdentity or TemplateFile parameters. To specify the template parameter values, use the TemplateParameterFile or TemplateParameterObject parameters, or use the template parameters that are added to the command dynamically when you specify the template. To get the parameters, just type a minus sign (-) to indicate a parameter name and press the TAB key to trigger tab-completion. If you miss a required parameter, the cmdlet prompts you for the value. Parameter values typed at the command line take precedence over values in a template parameter object or file.A resource group template is a JSON-based model of a resource group for a complex cloud-based service, such as a web portal. You can use a resource group template to create a resource group or resource group deployment. The template includes parameter (placeholders) for configurable property values, likes names and sizes. You can find many templates in the Azure template gallery (Get-AzureResourceGroupGalleryTemplate) and you can create your own templates. @@ -7741,9 +8873,16 @@ True Hashtable - GalleryTemplateIdentity + TemplateFile - Specifies the identity of the gallery template to test. Enter an Identity value not a file name. Wildcards are not permitted.To get the identity of a gallery template, use the Get-AzureResourceGroupGalleryTemplate cmdlet. To test a gallery template that is saved as a JSON file on disk, use the TemplateFile parameter. + Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + + StorageAccountName + + Specifies the name of a storage account in the subscription. Test-AzureResourceGroupGalleryTemplate saves the contents of local template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a storage account that it designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. String @@ -7772,16 +8911,9 @@ True Hashtable - TemplateFile - - Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - - StorageAccountName + GalleryTemplateIdentity - Specifies the name of a storage account in the subscription. Test-AzureResourceGroupGalleryTemplate saves the contents of local template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a storage account that it designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + Specifies the identity of the gallery template to test. Enter an Identity value not a file name. Wildcards are not permitted.To get the identity of a gallery template, use the Get-AzureResourceGroupGalleryTemplate cmdlet. To test a gallery template that is saved as a JSON file on disk, use the TemplateFile parameter. String @@ -7841,16 +8973,9 @@ True String - TemplateFile - - Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. - - String - - - StorageAccountName + TemplateUri - Specifies the name of a storage account in the subscription. Test-AzureResourceGroupGalleryTemplate saves the contents of local template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a storage account that it designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. String @@ -7910,9 +9035,16 @@ True String - TemplateUri + TemplateFile - Specifies the URI of a JSON template file. This file can be a custom template or a gallery template that is saved as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet. + Specifies the path and file name of a JSON template file on disk. This can be a custom template or a gallery template that is saved to disk as a JSON file, such as by using the Save-AzureResourceGroupGalleryTemplate cmdlet.To use this parameter, the subscription must include a storage account where the cmdlet can save the template. By default, this cmdlet uses the current storage account in the subscription, but you can use the StorageAccountName parameter to specify an alternate storage account. If you do not specify a storage account and the subscription does not have a storage account that is designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. + + String + + + StorageAccountName + + Specifies the name of a storage account in the subscription. Test-AzureResourceGroupGalleryTemplate saves the contents of local template files in the storage account. This parameter is optional, but a storage account is required when you use the TemplateFile parameter.The default value is the current storage account in the subscription. If you do not specify a storage account and the subscription does not have a storage account that it designated as "current," the command fails.To create a storage account, use the Switch-AzureMode cmdlet to switch to the Azure module, and then use the New-AzureStorageAccount cmdlet. To make the a storage account the "current storage account" for the subscription, use the CurrentStorageAccountName parameter of the Set-AzureSubscription cmdlet. String @@ -8075,75 +9207,96 @@ True None - - - - + + - + + + + Microsoft.Azure.Commands.ResourceManager.Models.PSResourceManagerError - - - - + + - - - + + + + + + + + + + -------------------------- Example 1: Test a custom template file -------------------------- - + PS C:\> PS C:\>Test-AzureResourceGroupTemplate -ResourceGroupName ContosoLabsRG -TemplateFile $home\Documents\Azure\Templates\CustomHostingPlan.json -TemplateParameterFile $home\Documents\Azure\Templates\HostingPlanParms.jsonPS C:> This command tests a custom template file, CustomHostingPlan.json, and a template parameter file, HostingPlanParms.json. Because the cmdlet does not find any errors, it does not return any output. + + + - + + + -------------------------- Example 2: Test a parameter object for a gallery template -------------------------- - + PS C:\> PS C:\>Test-AzureResourceGroupTemplate -ResourceGroupName ContosoLabsRG -GalleryTemplateIdentity Microsoft.WebSite.0.1.0-preview1 -TemplateParameterObject @{siteName = "ContosoSite";hostingPlanName="ContosoHosting";siteMode="Limited";computeMode="Shared";subscriptionID='9b14a38b-4b93-4554-8bb0-3cefb47a4e1f';resourceGroup='ContosoLabsRG'}cmdlet Test-AzureResourceGroupTemplate at command pipeline position 1Supply values for the following parameters:(Type !? for Help.)siteLocation:"South Central US"Code : InvalidTemplateMessage : Deployment template validation failed: 'The template parameters 'subscriptionID' are not valid; they are not present in the original template and can therefore not be provided at deployment time. The only supportedparameters for this template are 'siteName, hostingPlanName, siteMode, computeMode, siteLocation, subscriptionId, resourceGroup'.'.a PS C:\>Test-AzureResourceGroupTemplate -ResourceGroupName ContosoLabsRG -GalleryTemplateIdentity Microsoft.WebSite.0.1.0-preview1 -TemplateParameterObject @{siteName = "ContosoSite";hostingPlanName="ContosoHosting";siteMode="Limited";computeMode="Shared";subscriptionId='9b14a38b-4b93-4554-8bb0-3cefb47a4e1f';resourceGroup='ContosoLabsRG';siteLocation='South Central US'} This command tests gallery template and a hash table of parameter names and values. The command uses the GalleryTemplateIdentity parameter to specify the identity of the gallery template. It uses the TemplateParameterObject cmdlet to specify the template parameters and their values. + + + In this case, the template parameter hash table is missing the siteLocation parameter. The cmdlet recognizes the omission and prompts for a value. However, the cmdlet still returns an error, because the subscriptionId parameter in hash table is misspelled as "subscriptionID".In the second command, the errors are corrected, and the cmdlet does not return any output. - In this case, the template parameter hash table is missing the siteLocation parameter. The cmdlet recognizes the omission and prompts for a value. However, the cmdlet still returns an error, because the subscriptionId parameter in hash table is misspelled as "subscriptionID".In the second command, the errors are corrected, and the cmdlet does not return any output. + + + -------------------------- Example 3: Test a template with dynamic parameter values -------------------------- - + PS C:\> PS C:\>Test-AzureResourceGroupTemplate -ResourceGroupName ContosoLabsRG -TemplateFile C:\Users\juneb\Documents\Azure\Templates\NewHostingPlan.json -siteName ContosoDev -siteMode Limited -computeMode Shared -siteLocation 'South Central US' -sku FreeCode : InvalidTemplateMessage : Deployment template validation failed: 'The template parameter 'hostingPlanName' is not valid.'. This command uses the Test-AzureResourceGroupTemplate cmdlet to test a custom template. Instead of providing the template parameter names, we used the feature that adds the template parameters to command dynamically. + + + To use the dynamic parameters, type a minus sign (-) to indicate a parameter name and press the TAB key. The tab-completion feature supplies parameter name. To cycle through all of the parameter names, press the TAB key repeatedly. In this case, we used the dynamic parameters to specify all of the parameter names at the command line.In this case, even though the template parameter names and values are correct, the Parameters section in the custom template is missing the hostingPlan parameter that is specified in the Resource section of the template. The cmdlet detects and reports this error. - To use the dynamic parameters, type a minus sign (-) to indicate a parameter name and press the TAB key. The tab-completion feature supplies parameter name. To cycle through all of the parameter names, press the TAB key repeatedly. In this case, we used the dynamic parameters to specify all of the parameter names at the command line.In this case, even though the template parameter names and values are correct, the Parameters section in the custom template is missing the hostingPlan parameter that is specified in the Resource section of the template. The cmdlet detects and reports this error. + + + @@ -8155,4 +9308,211 @@ PS C:\>Test-AzureResourceGroupTemplate -ResourceGroupName ContosoLabsRG -Gall + + + + Get-AzureResourceGroupLog + + Gets the deployment log for a resource group + + + + + + + + + + This is the Description section + The Get-AzureResourceGroupLog cmdlet gets the deployment log entries for a resource group. The entries are very useful for many IT tasks, including maintaining a transaction history, performing statistical analyses, and debugging.By default, Get-AzureResourceGroupLog gets the log entries of the currently running or most recently completed deployment for the resource group, but you can use the cmdlet parameters to get the entries for a particular deployment by name or all deployments. + + + + + + Name + + Specifies the name of a resource group. This parameter is required. Enter the name of one resource group in each command. + + string + + string + + + + + + All + + Gets all deployment log entries for the resource group. + + switchparameter + + switchparameter + + + + + + DeploymentName + + Gets the log entries for the deployments with the specified name.To get the names of deployments for a resource group, use the Get-AzureResourceGroupDeployment cmdlet. To specify a deployment name when deploying resources, use the DeploymentName parameter of New-AzureResourceGroup or the Name parameter (alias DeploymentName) of the New-AzureResourceGroupDeployment cmdlets. + + string + + string + + + + + + + + + None + + + + + + + + + + + + + Microsoft.Azure.Commands.ResourceManagement.Models.PSDeploymentEventData + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Get the log entries for the most recent deployment -------------------------- + + PS C:\> + + PS C:\>Get-AzureResourceGroupLog -Name ContosoRG01 +Authorization : + Scope : /subscriptions/9b14a38b-4b93-4554-8bb0-3cefb47a4e1f/resourcegroups/ContosoLabsRG/deployments/LabDeploy02 + Action : Microsoft.Resources/subscriptions/resourcegroups/deployments/write + Role : Subscription Admin + Condition : +ResourceUri : /subscriptions/9b14a38b-4b93-4554-8bb0-3cefb47a4e1f/resourcegroups/ContosoLabsRG/deployments/LabDeploy02 +SubscriptionId : 9b14a38b-4b93-4554-8bb0-3cefb47a4e1f +Timestamp(UTC) : 3/21/2014 9:17:33 PM +OperationName : Update deployment +OperationId : 4877e67f-868b-4b3e-8778-4a40ee3a1af2 +Status : Succeeded +SubStatus : Created +Caller : live.com#auxtm702@live.com +CorrelationId : 4877e67f-868b-4b3e-8778-4a40ee3a1af2Description : +HttpRequest : + ClientId : + Method : PUT + Url : + ClientIpAddress : 131.107.192.39 +Level : Informational +ResourceGroupName : ContosoLabsRG +ResourceProvider : Microsoft Resources +EventSource : Microsoft Resources +Properties : + statusCode : Created + + This command gets the log entries of the currently running or most recently completed deployment of the ContosoRG01 resource group. In this case, the log entries records the addition of a new web site. + + + + + + + + + + + + + + -------------------------- Example 2: Get log entries by deployment name -------------------------- + + PS C:\> + + PS C:\>(Get-AzureResourceGroupDeployment -ResourceGroupName ContosoLabsRG).DeploymentNameMicrosoft.WebSiteSQLDatabase.0.1.0-preview1LabDeploy02LabDeploy03 +PS C:\>Get-AzureResourceGroupLog -Name ContosoLabsRG -DeploymentName LabDeploy02 + + These commands get the log entries of the LabDeploy02 deployment of the ContosoLabsRG resource group. + + + The first command uses the Get-AzureResourceGroupDeployment cmdlet to get all deployments for the ContosoLabsRG resource group. It uses the dot method to get the DeploymentName property of each deployment. Notice that the name of the first deployment is a template name, which is the default value when you do not specify a deployment name.The second command uses the Get-AzureResourceGroupLog cmdlet to get the log entries for the LabDeploy02 deployment. + + + + + + + + + + + -------------------------- Example 3: Get all failing log entries for a resource group -------------------------- + + PS C:\> + + PS C:\>Get-AzureResourceGroupLog -Name ContosoRG01 -All | Where-Object Status -eq Failed + + This command gets all log entries of failed operations for the ContosoRG01 resource group. You might use a command like this for debugging. + + + The first command uses the All parameter of the Get-AzureResourceGroupLog to get log entries for all deployments of the resource group. Then it pipes the log entries to the Where-Object cmdlet, which selects only entries that have a value of Failed for the Status property + + + + + + + + + + + -------------------------- Example 4: Get the logs of the most recent deployment for each resource group -------------------------- + + PS C:\> + + PS C:\>Get-AzureResourceGroup | Get-AzureResourceGroupLog + + This command gets the log entries for the most recent deployment of each resource group in the subscription. The command uses the Get-AzureResourceGroup cmdlet to get all resource groups in the subscription. It pipes the resources groups to the Get-AzureResourceGroupLog which gets the log entries for the last deployment of each resource group. + + + + + + + + + + + + + + + + Online Version: + http://go.microsoft.com/fwlink/?LinkID=393459 + + + \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources/Models.ActiveDirectory/ActiveDirectoryBaseCmdlet.cs b/src/ResourceManager/Resources/Commands.Resources/Models.ActiveDirectory/ActiveDirectoryBaseCmdlet.cs index d181789e1e3e..3ce8593341ae 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Models.ActiveDirectory/ActiveDirectoryBaseCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.Resources/Models.ActiveDirectory/ActiveDirectoryBaseCmdlet.cs @@ -27,7 +27,7 @@ public ActiveDirectoryClient ActiveDirectoryClient { if (activeDirectoryClient == null) { - activeDirectoryClient = new ActiveDirectoryClient(CurrentContext); + activeDirectoryClient = new ActiveDirectoryClient(Profile.Context); } return activeDirectoryClient; diff --git a/src/ResourceManager/Resources/Commands.Resources/Models.ActiveDirectory/ActiveDirectoryClient.cs b/src/ResourceManager/Resources/Commands.Resources/Models.ActiveDirectory/ActiveDirectoryClient.cs index 17730f3f695f..979c90f584c9 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Models.ActiveDirectory/ActiveDirectoryClient.cs +++ b/src/ResourceManager/Resources/Commands.Resources/Models.ActiveDirectory/ActiveDirectoryClient.cs @@ -12,13 +12,10 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.Azure.Graph.RBAC; using Microsoft.Azure.Graph.RBAC.Models; -using Microsoft.WindowsAzure; -using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions; -using Microsoft.Azure.Common.Extensions.Authentication; -using Microsoft.Azure.Common.Extensions.Models; using System; using System.Collections.Generic; using System.Diagnostics; diff --git a/src/ResourceManager/Resources/Commands.Resources/Models.Authorization/AuthorizationClient.cs b/src/ResourceManager/Resources/Commands.Resources/Models.Authorization/AuthorizationClient.cs index abfa4fefdb75..52058b30af38 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Models.Authorization/AuthorizationClient.cs +++ b/src/ResourceManager/Resources/Commands.Resources/Models.Authorization/AuthorizationClient.cs @@ -16,13 +16,13 @@ using Microsoft.Azure.Management.Authorization; using Microsoft.Azure.Management.Authorization.Models; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Utilities.Common; using System; using System.Collections.Generic; using System.Linq; using ProjectResources = Microsoft.Azure.Commands.Resources.Properties.Resources; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.Azure.Commands.Resources.Models.Authorization { diff --git a/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/GalleryTemplatesClient.cs b/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/GalleryTemplatesClient.cs index d1946901f9b6..81d0a72094c7 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/GalleryTemplatesClient.cs +++ b/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/GalleryTemplatesClient.cs @@ -26,11 +26,11 @@ using Microsoft.Azure.Gallery.Models; using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Newtonsoft.Json; using ProjectResources = Microsoft.Azure.Commands.Resources.Properties.Resources; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Hyak.Common; using Microsoft.Azure.Common.OData; diff --git a/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceClient.cs b/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceClient.cs index 68228bb5b593..37fa397cb582 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceClient.cs +++ b/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceClient.cs @@ -24,7 +24,7 @@ using Microsoft.Azure.Management.Resources.Models; using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Newtonsoft.Json; using ProjectResources = Microsoft.Azure.Commands.Resources.Properties.Resources; @@ -32,7 +32,7 @@ using Microsoft.Azure.Management.Authorization.Models; using Microsoft.Azure.Commands.Resources.Models.Authorization; using System.Diagnostics; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Hyak.Common; namespace Microsoft.Azure.Commands.Resources.Models diff --git a/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceWithParameterBaseCmdlet.cs b/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceWithParameterBaseCmdlet.cs index bed68542d78a..07585cd05981 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceWithParameterBaseCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourceWithParameterBaseCmdlet.cs @@ -22,7 +22,7 @@ using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.Azure.Commands.Resources.Models; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Hyak.Common; namespace Microsoft.Azure.Commands.Resources diff --git a/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourcesBaseCmdlet.cs b/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourcesBaseCmdlet.cs index f290bc29771a..9e1f3721ecc8 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourcesBaseCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourcesBaseCmdlet.cs @@ -13,7 +13,10 @@ // ---------------------------------------------------------------------------------- using Microsoft.Azure.Commands.Resources.Models.Authorization; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Utilities.Common; +using System.IO; namespace Microsoft.Azure.Commands.Resources.Models { @@ -31,7 +34,7 @@ public ResourcesClient ResourcesClient { if (resourcesClient == null) { - resourcesClient = new ResourcesClient(CurrentContext) + resourcesClient = new ResourcesClient(Profile.Context) { VerboseLogger = WriteVerboseWithTimestamp, ErrorLogger = WriteErrorWithTimestamp, @@ -50,7 +53,12 @@ public GalleryTemplatesClient GalleryTemplatesClient { if (galleryTemplatesClient == null) { - galleryTemplatesClient = new GalleryTemplatesClient(CurrentContext); + if(Profile == null) + { + Profile = new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile)); + } + + galleryTemplatesClient = new GalleryTemplatesClient(Profile.Context); } return galleryTemplatesClient; } @@ -64,7 +72,7 @@ public AuthorizationClient PoliciesClient { if (policiesClient == null) { - policiesClient = new AuthorizationClient(CurrentContext); + policiesClient = new AuthorizationClient(Profile.Context); } return policiesClient; } diff --git a/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourcesExtensions.cs b/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourcesExtensions.cs index 1d8f98b411f2..f93ed1a12ae2 100644 --- a/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourcesExtensions.cs +++ b/src/ResourceManager/Resources/Commands.Resources/Models.ResourceGroups/ResourcesExtensions.cs @@ -25,7 +25,7 @@ using Newtonsoft.Json; using Microsoft.Azure.Commands.Resources.Models.Authorization; using Microsoft.Azure.Management.Authorization.Models; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.Azure.Commands.Resources.Models { diff --git a/src/ResourceManager/Resources/Commands.Resources/RoleAssignments/GetAzureRoleAssignmentCommand.cs b/src/ResourceManager/Resources/Commands.Resources/RoleAssignments/GetAzureRoleAssignmentCommand.cs index 89285126a0f3..32b776dcc361 100644 --- a/src/ResourceManager/Resources/Commands.Resources/RoleAssignments/GetAzureRoleAssignmentCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/RoleAssignments/GetAzureRoleAssignmentCommand.cs @@ -210,7 +210,7 @@ public override void ExecuteCmdlet() ResourceGroupName = ResourceGroupName, ResourceName = ResourceName, ResourceType = ResourceType, - Subscription = string.IsNullOrEmpty(ResourceGroupName) ? null : CurrentContext.Subscription.Id.ToString() + Subscription = string.IsNullOrEmpty(ResourceGroupName) ? null : Profile.Context.Subscription.Id.ToString() } }; diff --git a/src/ResourceManager/Resources/Commands.Resources/RoleAssignments/NewAzureRoleAssignmentCommand.cs b/src/ResourceManager/Resources/Commands.Resources/RoleAssignments/NewAzureRoleAssignmentCommand.cs index ebceb5d7a2f0..6621b8aa3ca2 100644 --- a/src/ResourceManager/Resources/Commands.Resources/RoleAssignments/NewAzureRoleAssignmentCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/RoleAssignments/NewAzureRoleAssignmentCommand.cs @@ -159,7 +159,7 @@ public override void ExecuteCmdlet() ResourceGroupName = ResourceGroupName, ResourceName = ResourceName, ResourceType = ResourceType, - Subscription = CurrentContext.Subscription.Id.ToString(), + Subscription = Profile.Context.Subscription.Id.ToString(), } }; diff --git a/src/ResourceManager/Resources/Commands.Resources/RoleAssignments/RemoveAzureRoleAssignmentCommand.cs b/src/ResourceManager/Resources/Commands.Resources/RoleAssignments/RemoveAzureRoleAssignmentCommand.cs index 4bd28130aec6..4b74ca69472b 100644 --- a/src/ResourceManager/Resources/Commands.Resources/RoleAssignments/RemoveAzureRoleAssignmentCommand.cs +++ b/src/ResourceManager/Resources/Commands.Resources/RoleAssignments/RemoveAzureRoleAssignmentCommand.cs @@ -168,7 +168,7 @@ public override void ExecuteCmdlet() ResourceGroupName = ResourceGroupName, ResourceName = ResourceName, ResourceType = ResourceType, - Subscription = CurrentContext.Subscription.Id.ToString() + Subscription = Profile.Context.Subscription.Id.ToString() } }; diff --git a/src/ResourceManager/Resources/Commands.Resources/packages.config b/src/ResourceManager/Resources/Commands.Resources/packages.config index 20bd02c78906..d3ad5f188c8f 100644 --- a/src/ResourceManager/Resources/Commands.Resources/packages.config +++ b/src/ResourceManager/Resources/Commands.Resources/packages.config @@ -1,18 +1,18 @@  - - + + + - - - + + - + - + \ No newline at end of file diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj b/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj index dfda4645758f..bcffd49df41c 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj +++ b/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj @@ -43,16 +43,17 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + + False + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll ..\..\..\packages\Microsoft.Azure.Gallery.2.6.0-preview\lib\net40\Microsoft.Azure.Gallery.dll @@ -64,18 +65,18 @@ ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5486.28526-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll + ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll - ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5486.28526-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll + ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -89,8 +90,9 @@ False ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.5.0.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SqlTestsBase.cs b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SqlTestsBase.cs index f36e67e07d08..82e03b9b72cd 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SqlTestsBase.cs +++ b/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/SqlTestsBase.cs @@ -18,7 +18,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Management.Storage; using Microsoft.Azure.Test; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.Azure.Commands.ScenarioTest.SqlTests { diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/packages.config b/src/ResourceManager/Sql/Commands.Sql.Test/packages.config index 42d2cb91ae76..44d166b27699 100644 --- a/src/ResourceManager/Sql/Commands.Sql.Test/packages.config +++ b/src/ResourceManager/Sql/Commands.Sql.Test/packages.config @@ -1,20 +1,20 @@  - - + + + - - - + + - + - + diff --git a/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj b/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj index ee3d99a36601..65e8ed5cab43 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj +++ b/src/ResourceManager/Sql/Commands.Sql/Commands.Sql.csproj @@ -89,19 +89,19 @@ False - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll False - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll False - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll False @@ -120,12 +120,12 @@ ..\..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -135,9 +135,9 @@ False ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.1.8.0.0\lib\net35-full\Microsoft.WindowsAzure.Configuration.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll False diff --git a/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/SqlDatabaseSecurityCmdletBase.cs b/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/SqlDatabaseSecurityCmdletBase.cs index e4e0314b69c8..0a627ad138bc 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/SqlDatabaseSecurityCmdletBase.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Security/Cmdlet/SqlDatabaseSecurityCmdletBase.cs @@ -73,7 +73,7 @@ protected virtual void SendPolicy(AuditingPolicy policy) { } /// public override void ExecuteCmdlet() { - PolicyHandler = new SqlClient(CurrentContext.Subscription); + PolicyHandler = new SqlClient(Profile, Profile.Context.Subscription); AuditingPolicy policy = this.GetPolicy(); this.UpdatePolicy(policy); this.SendPolicy(policy); diff --git a/src/ResourceManager/Sql/Commands.Sql/Security/Services/EndpointsCommunicator.cs b/src/ResourceManager/Sql/Commands.Sql/Security/Services/EndpointsCommunicator.cs index cfd90d3c7c12..7dc75c742c2b 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Security/Services/EndpointsCommunicator.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Security/Services/EndpointsCommunicator.cs @@ -14,8 +14,8 @@ using Microsoft.Azure.Commands.Sql.Security.Model; using Microsoft.Azure.Commands.Sql.Services; -using Microsoft.Azure.Common.Extensions; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.Azure.Management.Resources; using Microsoft.Azure.Management.Resources.Models; using Microsoft.Azure.Management.Sql; @@ -45,9 +45,12 @@ public class EndpointsCommunicator private static AzureSubscription Subscription {get ; set; } private static ResourceManagementClient ResourcesClient { get; set; } + + private AzureProfile Profile { get; set; } - public EndpointsCommunicator(AzureSubscription subscription) + public EndpointsCommunicator(AzureProfile profile, AzureSubscription subscription) { + Profile = profile; if (subscription != Subscription) { Subscription = subscription; @@ -149,7 +152,7 @@ public void SetServerSecurityPolicy(string resourceGroupName, string serverName, public string GetStorageResourceGroup(string storageAccountName) { - ResourceManagementClient resourcesClient = GetCurrentResourcesClient(); + ResourceManagementClient resourcesClient = GetCurrentResourcesClient(Profile); ResourceListResult res = resourcesClient.Resources.List(new ResourceListParameters { @@ -181,11 +184,11 @@ public string GetStorageResourceGroup(string storageAccountName) /// /// Gets the storage table endpoint the given storage account /// - public string GetStorageTableEndpoint(string storageAccountName) + public string GetStorageTableEndpoint(AzureProfile profile, string storageAccountName) { try { - List endpoints = new List(GetCurrentStorageClient().StorageAccounts.Get(storageAccountName).StorageAccount.Properties.Endpoints); + List endpoints = new List(GetCurrentStorageClient(profile).StorageAccounts.Get(storageAccountName).StorageAccount.Properties.Endpoints); return endpoints.Find(u => u.AbsoluteUri.Contains(".table.")).AbsoluteUri; } catch @@ -194,17 +197,17 @@ public string GetStorageTableEndpoint(string storageAccountName) } } - private StorageManagementClient GetCurrentStorageClient() + private StorageManagementClient GetCurrentStorageClient(AzureProfile profile) { if(StorageClient == null) - StorageClient = AzureSession.ClientFactory.CreateClient(Subscription, AzureEnvironment.Endpoint.ServiceManagement); + StorageClient = AzureSession.ClientFactory.CreateClient(profile, Subscription, AzureEnvironment.Endpoint.ServiceManagement); return StorageClient; } - private ResourceManagementClient GetCurrentResourcesClient() + private ResourceManagementClient GetCurrentResourcesClient(AzureProfile profile) { if (ResourcesClient == null) - ResourcesClient = AzureSession.ClientFactory.CreateClient(Subscription, AzureEnvironment.Endpoint.ResourceManager); + ResourcesClient = AzureSession.ClientFactory.CreateClient(profile, Subscription, AzureEnvironment.Endpoint.ResourceManager); return ResourcesClient; } @@ -218,7 +221,7 @@ private SqlManagementClient GetCurrentSqlClient(String clientRequestId) // Get the SQL management client for the current subscription if (SqlClient == null) { - SqlClient = AzureSession.ClientFactory.CreateClient(Subscription, AzureEnvironment.Endpoint.ResourceManager); + SqlClient = AzureSession.ClientFactory.CreateClient(Profile, Subscription, AzureEnvironment.Endpoint.ResourceManager); SqlClient.HttpClient.DefaultRequestHeaders.Add(Constants.ClientSessionIdHeaderName, Util.GenerateTracingId()); } SqlClient.HttpClient.DefaultRequestHeaders.Remove(Constants.ClientRequestIdHeaderName); diff --git a/src/ResourceManager/Sql/Commands.Sql/Security/Services/SqlClient.cs b/src/ResourceManager/Sql/Commands.Sql/Security/Services/SqlClient.cs index 377978ed9ed3..65a4575a4e47 100644 --- a/src/ResourceManager/Sql/Commands.Sql/Security/Services/SqlClient.cs +++ b/src/ResourceManager/Sql/Commands.Sql/Security/Services/SqlClient.cs @@ -13,7 +13,7 @@ // ---------------------------------------------------------------------------------- using Microsoft.Azure.Commands.Sql.Security.Model; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.Azure.Management.Sql.Models; using System; using System.Collections.Generic; @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Sql.Security.Services { /// - /// The SqlClient class is resposible for the mapping of data between two models: + /// The SqlClient class is responsible for the mapping of data between two models: /// The communication model as defined by the endpoint APIs and the cmdlet model that is defined by the /// AuditingPolicy class. This class knows how to wrap a policy in its communication model and return /// a policy in its cmdlet model and vice versa (i.e., unwrapping). @@ -32,28 +32,31 @@ public class SqlClient { private AzureSubscription Subscription { get; set; } + private AzureProfile Profile { get; set; } + private EndpointsCommunicator Communicator { get; set; } - // cacheing the fetched properties to prevent constly network interaction in cases it is not needed + // Caching the fetched properties to prevent costly network interaction in cases it is not needed private DatabaseSecurityPolicyProperties FetchedProperties; // In cases when storage is not needed and not provided, theres's no need to perform storage related network interaction that may fail public bool IgnoreStorage { get; set; } - public SqlClient(AzureSubscription subscription) + public SqlClient(AzureProfile profile, AzureSubscription subscription) { + Profile = profile; Subscription = subscription; - Communicator = new EndpointsCommunicator(subscription); + Communicator = new EndpointsCommunicator(profile, subscription); IgnoreStorage = false; } /// /// Returns the storage account name of the given database server /// - /// The name of the resouce group to which the server belongs + /// The name of the resource group to which the server belongs /// The server's name /// The Id to use in the request - /// The name of the storage accunt, null if it doesn't exist + /// The name of the storage account, null if it doesn't exist public string GetServerStorageAccount(string resourceGroupName, string serverName, string requestId) { return Communicator.GetServerSecurityPolicy(resourceGroupName, serverName, requestId).Properties.StorageAccountName; @@ -258,7 +261,7 @@ private void UpdateStorage(AuditingPolicy policy, DatabaseSecurityPolicyProperti throw new Exception(string.Format(Microsoft.Azure.Commands.Sql.Properties.Resources.NoStorageAccountWhenConfiguringAuditingPolicy)); } - // no need to do time consuming http inteaction to fetch these properties if the storage account was not changed + // no need to do time consuming http interaction to fetch these properties if the storage account was not changed if (properties.StorageAccountName == this.FetchedProperties.StorageAccountName) { properties.StorageAccountResourceGroupName = this.FetchedProperties.StorageAccountResourceGroupName; @@ -269,7 +272,7 @@ private void UpdateStorage(AuditingPolicy policy, DatabaseSecurityPolicyProperti { properties.StorageAccountSubscriptionId = Subscription.Id.ToString(); properties.StorageAccountResourceGroupName = Communicator.GetStorageResourceGroup(properties.StorageAccountName); - properties.StorageTableEndpoint = Communicator.GetStorageTableEndpoint(properties.StorageAccountName); + properties.StorageTableEndpoint = Communicator.GetStorageTableEndpoint(Profile, properties.StorageAccountName); } if (!IgnoreStorage) diff --git a/src/ResourceManager/Sql/Commands.Sql/packages.config b/src/ResourceManager/Sql/Commands.Sql/packages.config index 2f6f80a9e08f..10ad1e98c02b 100644 --- a/src/ResourceManager/Sql/Commands.Sql/packages.config +++ b/src/ResourceManager/Sql/Commands.Sql/packages.config @@ -1,9 +1,9 @@  - - + + + - @@ -12,10 +12,10 @@ - + - + diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Commands.StreamAnalytics.Test.csproj b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Commands.StreamAnalytics.Test.csproj index 27ae7dc6ccdc..4b25619c1d55 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Commands.StreamAnalytics.Test.csproj +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Commands.StreamAnalytics.Test.csproj @@ -40,44 +40,46 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll ..\..\..\packages\Microsoft.Azure.Gallery.2.6.0-preview\lib\net40\Microsoft.Azure.Gallery.dll - ..\..\..\packages\Microsoft.Azure.Management.Authorization.0.16.0-preview\lib\net40\Microsoft.Azure.Management.Authorization.dll + False + ..\..\..\packages\Microsoft.Azure.Management.Authorization.0.17.0-preview\lib\net40\Microsoft.Azure.Management.Authorization.dll ..\..\..\packages\Microsoft.Azure.Management.StreamAnalytics.0.14.0-preview\lib\net40\Microsoft.Azure.Management.StreamAnalytics.dll - ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll + False + ..\..\..\packages\Microsoft.Azure.Management.Resources.2.13.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - + False - ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5486.28526-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll + ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll False - ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5486.28526-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll + ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll - - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -91,8 +93,9 @@ False ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.5.0.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/ScenarioTests/StreamAnalyticsScenarioTestsBase.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/ScenarioTests/StreamAnalyticsScenarioTestsBase.cs index e2f357412b54..4ec03b1c5c87 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/ScenarioTests/StreamAnalyticsScenarioTestsBase.cs +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/ScenarioTests/StreamAnalyticsScenarioTestsBase.cs @@ -12,7 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Microsoft.Azure.Gallery; using Microsoft.Azure.Management.Authorization; using Microsoft.Azure.Management.Resources; diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/packages.config b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/packages.config index aa6737e3b631..248be2df7655 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/packages.config +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/packages.config @@ -1,21 +1,21 @@  - - + + + - - - + + - - + + - + - + diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj index ad7ec1ae6c11..749e6c1d487f 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Commands.StreamAnalytics.csproj @@ -49,17 +49,17 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll False @@ -69,16 +69,16 @@ False ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.cs index 8861ac9e5909..045121b801f7 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.cs +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/Models/StreamAnalyticsClient.cs @@ -15,8 +15,8 @@ using System.IO; using Microsoft.Azure.Management.StreamAnalytics; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication.Models; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.Azure.Commands.StreamAnalytics.Models { diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/StreamAnalyticsBaseCmdlet.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/StreamAnalyticsBaseCmdlet.cs index d120a9543c23..0fd25ac2e2ca 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/StreamAnalyticsBaseCmdlet.cs +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/StreamAnalyticsBaseCmdlet.cs @@ -35,7 +35,7 @@ internal StreamAnalyticsClient StreamAnalyticsClient { if (this.streamAnalyticsClient == null) { - this.streamAnalyticsClient = new StreamAnalyticsClient(CurrentContext); + this.streamAnalyticsClient = new StreamAnalyticsClient(Profile.Context); } return this.streamAnalyticsClient; } diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/StreamAnalyticsCommonUtilities.cs b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/StreamAnalyticsCommonUtilities.cs index c95d5349aaa7..df745c2a5e7d 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/StreamAnalyticsCommonUtilities.cs +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/StreamAnalyticsCommonUtilities.cs @@ -20,7 +20,7 @@ using Microsoft.Azure.Commands.StreamAnalytics.Properties; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Newtonsoft.Json; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.Azure.Commands.StreamAnalytics { diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/packages.config b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/packages.config index 85d8cae6409d..1d1be1eeed19 100644 --- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/packages.config +++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics/packages.config @@ -1,16 +1,16 @@  - - + + + - - + - + \ No newline at end of file diff --git a/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj b/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj index 9706839753af..5b6396957e57 100644 --- a/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj +++ b/src/ResourceManager/Tags/Commands.Tags/Commands.Tags.csproj @@ -49,29 +49,29 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll False ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -85,9 +85,9 @@ ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll True - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll diff --git a/src/ResourceManager/Tags/Commands.Tags/Model/TagBaseCmdlet.cs b/src/ResourceManager/Tags/Commands.Tags/Model/TagBaseCmdlet.cs index 87adae564266..c5311c1b5b17 100644 --- a/src/ResourceManager/Tags/Commands.Tags/Model/TagBaseCmdlet.cs +++ b/src/ResourceManager/Tags/Commands.Tags/Model/TagBaseCmdlet.cs @@ -26,7 +26,7 @@ public TagsClient TagsClient { if (tagsClient == null) { - tagsClient = new TagsClient(CurrentContext.Subscription) + tagsClient = new TagsClient(Profile, Profile.Context.Subscription) { VerboseLogger = WriteVerboseWithTimestamp, ErrorLogger = WriteErrorWithTimestamp diff --git a/src/ResourceManager/Tags/Commands.Tags/Model/TagsClient.cs b/src/ResourceManager/Tags/Commands.Tags/Model/TagsClient.cs index 135981ca718b..5a9dd56d3c6b 100644 --- a/src/ResourceManager/Tags/Commands.Tags/Model/TagsClient.cs +++ b/src/ResourceManager/Tags/Commands.Tags/Model/TagsClient.cs @@ -19,9 +19,9 @@ using Microsoft.Azure.Management.Resources; using Microsoft.Azure.Management.Resources.Models; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.Azure.Commands.Tags.Model { @@ -39,8 +39,8 @@ public class TagsClient /// Creates new TagsClient /// /// Subscription containing resources to manipulate - public TagsClient(AzureSubscription subscription) - : this(AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ResourceManager)) + public TagsClient(AzureProfile profile, AzureSubscription subscription) + : this(AzureSession.ClientFactory.CreateClient(profile, subscription, AzureEnvironment.Endpoint.ResourceManager)) { } diff --git a/src/ResourceManager/Tags/Commands.Tags/packages.config b/src/ResourceManager/Tags/Commands.Tags/packages.config index bdde83a6dc79..49bb4d5275cf 100644 --- a/src/ResourceManager/Tags/Commands.Tags/packages.config +++ b/src/ResourceManager/Tags/Commands.Tags/packages.config @@ -1,15 +1,15 @@  - - + + + - - + - + \ No newline at end of file diff --git a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/NewAzureWebsites.cs b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/NewAzureWebsites.cs new file mode 100644 index 000000000000..bebc4063fd50 --- /dev/null +++ b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/NewAzureWebsites.cs @@ -0,0 +1,65 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Management.Automation; +using Microsoft.Azure.Management.WebSites.Models; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Commands.Utilities.CloudService; +using Microsoft.Azure.Commands.Websites; +using Microsoft.Azure.Management.WebSites; +using System.Net.Http; +using System.Threading; +using Microsoft.IdentityModel.Clients.ActiveDirectory; +using System.Net; +using Microsoft.Azure; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.Azure.Commands.Websites.Utilities; + + +namespace Microsoft.Azure.Commands.Websites.Cmdlets +{ + /// + /// this commandlet will let you create a new Azure Websites using ARM APIs + /// + [Cmdlet(VerbsCommon.New, "AzureWebsite")] + public class NewAzureWebsiteCmdlet : WebsiteBaseCmdlet + { + + [Parameter(Position = 2, Mandatory = false, HelpMessage = "The name of the website slot.")] + [ValidateNotNullOrEmptyAttribute] + public string SlotName { get; set; } + + [Parameter(Position = 3, Mandatory = true, HelpMessage = "The Location of the Website eg: West US.")] + public string Location { get; set; } + + [Parameter(Position = 4, Mandatory = true, HelpMessage = "The name of the web hosting plan eg: Default1.")] + public string WebHostingPlan { get; set; } + + public override void ExecuteCmdlet() + { + WriteObject(WebsitesClient.CreateWebsite(ResourceGroupName, WebsiteName, SlotName, Location, WebHostingPlan)); + + } + + } +} + + + diff --git a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/RemoveAzureWebsite.cs b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/RemoveAzureWebsite.cs new file mode 100644 index 000000000000..77cc21df053b --- /dev/null +++ b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/RemoveAzureWebsite.cs @@ -0,0 +1,75 @@ + +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Management.Automation; +using Microsoft.Azure.Management.WebSites.Models; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Commands.Utilities.CloudService; +using Microsoft.Azure.Commands.Websites; +using Microsoft.Azure.Management.WebSites; +using System.Net.Http; +using System.Threading; +using Microsoft.IdentityModel.Clients.ActiveDirectory; +using System.Net; +using Microsoft.Azure; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.Azure.Commands.Websites.Utilities; +using Microsoft.WindowsAzure.Commands.Utilities.Properties; + + +namespace Microsoft.Azure.Commands.Websites.Cmdlets +{ + /// + /// this commandlet will let you delete an Azure website + /// + [Cmdlet(VerbsCommon.Remove, "AzureWebsite")] + public class RemoveAzureWebsiteCmdlet : WebsiteBaseCmdlet + { + + //always delete the slots, + private bool deleteSlotsByDefault = true; + + // leave behind the empty webhosting plan + private bool deleteEmptyServerFarmByDefault = false; + + //always delete the metrics + private bool deleteMetricsByDefault = true; + + [Parameter(Mandatory = false, HelpMessage = "Do not ask for confirmation.")] + public SwitchParameter Force { get; set; } + + public override void ExecuteCmdlet() + { + string slotName = null; + + ConfirmAction( + Force.IsPresent, + string.Format(Resources.RemoveWebsiteWarning, WebsiteName), + Resources.RemoveWebsiteMessage, + WebsiteName, + () => WebsitesClient.RemoveWebsite(ResourceGroupName, WebsiteName, slotName, deleteEmptyServerFarmByDefault, deleteMetricsByDefault, deleteSlotsByDefault)); + } + + } +} + + + diff --git a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/RestartAzureWebsite.cs b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/RestartAzureWebsite.cs new file mode 100644 index 000000000000..161b1fa71481 --- /dev/null +++ b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/RestartAzureWebsite.cs @@ -0,0 +1,60 @@ + +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Management.Automation; +using Microsoft.Azure.Management.WebSites.Models; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Commands.Utilities.CloudService; +using Microsoft.Azure.Commands.Websites; +using Microsoft.Azure.Management.WebSites; +using System.Net.Http; +using System.Threading; +using Microsoft.IdentityModel.Clients.ActiveDirectory; +using System.Net; +using Microsoft.Azure; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.Azure.Commands.Websites.Utilities; + + +namespace Microsoft.Azure.Commands.Websites.Cmdlets +{ + /// + /// this commandlet will let you restart an Azure Website + /// + [Cmdlet(VerbsLifecycle.Restart, "AzureWebsite")] + public class RestartAzureWebsiteCmdlet : WebsiteBaseCmdlet + { + + [Parameter(Position = 2, Mandatory = false, HelpMessage = "The name of the website slot.")] + [ValidateNotNullOrEmptyAttribute] + public string SlotName { get; set; } + + public override void ExecuteCmdlet() + { + WriteObject(WebsitesClient.RestartWebsite(ResourceGroupName, WebsiteName, SlotName)); + } + + } +} + + + + diff --git a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/StartAzureWebsite.cs b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/StartAzureWebsite.cs new file mode 100644 index 000000000000..21ea1b375ef4 --- /dev/null +++ b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/StartAzureWebsite.cs @@ -0,0 +1,60 @@ + +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Management.Automation; +using Microsoft.Azure.Management.WebSites.Models; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Commands.Utilities.CloudService; +using Microsoft.Azure.Commands.Websites; +using Microsoft.Azure.Management.WebSites; +using System.Net.Http; +using System.Threading; +using Microsoft.IdentityModel.Clients.ActiveDirectory; +using System.Net; +using Microsoft.Azure; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.Azure.Commands.Websites.Utilities; + + +namespace Microsoft.Azure.Commands.Websites.Cmdlets +{ + /// + /// this commandlet will let you Start an Azure Website + /// + [Cmdlet(VerbsLifecycle.Start, "AzureWebsite")] + public class StartAzureWebsiteCmdlet : WebsiteBaseCmdlet + { + + [Parameter(Position = 2, Mandatory = false, HelpMessage = "The name of the website slot.")] + [ValidateNotNullOrEmptyAttribute] + public string SlotName { get; set; } + + public override void ExecuteCmdlet() + { + WriteObject(WebsitesClient.StartWebsite(ResourceGroupName, WebsiteName, SlotName)); + + } + + } +} + + + diff --git a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/StopAzureWebsite.cs b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/StopAzureWebsite.cs new file mode 100644 index 000000000000..e484123f6b32 --- /dev/null +++ b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/StopAzureWebsite.cs @@ -0,0 +1,59 @@ + +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Management.Automation; +using Microsoft.Azure.Management.WebSites.Models; +using Microsoft.WindowsAzure; +using Microsoft.WindowsAzure.Commands.Utilities.CloudService; +using Microsoft.Azure.Commands.Websites; +using Microsoft.Azure.Management.WebSites; +using System.Net.Http; +using System.Threading; +using Microsoft.IdentityModel.Clients.ActiveDirectory; +using System.Net; +using Microsoft.Azure; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.Azure.Commands.Websites.Utilities; + + +namespace Microsoft.Azure.Commands.Websites.Cmdlets +{ + /// + /// this commandlet will let you stop an Azure Website + /// + [Cmdlet(VerbsLifecycle.Stop, "AzureWebsite")] + public class StopAzureWebsiteCmdlet : WebsiteBaseCmdlet + { + + [Parameter(Position = 2, Mandatory = false, HelpMessage = "The name of the website slot.")] + [ValidateNotNullOrEmptyAttribute] + public string SlotName { get; set; } + + public override void ExecuteCmdlet() + { + WriteObject(WebsitesClient.StopWebsite(ResourceGroupName, WebsiteName, SlotName)); + } + + } +} + + + diff --git a/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj b/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj new file mode 100644 index 000000000000..b55c9be7728e --- /dev/null +++ b/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj @@ -0,0 +1,175 @@ + + + + + Debug + AnyCPU + {80A92297-7C92-456B-8EE7-9FB6CE30149D} + Library + Properties + Microsoft.Azure.Commands.Websites + Microsoft.Azure.Commands.Websites + v4.5 + 512 + + ..\..\..\ + true + /assemblyCompareMode:StrongNameIgnoringVersion + + + true + full + false + ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\Websites\ + DEBUG;TRACE + prompt + 4 + true + true + false + + + ..\..\..\Package\Release\ResourceManager\AzureResourceManager\Resources + TRACE;SIGN + true + pdbonly + AnyCPU + bin\Release\Microsoft.Azure.Commands.Resources.dll.CodeAnalysisLog.xml + true + GlobalSuppressions.cs + prompt + MinimumRecommendedRules.ruleset + ;$(ProgramFiles)\Microsoft Visual Studio 12.0\Team Tools\Static Analysis Tools\Rule Sets + ;$(ProgramFiles)\Microsoft Visual Studio 12.0\Team Tools\Static Analysis Tools\FxCop\Rules + true + true + MSSharedLibKey.snk + true + false + + + + ..\..\..\packages\Hyak.Common.1.0.2\lib\net45\Hyak.Common.dll + + + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll + + + False + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + + + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll + + + False + ..\..\..\packages\Microsoft.Azure.Gallery.2.6.0-preview\lib\net40\Microsoft.Azure.Gallery.dll + + + False + ..\..\..\packages\Microsoft.Azure.Graph.RBAC.1.6.0-preview\lib\net40\Microsoft.Azure.Graph.RBAC.dll + + + False + ..\..\..\packages\Microsoft.Azure.Management.Authorization.0.16.0-preview\lib\net40\Microsoft.Azure.Management.Authorization.dll + + + ..\..\..\packages\Microsoft.Azure.Management.WebSites.0.16.0-prerelease\lib\net40\Microsoft.Azure.Management.WebSites.dll + + + False + ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll + + + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + + + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + + + 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 + + + False + ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll + + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.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 + + + + + + + + + + + + + + + + + + + + + True + True + Resources.resx + + + + + + {5ee72c53-1720-4309-b54b-5fb79703195f} + Commands.Common + + + {4900ec4e-8deb-4412-9108-0bc52f81d457} + Commands.Utilities + + + + + Designer + Always + + + + + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + + + + + + + + + \ No newline at end of file diff --git a/src/ResourceManager/Websites/Commands.Websites/MSSharedLibKey.snk b/src/ResourceManager/Websites/Commands.Websites/MSSharedLibKey.snk new file mode 100644 index 000000000000..695f1b38774e Binary files /dev/null and b/src/ResourceManager/Websites/Commands.Websites/MSSharedLibKey.snk differ diff --git a/src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.psd1 b/src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.psd1 new file mode 100644 index 000000000000..49a0bd881e67 --- /dev/null +++ b/src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.psd1 @@ -0,0 +1,88 @@ +# +# Module manifest for module 'Microsoft.Azure.Commands.Resources' +# +# Generated by: Microsoft Corporation +# +# Generated on: 4/01/2014 +# + +@{ + +# Version number of this module. +ModuleVersion = '0.8.8' + +# ID used to uniquely identify this module +GUID = '81d522a4-6e5d-4105-8f58-376204c47458' + +# Author of this module +Author = 'Microsoft Corporation' + +# Company or vendor of this module +CompanyName = 'Microsoft Corporation' + +# Copyright statement for this module +Copyright = '� Microsoft Corporation. All rights reserved.' + +# Description of the functionality provided by this module +Description = '' + +# Minimum version of the Windows PowerShell engine required by this module +PowerShellVersion = '3.0' + +# Name of the Windows PowerShell host required by this module +PowerShellHostName = '' + +# Minimum version of the Windows PowerShell host required by this module +PowerShellHostVersion = '' + +# Minimum version of the .NET Framework required by this module +DotNetFrameworkVersion = '4.0' + +# Minimum version of the common language runtime (CLR) required by this module +CLRVersion='4.0' + +# Processor architecture (None, X86, Amd64, IA64) required by this module +ProcessorArchitecture = 'None' + +# Modules that must be imported into the global environment prior to importing this module +RequiredModules = @() + +# Assemblies that must be loaded prior to importing this module +RequiredAssemblies = @() + +# Script files (.ps1) that are run in the caller's environment prior to importing this module +ScriptsToProcess = @() + +# Type files (.ps1xml) to be loaded when importing this module +TypesToProcess = @() + +# Format files (.ps1xml) to be loaded when importing this module +FormatsToProcess = @() + +# Modules to import as nested modules of the module specified in ModuleToProcess +NestedModules = @( + '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\Resources\Microsoft.Azure.Commands.Websites.dll' +) + +# Functions to export from this module +FunctionsToExport = '*' + +# Cmdlets to export from this module +CmdletsToExport = '*' + +# Variables to export from this module +VariablesToExport = '*' + +# Aliases to export from this module +AliasesToExport = @() + +# List of all modules packaged with this module +ModuleList = @() + +# List of all files packaged with this module +FileList = @() + +# Private data to pass to the module specified in ModuleToProcess +PrivateData = '' + +} diff --git a/src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.xml b/src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.xml new file mode 100644 index 000000000000..6973d67d8afd --- /dev/null +++ b/src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/src/ResourceManager/Websites/Commands.Websites/Models.Websites/WebsiteBaseCmdlet.cs b/src/ResourceManager/Websites/Commands.Websites/Models.Websites/WebsiteBaseCmdlet.cs new file mode 100644 index 000000000000..f0889bd85b26 --- /dev/null +++ b/src/ResourceManager/Websites/Commands.Websites/Models.Websites/WebsiteBaseCmdlet.cs @@ -0,0 +1,32 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Commands.Websites.Models; +using System.Management.Automation; +using Microsoft.Azure.Commands.Websites.Models.Websites; + +namespace Microsoft.Azure.Commands.Websites +{ + public abstract class WebsiteBaseCmdlet : WebsitesBaseClient + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = "The name of the resource group.")] + [ValidateNotNullOrEmptyAttribute] + public string ResourceGroupName { get; set; } + + [Parameter(Position = 1, Mandatory = true, HelpMessage = "The name of the website.")] + [ValidateNotNullOrEmptyAttribute] + public string WebsiteName { get; set; } + } +} + diff --git a/src/Common/Azure.Common.Extensions/Models/AzureAccount.cs b/src/ResourceManager/Websites/Commands.Websites/Models.Websites/WebsitesBaseClient.cs similarity index 54% rename from src/Common/Azure.Common.Extensions/Models/AzureAccount.cs rename to src/ResourceManager/Websites/Commands.Websites/Models.Websites/WebsitesBaseClient.cs index 3c6c819dc169..51dcd5ee6a5e 100644 --- a/src/Common/Azure.Common.Extensions/Models/AzureAccount.cs +++ b/src/ResourceManager/Websites/Commands.Websites/Models.Websites/WebsitesBaseClient.cs @@ -12,36 +12,31 @@ // limitations under the License. // ---------------------------------------------------------------------------------- + +using System; using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.Azure.Commands.Websites.Utilities; -namespace Microsoft.Azure.Common.Extensions.Models +namespace Microsoft.Azure.Commands.Websites.Models.Websites { - public partial class AzureAccount + public abstract class WebsitesBaseClient : AzurePSCmdlet { - public string Id { get; set; } - - public AccountType Type { get; set; } - - public Dictionary Properties { get; set; } - - public enum AccountType + private WebsitesClient _websitesClient; + public WebsitesClient WebsitesClient { - Certificate, - User, - ServicePrincipal - } - - public enum Property - { - /// - /// Comma separated list of subscription ids on this account. - /// - Subscriptions, - - /// - /// Comma separated list of tenants on this account. - /// - Tenants + get + { + if (_websitesClient == null) + { + _websitesClient = new WebsitesClient(this.Profile.Context); + } + return _websitesClient; + } + set { _websitesClient = value; } } } } diff --git a/src/ResourceManager/Websites/Commands.Websites/Properties/AssemblyInfo.cs b/src/ResourceManager/Websites/Commands.Websites/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..6a5df38250c2 --- /dev/null +++ b/src/ResourceManager/Websites/Commands.Websites/Properties/AssemblyInfo.cs @@ -0,0 +1,34 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +[assembly: AssemblyTitle("Microsoft Azure Powershell - Azure Websites")] +[assembly: AssemblyCompany(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCompany)] +[assembly: AssemblyProduct(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyProduct)] +[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)] + +[assembly: ComVisible(false)] +[assembly: CLSCompliant(false)] +[assembly: Guid("e386b843-f3f0-4db3-8664-37d16b860dde")] +[assembly: AssemblyVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyVersion)] +[assembly: AssemblyFileVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyFileVersion)] +#if SIGN +[assembly: InternalsVisibleTo("Microsoft.Azure.Commands.Resources.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")] +#else +[assembly: InternalsVisibleTo("Microsoft.Azure.Commands.Websites.Test")] +#endif \ No newline at end of file diff --git a/src/ResourceManager/Websites/Commands.Websites/Properties/Resources.Designer.cs b/src/ResourceManager/Websites/Commands.Websites/Properties/Resources.Designer.cs new file mode 100644 index 000000000000..9691eb9e5472 --- /dev/null +++ b/src/ResourceManager/Websites/Commands.Websites/Properties/Resources.Designer.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.Azure.Commands.Websites.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [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 { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + 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 { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Azure.Commands.Websites.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to remove website '{0}'. + /// + internal static string RemovingWebsite { + get { + return ResourceManager.GetString("RemovingWebsite", resourceCulture); + } + } + } +} diff --git a/src/ResourceManager/Websites/Commands.Websites/Properties/Resources.resx b/src/ResourceManager/Websites/Commands.Websites/Properties/Resources.resx new file mode 100644 index 000000000000..3de28f1283fa --- /dev/null +++ b/src/ResourceManager/Websites/Commands.Websites/Properties/Resources.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Are you sure you want to remove website '{0}' + + \ No newline at end of file diff --git a/src/ResourceManager/Websites/Commands.Websites/Utilities/WebsitesClient.cs b/src/ResourceManager/Websites/Commands.Websites/Utilities/WebsitesClient.cs new file mode 100644 index 000000000000..4cb895225eca --- /dev/null +++ b/src/ResourceManager/Websites/Commands.Websites/Utilities/WebsitesClient.cs @@ -0,0 +1,90 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Runtime.Serialization.Formatters; +using System.Threading; +using Microsoft.Azure.Management.Resources; +using Microsoft.Azure.Commands; +using Microsoft.Azure.Management.WebSites; +using System.Net; +using Hyak.Common; +using Microsoft.Azure.Common.Authentication.Models; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Management.WebSites.Models; + +namespace Microsoft.Azure.Commands.Websites.Utilities +{ + public class WebsitesClient + { + public WebsitesClient(AzureContext context) + { + this.WrappedWebsitesClient = AzureSession.ClientFactory.CreateClient(context, AzureEnvironment.Endpoint.ResourceManager); + + } + public WebSiteManagementClient WrappedWebsitesClient + { + get; + private set; + } + + + public WebSite CreateWebsite(string resourceGroupName, string webSiteName, string slotName, string location, string webHostingPlan) + { + var createdWebSite = WrappedWebsitesClient.WebSites.CreateOrUpdate( + resourceGroupName, webSiteName, slotName, + new WebSiteCreateOrUpdateParameters + { + WebSite = new WebSiteBase + { + Name = webSiteName, + Location = location, + Properties = new WebSiteBaseProperties(webHostingPlan) + } + }); + + return createdWebSite.WebSite; + } + + public System.Net.HttpStatusCode StartWebsite(string resourceGroupName, string webSiteName, string slotName) + { + var startedWebsite = WrappedWebsitesClient.WebSites.Start(resourceGroupName, webSiteName, slotName); + return startedWebsite.StatusCode; + } + public System.Net.HttpStatusCode StopWebsite(string resourceGroupName, string webSiteName, string slotName) + { + var stoppedWebsite = WrappedWebsitesClient.WebSites.Stop(resourceGroupName, webSiteName, slotName); + return stoppedWebsite.StatusCode; + } + public System.Net.HttpStatusCode RestartWebsite(string resourceGroupName, string webSiteName, string slotName) + { + var restartedWebsite = WrappedWebsitesClient.WebSites.Restart(resourceGroupName, webSiteName, slotName); + return restartedWebsite.StatusCode; + } + + public System.Net.HttpStatusCode RemoveWebsite(string resourceGroupName, string webSiteName, string slotName, bool deleteEmptyServerFarmBydefault, bool deleteMetricsBydefault, bool deleteSlotsBydefault) + { + WebSiteDeleteParameters webSiteDelParams = new WebSiteDeleteParameters(deleteEmptyServerFarmBydefault, deleteMetricsBydefault, deleteSlotsBydefault); + + var removedWebsite = WrappedWebsitesClient.WebSites.Delete(resourceGroupName, webSiteName, slotName, webSiteDelParams); + return removedWebsite.StatusCode; + } + + } +} diff --git a/src/ResourceManager/Websites/Commands.Websites/packages.config b/src/ResourceManager/Websites/Commands.Websites/packages.config new file mode 100644 index 000000000000..4edab714259b --- /dev/null +++ b/src/ResourceManager/Websites/Commands.Websites/packages.config @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ServiceManagement.StorSimple.sln b/src/ServiceManagement.StorSimple.sln new file mode 100644 index 000000000000..2988be4bbf2f --- /dev/null +++ b/src/ServiceManagement.StorSimple.sln @@ -0,0 +1,34 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.21005.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.StorSimple.Library", "Commands.StorSimple.Library\Commands.StorSimple.Library.csproj", "{B0E9C13F-4E03-4DF0-91FA-9A8C76E7422D}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.StorSimple", "ServiceManagement\StorSimple\Commands.StorSimple\Commands.StorSimple.csproj", "{11524D98-6C40-4091-A8E1-86463FEE607C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.StorSimple.Test", "ServiceManagement\StorSimple\Commands.StorSimple.Test\Commands.StorSimple.Test.csproj", "{0FA676D5-1349-4086-B33F-65EC2CB7DA41}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B0E9C13F-4E03-4DF0-91FA-9A8C76E7422D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B0E9C13F-4E03-4DF0-91FA-9A8C76E7422D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B0E9C13F-4E03-4DF0-91FA-9A8C76E7422D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B0E9C13F-4E03-4DF0-91FA-9A8C76E7422D}.Release|Any CPU.Build.0 = Release|Any CPU + {11524D98-6C40-4091-A8E1-86463FEE607C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {11524D98-6C40-4091-A8E1-86463FEE607C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {11524D98-6C40-4091-A8E1-86463FEE607C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {11524D98-6C40-4091-A8E1-86463FEE607C}.Release|Any CPU.Build.0 = Release|Any CPU + {0FA676D5-1349-4086-B33F-65EC2CB7DA41}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0FA676D5-1349-4086-B33F-65EC2CB7DA41}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0FA676D5-1349-4086-B33F-65EC2CB7DA41}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0FA676D5-1349-4086-B33F-65EC2CB7DA41}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/Commands.Automation.Test.csproj b/src/ServiceManagement/Automation/Commands.Automation.Test/Commands.Automation.Test.csproj index 4451ed842965..511cd5d1c274 100644 --- a/src/ServiceManagement/Automation/Commands.Automation.Test/Commands.Automation.Test.csproj +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/Commands.Automation.Test.csproj @@ -48,27 +48,27 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -83,8 +83,9 @@ ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll False @@ -110,25 +111,42 @@ + + + - - - + + + - - + + + + - - + + + + + + + + + + + + + + - + @@ -147,6 +165,7 @@ + diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationJobOutputTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationCertificateTest.cs similarity index 62% rename from src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationJobOutputTest.cs rename to src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationCertificateTest.cs index de8e06091527..16f563ebc4e6 100644 --- a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationJobOutputTest.cs +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationCertificateTest.cs @@ -13,30 +13,33 @@ // ---------------------------------------------------------------------------------- using System; +using System.Collections.Generic; using Microsoft.Azure.Commands.Automation.Cmdlet; using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Model; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Microsoft.WindowsAzure.Commands.Utilities.Common; using Moq; namespace Microsoft.Azure.Commands.Automation.Test.UnitTests { [TestClass] - public class GetAzureAutomationJobOutputTest : TestBase + public class GetAzureAutomationCertificateTest : TestBase { private Mock mockAutomationClient; private MockCommandRuntime mockCommandRuntime; - private GetAzureAutomationJobOutput cmdlet; + private GetAzureAutomationCertificate cmdlet; [TestInitialize] public void SetupTest() { this.mockAutomationClient = new Mock(); this.mockCommandRuntime = new MockCommandRuntime(); - this.cmdlet = new GetAzureAutomationJobOutput + this.cmdlet = new GetAzureAutomationCertificate { AutomationClient = this.mockAutomationClient.Object, CommandRuntime = this.mockCommandRuntime @@ -44,47 +47,38 @@ public void SetupTest() } [TestMethod] - public void GetAzureAutomationJobOutputStreamAnySuccessfull() + public void GetAzureAutomationCertificateByNameSuccessfull() { // Setup string accountName = "automation"; - string stream = Constants.JobOutputParameter.Any; - DateTime startTime = default(DateTime); - var jobId = new Guid(); + string certificateName = "certificate"; - this.mockAutomationClient.Setup(f => f.ListJobStreamItems(accountName, jobId, startTime, null)); + this.mockAutomationClient.Setup(f => f.GetCertificate(accountName, certificateName)); // Test this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Id = jobId; - this.cmdlet.StartTime = startTime; - this.cmdlet.Stream = stream; + this.cmdlet.Name = certificateName; + this.cmdlet.SetParameterSet("ByCertificateName"); this.cmdlet.ExecuteCmdlet(); // Assert - this.mockAutomationClient.Verify(f => f.ListJobStreamItems(accountName, jobId, startTime, null), Times.Once()); + this.mockAutomationClient.Verify(f => f.GetCertificate(accountName, certificateName), Times.Once()); } [TestMethod] - public void GetAzureAutomationJobOutputStreamDebugSuccessfull() + public void GetAzureAutomationCertificateByAllSuccessfull() { // Setup string accountName = "automation"; - DateTime startTime = default(DateTime); - string stream = Constants.JobOutputParameter.Debug; - var jobId = new Guid(); - this.mockAutomationClient.Setup(f => f.ListJobStreamItems(accountName, jobId, startTime, stream)); + this.mockAutomationClient.Setup(f => f.ListCertificates(accountName)).Returns((string a) => new List()); // Test this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Id = jobId; - this.cmdlet.StartTime = startTime; - this.cmdlet.Stream = stream; this.cmdlet.ExecuteCmdlet(); // Assert - this.mockAutomationClient.Verify(f => f.ListJobStreamItems(accountName, jobId, startTime, stream), Times.Once()); + this.mockAutomationClient.Verify(f => f.ListCertificates(accountName), Times.Once()); } } } diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationConnectionTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationConnectionTest.cs new file mode 100644 index 000000000000..7f45706705a3 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationConnectionTest.cs @@ -0,0 +1,103 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.Automation.Cmdlet; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; +using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Moq; + +namespace Microsoft.Azure.Commands.Automation.Test.UnitTests +{ + [TestClass] + public class GetAzureAutomationConnectionTest : TestBase + { + private Mock mockAutomationClient; + + private MockCommandRuntime mockCommandRuntime; + + private GetAzureAutomationConnection cmdlet; + + [TestInitialize] + public void SetupTest() + { + this.mockAutomationClient = new Mock(); + this.mockCommandRuntime = new MockCommandRuntime(); + this.cmdlet = new GetAzureAutomationConnection + { + AutomationClient = this.mockAutomationClient.Object, + CommandRuntime = this.mockCommandRuntime + }; + } + + [TestMethod] + public void GetAzureAutomationConnectionByNameSuccessfull() + { + // Setup + string accountName = "automation"; + string connectionName = "connection"; + + this.mockAutomationClient.Setup(f => f.GetConnection(accountName, connectionName)); + + // Test + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.Name = connectionName; + this.cmdlet.SetParameterSet("ByConnectionName"); + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.GetConnection(accountName, connectionName), Times.Once()); + } + + [TestMethod] + public void GetAzureAutomationConnectionByAllSuccessfull() + { + // Setup + string accountName = "automation"; + + this.mockAutomationClient.Setup(f => f.ListConnections(accountName)).Returns((string a) => new List()); + + // Test + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.ListConnections(accountName), Times.Once()); + } + + [TestMethod] + public void GetAzureAutomationConnectionByTypeSuccessfull() + { + // Setup + string accountName = "automation"; + string connectionTypeName = "connectionType"; + + this.mockAutomationClient.Setup(f => f.ListConnectionsByType(accountName, connectionTypeName)).Returns((string a, string b) => new List()); + + // Test + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.ConnectionTypeName = connectionTypeName; + this.cmdlet.SetParameterSet("ByConnectionTypeName"); + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.ListConnectionsByType(accountName, connectionTypeName), Times.Once()); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationCredentialTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationCredentialTest.cs new file mode 100644 index 000000000000..90594d48ef62 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationCredentialTest.cs @@ -0,0 +1,82 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.Automation.Cmdlet; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; +using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Moq; + +namespace Microsoft.Azure.Commands.Automation.Test.UnitTests +{ + [TestClass] + public class GetAzureAutomationCredentialTest : TestBase + { + private Mock mockAutomationClient; + + private MockCommandRuntime mockCommandRuntime; + + private GetAzureAutomationCredential cmdlet; + + [TestInitialize] + public void SetupTest() + { + this.mockAutomationClient = new Mock(); + this.mockCommandRuntime = new MockCommandRuntime(); + this.cmdlet = new GetAzureAutomationCredential + { + AutomationClient = this.mockAutomationClient.Object, + CommandRuntime = this.mockCommandRuntime + }; + } + + [TestMethod] + public void GetAzureAutomationCredentialByNameSuccessfull() + { + // Setup + string accountName = "automation"; + string credentialName = "credential"; + + this.mockAutomationClient.Setup(f => f.GetCredential(accountName, credentialName)); + + // Test + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.Name = credentialName; + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.GetCredential(accountName, credentialName), Times.Once()); + } + + [TestMethod] + public void GetAzureAutomationCredentialByAllSuccessfull() + { + // Setup + string accountName = "automation"; + + this.mockAutomationClient.Setup(f => f.ListCredentials(accountName)).Returns((string a) => new List()); + + // Test + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.ListCredentials(accountName), Times.Once()); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationJobTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationJobTest.cs index 63c144e2a11d..71f4b5897569 100644 --- a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationJobTest.cs +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationJobTest.cs @@ -13,8 +13,10 @@ // ---------------------------------------------------------------------------------- using System; +using System.Collections.Generic; using Microsoft.Azure.Commands.Automation.Cmdlet; using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Model; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; @@ -44,75 +46,140 @@ public void SetupTest() } [TestMethod] - public void GetAzureAutomationJobByJobIdSuccessfull() + public void GetAzureAutomationJobByRunbookNameSuccessfull() { // Setup string accountName = "automation"; - var jobId = new Guid(); + string runbookName = "runbook"; - this.mockAutomationClient.Setup(f => f.GetJob(accountName, jobId)); + this.mockAutomationClient.Setup(f => f.ListJobsByRunbookName(accountName, runbookName, null, null, null)); // Test this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Id = jobId; + this.cmdlet.RunbookName = runbookName; this.cmdlet.ExecuteCmdlet(); // Assert - this.mockAutomationClient.Verify(f => f.GetJob(accountName, jobId), Times.Once()); + this.mockAutomationClient.Verify(f => f.ListJobsByRunbookName(accountName, runbookName, null, null, null), Times.Once()); + } + + public void GetAzureAutomationJobByRunbookNamAndStartTimeEndTimeeSuccessfull() + { + // Setup + string accountName = "automation"; + string runbookName = "runbook"; + DateTime startTime = new DateTime(2014, 12, 30, 17, 0, 0, 0); + DateTime endTime = new DateTime(2014, 12, 30, 18, 0, 0, 0); + + this.mockAutomationClient.Setup(f => f.ListJobsByRunbookName(accountName, runbookName, startTime, endTime, null)); + + // Test + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.RunbookName = runbookName; + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.ListJobsByRunbookName(accountName, runbookName, startTime, endTime, null), Times.Once()); + } + + public void GetAzureAutomationCompletedJobByRunbookNamAndStartTimeEndTimeeSuccessfull() + { + // Setup + string accountName = "automation"; + string runbookName = "runbook"; + DateTime startTime = new DateTime(2014, 12, 30, 17, 0, 0, 0); + DateTime endTime = new DateTime(2014, 12, 30, 18, 0, 0, 0); + string status = "Completed"; + + this.mockAutomationClient.Setup(f => f.ListJobsByRunbookName(accountName, runbookName, startTime, endTime, status)); + + // Test + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.RunbookName = runbookName; + this.cmdlet.Status = status; + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.ListJobsByRunbookName(accountName, runbookName, startTime, endTime, status), Times.Once()); } [TestMethod] - public void GetAzureAutomationJobByRunbookIdSuccessfull() + public void GetAzureAutomationAllJobsSuccessfull() { // Setup string accountName = "automation"; - var runbookId = new Guid(); - this.mockAutomationClient.Setup( - f => f.ListJobsByRunbookId(accountName, runbookId, It.IsAny(), It.IsAny())); + this.mockAutomationClient.Setup(f => f.ListJobs(accountName, null, null, null)); // Test this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.RunbookId = runbookId; this.cmdlet.ExecuteCmdlet(); // Assert - this.mockAutomationClient.Verify(f => f.ListJobsByRunbookId(accountName, runbookId, It.IsAny(), It.IsAny()), Times.Once()); + this.mockAutomationClient.Verify(f => f.ListJobs(accountName, null, null, null), Times.Once()); } [TestMethod] - public void GetAzureAutomationJobByRunbookNameSuccessfull() + public void GetAzureAutomationAllJobsBetweenStartAndEndTimeSuccessfull() { // Setup string accountName = "automation"; - var runbookName = "runbook"; + DateTime startTime = new DateTime(2014, 12, 30, 17, 0, 0, 0); + DateTime endTime = new DateTime(2014, 12, 30, 18, 0, 0, 0); - this.mockAutomationClient.Setup( - f => f.ListJobsByRunbookName(accountName, runbookName, It.IsAny(), It.IsAny())); + // look for jobs between 5pm to 6pm on 30th december 2014 + this.mockAutomationClient.Setup(f => f.ListJobs(accountName, startTime, endTime, null)); // Test this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.RunbookName = runbookName; + this.cmdlet.StartTime = startTime; + this.cmdlet.EndTime = endTime; this.cmdlet.ExecuteCmdlet(); // Assert - this.mockAutomationClient.Verify(f => f.ListJobsByRunbookName(accountName, runbookName, It.IsAny(), It.IsAny()), Times.Once()); + this.mockAutomationClient.Verify(f => f.ListJobs(accountName, startTime, endTime, null), Times.Once()); } [TestMethod] - public void GetAzureAutomationJobByAllSuccessfull() + public void GetAzureAutomationAllCompletedJobsBetweenStartAndEndTimeSuccessfull() + { + // Setup + string accountName = "automation"; + DateTime startTime = new DateTime(2014, 12, 30, 17, 0, 0, 0); + DateTime endTime = new DateTime(2014, 12, 30, 18, 0, 0, 0); + string status = "Completed"; + + // look for jobs between 5pm to 6pm on 30th december 2014 + this.mockAutomationClient.Setup(f => f.ListJobs(accountName, startTime, endTime, status)); + + // Test + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.StartTime = startTime; + this.cmdlet.EndTime = endTime; + this.cmdlet.Status = status; + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.ListJobs(accountName, startTime, endTime, status), Times.Once()); + } + + public void GetAzureAutomationJobByIdSuccessfull() { // Setup string accountName = "automation"; + Guid jobId = Guid.NewGuid(); - this.mockAutomationClient.Setup(f => f.ListJobs(accountName, It.IsAny(), It.IsAny())); + // look for jobs between 5pm to 6pm on 30th december 2014 + this.mockAutomationClient.Setup(f => f.GetJob(accountName, jobId)); // Test this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.Id = jobId; this.cmdlet.ExecuteCmdlet(); // Assert - this.mockAutomationClient.Verify(f => f.ListJobs(accountName, It.IsAny(), It.IsAny()), Times.Once()); + this.mockAutomationClient.Verify(f => f.GetJob(accountName, jobId), Times.Once()); } + } } diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationModuleTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationModuleTest.cs new file mode 100644 index 000000000000..47133a6aa2e9 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationModuleTest.cs @@ -0,0 +1,82 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.Automation.Cmdlet; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; +using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Moq; + +namespace Microsoft.Azure.Commands.Automation.Test.UnitTests +{ + [TestClass] + public class GetAzureAutomationModuleTest : TestBase + { + private Mock mockAutomationClient; + + private MockCommandRuntime mockCommandRuntime; + + private GetAzureAutomationModule cmdlet; + + [TestInitialize] + public void SetupTest() + { + this.mockAutomationClient = new Mock(); + this.mockCommandRuntime = new MockCommandRuntime(); + this.cmdlet = new GetAzureAutomationModule + { + AutomationClient = this.mockAutomationClient.Object, + CommandRuntime = this.mockCommandRuntime + }; + } + + [TestMethod] + public void GetAzureAutomationModuleByNameSuccessfull() + { + // Setup + string accountName = "automation"; + string moduleName = "module"; + + this.mockAutomationClient.Setup(f => f.GetModule(accountName, moduleName)); + + // Test + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.Name = moduleName; + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.GetModule(accountName, moduleName), Times.Once()); + } + + [TestMethod] + public void GetAzureAutomationModuleByAllSuccessfull() + { + // Setup + string accountName = "automation"; + + this.mockAutomationClient.Setup(f => f.ListModules(accountName)).Returns((string a) => new List()); + + // Test + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.ListModules(accountName), Times.Once()); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationRunbookDefinitionTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationRunbookDefinitionTest.cs index 862af2fc70de..315ca0831544 100644 --- a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationRunbookDefinitionTest.cs +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationRunbookDefinitionTest.cs @@ -43,43 +43,6 @@ public void SetupTest() }; } - [TestMethod] - public void GetAzureAutomationRunbookDefinitionByRunbookIdWithoutSlotSuccessfull() - { - // Setup - string accountName = "automation"; - var runbookId = new Guid(); - - this.mockAutomationClient.Setup(f => f.ListRunbookDefinitionsByRunbookId(accountName, runbookId, null)); - - // Test - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Id = runbookId; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.ListRunbookDefinitionsByRunbookId(accountName, runbookId, null), Times.Once()); - } - - [TestMethod] - public void GetAzureAutomationRunbookDefinitionByRunbookIdSlotDraftSuccessfull() - { - // Setup - string accountName = "automation"; - var runbookId = new Guid(); - - this.mockAutomationClient.Setup(f => f.ListRunbookDefinitionsByRunbookId(accountName, runbookId, true)); - - // Test - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Id = runbookId; - this.cmdlet.Slot = "Draft"; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.ListRunbookDefinitionsByRunbookId(accountName, runbookId, true), Times.Once()); - } - [TestMethod] public void GetAzureAutomationRunbookDefinitionByRunbookNameWithoutSlotSuccessfull() { @@ -116,24 +79,5 @@ public void GetAzureAutomationRunbookDefinitionByRunbookNameSlotPublishedSuccess // Assert this.mockAutomationClient.Verify(f => f.ListRunbookDefinitionsByRunbookName(accountName, runbookName, false), Times.Once()); } - - [TestMethod] - public void GetAzureAutomationRunbookDefinitionByRunbookVersionIdWithoutSlotSuccessfull() - { - // Setup - string accountName = "automation"; - var runbookVersionId = new Guid(); - - this.mockAutomationClient.Setup( - f => f.ListRunbookDefinitionsByRunbookVersionId(accountName, runbookVersionId, null)); - - // Test - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.VersionId = runbookVersionId; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.ListRunbookDefinitionsByRunbookVersionId(accountName, runbookVersionId, null), Times.Once()); - } } } diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationRunbookTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationRunbookTest.cs index cb51efa30d15..28b0ec8bcae5 100644 --- a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationRunbookTest.cs +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationRunbookTest.cs @@ -13,11 +13,14 @@ // ---------------------------------------------------------------------------------- using System; +using System.Collections.Generic; using Microsoft.Azure.Commands.Automation.Cmdlet; using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Model; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Microsoft.WindowsAzure.Commands.Utilities.Common; using Moq; namespace Microsoft.Azure.Commands.Automation.Test.UnitTests @@ -43,24 +46,6 @@ public void SetupTest() }; } - [TestMethod] - public void GetAzureAutomationRunbookByIdSuccessfull() - { - // Setup - string accountName = "automation"; - var runbookId = new Guid(); - - this.mockAutomationClient.Setup(f => f.GetRunbook(accountName, runbookId)); - - // Test - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Id = runbookId; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.GetRunbook(accountName, runbookId), Times.Once()); - } - [TestMethod] public void GetAzureAutomationRunbookByNameSuccessfull() { @@ -73,40 +58,24 @@ public void GetAzureAutomationRunbookByNameSuccessfull() // Test this.cmdlet.AutomationAccountName = accountName; this.cmdlet.Name = runbookName; + this.cmdlet.SetParameterSet("ByRunbookName"); this.cmdlet.ExecuteCmdlet(); // Assert this.mockAutomationClient.Verify(f => f.GetRunbook(accountName, runbookName), Times.Once()); } - [TestMethod] - public void GetAzureAutomationRunbookByScheduleNameSuccessfull() - { - // Setup - string accountName = "automation"; - string scheduleName = "schedule"; - - this.mockAutomationClient.Setup(f => f.ListRunbookByScheduleName(accountName, scheduleName)); - - // Test - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.ScheduleName = scheduleName; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.ListRunbookByScheduleName(accountName, scheduleName), Times.Once()); - } - [TestMethod] public void GetAzureAutomationRunbookByAllSuccessfull() { // Setup string accountName = "automation"; - this.mockAutomationClient.Setup(f => f.ListRunbooks(accountName)); + this.mockAutomationClient.Setup(f => f.ListRunbooks(accountName)).Returns((string a) => new List()); ; // Test this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.SetParameterSet("ByAll"); this.cmdlet.ExecuteCmdlet(); // Assert diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationScheduleTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationScheduleTest.cs index 3321454d46c7..f0866f66514f 100644 --- a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationScheduleTest.cs +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationScheduleTest.cs @@ -20,6 +20,7 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Microsoft.WindowsAzure.Commands.Utilities.Common; using Moq; namespace Microsoft.Azure.Commands.Automation.Test.UnitTests @@ -45,24 +46,6 @@ public void SetupTest() }; } - [TestMethod] - public void GetAzureAutomationScheduleByIdSuccessfull() - { - // Setup - string accountName = "automation"; - var scheduleId = new Guid(); - - this.mockAutomationClient.Setup(f => f.GetSchedule(accountName, scheduleId)); - - // Test - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Id = scheduleId; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.GetSchedule(accountName, scheduleId), Times.Once()); - } - [TestMethod] public void GetAzureAutomationScheduleByNameSuccessfull() { @@ -75,6 +58,7 @@ public void GetAzureAutomationScheduleByNameSuccessfull() // Test this.cmdlet.AutomationAccountName = accountName; this.cmdlet.Name = scheduleName; + this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByName); this.cmdlet.ExecuteCmdlet(); // Assert @@ -91,6 +75,7 @@ public void GetAzureAutomationScheduleByAllSuccessfull() // Test this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByAll); this.cmdlet.ExecuteCmdlet(); // Assert diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationScheduledRunbookTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationScheduledRunbookTest.cs new file mode 100644 index 000000000000..952486533e93 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationScheduledRunbookTest.cs @@ -0,0 +1,144 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using Microsoft.Azure.Commands.Automation.Cmdlet; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; +using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Moq; + +namespace Microsoft.Azure.Commands.Automation.Test.UnitTests +{ + [TestClass] + public class GetAzureAutomationScheduledRunbookTest : TestBase + { + private Mock mockAutomationClient; + + private MockCommandRuntime mockCommandRuntime; + + private GetAzureAutomationScheduledRunbook cmdlet; + + [TestInitialize] + public void SetupTest() + { + this.mockAutomationClient = new Mock(); + this.mockCommandRuntime = new MockCommandRuntime(); + this.cmdlet = new GetAzureAutomationScheduledRunbook + { + AutomationClient = this.mockAutomationClient.Object, + CommandRuntime = this.mockCommandRuntime + }; + } + + [TestMethod] + public void GetAzureAutomationScheduledRunbookByIdSuccessfull() + { + // Setup + string accountName = "automation"; + var jobScheduleId = new Guid(); + + this.mockAutomationClient.Setup(f => f.GetJobSchedule(accountName, jobScheduleId)); + + // Test + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.JobScheduleId = jobScheduleId; + this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByJobScheduleId); + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.GetJobSchedule(accountName, jobScheduleId), Times.Once()); + } + + [TestMethod] + public void GetAzureAutomationScheduledRunbookByrunbookNameAndScheduleNameSuccessfull() + { + // Setup + string accountName = "automation"; + string runbookName = "runbook"; + string scheduleName = "schedule"; + + this.mockAutomationClient.Setup(f => f.GetJobSchedule(accountName, runbookName, scheduleName)); + + // Test + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.RunbookName = runbookName; + this.cmdlet.ScheduleName = scheduleName; + this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByRunbookNameAndScheduleName); + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.GetJobSchedule(accountName, runbookName, scheduleName), Times.Once()); + } + + [TestMethod] + public void GetAzureAutomationScheduledRunbookByRunbookNameSuccessfull() + { + // Setup + string accountName = "automation"; + string runbookName = "runbook"; + + this.mockAutomationClient.Setup(f => f.ListJobSchedulesByRunbookName(accountName, runbookName)).Returns((string a, string b) => new List()); + + // Test + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.RunbookName = runbookName; + this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByRunbookName); + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.ListJobSchedulesByRunbookName(accountName, runbookName), Times.Once()); + } + + [TestMethod] + public void GetAzureAutomationScheduledRunbookByScheduleNameSuccessfull() + { + // Setup + string accountName = "automation"; + string scheduleName = "schedule"; + + this.mockAutomationClient.Setup(f => f.ListJobSchedulesByScheduleName(accountName, scheduleName)).Returns((string a, string b) => new List()); + + // Test + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.ScheduleName = scheduleName; + this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByScheduleName); + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.ListJobSchedulesByScheduleName(accountName, scheduleName), Times.Once()); + } + + [TestMethod] + public void GetAzureAutomationScheduledRunbookByAllSuccessfull() + { + // Setup + string accountName = "automation"; + + this.mockAutomationClient.Setup(f => f.ListJobSchedules(accountName)).Returns((string a) => new List()); + + // Test + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByAll); + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.ListJobSchedules(accountName), Times.Once()); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationVariableTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationVariableTest.cs new file mode 100644 index 000000000000..f1bef99670f0 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/GetAzureAutomationVariableTest.cs @@ -0,0 +1,85 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.Automation.Cmdlet; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; +using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Moq; + +namespace Microsoft.Azure.Commands.Automation.Test.UnitTests +{ + [TestClass] + public class GetAzureAutomationVariableTest : TestBase + { + private Mock mockAutomationClient; + + private MockCommandRuntime mockCommandRuntime; + + private GetAzureAutomationVariable cmdlet; + + [TestInitialize] + public void SetupTest() + { + this.mockAutomationClient = new Mock(); + this.mockCommandRuntime = new MockCommandRuntime(); + this.cmdlet = new GetAzureAutomationVariable + { + AutomationClient = this.mockAutomationClient.Object, + CommandRuntime = this.mockCommandRuntime + }; + } + + [TestMethod] + public void GetAzureAutomationVariableByNameSuccessfull() + { + // Setup + string accountName = "automation"; + string variableName = "variable"; + + this.mockAutomationClient.Setup(f => f.GetVariable(accountName, variableName)); + + // Test + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.Name = variableName; + this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByName); + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.GetVariable(accountName, variableName), Times.Once()); + } + + [TestMethod] + public void GetAzureAutomationVariableByAllSuccessfull() + { + // Setup + string accountName = "automation"; + + this.mockAutomationClient.Setup(f => f.ListVariables(accountName)).Returns((string a) => new List()); + + // Test + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByAll); + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.ListVariables(accountName), Times.Once()); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationAccountTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationAccountTest.cs new file mode 100644 index 000000000000..27d819afef70 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationAccountTest.cs @@ -0,0 +1,63 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Commands.Automation.Cmdlet; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; +using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Moq; + +namespace Microsoft.Azure.Commands.Automation.Test.UnitTests +{ + [TestClass] + public class NewAzureAutomationAccountTest : TestBase + { + private Mock mockAutomationClient; + + private MockCommandRuntime mockCommandRuntime; + + private NewAzureAutomationAccount cmdlet; + + [TestInitialize] + public void SetupTest() + { + this.mockAutomationClient = new Mock(); + this.mockCommandRuntime = new MockCommandRuntime(); + this.cmdlet = new NewAzureAutomationAccount + { + AutomationClient = this.mockAutomationClient.Object, + CommandRuntime = this.mockCommandRuntime + }; + } + + [TestMethod] + public void NewAzureAutomationAccountByNameSuccessfull() + { + // Setup + string accountName = "account"; + string location = "East US"; + + this.mockAutomationClient.Setup(f => f.CreateAutomationAccount(accountName, location)); + + // Test + this.cmdlet.Name = accountName; + this.cmdlet.Location = location; + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.CreateAutomationAccount(accountName, location), Times.Once()); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationCertificateTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationCertificateTest.cs new file mode 100644 index 000000000000..82d10aa6c4f1 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationCertificateTest.cs @@ -0,0 +1,78 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.Generic; +using Microsoft.Azure.Commands.Automation.Cmdlet; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; +using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Moq; +using System.Management.Automation; +using System.Security; +using System; + +namespace Microsoft.Azure.Commands.Automation.Test.UnitTests +{ + [TestClass] + public class NewAzureAutomationCertificateTest : TestBase + { + private Mock mockAutomationClient; + + private MockCommandRuntime mockCommandRuntime; + + private NewAzureAutomationCertificate cmdlet; + + [TestInitialize] + public void SetupTest() + { + this.mockAutomationClient = new Mock(); + this.mockCommandRuntime = new MockCommandRuntime(); + this.cmdlet = new NewAzureAutomationCertificate + { + AutomationClient = this.mockAutomationClient.Object, + CommandRuntime = this.mockCommandRuntime + }; + } + + [TestMethod] + public void NewAzureAutomationCertificateByNameSuccessfull() + { + // Setup + string accountName = "automation"; + string certificateName = "certificate"; + string path = "testCert.pfx"; + string password = "password"; + string description = "desc"; + + var secureString = new SecureString(); + Array.ForEach(password.ToCharArray(), secureString.AppendChar); + secureString.MakeReadOnly(); + + this.mockAutomationClient.Setup( + f => f.CreateCertificate(accountName, certificateName, path, secureString, description, false)); + + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.Name = certificateName; + this.cmdlet.Description = description; + this.cmdlet.Path = path; + this.cmdlet.Password = secureString; + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.CreateCertificate(accountName, certificateName, path, secureString, description, false), Times.Once()); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationConnectionTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationConnectionTest.cs new file mode 100644 index 000000000000..47ee34070811 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationConnectionTest.cs @@ -0,0 +1,74 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.Generic; +using Microsoft.Azure.Commands.Automation.Cmdlet; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; +using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Moq; +using System.Management.Automation; +using System.Security; +using System; + +namespace Microsoft.Azure.Commands.Automation.Test.UnitTests +{ + [TestClass] + public class NewAzureAutomationConnectionTest : TestBase + { + private Mock mockAutomationClient; + + private MockCommandRuntime mockCommandRuntime; + + private NewAzureAutomationConnection cmdlet; + + [TestInitialize] + public void SetupTest() + { + this.mockAutomationClient = new Mock(); + this.mockCommandRuntime = new MockCommandRuntime(); + this.cmdlet = new NewAzureAutomationConnection + { + AutomationClient = this.mockAutomationClient.Object, + CommandRuntime = this.mockCommandRuntime + }; + } + + [TestMethod] + public void NewAzureAutomationConnectionByNameSuccessfull() + { + // Setup + string accountName = "automation"; + string connectionName = "connection"; + string connectionTypeName = "connectiontype"; + string password = "password"; + string description = "desc"; + + this.mockAutomationClient.Setup( + f => f.CreateConnection(accountName, connectionName, connectionTypeName, null, description)); + + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.Name = connectionName; + this.cmdlet.Description = description; + this.cmdlet.ConnectionTypeName = connectionTypeName; + this.cmdlet.ConnectionFieldValues = null; + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.CreateConnection(accountName, connectionName, connectionTypeName, null, description), Times.Once()); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationCredentialTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationCredentialTest.cs new file mode 100644 index 000000000000..b36ba048387a --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationCredentialTest.cs @@ -0,0 +1,79 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System.Collections.Generic; +using Microsoft.Azure.Commands.Automation.Cmdlet; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; +using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Moq; +using System.Management.Automation; +using System.Security; +using System; + +namespace Microsoft.Azure.Commands.Automation.Test.UnitTests +{ + [TestClass] + public class NewAzureAutomationCredentialTest : TestBase + { + private Mock mockAutomationClient; + + private MockCommandRuntime mockCommandRuntime; + + private NewAzureAutomationCredential cmdlet; + + [TestInitialize] + public void SetupTest() + { + this.mockAutomationClient = new Mock(); + this.mockCommandRuntime = new MockCommandRuntime(); + this.cmdlet = new NewAzureAutomationCredential + { + AutomationClient = this.mockAutomationClient.Object, + CommandRuntime = this.mockCommandRuntime + }; + } + + [TestMethod] + public void NewAzureAutomationCredentialByPathSuccessfull() + { + // Setup + string accountName = "automation"; + string credentialName = "credential"; + string username = "testUser"; + string password = "password"; + string description = "desc"; + + var secureString = new SecureString(); + Array.ForEach(password.ToCharArray(), secureString.AppendChar); + secureString.MakeReadOnly(); + + var value = new PSCredential(username, secureString); + + this.mockAutomationClient.Setup( + f => f.CreateCredential(accountName, credentialName, username, password, description)); + + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.Name = credentialName; + this.cmdlet.Description = description; + this.cmdlet.Value = value; + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.CreateCredential(accountName, credentialName, username, password, description), Times.Once()); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationModuleTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationModuleTest.cs new file mode 100644 index 000000000000..86b9e7257e67 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationModuleTest.cs @@ -0,0 +1,73 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.Generic; +using Microsoft.Azure.Commands.Automation.Cmdlet; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; +using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Moq; +using System.Management.Automation; +using System.Security; +using System; + +namespace Microsoft.Azure.Commands.Automation.Test.UnitTests +{ + [TestClass] + public class NewAzureAutomationModuleTest : TestBase + { + private Mock mockAutomationClient; + + private MockCommandRuntime mockCommandRuntime; + + private NewAzureAutomationModule cmdlet; + + [TestInitialize] + public void SetupTest() + { + this.mockAutomationClient = new Mock(); + this.mockCommandRuntime = new MockCommandRuntime(); + this.cmdlet = new NewAzureAutomationModule + { + AutomationClient = this.mockAutomationClient.Object, + CommandRuntime = this.mockCommandRuntime + }; + } + + [TestMethod] + public void NewAzureAutomationModuleSuccessfull() + { + // Setup + string accountName = "automation"; + string moduleName = "credential"; + Uri contentLink = new Uri("http://www.example.com"); + var tags = new Dictionary(); + tags.Add("tag1", "tags2"); + + this.mockAutomationClient.Setup( + f => f.CreateModule(accountName, contentLink, moduleName, tags)); + + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.Name = moduleName; + this.cmdlet.ContentLink = contentLink; + this.cmdlet.Tags = tags; + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.CreateModule(accountName, contentLink, moduleName, tags), Times.Once()); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationRunbookTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationRunbookTest.cs index b81734a10c44..ad9ca1f468d2 100644 --- a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationRunbookTest.cs +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationRunbookTest.cs @@ -12,11 +12,13 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using System.Collections.Generic; using Microsoft.Azure.Commands.Automation.Cmdlet; using Microsoft.Azure.Commands.Automation.Common; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Microsoft.WindowsAzure.Commands.Utilities.Common; using Moq; namespace Microsoft.Azure.Commands.Automation.Test.UnitTests @@ -49,7 +51,7 @@ public void NewAzureAutomationRunbookByPathSuccessfull() string accountName = "automation"; string runbookPath = "runbook.ps1"; string description = "desc"; - var tags = new string[] { "tag1", "tags2" }; + string[] tags = { "tag1", "tags2" }; this.mockAutomationClient.Setup( f => f.CreateRunbookByPath(accountName, runbookPath, description, tags)); @@ -58,6 +60,7 @@ public void NewAzureAutomationRunbookByPathSuccessfull() this.cmdlet.Path = runbookPath; this.cmdlet.Description = description; this.cmdlet.Tags = tags; + this.cmdlet.SetParameterSet("ByPath"); this.cmdlet.ExecuteCmdlet(); // Assert @@ -71,7 +74,7 @@ public void NewAzureAutomationRunbookByNameSuccessfull() string accountName = "automation"; string runbookName = "runbook"; string description = "desc"; - var tags = new string[] { "tag1", "tags2" }; + string[] tags = { "tag1", "tags2" }; this.mockAutomationClient.Setup( f => f.CreateRunbookByName(accountName, runbookName, description, tags)); @@ -80,6 +83,7 @@ public void NewAzureAutomationRunbookByNameSuccessfull() this.cmdlet.Name = runbookName; this.cmdlet.Description = description; this.cmdlet.Tags = tags; + this.cmdlet.SetParameterSet("ByRunbookName"); this.cmdlet.ExecuteCmdlet(); // Assert diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationScheduleTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationScheduleTest.cs index bdc2457c8e7a..09aee79f20ed 100644 --- a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationScheduleTest.cs +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationScheduleTest.cs @@ -20,6 +20,7 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Microsoft.WindowsAzure.Commands.Utilities.Common; using Moq; namespace Microsoft.Azure.Commands.Automation.Test.UnitTests @@ -39,10 +40,10 @@ public void SetupTest() this.mockAutomationClient = new Mock(); this.mockCommandRuntime = new MockCommandRuntime(); this.cmdlet = new NewAzureAutomationSchedule - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; + { + AutomationClient = this.mockAutomationClient.Object, + CommandRuntime = this.mockCommandRuntime + }; } [TestMethod] @@ -52,17 +53,18 @@ public void NewAzureAutomationScheduleByOneTimeSuccessfull() string accountName = "automation"; string scheduleName = "schedule"; - this.mockAutomationClient.Setup(f => f.CreateSchedule(accountName, It.IsAny())); + this.mockAutomationClient.Setup(f => f.CreateSchedule(accountName, It.IsAny())); this.cmdlet.AutomationAccountName = accountName; this.cmdlet.Name = scheduleName; - this.cmdlet.StartTime = DateTime.Now; + this.cmdlet.StartTime = DateTimeOffset.Now; this.cmdlet.OneTime = true; + this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByOneTime); this.cmdlet.ExecuteCmdlet(); // Assert this.mockAutomationClient - .Verify(f => f.CreateSchedule(accountName, It.IsAny()), Times.Once()); + .Verify(f => f.CreateSchedule(accountName, It.IsAny()), Times.Once()); } [TestMethod] @@ -71,19 +73,20 @@ public void NewAzureAutomationScheduleByDailySuccessfull() // Setup string accountName = "automation"; string scheduleName = "schedule"; - int dayInterval = 1; + byte dayInterval = 1; - this.mockAutomationClient.Setup(f => f.CreateSchedule(accountName, It.IsAny())); + this.mockAutomationClient.Setup(f => f.CreateSchedule(accountName, It.IsAny())); this.cmdlet.AutomationAccountName = accountName; this.cmdlet.Name = scheduleName; - this.cmdlet.StartTime = DateTime.Now; + this.cmdlet.StartTime = DateTimeOffset.Now; this.cmdlet.DayInterval = dayInterval; + this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByDaily); this.cmdlet.ExecuteCmdlet(); // Assert this.mockAutomationClient - .Verify(f => f.CreateSchedule(accountName, It.IsAny()), Times.Once()); + .Verify(f => f.CreateSchedule(accountName, It.IsAny()), Times.Once()); } [TestMethod] @@ -92,19 +95,20 @@ public void NewAzureAutomationScheduleByHourlySuccessfull() // Setup string accountName = "automation"; string scheduleName = "schedule"; - int hourInterval = 1; + byte hourInterval = 1; - this.mockAutomationClient.Setup(f => f.CreateSchedule(accountName, It.IsAny())); + this.mockAutomationClient.Setup(f => f.CreateSchedule(accountName, It.IsAny())); this.cmdlet.AutomationAccountName = accountName; this.cmdlet.Name = scheduleName; - this.cmdlet.StartTime = DateTime.Now; + this.cmdlet.StartTime = DateTimeOffset.Now; this.cmdlet.HourInterval = hourInterval; + this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByHourly); this.cmdlet.ExecuteCmdlet(); // Assert this.mockAutomationClient - .Verify(f => f.CreateSchedule(accountName, It.IsAny()), Times.Once()); + .Verify(f => f.CreateSchedule(accountName, It.IsAny()), Times.Once()); } [TestMethod] @@ -113,24 +117,25 @@ public void NewAzureAutomationScheduleByDailyWithDefaultExpiryTimeDayIntervalSuc // Setup string accountName = "automation"; string scheduleName = "schedule"; - int dayInterval = 1; + byte dayInterval = 1; this.mockAutomationClient - .Setup(f => f.CreateSchedule(accountName, It.IsAny())) - .Returns((string a, DailySchedule s) => s); + .Setup(f => f.CreateSchedule(accountName, It.IsAny())) + .Returns((string a, Schedule s) => s); this.cmdlet.AutomationAccountName = accountName; this.cmdlet.Name = scheduleName; - this.cmdlet.StartTime = DateTime.Now; + this.cmdlet.StartTime = DateTimeOffset.Now; this.cmdlet.DayInterval = dayInterval; + this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByDaily); this.cmdlet.ExecuteCmdlet(); // Assert this.mockAutomationClient - .Verify(f => f.CreateSchedule(accountName, It.IsAny()), Times.Once()); + .Verify(f => f.CreateSchedule(accountName, It.IsAny()), Times.Once()); Assert.AreEqual(1, ((MockCommandRuntime)this.cmdlet.CommandRuntime).OutputPipeline.Count); - var schedule = (DailySchedule)((MockCommandRuntime)this.cmdlet.CommandRuntime) + var schedule = (Schedule)((MockCommandRuntime)this.cmdlet.CommandRuntime) .OutputPipeline .FirstOrDefault(); Assert.IsNotNull(schedule); @@ -138,15 +143,20 @@ public void NewAzureAutomationScheduleByDailyWithDefaultExpiryTimeDayIntervalSuc // Test for default values Assert.AreEqual( - Constants.DefaultScheduleExpiryTime, - schedule.ExpiryTime, - "Expiry time is unexpectedly {0}", + Constants.DefaultScheduleExpiryTime, + schedule.ExpiryTime, + "Expiry time is unexpectedly {0}", schedule.ExpiryTime); Assert.AreEqual( - dayInterval, - schedule.DayInterval, - "Day Interval is unexpectedly {0}", - schedule.DayInterval); + dayInterval, + schedule.Interval, + "Day Interval is unexpectedly {0}", + schedule.Interval); + Assert.AreEqual( + ScheduleFrequency.Day, + schedule.Frequency, + "Day Frequency is unexpectedly {0}", + schedule.Frequency); } [TestMethod] @@ -155,24 +165,25 @@ public void NewAzureAutomationScheduleByHourlyWithDefaultExpiryTimeDayIntervalSu // Setup string accountName = "automation"; string scheduleName = "schedule"; - int hourInterval = 1; + byte hourInterval = 1; this.mockAutomationClient - .Setup(f => f.CreateSchedule(accountName, It.IsAny())) - .Returns((string a, HourlySchedule s) => s); + .Setup(f => f.CreateSchedule(accountName, It.IsAny())) + .Returns((string a, Schedule s) => s); this.cmdlet.AutomationAccountName = accountName; this.cmdlet.Name = scheduleName; - this.cmdlet.StartTime = DateTime.Now; + this.cmdlet.StartTime = DateTimeOffset.Now; this.cmdlet.HourInterval = hourInterval; + this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByHourly); this.cmdlet.ExecuteCmdlet(); // Assert this.mockAutomationClient - .Verify(f => f.CreateSchedule(accountName, It.IsAny()), Times.Once()); + .Verify(f => f.CreateSchedule(accountName, It.IsAny()), Times.Once()); Assert.AreEqual(1, ((MockCommandRuntime)this.cmdlet.CommandRuntime).OutputPipeline.Count); - var schedule = (HourlySchedule)((MockCommandRuntime)this.cmdlet.CommandRuntime) + var schedule = (Schedule)((MockCommandRuntime)this.cmdlet.CommandRuntime) .OutputPipeline .FirstOrDefault(); Assert.IsNotNull(schedule); @@ -180,105 +191,121 @@ public void NewAzureAutomationScheduleByHourlyWithDefaultExpiryTimeDayIntervalSu // Test for default values Assert.AreEqual( - Constants.DefaultScheduleExpiryTime, - schedule.ExpiryTime, - "Expiry time is unexpectedly {0}", + Constants.DefaultScheduleExpiryTime, + schedule.ExpiryTime, + "Expiry time is unexpectedly {0}", schedule.ExpiryTime); Assert.AreEqual( - hourInterval, - schedule.HourInterval, - "Hour Interval is unexpectedly {0}", - schedule.HourInterval); + hourInterval, + schedule.Interval, + "Hour Interval is unexpectedly {0}", + schedule.Interval); + Assert.AreEqual( + ScheduleFrequency.Hour, + schedule.Frequency, + "Hour Frequency is unexpectedly {0}", + schedule.Frequency); } [TestMethod] - public void NewAzureAutomationScheduleByDailyWithUnspecificedDateTimeKindSuccessfull() + public void NewAzureAutomationScheduleByDailyWithExpiryTimeSuccessfull() { // Setup string accountName = "automation"; string scheduleName = "schedule"; - int dayInterval = 1; - var startTime = DateTime.Now; - var expiryTime = new DateTime(2048, 4, 2); + byte dayInterval = 1; + var startTime = DateTimeOffset.Now; + var expiryTime = startTime.AddDays(10); this.mockAutomationClient - .Setup(f => f.CreateSchedule(accountName, It.IsAny())) - .Returns((string a, DailySchedule s) => s); + .Setup(f => f.CreateSchedule(accountName, It.IsAny())) + .Returns((string a, Schedule s) => s); this.cmdlet.AutomationAccountName = accountName; this.cmdlet.Name = scheduleName; this.cmdlet.StartTime = startTime; this.cmdlet.ExpiryTime = expiryTime; this.cmdlet.DayInterval = dayInterval; + this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByDaily); this.cmdlet.ExecuteCmdlet(); // Assert this.mockAutomationClient - .Verify(f => f.CreateSchedule(accountName, It.IsAny()), Times.Once()); + .Verify(f => f.CreateSchedule(accountName, It.IsAny()), Times.Once()); Assert.AreEqual(1, ((MockCommandRuntime)this.cmdlet.CommandRuntime).OutputPipeline.Count); - var schedule = (DailySchedule)((MockCommandRuntime)this.cmdlet.CommandRuntime) + var schedule = (Schedule)((MockCommandRuntime)this.cmdlet.CommandRuntime) .OutputPipeline .FirstOrDefault(); Assert.IsNotNull(schedule); Assert.AreEqual(scheduleName, schedule.Name, "Schedule name is unexpectedly {0}", schedule.Name); - // If startTime or expiryTime is unspecified DateTimeKind, we assume they are local time Assert.AreEqual( - DateTimeKind.Local, - schedule.StartTime.Kind, - "DateTimeKind of start time is unexpectedly {0}", - schedule.StartTime.Kind); + expiryTime, + schedule.ExpiryTime, + "Expiry time is unexpectedly {0}", + schedule.ExpiryTime); + Assert.AreEqual( + dayInterval, + schedule.Interval, + "Day Interval is unexpectedly {0}", + schedule.Interval); Assert.AreEqual( - DateTimeKind.Local, - schedule.ExpiryTime.Kind, - "DateTimeKind of expiry time is unexpectedly {0}", - schedule.ExpiryTime.Kind); + ScheduleFrequency.Day, + schedule.Frequency, + "Day Frequency is unexpectedly {0}", + schedule.Frequency); } [TestMethod] - public void NewAzureAutomationScheduleByHourlyWithUnspecificedDateTimeKindSuccessfull() + public void NewAzureAutomationScheduleByHourlyWithExpiryTimeSuccessfull() { // Setup string accountName = "automation"; string scheduleName = "schedule"; - int hourInterval = 1; - var startTime = DateTime.Now; - var expiryTime = new DateTime(2048, 4, 2); + byte hourInterval = 2; + var startTime = DateTimeOffset.Now; + var expiryTime = startTime.AddDays(10); this.mockAutomationClient - .Setup(f => f.CreateSchedule(accountName, It.IsAny())) - .Returns((string a, HourlySchedule s) => s); + .Setup(f => f.CreateSchedule(accountName, It.IsAny())) + .Returns((string a, Schedule s) => s); this.cmdlet.AutomationAccountName = accountName; this.cmdlet.Name = scheduleName; this.cmdlet.StartTime = startTime; this.cmdlet.ExpiryTime = expiryTime; this.cmdlet.HourInterval = hourInterval; + this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByHourly); this.cmdlet.ExecuteCmdlet(); // Assert this.mockAutomationClient - .Verify(f => f.CreateSchedule(accountName, It.IsAny()), Times.Once()); + .Verify(f => f.CreateSchedule(accountName, It.IsAny()), Times.Once()); Assert.AreEqual(1, ((MockCommandRuntime)this.cmdlet.CommandRuntime).OutputPipeline.Count); - var schedule = (HourlySchedule)((MockCommandRuntime)this.cmdlet.CommandRuntime) + var schedule = (Schedule)((MockCommandRuntime)this.cmdlet.CommandRuntime) .OutputPipeline .FirstOrDefault(); Assert.IsNotNull(schedule); Assert.AreEqual(scheduleName, schedule.Name, "Schedule name is unexpectedly {0}", schedule.Name); - // If startTime or expiryTime is unspecified DateTimeKind, we assume they are local time + // Test for default values + Assert.AreEqual( + expiryTime, + schedule.ExpiryTime, + "Expiry time is unexpectedly {0}", + schedule.ExpiryTime); Assert.AreEqual( - DateTimeKind.Local, - schedule.StartTime.Kind, - "DateTimeKind of start time is unexpectedly {0}", - schedule.StartTime.Kind); + hourInterval, + schedule.Interval, + "Hour Interval is unexpectedly {0}", + schedule.Interval); Assert.AreEqual( - DateTimeKind.Local, - schedule.ExpiryTime.Kind, - "DateTimeKind of expiry time is unexpectedly {0}", - schedule.ExpiryTime.Kind); + ScheduleFrequency.Hour, + schedule.Frequency, + "Hour Frequency is unexpectedly {0}", + schedule.Frequency); } } } diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationVariableTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationVariableTest.cs new file mode 100644 index 000000000000..fb389a1ba048 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/NewAzureAutomationVariableTest.cs @@ -0,0 +1,81 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Linq; +using Microsoft.Azure.Commands.Automation.Cmdlet; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; +using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Moq; + +namespace Microsoft.Azure.Commands.Automation.Test.UnitTests +{ + [TestClass] + public class NewAzureAutomationVariableTest : TestBase + { + private Mock mockAutomationClient; + + private MockCommandRuntime mockCommandRuntime; + + private NewAzureAutomationVariable cmdlet; + + [TestInitialize] + public void SetupTest() + { + this.mockAutomationClient = new Mock(); + this.mockCommandRuntime = new MockCommandRuntime(); + this.cmdlet = new NewAzureAutomationVariable + { + AutomationClient = this.mockAutomationClient.Object, + CommandRuntime = this.mockCommandRuntime + }; + } + + [TestMethod] + [Ignore] + public void NewAzureAutomationVariableByPathSuccessfull() + { + // Setup + string accountName = "automation"; + string variableName = "variable"; + string value = "value"; + string description = "desc"; + + var variable = new Variable(); + variable.Name = variableName; + variable.Value = value; + variable.Description = description; + variable.Encrypted = true; + variable.AutomationAccountName = accountName; + + this.mockAutomationClient.Setup( + f => f.CreateVariable(variable)); + + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.Name = variableName; + this.cmdlet.Description = description; + this.cmdlet.Value = value; + this.cmdlet.Encrypted = true; + this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByName); + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.CreateVariable(variable), Times.Once()); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/PublishAzureAutomationRunbookTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/PublishAzureAutomationRunbookTest.cs index 69c9fd07c6e0..744ee65ecc56 100644 --- a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/PublishAzureAutomationRunbookTest.cs +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/PublishAzureAutomationRunbookTest.cs @@ -43,24 +43,6 @@ public void SetupTest() }; } - [TestMethod] - public void PublishAzureAutomationRunbookByIdSuccessfull() - { - // Setup - string accountName = "automation"; - var runbookId = new Guid(); - - this.mockAutomationClient.Setup(f => f.PublishRunbook(accountName, runbookId)); - - // Test - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Id = runbookId; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.PublishRunbook(accountName, runbookId), Times.Once()); - } - [TestMethod] public void PublishAzureAutomationRunbookByNameSuccessfull() { diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RegisterAzureAutomationScheduledJobTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RegisterAzureAutomationScheduledRunbookTest.cs similarity index 70% rename from src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RegisterAzureAutomationScheduledJobTest.cs rename to src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RegisterAzureAutomationScheduledRunbookTest.cs index 2429a48e5a7a..07de5225281e 100644 --- a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RegisterAzureAutomationScheduledJobTest.cs +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RegisterAzureAutomationScheduledRunbookTest.cs @@ -44,27 +44,7 @@ public void SetupTest() } [TestMethod] - public void RegisterAzureAutomationScheduledRunbookByRunbookIdSuccessfull() - { - // Setup - string accountName = "automation"; - string scheduleName = "schedule"; - var runbookId = new Guid(); - - this.mockAutomationClient.Setup(f => f.RegisterScheduledRunbook(accountName, runbookId, null, scheduleName)); - - // Test - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Id = runbookId; - this.cmdlet.ScheduleName = scheduleName; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.RegisterScheduledRunbook(accountName, runbookId, null, scheduleName), Times.Once()); - } - - [TestMethod] - public void RegisterAzureAutomationScheduledRunbookByRunbookNameSuccessfull() + public void RegisterAzureAutomationScheduledRunbookSuccessfull() { // Setup string accountName = "automation"; @@ -72,16 +52,16 @@ public void RegisterAzureAutomationScheduledRunbookByRunbookNameSuccessfull() string scheduleName = "schedule"; this.mockAutomationClient.Setup( - f => f.RegisterScheduledRunbook(accountName, runbookName, null, scheduleName)); + f => f.RegisterScheduledRunbook(accountName, runbookName, scheduleName, null)); // Test this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Name = runbookName; + this.cmdlet.RunbookName = runbookName; this.cmdlet.ScheduleName = scheduleName; this.cmdlet.ExecuteCmdlet(); // Assert - this.mockAutomationClient.Verify(f => f.RegisterScheduledRunbook(accountName, runbookName, null, scheduleName), Times.Once()); + this.mockAutomationClient.Verify(f => f.RegisterScheduledRunbook(accountName, runbookName, scheduleName, null), Times.Once()); } } } diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationAccountTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationAccountTest.cs new file mode 100644 index 000000000000..92fb5988a77a --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationAccountTest.cs @@ -0,0 +1,63 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Commands.Automation.Cmdlet; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; +using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Moq; + +namespace Microsoft.Azure.Commands.Automation.Test.UnitTests +{ + [TestClass] + public class RemoveAzureAutomationAccountTest : TestBase + { + private Mock mockAutomationClient; + + private MockCommandRuntime mockCommandRuntime; + + private RemoveAzureAutomationAccount cmdlet; + + [TestInitialize] + public void SetupTest() + { + this.mockAutomationClient = new Mock(); + this.mockCommandRuntime = new MockCommandRuntime(); + this.cmdlet = new RemoveAzureAutomationAccount + { + AutomationClient = this.mockAutomationClient.Object, + CommandRuntime = this.mockCommandRuntime + }; + } + + [TestMethod] + public void RemoveAzureAutomationAccountByNameSuccessfull() + { + // Setup + string accountName = "automation"; + + this.mockAutomationClient.Setup(f => f.DeleteAutomationAccount(accountName)); + + // Test + this.cmdlet.Name = accountName; + this.cmdlet.Force = true; + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.DeleteAutomationAccount(accountName), Times.Once()); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationCertificateTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationCertificateTest.cs new file mode 100644 index 000000000000..39836e917d9e --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationCertificateTest.cs @@ -0,0 +1,65 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Commands.Automation.Cmdlet; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; +using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Moq; + +namespace Microsoft.Azure.Commands.Automation.Test.UnitTests +{ + [TestClass] + public class RemoveAzureAutomationCertificateTest : TestBase + { + private Mock mockAutomationClient; + + private MockCommandRuntime mockCommandRuntime; + + private RemoveAzureAutomationCertificate cmdlet; + + [TestInitialize] + public void SetupTest() + { + this.mockAutomationClient = new Mock(); + this.mockCommandRuntime = new MockCommandRuntime(); + this.cmdlet = new RemoveAzureAutomationCertificate + { + AutomationClient = this.mockAutomationClient.Object, + CommandRuntime = this.mockCommandRuntime + }; + } + + [TestMethod] + public void RemoveAzureAutomationCertificateByNameSuccessfull() + { + // Setup + string accountName = "automation"; + string certificateName = "cert"; + + this.mockAutomationClient.Setup(f => f.DeleteCertificate(accountName, certificateName)); + + // Test + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.Name = certificateName; + this.cmdlet.Force = true; + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.DeleteCertificate(accountName, certificateName), Times.Once()); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationConnectionTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationConnectionTest.cs new file mode 100644 index 000000000000..5c9749629d35 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationConnectionTest.cs @@ -0,0 +1,65 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Commands.Automation.Cmdlet; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; +using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Moq; + +namespace Microsoft.Azure.Commands.Automation.Test.UnitTests +{ + [TestClass] + public class RemoveAzureAutomationConnectionTest : TestBase + { + private Mock mockAutomationClient; + + private MockCommandRuntime mockCommandRuntime; + + private RemoveAzureAutomationConnection cmdlet; + + [TestInitialize] + public void SetupTest() + { + this.mockAutomationClient = new Mock(); + this.mockCommandRuntime = new MockCommandRuntime(); + this.cmdlet = new RemoveAzureAutomationConnection + { + AutomationClient = this.mockAutomationClient.Object, + CommandRuntime = this.mockCommandRuntime + }; + } + + [TestMethod] + public void RemoveAzureAutomationConnectionByNameSuccessfull() + { + // Setup + string accountName = "automation"; + string connectionName = "connection"; + + this.mockAutomationClient.Setup(f => f.DeleteConnection(accountName, connectionName)); + + // Test + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.Name = connectionName; + this.cmdlet.Force = true; + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.DeleteConnection(accountName, connectionName), Times.Once()); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationCredentialTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationCredentialTest.cs new file mode 100644 index 000000000000..e49226437030 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationCredentialTest.cs @@ -0,0 +1,65 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Commands.Automation.Cmdlet; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; +using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Moq; + +namespace Microsoft.Azure.Commands.Automation.Test.UnitTests +{ + [TestClass] + public class RemoveAzureAutomationCredentialTest : TestBase + { + private Mock mockAutomationClient; + + private MockCommandRuntime mockCommandRuntime; + + private RemoveAzureAutomationCredential cmdlet; + + [TestInitialize] + public void SetupTest() + { + this.mockAutomationClient = new Mock(); + this.mockCommandRuntime = new MockCommandRuntime(); + this.cmdlet = new RemoveAzureAutomationCredential + { + AutomationClient = this.mockAutomationClient.Object, + CommandRuntime = this.mockCommandRuntime + }; + } + + [TestMethod] + public void RemoveAzureAutomationCredentialByNameSuccessfull() + { + // Setup + string accountName = "automation"; + string credentialName = "credential"; + + this.mockAutomationClient.Setup(f => f.DeleteCredential(accountName, credentialName)); + + // Test + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.Name = credentialName; + this.cmdlet.Force = true; + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.DeleteCredential(accountName, credentialName), Times.Once()); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationModuleTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationModuleTest.cs new file mode 100644 index 000000000000..3c5e593edb73 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationModuleTest.cs @@ -0,0 +1,65 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Commands.Automation.Cmdlet; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; +using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Moq; + +namespace Microsoft.Azure.Commands.Automation.Test.UnitTests +{ + [TestClass] + public class RemoveAzureAutomationModuleTest : TestBase + { + private Mock mockAutomationClient; + + private MockCommandRuntime mockCommandRuntime; + + private RemoveAzureAutomationModule cmdlet; + + [TestInitialize] + public void SetupTest() + { + this.mockAutomationClient = new Mock(); + this.mockCommandRuntime = new MockCommandRuntime(); + this.cmdlet = new RemoveAzureAutomationModule + { + AutomationClient = this.mockAutomationClient.Object, + CommandRuntime = this.mockCommandRuntime + }; + } + + [TestMethod] + public void RemoveAzureAutomationModuleByNameSuccessfull() + { + // Setup + string accountName = "automation"; + string moduleName = "module"; + + this.mockAutomationClient.Setup(f => f.DeleteModule(accountName, moduleName)); + + // Test + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.Name = moduleName; + this.cmdlet.Force = true; + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.DeleteModule(accountName, moduleName), Times.Once()); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationRunbookTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationRunbookTest.cs index ea87566406a3..1d0442047500 100644 --- a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationRunbookTest.cs +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationRunbookTest.cs @@ -43,25 +43,6 @@ public void SetupTest() }; } - [TestMethod] - public void RemoveAzureAutomationRunbookByIdSuccessfull() - { - // Setup - string accountName = "automation"; - var runbookId = new Guid(); - - this.mockAutomationClient.Setup(f => f.DeleteRunbook(accountName, runbookId)); - - // Test - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Id = runbookId; - this.cmdlet.Force = true; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.DeleteRunbook(accountName, runbookId), Times.Once()); - } - [TestMethod] public void RemoveAzureAutomationRunbookByNameSuccessfull() { diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationScheduleTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationScheduleTest.cs index c33c4626ca81..f68ba4b9084c 100644 --- a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationScheduleTest.cs +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationScheduleTest.cs @@ -43,25 +43,6 @@ public void SetupTest() }; } - [TestMethod] - public void RemoveAzureAutomationScheduleByIdSuccessfull() - { - // Setup - string accountName = "automation"; - var scheduleId = new Guid(); - - this.mockAutomationClient.Setup(f => f.DeleteSchedule(accountName, scheduleId)); - - // Test - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Id = scheduleId; - this.cmdlet.Force = true; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.DeleteSchedule(accountName, scheduleId), Times.Once()); - } - [TestMethod] public void RemoveAzureAutomationScheduleByNameSuccessfull() { diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationVariableTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationVariableTest.cs new file mode 100644 index 000000000000..89f4ea97f004 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/RemoveAzureAutomationVariableTest.cs @@ -0,0 +1,65 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Commands.Automation.Cmdlet; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; +using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Moq; + +namespace Microsoft.Azure.Commands.Automation.Test.UnitTests +{ + [TestClass] + public class RemoveAzureAutomationVariableTest : TestBase + { + private Mock mockAutomationClient; + + private MockCommandRuntime mockCommandRuntime; + + private RemoveAzureAutomationVariable cmdlet; + + [TestInitialize] + public void SetupTest() + { + this.mockAutomationClient = new Mock(); + this.mockCommandRuntime = new MockCommandRuntime(); + this.cmdlet = new RemoveAzureAutomationVariable + { + AutomationClient = this.mockAutomationClient.Object, + CommandRuntime = this.mockCommandRuntime + }; + } + + [TestMethod] + public void RemoveAzureAutomationVariableByNameSuccessfull() + { + // Setup + string accountName = "automation"; + string variableName = "variable"; + + this.mockAutomationClient.Setup(f => f.DeleteVariable(accountName, variableName)); + + // Test + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.Name = variableName; + this.cmdlet.Force = true; + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.DeleteVariable(accountName, variableName), Times.Once()); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/ResumeAzureAutomationJobTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/ResumeAzureAutomationJobTest.cs index b21bd66c857b..0956d9232e0c 100644 --- a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/ResumeAzureAutomationJobTest.cs +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/ResumeAzureAutomationJobTest.cs @@ -13,8 +13,10 @@ // ---------------------------------------------------------------------------------- using System; +using System.Collections.Generic; using Microsoft.Azure.Commands.Automation.Cmdlet; using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Model; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; @@ -48,7 +50,7 @@ public void ResumeAzureAutomationJobSuccessfull() { // Setup string accountName = "automation"; - var jobId = new Guid(); + Guid jobId = Guid.NewGuid(); this.mockAutomationClient.Setup(f => f.ResumeJob(accountName, jobId)); diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationCredentialTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationCredentialTest.cs new file mode 100644 index 000000000000..f07136bd71a0 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationCredentialTest.cs @@ -0,0 +1,96 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.Automation.Cmdlet; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; +using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Moq; +using System.Security; +using System.Management.Automation; + +namespace Microsoft.Azure.Commands.Automation.Test.UnitTests +{ + [TestClass] + public class SetAzureAutomationCredentialTest : TestBase + { + private Mock mockAutomationClient; + + private MockCommandRuntime mockCommandRuntime; + + private SetAzureAutomationCredential cmdlet; + + [TestInitialize] + public void SetupTest() + { + this.mockAutomationClient = new Mock(); + this.mockCommandRuntime = new MockCommandRuntime(); + this.cmdlet = new SetAzureAutomationCredential + { + AutomationClient = this.mockAutomationClient.Object, + CommandRuntime = this.mockCommandRuntime + }; + } + + [TestMethod] + public void SetAzureAutomationCredentialByNameSuccessfull() + { + // Setup + string accountName = "automation"; + string credentialName = "credential"; + + this.mockAutomationClient.Setup(f => f.UpdateCredential(accountName, credentialName, null, null, null)); + + // Test + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.Name = credentialName; + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.UpdateCredential(accountName, credentialName, null, null, null), Times.Once()); + } + + [TestMethod] + public void SetAzureAutomationCredentialByNameWithParametersSuccessfull() + { + // Setup + string accountName = "automation"; + string credentialName = "credential"; + string username = "testUser"; + string password = "password"; + string description = "desc"; + + var secureString = new SecureString(); + Array.ForEach(password.ToCharArray(), secureString.AppendChar); + secureString.MakeReadOnly(); + + var value = new PSCredential(username, secureString); + + this.mockAutomationClient.Setup(f => f.UpdateCredential(accountName, credentialName, username, password, description)); + + // Test + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.Name = credentialName; + this.cmdlet.Description = description; + this.cmdlet.Value = value; + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.UpdateCredential(accountName, credentialName, username, password, description), Times.Once()); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationRunbookDefinitionTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationRunbookDefinitionTest.cs index db89e13875cb..e428ec638686 100644 --- a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationRunbookDefinitionTest.cs +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationRunbookDefinitionTest.cs @@ -43,28 +43,6 @@ public void SetupTest() }; } - [TestMethod] - public void SetAzureAutomationRunbookDefinitionByIdSuccessfull() - { - // Setup - string accountName = "automation"; - string runbookPath = "runbook.ps1"; - var runbookId = new Guid(); - - this.mockAutomationClient.Setup( - f => f.UpdateRunbookDefinition(accountName, runbookId, runbookPath, false)); - - // Test - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Id = runbookId; - this.cmdlet.Path = runbookPath; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify( - f => f.UpdateRunbookDefinition(accountName, runbookId, runbookPath, false), - Times.Once()); - } [TestMethod] public void SetAzureAutomationRunbookDefinitionByNameSuccessfull() @@ -89,30 +67,6 @@ public void SetAzureAutomationRunbookDefinitionByNameSuccessfull() Times.Once()); } - [TestMethod] - public void SetAzureAutomationRunbookDefinitionByIdWithOverwriteSuccessfull() - { - // Setup - string accountName = "automation"; - string runbookPath = "runbook.ps1"; - var runbookId = new Guid(); - - this.mockAutomationClient.Setup( - f => f.UpdateRunbookDefinition(accountName, runbookId, runbookPath, true)); - - // Test - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Id = runbookId; - this.cmdlet.Path = runbookPath; - this.cmdlet.Overwrite = true; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify( - f => f.UpdateRunbookDefinition(accountName, runbookId, runbookPath, true), - Times.Once()); - } - [TestMethod] public void SetAzureAutomationRunbookDefinitionByNameWithOverwriteSuccessfull() { diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationRunbookTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationRunbookTest.cs index dd590ef060ba..8a3dbc8b729b 100644 --- a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationRunbookTest.cs +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationRunbookTest.cs @@ -13,6 +13,7 @@ // ---------------------------------------------------------------------------------- using System; +using System.Collections.Generic; using Microsoft.Azure.Commands.Automation.Cmdlet; using Microsoft.Azure.Commands.Automation.Common; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -43,24 +44,6 @@ public void SetupTest() }; } - [TestMethod] - public void SetAzureAutomationRunbookByIdSuccessfull() - { - // Setup - string accountName = "automation"; - var runbookId = new Guid(); - - this.mockAutomationClient.Setup(f => f.UpdateRunbook(accountName, runbookId, null, null, null, null, null)); - - // Test - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Id = runbookId; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.UpdateRunbook(accountName, runbookId, null, null, null, null, null), Times.Once()); - } - [TestMethod] public void SetAzureAutomationRunbookByNameSuccessfull() { @@ -68,7 +51,7 @@ public void SetAzureAutomationRunbookByNameSuccessfull() string accountName = "automation"; string runbookName = "runbook"; - this.mockAutomationClient.Setup(f => f.UpdateRunbook(accountName, runbookName, null, null, null, null, null)); + this.mockAutomationClient.Setup(f => f.UpdateRunbook(accountName, runbookName, null, null, null, null)); // Test this.cmdlet.AutomationAccountName = accountName; @@ -76,31 +59,7 @@ public void SetAzureAutomationRunbookByNameSuccessfull() this.cmdlet.ExecuteCmdlet(); // Assert - this.mockAutomationClient.Verify(f => f.UpdateRunbook(accountName, runbookName, null, null, null, null, null), Times.Once()); - } - - [TestMethod] - public void SetAzureAutomationRunbookByIdWithParametersSuccessfull() - { - // Setup - string accountName = "automation"; - string description = "desc"; - bool? logDebug = true; - bool? logVerbose = false; - var runbookId = new Guid(); - - this.mockAutomationClient.Setup(f => f.UpdateRunbook(accountName, runbookId, description, null, logDebug, null, logVerbose)); - - // Test - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Id = runbookId; - this.cmdlet.Description = description; - this.cmdlet.LogDebug = logDebug; - this.cmdlet.LogVerbose = logVerbose; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.UpdateRunbook(accountName, runbookId, description, null, logDebug, null, logVerbose), Times.Once()); + this.mockAutomationClient.Verify(f => f.UpdateRunbook(accountName, runbookName, null, null, null, null), Times.Once()); } [TestMethod] @@ -110,9 +69,9 @@ public void SetAzureAutomationRunbookByNameWithParametersSuccessfull() string accountName = "automation"; string runbookName = "runbook"; bool? logProgress = false; - var tags = new string[] { "tag1", "tag2" }; + string[] tags = { "tag1", "tags2" }; - this.mockAutomationClient.Setup(f => f.UpdateRunbook(accountName, runbookName, null, tags, null, logProgress, null)); + this.mockAutomationClient.Setup(f => f.UpdateRunbook(accountName, runbookName, null, tags, logProgress, null)); // Test this.cmdlet.AutomationAccountName = accountName; @@ -122,7 +81,7 @@ public void SetAzureAutomationRunbookByNameWithParametersSuccessfull() this.cmdlet.ExecuteCmdlet(); // Assert - this.mockAutomationClient.Verify(f => f.UpdateRunbook(accountName, runbookName, null, tags, null, logProgress, null), Times.Once()); + this.mockAutomationClient.Verify(f => f.UpdateRunbook(accountName, runbookName, null, tags, logProgress, null), Times.Once()); } } } diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationScheduleTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationScheduleTest.cs index 696073a7323c..0cb30be3bb58 100644 --- a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationScheduleTest.cs +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/SetAzureAutomationScheduleTest.cs @@ -37,32 +37,10 @@ public void SetupTest() this.mockAutomationClient = new Mock(); this.mockCommandRuntime = new MockCommandRuntime(); this.cmdlet = new SetAzureAutomationSchedule - { - AutomationClient = this.mockAutomationClient.Object, - CommandRuntime = this.mockCommandRuntime - }; - } - - [TestMethod] - public void SetAzureAutomationScheduleByIdSuccessfull() - { - // Setup - string accountName = "automation"; - string description = "desc"; - bool? isEnabled = true; - var scheduleId = new Guid(); - - this.mockAutomationClient.Setup(f => f.UpdateSchedule(accountName, scheduleId, isEnabled, description)); - - // Test - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Id = scheduleId; - this.cmdlet.IsEnabled = isEnabled; - this.cmdlet.Description = description; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.UpdateSchedule(accountName, scheduleId, isEnabled, description), Times.Once()); + { + AutomationClient = this.mockAutomationClient.Object, + CommandRuntime = this.mockCommandRuntime + }; } [TestMethod] diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/StartAzureAutomationRunbookTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/StartAzureAutomationRunbookTest.cs index 00c01e7053eb..d8f702f6e8ef 100644 --- a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/StartAzureAutomationRunbookTest.cs +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/StartAzureAutomationRunbookTest.cs @@ -43,24 +43,6 @@ public void SetupTest() }; } - [TestMethod] - public void StartAzureAutomationRunbookByIdSuccessfull() - { - // Setup - string accountName = "automation"; - var runbookId = new Guid(); - - this.mockAutomationClient.Setup(f => f.StartRunbook(accountName, runbookId, null)); - - // Test - this.cmdlet.AutomationAccountName = accountName; - this.cmdlet.Id = runbookId; - this.cmdlet.ExecuteCmdlet(); - - // Assert - this.mockAutomationClient.Verify(f => f.StartRunbook(accountName, runbookId, null), Times.Once()); - } - [TestMethod] public void StartAzureAutomationRunbookByNameSuccessfull() { diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/StopAzureAutomationJobTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/StopAzureAutomationJobTest.cs index 5492f685f417..77e7a036fc37 100644 --- a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/StopAzureAutomationJobTest.cs +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/StopAzureAutomationJobTest.cs @@ -13,8 +13,10 @@ // ---------------------------------------------------------------------------------- using System; +using System.Collections.Generic; using Microsoft.Azure.Commands.Automation.Cmdlet; using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Model; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; @@ -48,7 +50,7 @@ public void StopAzureAutomationJobSuccessfull() { // Setup string accountName = "automation"; - var jobId = new Guid(); + Guid jobId = Guid.NewGuid(); this.mockAutomationClient.Setup(f => f.StopJob(accountName, jobId)); diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/SuspendAzureAutomationJobTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/SuspendAzureAutomationJobTest.cs index b4da25134da0..31d1cefde21f 100644 --- a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/SuspendAzureAutomationJobTest.cs +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/SuspendAzureAutomationJobTest.cs @@ -13,8 +13,10 @@ // ---------------------------------------------------------------------------------- using System; +using System.Collections.Generic; using Microsoft.Azure.Commands.Automation.Cmdlet; using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Model; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; @@ -48,7 +50,7 @@ public void SuspendAzureAutomationJobSuccessfull() { // Setup string accountName = "automation"; - var jobId = new Guid(); + Guid jobId = Guid.NewGuid(); this.mockAutomationClient.Setup(f => f.SuspendJob(accountName, jobId)); diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/UnregisterAzureAutomationScheduledRunbookTest.cs b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/UnregisterAzureAutomationScheduledRunbookTest.cs new file mode 100644 index 000000000000..849979cd5604 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/UnitTests/UnregisterAzureAutomationScheduledRunbookTest.cs @@ -0,0 +1,89 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Commands.Automation.Cmdlet; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; +using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Moq; + +namespace Microsoft.Azure.Commands.Automation.Test.UnitTests +{ + [TestClass] + public class UnregisterAzureAutomationScheduledRunbookTest : TestBase + { + private Mock mockAutomationClient; + + private MockCommandRuntime mockCommandRuntime; + + private UnregisterAzureAutomationScheduledRunbook cmdlet; + + [TestInitialize] + public void SetupTest() + { + this.mockAutomationClient = new Mock(); + this.mockCommandRuntime = new MockCommandRuntime(); + this.cmdlet = new UnregisterAzureAutomationScheduledRunbook + { + AutomationClient = this.mockAutomationClient.Object, + CommandRuntime = this.mockCommandRuntime + }; + } + + [TestMethod] + public void UnregisterAzureAutomationScheduledRunbookByIdSuccessfull() + { + // Setup + string accountName = "automation"; + var jobScheduleId = new Guid(); + + this.mockAutomationClient.Setup(f => f.UnregisterScheduledRunbook(accountName, jobScheduleId)); + + // Test + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.JobScheduleId = jobScheduleId; + this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByJobScheduleId); + this.cmdlet.Force = true; + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.UnregisterScheduledRunbook(accountName, jobScheduleId), Times.Once()); + } + + [TestMethod] + public void UnregisterAzureAutomationScheduledRunbookByRunbookNameAndScheduleNameSuccessfull() + { + // Setup + string accountName = "automation"; + string runbookName = "runbook"; + string scheduleName = "schedule"; + + this.mockAutomationClient.Setup(f => f.UnregisterScheduledRunbook(accountName, runbookName, scheduleName)); + + // Test + this.cmdlet.AutomationAccountName = accountName; + this.cmdlet.RunbookName = runbookName; + this.cmdlet.ScheduleName = scheduleName; + this.cmdlet.SetParameterSet(AutomationCmdletParameterSets.ByRunbookNameAndScheduleName); + this.cmdlet.Force = true; + this.cmdlet.ExecuteCmdlet(); + + // Assert + this.mockAutomationClient.Verify(f => f.UnregisterScheduledRunbook(accountName, runbookName, scheduleName), Times.Once()); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/packages.config b/src/ServiceManagement/Automation/Commands.Automation.Test/packages.config index 1f37d4eeeaf3..e3882a33b3e4 100644 --- a/src/ServiceManagement/Automation/Commands.Automation.Test/packages.config +++ b/src/ServiceManagement/Automation/Commands.Automation.Test/packages.config @@ -1,16 +1,16 @@  - - + + + - - + - + \ No newline at end of file diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/AzureAutomationBaseCmdlet.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/AzureAutomationBaseCmdlet.cs index 915e5347b8b1..da8907bcf105 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/AzureAutomationBaseCmdlet.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/AzureAutomationBaseCmdlet.cs @@ -13,6 +13,7 @@ // ---------------------------------------------------------------------------------- using System; +using System.Collections.Generic; using System.Globalization; using System.IO; using System.Management.Automation; @@ -46,7 +47,7 @@ public IAutomationClient AutomationClient { get { - return this.automationClient = this.automationClient ?? new AutomationClient(CurrentContext.Subscription); + return this.automationClient = this.automationClient ?? new AutomationClient(Profile, Profile.Context.Subscription); } set @@ -58,8 +59,7 @@ public IAutomationClient AutomationClient /// /// Gets or sets the automation account name. /// - [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The automation account name.")] + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The automation account name.")] public string AutomationAccountName { get; set; } protected virtual void AutomationExecuteCmdlet() @@ -94,12 +94,44 @@ public override void ExecuteCmdlet() } } + protected bool GenerateCmdletOutput(object result) + { + var ret = true; + + try + { + WriteObject(result); + } + catch (PipelineStoppedException) + { + ret = false; + } + + return ret; + } + + protected bool GenerateCmdletOutput(IEnumerable results) + { + var ret = true; + foreach (var result in results) + { + try + { + WriteObject(result); + } + catch (PipelineStoppedException) + { + ret = false; + } + } + + return ret; + } + private string ParseErrorMessage(string errorMessage) { // The errorMessage is expected to be the error details in JSON format. - // e.g. - // {"odata.error":{"code":"","message":{"lang":"en-US","value":"Runbook definition is invalid. Missing closing '}' in statement block."}}} - // + // e.g. {"code":"NotFound","message":"Certificate not found."} try { using (var memoryStream = new MemoryStream(Encoding.UTF8.GetBytes(XDocument.Load(new StringReader(errorMessage)).Root.Value))) @@ -107,9 +139,9 @@ private string ParseErrorMessage(string errorMessage) var serializer = new DataContractJsonSerializer(typeof(ErrorResponse)); var errorResponse = (ErrorResponse)serializer.ReadObject(memoryStream); - if (!string.IsNullOrWhiteSpace(errorResponse.OdataError.Message.Value)) + if (!string.IsNullOrWhiteSpace(errorResponse.Message)) { - return errorResponse.OdataError.Message.Value; + return errorResponse.Message; } } } diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationAccount.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationAccount.cs index 7a2685c0b7e5..729c932b33e5 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationAccount.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationAccount.cs @@ -40,7 +40,7 @@ public IAutomationClient AutomationClient { get { - return this.automationClient = this.automationClient ?? new AutomationClient(CurrentContext.Subscription); + return this.automationClient = this.automationClient ?? new AutomationClient(Profile, Profile.Context.Subscription); } set @@ -52,15 +52,15 @@ public IAutomationClient AutomationClient /// /// Gets or sets the automation account name. /// - [Parameter(Position = 0, Mandatory = false, ValueFromPipelineByPropertyName = true, - HelpMessage = "The automation account name.")] + [Parameter(Position = 0, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The automation account name.")] + [Alias("AutomationAccountName")] + [ValidateNotNullOrEmpty] public string Name { get; set; } /// /// Gets or sets the location. /// - [Parameter(Position = 1, Mandatory = false, ValueFromPipelineByPropertyName = true, - HelpMessage = "The geo region of the automation account")] + [Parameter(Position = 1, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The geo region of the automation account")] public string Location { get; set; } /// @@ -69,7 +69,7 @@ public IAutomationClient AutomationClient [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] public override void ExecuteCmdlet() { - IEnumerable accounts = this.AutomationClient.ListAutomationAccounts(this.Name, this.Location); + var accounts = this.AutomationClient.ListAutomationAccounts(this.Name, this.Location); this.WriteObject(accounts, true); } } diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCertificate.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCertificate.cs new file mode 100644 index 000000000000..7d4254ad206e --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCertificate.cs @@ -0,0 +1,60 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.Azure.Commands.Automation.Common; + +namespace Microsoft.Azure.Commands.Automation.Cmdlet +{ + /// + /// Gets a certificate for automation. + /// + [Cmdlet(VerbsCommon.Get, "AzureAutomationCertificate", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] + [OutputType(typeof(CertificateInfo))] + public class GetAzureAutomationCertificate : AzureAutomationBaseCmdlet + { + /// + /// Gets or sets the certificate name. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByCertificateName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The certificate name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + /// + /// Execute this cmdlet. + /// + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + protected override void AutomationExecuteCmdlet() + { + IEnumerable ret = null; + if (this.ParameterSetName == AutomationCmdletParameterSets.ByCertificateName) + { + ret = new List + { + this.AutomationClient.GetCertificate(this.AutomationAccountName, this.Name) + }; + } + else + { + ret = this.AutomationClient.ListCertificates(this.AutomationAccountName); + } + + this.GenerateCmdletOutput(ret); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationConnection.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationConnection.cs new file mode 100644 index 000000000000..4f47be72fef7 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationConnection.cs @@ -0,0 +1,71 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.Azure.Commands.Automation.Common; + +namespace Microsoft.Azure.Commands.Automation.Cmdlet +{ + /// + /// Gets a connection for automation. + /// + [Cmdlet(VerbsCommon.Get, "AzureAutomationConnection", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] + [OutputType(typeof(Connection))] + public class GetAzureAutomationConnection : AzureAutomationBaseCmdlet + { + /// + /// Gets or sets the connection name. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByConnectionName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The connection name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + /// + /// Gets or sets the connection name. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByConnectionTypeName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The connection name.")] + [ValidateNotNullOrEmpty] + public string ConnectionTypeName { get; set; } + + /// + /// Execute this cmdlet. + /// + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + protected override void AutomationExecuteCmdlet() + { + IEnumerable ret = null; + if (this.ParameterSetName == AutomationCmdletParameterSets.ByConnectionName) + { + ret = new List + { + this.AutomationClient.GetConnection(this.AutomationAccountName, this.Name) + }; + } + else if (this.ParameterSetName == AutomationCmdletParameterSets.ByConnectionTypeName) + { + ret = this.AutomationClient.ListConnectionsByType(this.AutomationAccountName, this.ConnectionTypeName); + } + else + { + ret = this.AutomationClient.ListConnections(this.AutomationAccountName); + } + + this.GenerateCmdletOutput(ret); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCredential.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCredential.cs new file mode 100644 index 000000000000..1155918c4b03 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationCredential.cs @@ -0,0 +1,60 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.Azure.Commands.Automation.Common; + +namespace Microsoft.Azure.Commands.Automation.Cmdlet +{ + /// + /// Gets a Credential for automation. + /// + [Cmdlet(VerbsCommon.Get, "AzureAutomationCredential", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] + [OutputType(typeof(CredentialInfo))] + public class GetAzureAutomationCredential : AzureAutomationBaseCmdlet + { + /// + /// Gets or sets the credential name. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The credential name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + /// + /// Execute this cmdlet. + /// + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + protected override void AutomationExecuteCmdlet() + { + IEnumerable ret = null; + if (!string.IsNullOrEmpty(this.Name)) + { + ret = new List + { + this.AutomationClient.GetCredential(this.AutomationAccountName, this.Name) + }; + } + else + { + ret = this.AutomationClient.ListCredentials(this.AutomationAccountName); + } + + this.GenerateCmdletOutput(ret); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJob.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJob.cs index a8c0fdfb8a55..625f40d73de9 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJob.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJob.cs @@ -16,71 +16,53 @@ using System.Collections.Generic; using System.Management.Automation; using System.Security.Permissions; -using Job = Microsoft.Azure.Commands.Automation.Model.Job; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.Azure.Commands.Automation.Common; namespace Microsoft.Azure.Commands.Automation.Cmdlet { /// - /// Gets azure automation jobs for a given account, filtered by one of multiple criteria. + /// Gets a Job object for automation. /// - [Cmdlet(VerbsCommon.Get, "AzureAutomationJob", DefaultParameterSetName = ByAll)] - [OutputType(typeof(Job))] + [Cmdlet(VerbsCommon.Get, "AzureAutomationJob", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] + [OutputType(typeof(Microsoft.Azure.Commands.Automation.Model.Job))] public class GetAzureAutomationJob : AzureAutomationBaseCmdlet { - /// - /// The get job by job id parameter set. - /// - private const string ByJobId = "ByJobId"; - - /// - /// The get job by runbook id parameter set. - /// - private const string ByRunbookId = "ByRunbookId"; - - /// - /// The get job by runbook name parameter set. - /// - private const string ByRunbookName = "ByRunbookName"; - - /// - /// The get all parameter set. - /// - private const string ByAll = "ByAll"; - - /// - /// Gets or sets the job id. - /// - [Parameter(ParameterSetName = ByJobId, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The job id.")] - [Alias("JobId")] - public Guid? Id { get; set; } + /// + /// Gets or sets the job id. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByJobId, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The job id.")] + [Alias("JobId")] + public Guid Id { get; set; } + + /// + /// Gets or sets the runbook name of the job. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookName, Mandatory = true, HelpMessage = "The runbook name of the job.")] + [Alias("Name")] + public string RunbookName { get; set; } - /// - /// Gets or sets the runbook id of the job. - /// - [Parameter(ParameterSetName = ByRunbookId, Mandatory = true, HelpMessage = "The runbook id of the job.")] - public Guid? RunbookId { get; set; } + /// + /// Gets or sets the status of a job. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookName, Mandatory = false, HelpMessage = "The runbook name of the job.")] + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByAll, Mandatory = false, HelpMessage = "Filter jobs based on their status.")] + [ValidateSet("Completed", "Failed", "Queued", "Starting", "Resuming", "Running", "Stopped", "Stopping", "Suspended", "Suspending", "Activating")] + public string Status { get; set; } - /// - /// Gets or sets the runbook name of the job. - /// - [Parameter(ParameterSetName = ByRunbookName, Mandatory = true, HelpMessage = "The runbook name of the job.")] - public string RunbookName { get; set; } - - /// - /// Gets or sets the start time filter. - /// - [Parameter(ParameterSetName = ByRunbookId, Mandatory = false, HelpMessage = "Filter jobs so that job start time >= StartTime.")] - [Parameter(ParameterSetName = ByRunbookName, Mandatory = false, HelpMessage = "Filter jobs so that job start time >= StartTime.")] - [Parameter(ParameterSetName = ByAll, Mandatory = false, HelpMessage = "Filter jobs so that job start time >= StartTime.")] - public DateTime? StartTime { get; set; } - - /// - /// Gets or sets the end time filter. - /// - [Parameter(ParameterSetName = ByRunbookId, Mandatory = false, HelpMessage = "Filter jobs so that job end time <= EndTime.")] - [Parameter(ParameterSetName = ByRunbookName, Mandatory = false, HelpMessage = "Filter jobs so that job end time <= EndTime.")] - [Parameter(ParameterSetName = ByAll, Mandatory = false, HelpMessage = "Filter jobs so that job end time <= EndTime.")] - public DateTime? EndTime { get; set; } + /// + /// Gets or sets the start time filter. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookName, Mandatory = false, HelpMessage = "Filter jobs so that job start time >= StartTime.")] + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByAll, Mandatory = false, HelpMessage = "Filter jobs so that job start time >= StartTime.")] + public DateTimeOffset? StartTime { get; set; } + + /// + /// Gets or sets the end time filter. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookName, Mandatory = false, HelpMessage = "Filter jobs so that job end time <= EndTime.")] + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByAll, Mandatory = false, HelpMessage = "Filter jobs so that job end time <= EndTime.")] + public DateTimeOffset? EndTime { get; set; } /// /// Execute this cmdlet. @@ -88,30 +70,25 @@ public class GetAzureAutomationJob : AzureAutomationBaseCmdlet [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] protected override void AutomationExecuteCmdlet() { - IEnumerable jobs; - - if (this.Id.HasValue) - { - // ByJobId - jobs = new List { this.AutomationClient.GetJob(this.AutomationAccountName, this.Id.Value) }; - } - else if (this.RunbookId.HasValue) - { - // ByRunbookId - jobs = this.AutomationClient.ListJobsByRunbookId(this.AutomationAccountName, this.RunbookId.Value, this.StartTime, this.EndTime); - } - else if (this.RunbookName != null) - { - // ByRunbookName - jobs = this.AutomationClient.ListJobsByRunbookName(this.AutomationAccountName, this.RunbookName, this.StartTime, this.EndTime); - } - else - { - // ByAll - jobs = this.AutomationClient.ListJobs(this.AutomationAccountName, this.StartTime, this.EndTime); - } - - this.WriteObject(jobs, true); + IEnumerable jobs; + + if (this.Id != null && !Guid.Empty.Equals(this.Id)) + { + // ByJobId + jobs = new List { this.AutomationClient.GetJob(this.AutomationAccountName, this.Id) }; + } + else if (this.RunbookName != null) + { + // ByRunbookName + jobs = this.AutomationClient.ListJobsByRunbookName(this.AutomationAccountName, this.RunbookName, this.StartTime, this.EndTime, this.Status); + } + else + { + // ByAll + jobs = this.AutomationClient.ListJobs(this.AutomationAccountName, this.StartTime, this.EndTime, this.Status); + } + + this.WriteObject(jobs, true); } } } diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJobOutput.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJobOutput.cs index 0d474beefa30..d129635a3aa7 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJobOutput.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationJobOutput.cs @@ -14,7 +14,6 @@ using System; using System.Collections.Generic; -using System.Linq; using System.Management.Automation; using System.Security.Permissions; using Microsoft.Azure.Commands.Automation.Common; @@ -23,34 +22,24 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet { /// - /// Gets azure automation job output streams for a given account and a given job. + /// Gets azure automation variables for a given account. /// [Cmdlet(VerbsCommon.Get, "AzureAutomationJobOutput")] - [OutputType(typeof(JobStreamItem))] + [OutputType(typeof(JobStream))] public class GetAzureAutomationJobOutput : AzureAutomationBaseCmdlet { /// - /// Gets or sets the job id. + /// Gets or sets the job id /// - [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The job id.")] [Alias("JobId")] + [Parameter(Mandatory = true, Position = 1, ValueFromPipelineByPropertyName = true, HelpMessage = "The job name or Id")] public Guid Id { get; set; } - /// - /// Gets or sets the job start time. - /// - [Parameter(Position = 2, Mandatory = false, ValueFromPipelineByPropertyName = true, - HelpMessage = "The time from which job output streams should be retrieved.")] - public DateTime StartTime { get; set; } + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The stream type. Defaults to Any.")] + public StreamType Stream { get; set; } - /// - /// Gets or sets the output type. - /// - [Parameter(Mandatory = true)] - [ValidateSet(Constants.JobOutputParameter.Any, Constants.JobOutputParameter.Progress, Constants.JobOutputParameter.Output, Constants.JobOutputParameter.Warning, Constants.JobOutputParameter.Error, Constants.JobOutputParameter.Debug, Constants.JobOutputParameter.Verbose, IgnoreCase = true)] - [Alias("OutputType")] - public string Stream { get; set; } + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Retrieves output created after this time")] + public DateTimeOffset? StartTime { get; set; } /// /// Execute this cmdlet. @@ -58,24 +47,8 @@ public class GetAzureAutomationJobOutput : AzureAutomationBaseCmdlet [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] protected override void AutomationExecuteCmdlet() { - // Assume local time if DateTimeKind.Unspecified - if (this.StartTime.Kind == DateTimeKind.Unspecified) - { - this.StartTime = DateTime.SpecifyKind(this.StartTime, DateTimeKind.Local); - } - - var streamTypeNames = new string[] - { - Constants.JobOutputParameter.Progress, Constants.JobOutputParameter.Output, - Constants.JobOutputParameter.Warning, Constants.JobOutputParameter.Error, - Constants.JobOutputParameter.Debug, Constants.JobOutputParameter.Verbose - }; - string streamTypeName = - streamTypeNames.FirstOrDefault( - name => string.Equals(this.Stream, name, StringComparison.OrdinalIgnoreCase)); - IEnumerable streamItems = this.AutomationClient.ListJobStreamItems( - this.AutomationAccountName, this.Id, this.StartTime, streamTypeName); - this.WriteObject(streamItems, true); + var ret = this.AutomationClient.GetJobStream(this.AutomationAccountName, this.Id, this.StartTime, this.Stream.ToString() ); + this.GenerateCmdletOutput(ret); } } } diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationModule.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationModule.cs new file mode 100644 index 000000000000..8f1fcc65806c --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationModule.cs @@ -0,0 +1,60 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.Azure.Commands.Automation.Common; + +namespace Microsoft.Azure.Commands.Automation.Cmdlet +{ + /// + /// Gets a Module for automation. + /// + [Cmdlet(VerbsCommon.Get, "AzureAutomationModule", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] + [OutputType(typeof(Module))] + public class GetAzureAutomationModule : AzureAutomationBaseCmdlet + { + /// + /// Gets or sets the module name. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The module name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + /// + /// Execute this cmdlet. + /// + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + protected override void AutomationExecuteCmdlet() + { + IEnumerable ret = null; + if (!string.IsNullOrEmpty(this.Name)) + { + ret = new List + { + this.AutomationClient.GetModule(this.AutomationAccountName, this.Name) + }; + } + else + { + ret = this.AutomationClient.ListModules(this.AutomationAccountName); + } + + this.GenerateCmdletOutput(ret); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationRunbook.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationRunbook.cs index 79dd6f9160d7..cb79cc71c67d 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationRunbook.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationRunbook.cs @@ -16,6 +16,7 @@ using System.Collections.Generic; using System.Management.Automation; using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Common; using Microsoft.Azure.Commands.Automation.Model; namespace Microsoft.Azure.Commands.Automation.Cmdlet @@ -23,84 +24,38 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets azure automation runbooks for a given account. /// - [Cmdlet(VerbsCommon.Get, "AzureAutomationRunbook", DefaultParameterSetName = ByAll)] + [Cmdlet(VerbsCommon.Get, "AzureAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] [OutputType(typeof(Runbook))] public class GetAzureAutomationRunbook : AzureAutomationBaseCmdlet { /// - /// The get runbook by runbook id parameter set. + /// Gets or sets the runbook name. /// - private const string ByRunbookId = "ByRunbookId"; - - /// - /// The get runbook by runbook name parameter set. - /// - private const string ByRunbookName = "ByRunbookName"; - - /// - /// The get runbook by schedule name parameter set. - /// - private const string ByScheduleName = "ByScheduleName"; - - /// - /// The get all parameter set. - /// - private const string ByAll = "ByAll"; - - /// - /// Gets or sets the runbook Id - /// - [Parameter(ParameterSetName = ByRunbookId, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook id.")] - [Alias("RunbookId")] - public Guid? Id { get; set; } - - /// - /// Gets or sets the runbook name - /// - [Parameter(ParameterSetName = ByRunbookName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name.")] + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name.")] [Alias("RunbookName")] + [ValidateNotNullOrEmpty] public string Name { get; set; } - /// - /// Gets or sets the runbook name - /// - [Parameter(ParameterSetName = ByScheduleName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The schedule name.")] - public string ScheduleName { get; set; } - /// /// Execute this cmdlet. /// [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] protected override void AutomationExecuteCmdlet() { - IEnumerable runbooks; - if (this.Id.HasValue) - { - // ByRunbookId - runbooks = new List - { - this.AutomationClient.GetRunbook( - this.AutomationAccountName, this.Id.Value) - }; - } - else if (this.Name != null) - { - // ByRunbookName - runbooks = new List { this.AutomationClient.GetRunbook(this.AutomationAccountName, this.Name) }; - } - else if (this.ScheduleName != null) + IEnumerable ret = null; + if (this.ParameterSetName == AutomationCmdletParameterSets.ByRunbookName) { - // ByScheduleName - runbooks = this.AutomationClient.ListRunbookByScheduleName( - this.AutomationAccountName, this.ScheduleName); + ret = new List + { + this.AutomationClient.GetRunbook(this.AutomationAccountName, this.Name) + }; } - else + else if (this.ParameterSetName == AutomationCmdletParameterSets.ByAll) { - // ByAll - runbooks = this.AutomationClient.ListRunbooks(this.AutomationAccountName); + ret = this.AutomationClient.ListRunbooks(this.AutomationAccountName); } - this.WriteObject(runbooks, true); + this.GenerateCmdletOutput(ret); } } } diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationRunbookDefinition.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationRunbookDefinition.cs index 80022897c454..5902f63ca28c 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationRunbookDefinition.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationRunbookDefinition.cs @@ -16,67 +16,32 @@ using System.Collections.Generic; using System.Management.Automation; using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Common; using Microsoft.Azure.Commands.Automation.Model; +using System.Globalization; namespace Microsoft.Azure.Commands.Automation.Cmdlet { /// /// Gets azure automation runbook definitions for a given account. /// - [Cmdlet(VerbsCommon.Get, "AzureAutomationRunbookDefinition", DefaultParameterSetName = ByRunbookName)] + [Cmdlet(VerbsCommon.Get, "AzureAutomationRunbookDefinition", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)] [OutputType(typeof(RunbookDefinition))] public class GetAzureAutomationRunbookDefinition : AzureAutomationBaseCmdlet { - /// - /// The get runbook defintion by runbook id parameter set. - /// - private const string ByRunbookId = "ByRunbookId"; - - /// - /// The get runbook defintion by runbook name parameter set. - /// - private const string ByRunbookName = "ByRunbookName"; - - /// - /// The get runbook defintion by runbook version id parameter set. - /// - private const string ByVersionId = "ByVersionId"; - - /// - /// The published slot. - /// - private const string Published = "Published"; - - /// - /// The draft slot. - /// - private const string Draft = "Draft"; - - /// - /// Gets or sets the runbook id - /// - [Parameter(ParameterSetName = ByRunbookId, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook id.")] - [Alias("RunbookId")] - public Guid? Id { get; set; } - /// /// Gets or sets the runbook name /// - [Parameter(ParameterSetName = ByRunbookName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name.")] + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name.")] [Alias("RunbookName")] + [ValidateNotNullOrEmpty] public string Name { get; set; } - /// - /// Gets or sets the runbook version id - /// - [Parameter(ParameterSetName = ByVersionId, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook version id.")] - public Guid? VersionId { get; set; } - /// /// Gets or sets the runbook version type /// [Parameter(Mandatory = false, HelpMessage = "Returns the draft or the published runbook version only. If not set, return both.")] - [ValidateSet(Published, Draft)] + [ValidateSet(Constants.Published, Constants.Draft)] public string Slot { get; set; } /// @@ -87,27 +52,8 @@ protected override void AutomationExecuteCmdlet() { bool? isDraft = this.IsDraft(); - IEnumerable runbookDefinitions = null; - if (this.Id.HasValue) - { - // ByRunbookId - runbookDefinitions = this.AutomationClient.ListRunbookDefinitionsByRunbookId( - this.AutomationAccountName, this.Id.Value, isDraft); - } - else if (this.Name != null) - { - // ByRunbookName - runbookDefinitions = - this.AutomationClient.ListRunbookDefinitionsByRunbookName( - this.AutomationAccountName, this.Name, isDraft); - } - else if (this.VersionId.HasValue) - { - // ByVersionId - runbookDefinitions = - this.AutomationClient.ListRunbookDefinitionsByRunbookVersionId( - this.AutomationAccountName, this.VersionId.Value, isDraft); - } + // ByRunbookName + var runbookDefinitions = this.AutomationClient.ListRunbookDefinitionsByRunbookName(this.AutomationAccountName, this.Name, isDraft); this.WriteObject(runbookDefinitions, true); } @@ -124,7 +70,8 @@ protected override void AutomationExecuteCmdlet() if (this.Slot != null) { - isDraft = this.Slot == Draft; + isDraft = (0 == String.Compare(this.Slot, Constants.Draft, CultureInfo.InvariantCulture, + CompareOptions.OrdinalIgnoreCase)); } return isDraft; diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationSchedule.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationSchedule.cs index 7a554e9f6efe..48e8e2b534a4 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationSchedule.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationSchedule.cs @@ -16,6 +16,7 @@ using System.Collections.Generic; using System.Management.Automation; using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Common; using Microsoft.Azure.Commands.Automation.Model; namespace Microsoft.Azure.Commands.Automation.Cmdlet @@ -23,37 +24,17 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Gets azure automation schedules for a given account. /// - [Cmdlet(VerbsCommon.Get, "AzureAutomationSchedule", DefaultParameterSetName = ByAll)] + [Cmdlet(VerbsCommon.Get, "AzureAutomationSchedule", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] [OutputType(typeof(Schedule))] public class GetAzureAutomationSchedule : AzureAutomationBaseCmdlet { - /// - /// The get schedule by schedule id parameter set. - /// - private const string ByScheduleId = "ByScheduleId"; - - /// - /// The get schedule by schedule name parameter set. - /// - private const string ByScheduleName = "ByScheduleName"; - - /// - /// The get all parameter set. - /// - private const string ByAll = "ByAll"; - - /// - /// Gets or sets the schedule id. - /// - [Parameter(ParameterSetName = ByScheduleId, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The schedule id.")] - public Guid? Id { get; set; } - /// /// Gets or sets the schedule name. /// - [Parameter(ParameterSetName = ByScheduleName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The schedule name.")] + [Alias("ScheduleName")] + [ValidateNotNullOrEmpty] public string Name { get; set; } /// @@ -62,65 +43,21 @@ public class GetAzureAutomationSchedule : AzureAutomationBaseCmdlet [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] protected override void AutomationExecuteCmdlet() { - IEnumerable schedules; - if (this.Id.HasValue) - { - // ByScheduleId - schedules = new List - { - this.AutomationClient.GetSchedule( - this.AutomationAccountName, this.Id.Value) - }; - - } - else if (this.Name != null) + IEnumerable schedules = null; + if (this.ParameterSetName == AutomationCmdletParameterSets.ByName) { - // ByScheduleName schedules = new List { this.AutomationClient.GetSchedule( this.AutomationAccountName, this.Name) }; } - else + else if (this.ParameterSetName == AutomationCmdletParameterSets.ByAll) { - // ByAll schedules = this.AutomationClient.ListSchedules(this.AutomationAccountName); } - this.WriteSchedule(schedules); - } - - /// - /// Writes a OneTimeSchedule, DailySchedule or HourlySchedule to the pipeline. - /// - /// - /// The schedules. - /// - private void WriteSchedule(IEnumerable schedules) - { - foreach (var schedule in schedules) - { - var dailySchedule = schedule as DailySchedule; - if (dailySchedule != null) - { - this.WriteObject(dailySchedule); - continue; - } - - var hourlySchedule = schedule as HourlySchedule; - if (hourlySchedule != null) - { - this.WriteObject(hourlySchedule); - continue; - } - - var oneTimeSchedule = schedule as OneTimeSchedule; - if (oneTimeSchedule != null) - { - this.WriteObject(oneTimeSchedule); - } - } + this.GenerateCmdletOutput(schedules); } } } diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationScheduledRunbook.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationScheduledRunbook.cs new file mode 100644 index 000000000000..d72d9f0e1fda --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationScheduledRunbook.cs @@ -0,0 +1,92 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Model; + +namespace Microsoft.Azure.Commands.Automation.Cmdlet +{ + /// + /// Gets azure automation job schedules for a given account. + /// + [Cmdlet(VerbsCommon.Get, "AzureAutomationScheduledRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] + [OutputType(typeof(JobSchedule))] + public class GetAzureAutomationScheduledRunbook : AzureAutomationBaseCmdlet + { + /// + /// Gets or sets the job id. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByJobScheduleId, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The job schedule id.")] + public Guid? JobScheduleId { get; set; } + + /// + /// Gets or sets the runbook name of the job. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name of the job schedule.")] + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookNameAndScheduleName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name of the job schedule.")] + [Alias("Name")] + public string RunbookName { get; set; } + + /// + /// Gets or sets the runbook name of the job. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByScheduleName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The schedule name of the job schedule.")] + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookNameAndScheduleName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The schedule name of the job schedule.")] + public string ScheduleName { get; set; } + + /// + /// Execute this cmdlet. + /// + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + protected override void AutomationExecuteCmdlet() + { + IEnumerable jobSchedules = null; + + if (this.ParameterSetName == AutomationCmdletParameterSets.ByJobScheduleId) + { + jobSchedules = new List + { + this.AutomationClient.GetJobSchedule( + this.AutomationAccountName, this.JobScheduleId .Value) + }; + } + else if (this.ParameterSetName == AutomationCmdletParameterSets.ByRunbookNameAndScheduleName) + { + jobSchedules = new List + { + this.AutomationClient.GetJobSchedule( + this.AutomationAccountName, this.RunbookName, this.ScheduleName) + }; + } + else if (this.ParameterSetName == AutomationCmdletParameterSets.ByRunbookName) + { + jobSchedules = this.AutomationClient.ListJobSchedulesByRunbookName(this.AutomationAccountName, this.RunbookName); + } + else if (this.ParameterSetName == AutomationCmdletParameterSets.ByScheduleName) + { + jobSchedules = this.AutomationClient.ListJobSchedulesByScheduleName(this.AutomationAccountName, this.ScheduleName); + } + else if (this.ParameterSetName == AutomationCmdletParameterSets.ByAll) + { + jobSchedules = this.AutomationClient.ListJobSchedules(this.AutomationAccountName); + } + + this.GenerateCmdletOutput(jobSchedules); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationVariable.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationVariable.cs new file mode 100644 index 000000000000..a20d9d05ff86 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/GetAzureAutomationVariable.cs @@ -0,0 +1,60 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Model; + +namespace Microsoft.Azure.Commands.Automation.Cmdlet +{ + /// + /// Gets azure automation variables for a given account. + /// + [Cmdlet(VerbsCommon.Get, "AzureAutomationVariable", DefaultParameterSetName = AutomationCmdletParameterSets.ByAll)] + [OutputType(typeof(Variable))] + public class GetAzureAutomationVariable : AzureAutomationBaseCmdlet + { + /// + /// Gets or sets the variable name. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The variable name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + /// + /// Execute this cmdlet. + /// + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + protected override void AutomationExecuteCmdlet() + { + IEnumerable ret = null; + if (this.ParameterSetName == AutomationCmdletParameterSets.ByName) + { + ret = new List + { + this.AutomationClient.GetVariable(this.AutomationAccountName, this.Name) + }; + } + else if (this.ParameterSetName == AutomationCmdletParameterSets.ByAll) + { + ret = this.AutomationClient.ListVariables(this.AutomationAccountName); + } + + this.GenerateCmdletOutput(ret); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationAccount.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationAccount.cs new file mode 100644 index 000000000000..21b4f00f8705 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationAccount.cs @@ -0,0 +1,77 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.Generic; +using System.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.WindowsAzure.Commands.Utilities.Common; + +namespace Microsoft.Azure.Commands.Automation.Cmdlet +{ + /// + /// Creates azure automation accounts based on automation account name and location. + /// + [Cmdlet(VerbsCommon.New, "AzureAutomationAccount", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] + [OutputType(typeof(AutomationAccount))] + public class NewAzureAutomationAccount : AzurePSCmdlet + { + /// + /// The automation client. + /// + private IAutomationClient automationClient; + + /// + /// Gets or sets the automation client base. + /// + public IAutomationClient AutomationClient + { + get + { + return this.automationClient = this.automationClient ?? new AutomationClient(Profile, + Profile.Context.Subscription); + } + + set + { + this.automationClient = value; + } + } + + /// + /// Gets or sets the automation account name. + /// + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The automation account name.")] + [Alias("AutomationAccountName")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + /// + /// Gets or sets the location. + /// + [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The geo region of the automation account")] + public string Location { get; set; } + + /// + /// Execute this cmdlet. + /// + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + public override void ExecuteCmdlet() + { + var account = this.AutomationClient.CreateAutomationAccount(this.Name, this.Location); + this.WriteObject(account); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCertificate.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCertificate.cs new file mode 100644 index 000000000000..fc1af3f1e86b --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCertificate.cs @@ -0,0 +1,79 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Management.Automation; +using System.Security; +using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.Azure.Commands.Automation.Common; + +namespace Microsoft.Azure.Commands.Automation.Cmdlet +{ + /// + /// Create a new Certificate for automation. + /// + [Cmdlet(VerbsCommon.New, "AzureAutomationCertificate", DefaultParameterSetName = AutomationCmdletParameterSets.ByCertificateName)] + [OutputType(typeof(CertificateInfo))] + public class NewAzureAutomationCertificate : AzureAutomationBaseCmdlet + { + /// + /// Gets or sets the certificate name. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByCertificateName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The certificate name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + /// + /// Gets or sets the certificate description. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByCertificateName, ValueFromPipelineByPropertyName = true, + HelpMessage = "The certificate description.")] + public string Description { get; set; } + + /// + /// Gets or sets the certificate password. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByCertificateName, ValueFromPipelineByPropertyName = true, + HelpMessage = "The certificate password.")] + public SecureString Password { get; set; } + + /// + /// Gets or sets the certificate path. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByCertificateName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The certificate file path.")] + public string Path { get; set; } + + /// + /// Gets or sets the certificate exportable Property. + /// + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The exportable property of the certificate.")] + public SwitchParameter Exportable { get; set; } + + /// + /// Execute this cmdlet. + /// + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + protected override void AutomationExecuteCmdlet() + { + + var createdCertificate = this.AutomationClient.CreateCertificate(this.AutomationAccountName, this.Name, this.Path, this.Password, this.Description, this.Exportable.IsPresent); + + this.WriteObject(createdCertificate); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationConnection.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationConnection.cs new file mode 100644 index 000000000000..0233ef64e484 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationConnection.cs @@ -0,0 +1,76 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Collections.Generic; +using System.Management.Automation; +using System.Security; +using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.Azure.Commands.Automation.Common; + +namespace Microsoft.Azure.Commands.Automation.Cmdlet +{ + /// + /// Create a new Connection for automation. + /// + [Cmdlet(VerbsCommon.New, "AzureAutomationConnection", DefaultParameterSetName = AutomationCmdletParameterSets.ByConnectionName)] + [OutputType(typeof(Connection))] + public class NewAzureAutomationConnection : AzureAutomationBaseCmdlet + { + + /// + /// Gets or sets the connection name. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByConnectionName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The connection name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + /// + /// Gets or sets the connection type name. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByConnectionName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The connection type name.")] + [ValidateNotNullOrEmpty] + public string ConnectionTypeName { get; set; } + + /// + /// Gets or sets the connection field values. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByConnectionName, Position = 3, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The connection field values.")] + public IDictionary ConnectionFieldValues { get; set; } + + /// + /// Gets or sets the connection description. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByConnectionName, ValueFromPipelineByPropertyName = true, + HelpMessage = "The connection description.")] + public string Description { get; set; } + + /// + /// Execute this cmdlet. + /// + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + protected override void AutomationExecuteCmdlet() + { + + var createdConnection = this.AutomationClient.CreateConnection(this.AutomationAccountName, this.Name, this.ConnectionTypeName, this.ConnectionFieldValues, this.Description); + + this.WriteObject(createdConnection); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCredential.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCredential.cs new file mode 100644 index 000000000000..61f930c47291 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationCredential.cs @@ -0,0 +1,72 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.Azure.Commands.Automation.Common; + +namespace Microsoft.Azure.Commands.Automation.Cmdlet +{ + /// + /// Create a new Credential for automation. + /// + [Cmdlet(VerbsCommon.New, "AzureAutomationCredential", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] + [OutputType(typeof(CredentialInfo))] + public class NewAzureAutomationCredential : AzureAutomationBaseCmdlet + { + /// + /// Gets or sets the credential name. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The credential name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + /// + /// Gets or sets the credential name. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, ValueFromPipelineByPropertyName = true, + HelpMessage = "The credential description.")] + public string Description { get; set; } + + /// + /// Gets or sets the credential UserName. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The credential value.")] + public PSCredential Value { get; set; } + + /// + /// Execute this cmdlet. + /// + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + protected override void AutomationExecuteCmdlet() + { + string userName = null, password = null; + + if (Value != null) + { + userName = Value.UserName; + password = Value.GetNetworkCredential().Password; + } + + var createdCredential = this.AutomationClient.CreateCredential(this.AutomationAccountName, Name, userName, password, Description); + + this.WriteObject(createdCredential); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationModule.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationModule.cs new file mode 100644 index 000000000000..cc8402cd29e2 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationModule.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 System; +using System.Collections.Generic; +using System.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.Azure.Commands.Automation.Common; +using System.Collections; + +namespace Microsoft.Azure.Commands.Automation.Cmdlet +{ + /// + /// Create a new Module for automation. + /// + [Cmdlet(VerbsCommon.New, "AzureAutomationModule")] + [OutputType(typeof(Module))] + public class NewAzureAutomationModule : AzureAutomationBaseCmdlet + { + /// + /// Gets or sets the module name. + /// + [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The module name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + /// + /// Gets or sets the contentLink + /// + [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The ContentLink.")] + [ValidateNotNullOrEmpty] + public Uri ContentLink { get; set; } + + /// + /// Gets or sets the module tags. + /// + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The module tags.")] + [Alias("Tag")] + public IDictionary Tags { get; set; } + + /// + /// Execute this cmdlet. + /// + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + protected override void AutomationExecuteCmdlet() + { + var createdModule = this.AutomationClient.CreateModule(this.AutomationAccountName, ContentLink, Name, Tags); + + this.WriteObject(createdModule); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationRunbook.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationRunbook.cs index d9956d09e70b..72c40ba2746b 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationRunbook.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationRunbook.cs @@ -12,34 +12,26 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using System.Collections; using System.Management.Automation; using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Common; using Microsoft.Azure.Commands.Automation.Model; using Microsoft.WindowsAzure.Commands.Utilities.Common; namespace Microsoft.Azure.Commands.Automation.Cmdlet { /// - /// Creates an azure automation runbook. + /// Gets azure automation schedules for a given account. /// - [Cmdlet(VerbsCommon.New, "AzureAutomationRunbook", DefaultParameterSetName = ByRunbookName)] - [OutputType(typeof(Runbook))] + [Cmdlet(VerbsCommon.New, "AzureAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)] + [OutputType(typeof (Runbook))] public class NewAzureAutomationRunbook : AzureAutomationBaseCmdlet { - /// - /// The create runbook by runbook path parameter set. - /// - private const string ByRunbookPath = "ByRunbookPath"; - - /// - /// The create runbook by runbook name parameter set. - /// - private const string ByRunbookName = "ByRunbookName"; - /// /// Gets or sets the runbook name /// - [Parameter(ParameterSetName = ByRunbookName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name.")] + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name.")] [Alias("RunbookName")] [ValidateNotNullOrEmpty] public string Name { get; set; } @@ -47,7 +39,7 @@ public class NewAzureAutomationRunbook : AzureAutomationBaseCmdlet /// /// Gets or sets the path of the runbook script /// - [Parameter(ParameterSetName = ByRunbookPath, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook file path.")] + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByPath, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook file path.")] [Alias("RunbookPath")] [ValidateNotNullOrEmpty] public string Path { get; set; } @@ -62,6 +54,7 @@ public class NewAzureAutomationRunbook : AzureAutomationBaseCmdlet /// Gets or sets the runbook tags. /// [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook tags.")] + [Alias("Tag")] public string[] Tags { get; set; } /// @@ -70,15 +63,15 @@ public class NewAzureAutomationRunbook : AzureAutomationBaseCmdlet [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] protected override void AutomationExecuteCmdlet() { - Runbook runbook; + Runbook runbook = null; - if (this.Path != null) + if (this.ParameterSetName == AutomationCmdletParameterSets.ByPath) { // ByRunbookPath runbook = this.AutomationClient.CreateRunbookByPath( this.AutomationAccountName, this.ResolvePath(this.Path), this.Description, this.Tags); } - else + else if (this.ParameterSetName == AutomationCmdletParameterSets.ByRunbookName) { // ByRunbookName runbook = this.AutomationClient.CreateRunbookByName( diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationSchedule.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationSchedule.cs index 8d65beb468ff..f96156bdab41 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationSchedule.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationSchedule.cs @@ -23,25 +23,10 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Creates an azure automation Schedule. /// - [Cmdlet(VerbsCommon.New, "AzureAutomationSchedule", DefaultParameterSetName = ByDaily)] + [Cmdlet(VerbsCommon.New, "AzureAutomationSchedule", DefaultParameterSetName = AutomationCmdletParameterSets.ByDaily)] [OutputType(typeof(Schedule))] public class NewAzureAutomationSchedule : AzureAutomationBaseCmdlet { - /// - /// The one time schedule parameter set. - /// - private const string ByOneTime = "ByOneTime"; - - /// - /// The daily schedule parameter set. - /// - private const string ByDaily = "ByDaily"; - - /// - /// The hourly schedule parameter set. - /// - private const string ByHourly = "ByHourly"; - /// /// Initializes a new instance of the class. /// @@ -49,7 +34,7 @@ public NewAzureAutomationSchedule() { this.ExpiryTime = Constants.DefaultScheduleExpiryTime; } - + /// /// Gets or sets the schedule name. /// @@ -61,10 +46,10 @@ public NewAzureAutomationSchedule() /// /// Gets or sets the schedule start time. /// - [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, + [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The schedule start time.")] [ValidateNotNull] - public DateTime StartTime { get; set; } + public DateTimeOffset StartTime { get; set; } /// /// Gets or sets the schedule description. @@ -75,29 +60,29 @@ public NewAzureAutomationSchedule() /// /// Gets or sets the switch parameter to create a one time schedule. /// - [Parameter(ParameterSetName = ByOneTime, Mandatory = true, HelpMessage = "To create a one time schedule.")] + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByOneTime, Mandatory = true, HelpMessage = "To create a one time schedule.")] public SwitchParameter OneTime { get; set; } /// /// Gets or sets the schedule expiry time. /// - [Parameter(ParameterSetName = ByDaily, Mandatory = false, HelpMessage = "The schedule expiry time.")] - [Parameter(ParameterSetName = ByHourly, Mandatory = false, HelpMessage = "The schedule expiry time.")] - public DateTime ExpiryTime { get; set; } + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByDaily, Mandatory = false, HelpMessage = "The schedule expiry time.")] + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByHourly, Mandatory = false, HelpMessage = "The schedule expiry time.")] + public DateTimeOffset ExpiryTime { get; set; } /// /// Gets or sets the daily schedule day interval. /// - [Parameter(ParameterSetName = ByDaily, Mandatory = true, HelpMessage = "The daily schedule day interval.")] - [ValidateRange(1, int.MaxValue)] - public int DayInterval { get; set; } + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByDaily, Mandatory = true, HelpMessage = "The daily schedule day interval.")] + [ValidateRange(1, byte.MaxValue)] + public byte DayInterval { get; set; } /// /// Gets or sets the hourly schedule hour interval. /// - [Parameter(ParameterSetName = ByHourly, Mandatory = true, HelpMessage = "The hourly schedule hour interval.")] - [ValidateRange(1, int.MaxValue)] - public int HourInterval { get; set; } + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByHourly, Mandatory = true, HelpMessage = "The hourly schedule hour interval.")] + [ValidateRange(1, byte.MaxValue)] + public byte HourInterval { get; set; } /// /// Execute this cmdlet. @@ -105,61 +90,31 @@ public NewAzureAutomationSchedule() [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] protected override void AutomationExecuteCmdlet() { - // Assume local time if DateTimeKind.Unspecified - if (this.StartTime.Kind == DateTimeKind.Unspecified) + var schedule = new Schedule { - this.StartTime = DateTime.SpecifyKind(this.StartTime, DateTimeKind.Local); - } + Name = this.Name, + StartTime = this.StartTime, + Description = this.Description, + ExpiryTime = this.ExpiryTime + }; - if (this.ExpiryTime.Kind == DateTimeKind.Unspecified) + if (this.ParameterSetName == AutomationCmdletParameterSets.ByOneTime) { - this.ExpiryTime = DateTime.SpecifyKind(this.ExpiryTime, DateTimeKind.Local); + schedule.Frequency = ScheduleFrequency.Onetime; } - - if (this.OneTime.IsPresent) + else if (this.ParameterSetName == AutomationCmdletParameterSets.ByDaily) { - // ByOneTime - var oneTimeSchedule = new OneTimeSchedule - { - Name = this.Name, - StartTime = this.StartTime, - Description = this.Description, - ExpiryTime = this.ExpiryTime - }; - - Schedule schedule = this.AutomationClient.CreateSchedule(this.AutomationAccountName, oneTimeSchedule); - this.WriteObject(schedule); + schedule.Frequency = ScheduleFrequency.Day; + schedule.Interval = this.DayInterval; } - else if (this.DayInterval >= 1) + else if (this.ParameterSetName == AutomationCmdletParameterSets.ByHourly) { - // ByDaily - var dailySchedule = new DailySchedule - { - Name = this.Name, - StartTime = this.StartTime, - DayInterval = this.DayInterval, - Description = this.Description, - ExpiryTime = this.ExpiryTime - }; - - Schedule schedule = this.AutomationClient.CreateSchedule(this.AutomationAccountName, dailySchedule); - this.WriteObject(schedule); + schedule.Frequency = ScheduleFrequency.Hour; + schedule.Interval = this.HourInterval; } - else if (this.HourInterval >= 1) - { - // ByHourly - var hourlySchedule = new HourlySchedule - { - Name = this.Name, - StartTime = this.StartTime, - HourInterval = this.HourInterval, - Description = this.Description, - ExpiryTime = this.ExpiryTime - }; - Schedule schedule = this.AutomationClient.CreateSchedule(this.AutomationAccountName, hourlySchedule); - this.WriteObject(schedule); - } + Schedule createdSchedule = this.AutomationClient.CreateSchedule(this.AutomationAccountName, schedule); + this.WriteObject(createdSchedule); } } } diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationVariable.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationVariable.cs new file mode 100644 index 000000000000..a358c6333296 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/NewAzureAutomationVariable.cs @@ -0,0 +1,75 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.Azure.Commands.Automation.Common; + +namespace Microsoft.Azure.Commands.Automation.Cmdlet +{ + /// + /// Gets azure automation variables for a given account. + /// + [Cmdlet(VerbsCommon.New, "AzureAutomationVariable")] + [OutputType(typeof(Variable))] + public class NewAzureAutomationVariable : AzureAutomationBaseCmdlet + { + /// + /// Gets or sets the variable name. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Mandatory = true, Position = 1, ValueFromPipelineByPropertyName = true, HelpMessage = "The variable name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + /// + /// Gets or sets the variable encrypted Property. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The encrypted property of the variable.")] + [ValidateNotNull] + public bool Encrypted { get; set; } + + /// + /// Gets or sets the variable description. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The description of the variable.")] + public string Description { get; set; } + + /// + /// Gets or sets the variable value. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The value of the variable.")] + public object Value { get; set; } + + /// + /// Execute this cmdlet. + /// + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + protected override void AutomationExecuteCmdlet() + { + Variable variable = new Variable() + { + Name = this.Name, + Encrypted = this.Encrypted, + Description = this.Description, + Value = this.Value, + AutomationAccountName = this.AutomationAccountName + }; + + var ret = this.AutomationClient.CreateVariable(variable); + + this.GenerateCmdletOutput(ret); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/PublishAzureAutomationRunbook.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/PublishAzureAutomationRunbook.cs index 571f446db445..98d4093007bd 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/PublishAzureAutomationRunbook.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/PublishAzureAutomationRunbook.cs @@ -15,6 +15,7 @@ using System; using System.Management.Automation; using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Common; using Microsoft.Azure.Commands.Automation.Model; namespace Microsoft.Azure.Commands.Automation.Cmdlet @@ -22,31 +23,14 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Publishes an azure automation runbook. /// - [Cmdlet(VerbsData.Publish, "AzureAutomationRunbook", DefaultParameterSetName = ByRunbookName)] + [Cmdlet(VerbsData.Publish, "AzureAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)] [OutputType(typeof(Runbook))] public class PublishAzureAutomationRunbook : AzureAutomationBaseCmdlet { - /// - /// The publish runbook by runbook id parameter set. - /// - private const string ByRunbookId = "ByRunbookId"; - - /// - /// The publish runbook by runbook name parameter set. - /// - private const string ByRunbookName = "ByRunbookName"; - - /// - /// Gets or sets the runbook id - /// - [Parameter(ParameterSetName = ByRunbookId, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook id.")] - [Alias("RunbookId")] - public Guid? Id { get; set; } - /// /// Gets or sets the runbook name /// - [Parameter(ParameterSetName = ByRunbookName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name.")] + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name.")] [ValidateNotNullOrEmpty] [Alias("RunbookName")] public string Name { get; set; } @@ -57,16 +41,7 @@ public class PublishAzureAutomationRunbook : AzureAutomationBaseCmdlet [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] protected override void AutomationExecuteCmdlet() { - Runbook runbook; - - if (this.Id.HasValue) - { - runbook = this.AutomationClient.PublishRunbook(this.AutomationAccountName, this.Id.Value); - } - else - { - runbook = this.AutomationClient.PublishRunbook(this.AutomationAccountName, this.Name); - } + var runbook = this.AutomationClient.PublishRunbook(this.AutomationAccountName, this.Name); this.WriteObject(runbook); } diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RegisterAzureAutomationScheduledRunbook.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RegisterAzureAutomationScheduledRunbook.cs index dd8e7e4a30b0..ba39cb92f5d4 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RegisterAzureAutomationScheduledRunbook.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RegisterAzureAutomationScheduledRunbook.cs @@ -12,8 +12,10 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using System.Collections; using System.Management.Automation; using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Common; using Microsoft.Azure.Commands.Automation.Model; namespace Microsoft.Azure.Commands.Automation.Cmdlet @@ -21,38 +23,46 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Registers an azure automation scheduled runbook. /// - [Cmdlet(VerbsLifecycle.Register, "AzureAutomationScheduledRunbook", DefaultParameterSetName = ByRunbookName)] - [OutputType(typeof(Runbook))] - public class RegisterAzureAutomationScheduledRunbook : StartAzureAutomationRunbookBase + [Cmdlet(VerbsLifecycle.Register, "AzureAutomationScheduledRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)] + [OutputType(typeof(JobSchedule))] + public class RegisterAzureAutomationScheduledRunbook : AzureAutomationBaseCmdlet { + /// + /// Gets or sets the runbook name + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookNameAndScheduleName, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The runbook name.")] + [ValidateNotNullOrEmpty] + [Alias("Name")] + public string RunbookName { get; set; } + /// /// Gets or sets the schedule that will be used to start the runbook. /// - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookNameAndScheduleName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the schedule on which the runbook will be started.")] [ValidateNotNullOrEmpty] public string ScheduleName { get; set; } + /// + /// Gets or sets the runbook parameters. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookNameAndScheduleName, Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "The runbook parameters.")] + public IDictionary Parameters { get; set; } + /// /// Execute this cmdlet. /// [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] protected override void AutomationExecuteCmdlet() { - Runbook runbook; + JobSchedule jobSchedule; - if (this.Id.HasValue) - { - runbook = this.AutomationClient.RegisterScheduledRunbook( - this.AutomationAccountName, this.Id.Value, this.Parameters, this.ScheduleName); - } - else - { - runbook = this.AutomationClient.RegisterScheduledRunbook( - this.AutomationAccountName, this.Name, this.Parameters, this.ScheduleName); - } + jobSchedule = this.AutomationClient.RegisterScheduledRunbook( + this.AutomationAccountName, this.RunbookName, this.ScheduleName, this.Parameters); - this.WriteObject(runbook); + this.WriteObject(jobSchedule); } } } diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationAccount.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationAccount.cs new file mode 100644 index 000000000000..4d63614e3f99 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationAccount.cs @@ -0,0 +1,86 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.Generic; +using System.Globalization; +using System.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.Azure.Commands.Automation.Properties; +using Microsoft.WindowsAzure.Commands.Utilities.Common; + +namespace Microsoft.Azure.Commands.Automation.Cmdlet +{ + /// + /// Removes azure automation accounts, filterd by automation account name and location. + /// + [Cmdlet(VerbsCommon.Remove, "AzureAutomationAccount")] + [OutputType(typeof(AutomationAccount))] + public class RemoveAzureAutomationAccount : AzurePSCmdlet + { + /// + /// The automation client. + /// + private IAutomationClient automationClient; + + /// + /// Gets or sets the automation client base. + /// + public IAutomationClient AutomationClient + { + get + { + return this.automationClient = this.automationClient ?? new AutomationClient(Profile, + Profile.Context.Subscription); + } + + set + { + this.automationClient = value; + } + } + + /// + /// Gets or sets the automation account name. + /// + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The automation account name.")] + [Alias("AutomationAccountName")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + /// + /// Gets or sets the switch parameter not to confirm on removing the automaiton account. + /// + [Parameter(Mandatory = false, HelpMessage = "Forces the command to run without asking for user confirmation.")] + public SwitchParameter Force { get; set; } + + /// + /// Execute this cmdlet. + /// + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + public override void ExecuteCmdlet() + { + this.ConfirmAction( + this.Force.IsPresent, + string.Format(CultureInfo.CurrentCulture, Resources.RemovingAzureAutomationResourceWarning, this.Name), + string.Format(CultureInfo.CurrentCulture, Resources.RemoveAzureAutomationResourceDescription, this.Name), + this.Name, + () => + { + AutomationClient.DeleteAutomationAccount(this.Name); + }); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCertificate.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCertificate.cs new file mode 100644 index 000000000000..e7e6b62d1e31 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCertificate.cs @@ -0,0 +1,58 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Properties; + +namespace Microsoft.Azure.Commands.Automation.Cmdlet +{ + /// + /// Removes a Certificate for automation. + /// + [Cmdlet(VerbsCommon.Remove, "AzureAutomationCertificate", DefaultParameterSetName = AutomationCmdletParameterSets.ByCertificateName)] + public class RemoveAzureAutomationCertificate : AzureAutomationBaseCmdlet + { + /// + /// Gets or sets the certificate name. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByCertificateName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The certificate name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByCertificateName, Position = 2, HelpMessage = "Confirm the removal of the certificate")] + public SwitchParameter Force { get; set; } + + /// + /// Execute this cmdlet. + /// + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + protected override void AutomationExecuteCmdlet() + { + ConfirmAction( + Force.IsPresent, + string.Format(Resources.RemovingAzureAutomationResourceWarning, "Certificate"), + string.Format(Resources.RemoveAzureAutomationResourceDescription, "Certificate"), + Name, + () => + { + this.AutomationClient.DeleteCertificate(this.AutomationAccountName, Name); + }); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationConnection.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationConnection.cs new file mode 100644 index 000000000000..0d25b368526e --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationConnection.cs @@ -0,0 +1,58 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Properties; + +namespace Microsoft.Azure.Commands.Automation.Cmdlet +{ + /// + /// Removes a Connection for automation. + /// + [Cmdlet(VerbsCommon.Remove, "AzureAutomationConnection", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] + public class RemoveAzureAutomationConnection : AzureAutomationBaseCmdlet + { + /// + /// Gets or sets the connection name. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The connection name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 2, HelpMessage = "Confirm the removal of the connection")] + public SwitchParameter Force { get; set; } + + /// + /// Execute this cmdlet. + /// + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + protected override void AutomationExecuteCmdlet() + { + ConfirmAction( + Force.IsPresent, + string.Format(Resources.RemovingAzureAutomationResourceWarning, "Connection"), + string.Format(Resources.RemoveAzureAutomationResourceDescription, "Connection"), + Name, + () => + { + this.AutomationClient.DeleteConnection(this.AutomationAccountName, Name); + }); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCredential.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCredential.cs new file mode 100644 index 000000000000..1e1b425aee48 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationCredential.cs @@ -0,0 +1,58 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Properties; + +namespace Microsoft.Azure.Commands.Automation.Cmdlet +{ + /// + /// Removes a Credential for automation. + /// + [Cmdlet(VerbsCommon.Remove, "AzureAutomationCredential", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] + public class RemoveAzureAutomationCredential : AzureAutomationBaseCmdlet + { + /// + /// Gets or sets the credential name. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The credential name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 2, HelpMessage = "Confirm the removal of the credential")] + public SwitchParameter Force { get; set; } + + /// + /// Execute this cmdlet. + /// + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + protected override void AutomationExecuteCmdlet() + { + ConfirmAction( + Force.IsPresent, + string.Format(Resources.RemovingAzureAutomationResourceWarning, "Credential"), + string.Format(Resources.RemoveAzureAutomationResourceDescription, "Credential"), + Name, + () => + { + this.AutomationClient.DeleteCredential(this.AutomationAccountName, Name); + }); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationModule.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationModule.cs new file mode 100644 index 000000000000..065184aee55e --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationModule.cs @@ -0,0 +1,58 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Properties; + +namespace Microsoft.Azure.Commands.Automation.Cmdlet +{ + /// + /// Remove a Module for automation. + /// + [Cmdlet(VerbsCommon.Remove, "AzureAutomationModule", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] + public class RemoveAzureAutomationModule : AzureAutomationBaseCmdlet + { + /// + /// Gets or sets the module name. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The module name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 2, HelpMessage = "Confirm the removal of the module")] + public SwitchParameter Force { get; set; } + + /// + /// Execute this cmdlet. + /// + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + protected override void AutomationExecuteCmdlet() + { + ConfirmAction( + Force.IsPresent, + string.Format(Resources.RemovingAzureAutomationResourceWarning, "Module"), + string.Format(Resources.RemoveAzureAutomationResourceDescription, "Module"), + Name, + () => + { + this.AutomationClient.DeleteModule(this.AutomationAccountName, Name); + }); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationRunbook.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationRunbook.cs index c63f8ef1b0db..c51c7ee46b3e 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationRunbook.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationRunbook.cs @@ -16,6 +16,7 @@ using System.Globalization; using System.Management.Automation; using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Common; using Microsoft.Azure.Commands.Automation.Properties; namespace Microsoft.Azure.Commands.Automation.Cmdlet @@ -23,30 +24,13 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Removes an azure automation runbook. /// - [Cmdlet(VerbsCommon.Remove, "AzureAutomationRunbook", SupportsShouldProcess = true, DefaultParameterSetName = ByRunbookName)] + [Cmdlet(VerbsCommon.Remove, "AzureAutomationRunbook", SupportsShouldProcess = true, DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)] public class RemoveAzureAutomationRunbook : AzureAutomationBaseCmdlet { - /// - /// The remove runbook by runbook id parameter set. - /// - private const string ByRunbookId = "ByRunbookId"; - - /// - /// The remove runbook by runbook name parameter set. - /// - private const string ByRunbookName = "ByRunbookName"; - - /// - /// Gets or sets the runbook id - /// - [Parameter(ParameterSetName = ByRunbookId, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook id.")] - [Alias("RunbookId")] - public Guid? Id { get; set; } - /// /// Gets or sets the runbook name /// - [Parameter(ParameterSetName = ByRunbookName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name.")] + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name.")] [Alias("RunbookName")] [ValidateNotNullOrEmpty] public string Name { get; set; } @@ -54,7 +38,7 @@ public class RemoveAzureAutomationRunbook : AzureAutomationBaseCmdlet /// /// Gets or sets the switch parameter not to confirm on removing the runbook. /// - [Parameter(Mandatory = false, HelpMessage = "Do not confirm on removing the runbook.")] + [Parameter(Mandatory = false, HelpMessage = "Forces the command to run without asking for user confirmation.")] public SwitchParameter Force { get; set; } /// @@ -67,20 +51,11 @@ protected override void AutomationExecuteCmdlet() this.Force.IsPresent, string.Format(CultureInfo.CurrentCulture, Resources.RemoveAzureAutomationRunbookWarning), string.Format(CultureInfo.CurrentCulture, Resources.RemoveAzureAutomationRunbookDescription), - this.Id.HasValue ? this.Id.Value.ToString() : this.Name, + this.Name, () => - { - if (this.Id.HasValue) - { - // ByRunbookId - this.AutomationClient.DeleteRunbook(this.AutomationAccountName, this.Id.Value); - } - else - { - // ByRunbookName - this.AutomationClient.DeleteRunbook(this.AutomationAccountName, this.Name); - } - }); + { + AutomationClient.DeleteRunbook(this.AutomationAccountName, this.Name); + }); } } } diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationSchedule.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationSchedule.cs index 4f7f1d140875..687380e3a1fa 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationSchedule.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationSchedule.cs @@ -16,6 +16,7 @@ using System.Globalization; using System.Management.Automation; using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Common; using Microsoft.Azure.Commands.Automation.Properties; namespace Microsoft.Azure.Commands.Automation.Cmdlet @@ -23,37 +24,20 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Removes an azure automation Schedule. /// - [Cmdlet(VerbsCommon.Remove, "AzureAutomationSchedule", SupportsShouldProcess = true, DefaultParameterSetName = ByScheduleName)] + [Cmdlet(VerbsCommon.Remove, "AzureAutomationSchedule", SupportsShouldProcess = true, DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] public class RemoveAzureAutomationSchedule : AzureAutomationBaseCmdlet { - /// - /// The get schedule by schedule id parameter set. - /// - private const string ByScheduleId = "ByScheduleId"; - - /// - /// The get schedule by schedule name parameter set. - /// - private const string ByScheduleName = "ByScheduleName"; - - /// - /// Gets or sets the schedule id. - /// - [Parameter(ParameterSetName = ByScheduleId, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The schedule id.")] - public Guid? Id { get; set; } - /// /// Gets or sets the schedule name. /// - [Parameter(ParameterSetName = ByScheduleName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The schedule name.")] public string Name { get; set; } /// /// Gets or sets the switch parameter not to confirm on removing the schedule. /// - [Parameter(Mandatory = false, HelpMessage = "Do not confirm on removing the schedule.")] + [Parameter(Mandatory = false, HelpMessage = "Forces the command to run without asking for user confirmation.")] public SwitchParameter Force { get; set; } /// @@ -66,19 +50,10 @@ protected override void AutomationExecuteCmdlet() this.Force.IsPresent, string.Format(CultureInfo.CurrentCulture, Resources.RemoveAzureAutomationScheduleWarning), string.Format(CultureInfo.CurrentCulture, Resources.RemoveAzureAutomationScheduleDescription), - this.Id.HasValue ? this.Id.Value.ToString() : this.Name, + this.Name, () => { - if (this.Id.HasValue) - { - // ByScheduleId - this.AutomationClient.DeleteSchedule(this.AutomationAccountName, this.Id.Value); - } - else - { - // ByScheduleName - this.AutomationClient.DeleteSchedule(this.AutomationAccountName, this.Name); - } + this.AutomationClient.DeleteSchedule(this.AutomationAccountName, this.Name); }); } } diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationVariable.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationVariable.cs new file mode 100644 index 000000000000..2c2f28655bee --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/RemoveAzureAutomationVariable.cs @@ -0,0 +1,59 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.Azure.Commands.Automation.Properties; + +namespace Microsoft.Azure.Commands.Automation.Cmdlet +{ + /// + /// Gets azure automation variables for a given account. + /// + [Cmdlet(VerbsCommon.Remove, "AzureAutomationVariable")] + [OutputType(typeof(Variable))] + public class RemoveAzureAutomationVariable : AzureAutomationBaseCmdlet + { + /// + /// Gets or sets the variable name. + /// + [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The variable name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Position = 2, HelpMessage = "Confirm the removal of the variable")] + public SwitchParameter Force { get; set; } + + /// + /// Execute this cmdlet. + /// + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + protected override void AutomationExecuteCmdlet() + { + ConfirmAction( + Force.IsPresent, + string.Format(Resources.RemovingAzureAutomationResourceWarning, "Variable"), + string.Format(Resources.RemoveAzureAutomationResourceDescription, "Variable"), + Name, + () => + { + this.AutomationClient.DeleteVariable(this.AutomationAccountName, this.Name); + }); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/ResumeAzureAutomationJob.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/ResumeAzureAutomationJob.cs index 6394deee3264..4ec36ac8045a 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/ResumeAzureAutomationJob.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/ResumeAzureAutomationJob.cs @@ -13,32 +13,35 @@ // ---------------------------------------------------------------------------------- using System; +using System.Collections.Generic; using System.Management.Automation; using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.Azure.Commands.Automation.Common; namespace Microsoft.Azure.Commands.Automation.Cmdlet { /// - /// Resumes an azure automation job. + /// Gets a Credential for automation. /// [Cmdlet(VerbsLifecycle.Resume, "AzureAutomationJob")] public class ResumeAzureAutomationJob : AzureAutomationBaseCmdlet { - /// - /// Gets or sets the job id. - /// - [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The job id.")] - [Alias("JobId")] - public Guid Id { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - this.AutomationClient.ResumeJob(this.AutomationAccountName, this.Id); - } + /// + /// Gets or sets the job id. + /// + [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The job id.")] + [Alias("JobId")] + public Guid Id { get; set; } + + /// + /// Execute this cmdlet. + /// + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + protected override void AutomationExecuteCmdlet() + { + this.AutomationClient.ResumeJob(this.AutomationAccountName, this.Id); + } } } diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCertificate.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCertificate.cs new file mode 100644 index 000000000000..e485e7790bf9 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCertificate.cs @@ -0,0 +1,79 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Management.Automation; +using System.Security; +using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.Azure.Commands.Automation.Common; + +namespace Microsoft.Azure.Commands.Automation.Cmdlet +{ + /// + /// Create a new Certificate for automation. + /// + [Cmdlet(VerbsCommon.Set, "AzureAutomationCertificate", DefaultParameterSetName = AutomationCmdletParameterSets.ByCertificateName)] + [OutputType(typeof(CertificateInfo))] + public class SetAzureAutomationCertificate : AzureAutomationBaseCmdlet + { + /// + /// Gets or sets the certificate name. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByCertificateName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The certificate name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + /// + /// Gets or sets the certificate description. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByCertificateName, Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "The certificate description.")] + public string Description { get; set; } + + /// + /// Gets or sets the certificate password. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByCertificateName, Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "The certificate password.")] + public SecureString Password { get; set; } + + /// + /// Gets or sets the certificate path. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByCertificateName, Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "The certificate file path.")] + public string Path { get; set; } + + /// + /// Gets or sets the certificate exportable Property. + /// + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The exportable property of the certificate.")] + public bool? Exportable { get; set; } + + /// + /// Execute this cmdlet. + /// + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + protected override void AutomationExecuteCmdlet() + { + + var updateddCertificate = this.AutomationClient.UpdateCertificate(this.AutomationAccountName, this.Name, this.Path, this.Password, this.Description, this.Exportable); + + this.WriteObject(updateddCertificate); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationConnection.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationConnection.cs new file mode 100644 index 000000000000..2c5dfaa71f7a --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationConnection.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 System; +using System.Collections.Generic; +using System.Management.Automation; +using System.Security; +using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.Azure.Commands.Automation.Common; + +namespace Microsoft.Azure.Commands.Automation.Cmdlet +{ + /// + /// Create a new Connection for automation. + /// + [Cmdlet(VerbsCommon.Set, "AzureAutomationConnectionFieldValue", DefaultParameterSetName = AutomationCmdletParameterSets.ByConnectionName)] + [OutputType(typeof(Connection))] + public class SetAzureAutomationConnectionFieldValue : AzureAutomationBaseCmdlet + { + /// + /// Gets or sets the connection name. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByConnectionName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The connection name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + /// + /// Gets or sets the connection field name. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByConnectionName, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The connection field name.")] + public string ConnectionFieldName { get; set; } + + /// + /// Gets or sets the connection field value. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByConnectionName, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The connection field value.")] + public object Value { get; set; } + + /// + /// Execute this cmdlet. + /// + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + protected override void AutomationExecuteCmdlet() + { + + var updatedConnection = this.AutomationClient.UpdateConnectionFieldValue(this.AutomationAccountName, this.Name, this.ConnectionFieldName, this.Value); + + this.WriteObject(updatedConnection); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCredential.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCredential.cs new file mode 100644 index 000000000000..be8cc9b99381 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationCredential.cs @@ -0,0 +1,72 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.Azure.Commands.Automation.Common; + +namespace Microsoft.Azure.Commands.Automation.Cmdlet +{ + /// + /// Sets a Credential for automation. + /// + [Cmdlet(VerbsCommon.Set, "AzureAutomationCredential", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] + [OutputType(typeof(CredentialInfo))] + public class SetAzureAutomationCredential : AzureAutomationBaseCmdlet + { + /// + /// Gets or sets the credential name. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The credential name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + /// + /// Gets or sets the credential description. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, ValueFromPipelineByPropertyName = true, + HelpMessage = "The credential description.")] + public string Description { get; set; } + + /// + /// Gets or sets the credential Value. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, ValueFromPipelineByPropertyName = true, + HelpMessage = "The credential value.")] + public PSCredential Value { get; set; } + + /// + /// Execute this cmdlet. + /// + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + protected override void AutomationExecuteCmdlet() + { + string userName = null, password = null; + + if(Value != null) + { + userName = Value.UserName; + password = Value.GetNetworkCredential().Password; + } + + var updatedCredential = this.AutomationClient.UpdateCredential(this.AutomationAccountName, Name, userName, password, Description); + + this.WriteObject(updatedCredential); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationModule.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationModule.cs new file mode 100644 index 000000000000..9d9b9c483b56 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationModule.cs @@ -0,0 +1,74 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.Azure.Commands.Automation.Common; +using System.Collections; +using System.Linq; + +namespace Microsoft.Azure.Commands.Automation.Cmdlet +{ + /// + /// Sets a Module for automation. + /// + [Cmdlet(VerbsCommon.Set, "AzureAutomationModule", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] + [OutputType(typeof(Module))] + public class SetAzureAutomationModule : AzureAutomationBaseCmdlet + { + /// + /// Gets or sets the module name. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Mandatory = true, Position = 1, ValueFromPipelineByPropertyName = true, + HelpMessage = "The module name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + /// + /// Gets or sets the module tags. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The module tags.")] + [ValidateNotNullOrEmpty] + [Alias("Tag")] + public IDictionary Tags { get; set; } + + /// + /// Gets or sets the contentLink + /// + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "The ContentLinkUri.")] + public Uri ContentLinkUri { get; set; } + + /// + /// Gets or sets the contentLinkVersion + /// + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "The ContentLink version.")] + public string ContentLinkVersion { get; set; } + + /// + /// Execute this cmdlet. + /// + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + protected override void AutomationExecuteCmdlet() + { + var updatedModule = this.AutomationClient.UpdateModule(this.AutomationAccountName, Tags, Name, ContentLinkUri, ContentLinkVersion); + + this.WriteObject(updatedModule); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationRunbook.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationRunbook.cs index 78291e27ccf5..71cb66a47631 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationRunbook.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationRunbook.cs @@ -12,9 +12,10 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System; +using System.Collections; using System.Management.Automation; using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Common; using Microsoft.Azure.Commands.Automation.Model; namespace Microsoft.Azure.Commands.Automation.Cmdlet @@ -22,31 +23,14 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Sets an azure automation runbook's configuration values. /// - [Cmdlet(VerbsCommon.Set, "AzureAutomationRunbook", DefaultParameterSetName = ByRunbookName)] + [Cmdlet(VerbsCommon.Set, "AzureAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)] [OutputType(typeof(Runbook))] public class SetAzureAutomationRunbook : AzureAutomationBaseCmdlet { - /// - /// The set runbook by runbook id parameter set. - /// - private const string ByRunbookId = "ByRunbookId"; - - /// - /// The set runbook by runbook name parameter set. - /// - private const string ByRunbookName = "ByRunbookName"; - - /// - /// Gets or sets the runbook Id - /// - [Parameter(ParameterSetName = ByRunbookId, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook id.")] - [Alias("RunbookId")] - public Guid? Id { get; set; } - /// /// Gets or sets the runbook name /// - [Parameter(ParameterSetName = ByRunbookName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name.")] + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name.")] [Alias("RunbookName")] [ValidateNotNullOrEmpty] public string Name { get; set; } @@ -54,36 +38,25 @@ public class SetAzureAutomationRunbook : AzureAutomationBaseCmdlet /// /// Gets or sets the runbook description. /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, - HelpMessage = "The runbook description.")] + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook description.")] public string Description { get; set; } /// /// Gets or sets the runbook tags. /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, - HelpMessage = "The runbook tags.")] + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook tags.")] public string[] Tags { get; set; } - /// - /// Gets or sets a value indicating whether debug logging should be turned on or off. - /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, - HelpMessage = "Indicate whether debug logging should be turned on or off.")] - public bool? LogDebug { get; set; } - /// /// Gets or sets a value indicating whether progress logging should be turned on or off. /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, - HelpMessage = "Indicate whether progress logging should be turned on or off.")] + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Indicate whether progress logging should be turned on or off.")] public bool? LogProgress { get; set; } /// /// Gets or sets a value indicating whether verbose logging should be turned on or off. /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, - HelpMessage = "Indicate whether verbose logging should be turned on or off.")] + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Indicate whether verbose logging should be turned on or off.")] public bool? LogVerbose { get; set; } /// @@ -92,31 +65,14 @@ public class SetAzureAutomationRunbook : AzureAutomationBaseCmdlet [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] protected override void AutomationExecuteCmdlet() { - Runbook runbook; - if (this.Id.HasValue) - { - // ByRunbookId - runbook = this.AutomationClient.UpdateRunbook( - this.AutomationAccountName, - this.Id.Value, - this.Description, - this.Tags, - this.LogDebug, - this.LogProgress, - this.LogVerbose); - } - else - { - // ByRunbookName - runbook = this.AutomationClient.UpdateRunbook( - this.AutomationAccountName, - this.Name, - this.Description, - this.Tags, - this.LogDebug, - this.LogProgress, - this.LogVerbose); - } + // ByRunbookName + var runbook = this.AutomationClient.UpdateRunbook( + this.AutomationAccountName, + this.Name, + this.Description, + this.Tags, + this.LogProgress, + this.LogVerbose); this.WriteObject(runbook); } diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationRunbookDefinition.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationRunbookDefinition.cs index f33069dc7d4a..bfbc3d91d265 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationRunbookDefinition.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationRunbookDefinition.cs @@ -15,6 +15,7 @@ using System; using System.Management.Automation; using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Common; using Microsoft.Azure.Commands.Automation.Model; using Microsoft.WindowsAzure.Commands.Utilities.Common; @@ -23,38 +24,19 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Sets an azure automation runbook definition. /// - [Cmdlet(VerbsCommon.Set, "AzureAutomationRunbookDefinition", DefaultParameterSetName = ByRunbookName)] + [Cmdlet(VerbsCommon.Set, "AzureAutomationRunbookDefinition", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)] [OutputType(typeof(RunbookDefinition))] public class SetAzureAutomationRunbookDefinition : AzureAutomationBaseCmdlet { - /// - /// The set runbook definition by runbook id parameter set. - /// - private const string ByRunbookId = "ByRunbookId"; - - /// - /// The set runbook definition by runbook name parameter set. - /// - private const string ByRunbookName = "ByRunbookName"; - /// /// True to overwrite the existing draft runbook definition; false otherwise. /// private bool overwriteExistingRunbookDefinition; - /// - /// Gets or sets the runbook Id - /// - [Parameter(ParameterSetName = ByRunbookId, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The runbook id.")] - [Alias("RunbookId")] - public Guid? Id { get; set; } - /// /// Gets or sets the runbook name /// - [Parameter(ParameterSetName = ByRunbookName, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The runbook name.")] + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name.")] [ValidateNotNullOrEmpty] [Alias("RunbookName")] public string Name { get; set; } @@ -62,8 +44,7 @@ public class SetAzureAutomationRunbookDefinition : AzureAutomationBaseCmdlet /// /// Gets or sets the path of the updated runbook script /// - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The path of the updated runbook script.")] + [Parameter(Mandatory = true, Position = 2, ValueFromPipelineByPropertyName = true, HelpMessage = "The path to the updated runbook script.")] [ValidateNotNullOrEmpty] [Alias("RunbookPath")] public string Path { get; set; } @@ -71,8 +52,7 @@ public class SetAzureAutomationRunbookDefinition : AzureAutomationBaseCmdlet /// /// Gets or sets a value indicating whether to overwrite the existing draft runbook definition. /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, - HelpMessage = "To overwrite the exisiting draft runbook definition.")] + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Indicates that the new draft runbook overwrites the existing draft, if one exists.")] public SwitchParameter Overwrite { get { return this.overwriteExistingRunbookDefinition; } @@ -85,19 +65,9 @@ public SwitchParameter Overwrite [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] protected override void AutomationExecuteCmdlet() { - RunbookDefinition runbookDefinition; - if (this.Id.HasValue) - { - // ByRunbookId - runbookDefinition = this.AutomationClient.UpdateRunbookDefinition( - this.AutomationAccountName, this.Id.Value, this.ResolvePath(this.Path), this.Overwrite); - } - else - { - // ByRunbookName - runbookDefinition = this.AutomationClient.UpdateRunbookDefinition( + // ByRunbookName + var runbookDefinition = this.AutomationClient.UpdateRunbookDefinition( this.AutomationAccountName, this.Name, this.ResolvePath(this.Path), this.Overwrite); - } this.WriteObject(runbookDefinition); } diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationSchedule.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationSchedule.cs index 702a18895aeb..e66269bad1cb 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationSchedule.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationSchedule.cs @@ -15,6 +15,7 @@ using System; using System.Management.Automation; using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Common; using Microsoft.Azure.Commands.Automation.Model; namespace Microsoft.Azure.Commands.Automation.Cmdlet @@ -22,31 +23,14 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Sets an azure automation schedule. /// - [Cmdlet(VerbsCommon.Set, "AzureAutomationSchedule", DefaultParameterSetName = ByScheduleName)] + [Cmdlet(VerbsCommon.Set, "AzureAutomationSchedule", DefaultParameterSetName = AutomationCmdletParameterSets.ByName)] [OutputType(typeof(Schedule))] public class SetAzureAutomationSchedule : AzureAutomationBaseCmdlet { - /// - /// The get schedule by schedule id parameter set. - /// - private const string ByScheduleId = "ByScheduleId"; - - /// - /// The get schedule by schedule name parameter set. - /// - private const string ByScheduleName = "ByScheduleName"; - - /// - /// Gets or sets the schedule id. - /// - [Parameter(ParameterSetName = ByScheduleId, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The schedule id.")] - public Guid? Id { get; set; } - /// /// Gets or sets the schedule name. /// - [Parameter(ParameterSetName = ByScheduleName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The schedule name.")] [ValidateNotNullOrEmpty] public string Name { get; set; } @@ -55,7 +39,7 @@ public class SetAzureAutomationSchedule : AzureAutomationBaseCmdlet /// Gets or sets the indicator whether the schedule is enabled. /// [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, - HelpMessage = "The schedule description.")] + HelpMessage = "Specifies whether the schedule is enabled. If a schedule is disabled, any runbooks using it will not run on the schedule until it is enabled.")] public bool? IsEnabled { get; set; } /// @@ -71,20 +55,9 @@ public class SetAzureAutomationSchedule : AzureAutomationBaseCmdlet [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] protected override void AutomationExecuteCmdlet() { - if (this.Id.HasValue) - { - // ByScheduleId - Schedule schedule = this.AutomationClient.UpdateSchedule( - this.AutomationAccountName, this.Id.Value, this.IsEnabled, this.Description); - this.WriteObject(schedule); - } - else - { - // ByScheduleName - Schedule schedule = this.AutomationClient.UpdateSchedule( - this.AutomationAccountName, this.Name, this.IsEnabled, this.Description); - this.WriteObject(schedule); - } + Schedule schedule = this.AutomationClient.UpdateSchedule( + this.AutomationAccountName, this.Name, this.IsEnabled, this.Description); + this.WriteObject(schedule); } } } \ No newline at end of file diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationVariable.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationVariable.cs new file mode 100644 index 000000000000..09fd2993df87 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SetAzureAutomationVariable.cs @@ -0,0 +1,86 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Model; +using Newtonsoft.Json; + +namespace Microsoft.Azure.Commands.Automation.Cmdlet +{ + /// + /// Gets azure automation variables for a given account. + /// + [Cmdlet(VerbsCommon.Set, "AzureAutomationVariable")] + [OutputType(typeof(Variable))] + public class SetAzureAutomationVariable : AzureAutomationBaseCmdlet + { + /// + /// Gets or sets the variable name. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.UpdateVariableValue, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The variable name.")] + [Parameter(ParameterSetName = AutomationCmdletParameterSets.UpdateVariableDescription, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The variable name.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + /// + /// Gets or sets the variable encrypted Property. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.UpdateVariableValue, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The encrypted property of the variable.")] + [ValidateNotNull] + public bool Encrypted { get; set; } + + /// + /// Gets or sets the variable description. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.UpdateVariableDescription, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The description of the variable.")] + public string Description { get; set; } + + /// + /// Gets or sets the variable value. + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.UpdateVariableValue, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The value of the variable.")] + public object Value { get; set; } + + /// + /// Execute this cmdlet. + /// + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + protected override void AutomationExecuteCmdlet() + { + Variable variable = new Variable() + { + Name = this.Name, + Description = this.Description, + Encrypted = this.Encrypted, + Value = this.Value, + AutomationAccountName = this.AutomationAccountName + }; + + Variable ret; + if (ParameterSetName == AutomationCmdletParameterSets.UpdateVariableValue) + { + ret = this.AutomationClient.UpdateVariable(variable, VariableUpdateFields.OnlyValue); + } + else + { + ret = this.AutomationClient.UpdateVariable(variable, VariableUpdateFields.OnlyDescription); + } + this.GenerateCmdletOutput(ret); + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/StartAzureAutomationRunbook.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/StartAzureAutomationRunbook.cs index 4140f787ac50..55f50028e24f 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/StartAzureAutomationRunbook.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/StartAzureAutomationRunbook.cs @@ -12,6 +12,8 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using System.Collections; +using Microsoft.Azure.Commands.Automation.Common; using System.Management.Automation; using System.Security.Permissions; using Job = Microsoft.Azure.Commands.Automation.Model.Job; @@ -21,30 +23,33 @@ namespace Microsoft.Azure.Commands.Automation.Cmdlet /// /// Starts an Azure automation runbook. /// - [Cmdlet(VerbsLifecycle.Start, "AzureAutomationRunbook", DefaultParameterSetName = ByRunbookName)] + [Cmdlet(VerbsLifecycle.Start, "AzureAutomationRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByRunbookName)] [OutputType(typeof(Job))] - public class StartAzureAutomationRunbook : StartAzureAutomationRunbookBase + public class StartAzureAutomationRunbook : AzureAutomationBaseCmdlet { + /// + /// Gets or sets the runbook name + /// + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookName, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name.")] + [ValidateNotNullOrEmpty] + [Alias("RunbookName")] + public string Name { get; set; } + + /// + /// Gets or sets the runbook parameters. + /// + [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook parameters.")] + public IDictionary Parameters { get; set; } + /// /// Execute this cmdlet. /// [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] protected override void AutomationExecuteCmdlet() { - Job job; + Job job = null; - if (this.Id.HasValue) - { - // ByRunbookId - job = this.AutomationClient.StartRunbook( - this.AutomationAccountName, this.Id.Value, this.Parameters); - } - else - { - // ByRunbookName - job = this.AutomationClient.StartRunbook( - this.AutomationAccountName, this.Name, this.Parameters); - } + job = this.AutomationClient.StartRunbook(this.AutomationAccountName, this.Name, this.Parameters); this.WriteObject(job); } diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/StartAzureAutomationRunbookBase.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/StartAzureAutomationRunbookBase.cs deleted file mode 100644 index aaef222b2d61..000000000000 --- a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/StartAzureAutomationRunbookBase.cs +++ /dev/null @@ -1,57 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Collections; -using System.Management.Automation; - -namespace Microsoft.Azure.Commands.Automation.Cmdlet -{ - public abstract class StartAzureAutomationRunbookBase : AzureAutomationBaseCmdlet - { - /// - /// The start runbook by runbook id parameter set. - /// - protected const string ByRunbookId = "ByRunbookId"; - - /// - /// The start runbook by runbook name parameter set. - /// - protected const string ByRunbookName = "ByRunbookName"; - - /// - /// Gets or sets the runbook Id - /// - [Parameter(ParameterSetName = ByRunbookId, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The runbook id.")] - [Alias("RunbookId")] - public Guid? Id { get; set; } - - /// - /// Gets or sets the runbook name - /// - [Parameter(ParameterSetName = ByRunbookName, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The runbook name.")] - [ValidateNotNullOrEmpty] - [Alias("RunbookName")] - public string Name { get; set; } - - /// - /// Gets or sets the runbook parameters. - /// - [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, - HelpMessage = "The runbook parameters.")] - public IDictionary Parameters { get; set; } - } -} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/StopAzureAutomationJob.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/StopAzureAutomationJob.cs index 3122cda9f0f7..9dfff694a25e 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/StopAzureAutomationJob.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/StopAzureAutomationJob.cs @@ -13,32 +13,35 @@ // ---------------------------------------------------------------------------------- using System; +using System.Collections.Generic; using System.Management.Automation; using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.Azure.Commands.Automation.Common; namespace Microsoft.Azure.Commands.Automation.Cmdlet { /// - /// Stops an azure automation job. + /// Gets a Credential for automation. /// [Cmdlet(VerbsLifecycle.Stop, "AzureAutomationJob")] public class StopAzureAutomationJob : AzureAutomationBaseCmdlet { - /// - /// Gets or sets the job id. - /// - [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The job id.")] - [Alias("JobId")] - public Guid Id { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - this.AutomationClient.StopJob(this.AutomationAccountName, this.Id); - } + /// + /// Gets or sets the job id. + /// + [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The job id.")] + [Alias("JobId")] + public Guid Id { get; set; } + + /// + /// Execute this cmdlet. + /// + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + protected override void AutomationExecuteCmdlet() + { + this.AutomationClient.StopJob(this.AutomationAccountName, this.Id); + } } } diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SuspendAzureAutomationJob.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SuspendAzureAutomationJob.cs index f66ba84acbba..2bc84f706217 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SuspendAzureAutomationJob.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/SuspendAzureAutomationJob.cs @@ -13,32 +13,35 @@ // ---------------------------------------------------------------------------------- using System; +using System.Collections.Generic; using System.Management.Automation; using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.Azure.Commands.Automation.Common; namespace Microsoft.Azure.Commands.Automation.Cmdlet { /// - /// Suspends an azure automation job. + /// Gets a Credential for automation. /// [Cmdlet(VerbsLifecycle.Suspend, "AzureAutomationJob")] public class SuspendAzureAutomationJob : AzureAutomationBaseCmdlet { - /// - /// Gets or sets the job id. - /// - [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The job id.")] - [Alias("JobId")] - public Guid Id { get; set; } - - /// - /// Execute this cmdlet. - /// - [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] - protected override void AutomationExecuteCmdlet() - { - this.AutomationClient.SuspendJob(this.AutomationAccountName, this.Id); - } + /// + /// Gets or sets the job id. + /// + [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The job id.")] + [Alias("JobId")] + public Guid Id { get; set; } + + /// + /// Execute this cmdlet. + /// + [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] + protected override void AutomationExecuteCmdlet() + { + this.AutomationClient.SuspendJob(this.AutomationAccountName, this.Id); + } } } diff --git a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/UnregisterAzureAutomationScheduledRunbook.cs b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/UnregisterAzureAutomationScheduledRunbook.cs index 441e99cb3afc..10c89dcbb703 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/UnregisterAzureAutomationScheduledRunbook.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Cmdlet/UnregisterAzureAutomationScheduledRunbook.cs @@ -13,74 +13,75 @@ // ---------------------------------------------------------------------------------- using System; +using System.Globalization; using System.Management.Automation; using System.Security.Permissions; +using Microsoft.Azure.Commands.Automation.Common; using Microsoft.Azure.Commands.Automation.Model; +using Microsoft.Azure.Commands.Automation.Properties; namespace Microsoft.Azure.Commands.Automation.Cmdlet { /// /// Unregisters an azure automation scheduled runbook. /// - [Cmdlet(VerbsLifecycle.Unregister, "AzureAutomationScheduledRunbook", DefaultParameterSetName = ByRunbookName)] - [OutputType(typeof(Runbook))] + [Cmdlet(VerbsLifecycle.Unregister, "AzureAutomationScheduledRunbook", DefaultParameterSetName = AutomationCmdletParameterSets.ByJobScheduleId)] public class UnregisterAzureAutomationScheduledRunbook : AzureAutomationBaseCmdlet { - /// - /// The start runbook by runbook id parameter set. - /// - protected const string ByRunbookId = "ByRunbookId"; - - /// - /// The start runbook by runbook name parameter set. - /// - protected const string ByRunbookName = "ByRunbookName"; - /// /// Gets or sets the runbook Id /// - [Parameter(ParameterSetName = ByRunbookId, Mandatory = true, ValueFromPipelineByPropertyName = true, - HelpMessage = "The runbook id.")] - [Alias("RunbookId")] - public Guid? Id { get; set; } + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByJobScheduleId, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "The job schedule id.")] + public Guid? JobScheduleId { get; set; } /// /// Gets or sets the runbook name /// - [Parameter(ParameterSetName = ByRunbookName, Mandatory = true, ValueFromPipelineByPropertyName = true, + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookNameAndScheduleName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The runbook name.")] [ValidateNotNullOrEmpty] - [Alias("RunbookName")] - public string Name { get; set; } + [Alias("Name")] + public string RunbookName { get; set; } /// /// Gets or sets the schedule that will be used to start the runbook. /// - [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, + [Parameter(ParameterSetName = AutomationCmdletParameterSets.ByRunbookNameAndScheduleName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the schedule on which the runbook will be started.")] [ValidateNotNullOrEmpty] public string ScheduleName { get; set; } + /// + /// Gets or sets the switch parameter not to confirm on removing the runbook. + /// + [Parameter(Mandatory = false, HelpMessage = "Forces the command to run without asking for user confirmation.")] + public SwitchParameter Force { get; set; } + /// /// Execute this cmdlet. /// [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] protected override void AutomationExecuteCmdlet() { - Runbook runbook; - - if (this.Id.HasValue) - { - runbook = this.AutomationClient.UnregisterScheduledRunbook( - this.AutomationAccountName, this.Id.Value, this.ScheduleName); - } - else - { - runbook = this.AutomationClient.UnregisterScheduledRunbook( - this.AutomationAccountName, this.Name, this.ScheduleName); - } - - this.WriteObject(runbook); + this.ConfirmAction( + this.Force.IsPresent, + string.Format(CultureInfo.CurrentCulture, Resources.RemoveAzureAutomationJobScheduleWarning), + string.Format(CultureInfo.CurrentCulture, Resources.RemoveAzureAutomationJobScheduleDescription), + this.JobScheduleId.HasValue ? this.JobScheduleId.Value.ToString() : this.RunbookName, + () => + { + if (this.ParameterSetName == AutomationCmdletParameterSets.ByJobScheduleId) + { + this.AutomationClient.UnregisterScheduledRunbook( + this.AutomationAccountName, this.JobScheduleId.Value); + } + else if (this.ParameterSetName == AutomationCmdletParameterSets.ByRunbookNameAndScheduleName) + { + this.AutomationClient.UnregisterScheduledRunbook( + this.AutomationAccountName, this.RunbookName, this.ScheduleName); + } + }); } } } diff --git a/src/ServiceManagement/Automation/Commands.Automation/Commands.Automation.csproj b/src/ServiceManagement/Automation/Commands.Automation/Commands.Automation.csproj index 5f098d827134..f446999a63b6 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Commands.Automation.csproj +++ b/src/ServiceManagement/Automation/Commands.Automation/Commands.Automation.csproj @@ -53,32 +53,28 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll - - - False - ..\..\..\packages\Microsoft.Azure.Management.Automation.0.15.1-preview\lib\net40\Microsoft.Azure.Management.Automation.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll False ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -92,9 +88,12 @@ False ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll + + + ..\..\..\packages\Microsoft.WindowsAzure.Management.Automation.1.0.0\lib\net40\Microsoft.WindowsAzure.Management.Automation.dll ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll @@ -120,48 +119,76 @@ + + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + - - + + + + + - + + + + + - - + + + + + - - - + - - + + True @@ -175,8 +202,11 @@ + - + + Designer + @@ -188,6 +218,7 @@ ResXFileCodeGenerator Resources.Designer.cs + Designer diff --git a/src/ServiceManagement/Automation/Commands.Automation/Common/AutomationClient.cs b/src/ServiceManagement/Automation/Commands.Automation/Common/AutomationClient.cs index ef1d5de7d28e..d54234fadff1 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Common/AutomationClient.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Common/AutomationClient.cs @@ -1,4 +1,4 @@ -// ---------------------------------------------------------------------------------- +// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); @@ -16,20 +16,36 @@ using System.Collections; using System.Collections.Generic; using System.Globalization; -using System.IO; using System.Linq; -using System.Text; +using System.IO; +using System.Net; +using System.Security; +using System.Security.Cryptography.X509Certificates; using Microsoft.Azure.Commands.Automation.Model; using Microsoft.Azure.Commands.Automation.Properties; -using Microsoft.Azure.Management.Automation; +using Microsoft.WindowsAzure.Management.Automation; +using Microsoft.WindowsAzure.Management.Automation.Models; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Newtonsoft.Json; +using Runbook = Microsoft.Azure.Commands.Automation.Model.Runbook; +using Schedule = Microsoft.Azure.Commands.Automation.Model.Schedule; +using Job = Microsoft.Azure.Commands.Automation.Model.Job; +using Variable = Microsoft.Azure.Commands.Automation.Model.Variable; +using JobStream = Microsoft.Azure.Commands.Automation.Model.JobStream; +using Credential = Microsoft.Azure.Commands.Automation.Model.CredentialInfo; +using Module = Microsoft.Azure.Commands.Automation.Model.Module; +using JobSchedule = Microsoft.Azure.Commands.Automation.Model.JobSchedule; +using Certificate = Microsoft.Azure.Commands.Automation.Model.CertificateInfo; +using Connection = Microsoft.Azure.Commands.Automation.Model.Connection; + namespace Microsoft.Azure.Commands.Automation.Common { - using AutomationManagement = Management.Automation; - using Microsoft.Azure.Common.Extensions; + using AutomationManagement = WindowsAzure.Management.Automation; + using Microsoft.Azure.Common.Authentication; + using Hyak.Common; + public class AutomationClient : IAutomationClient { @@ -40,14 +56,13 @@ public AutomationClient() { } - public AutomationClient(AzureSubscription subscription) - : this(subscription, - AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement)) + public AutomationClient(AzureProfile profile, AzureSubscription subscription) + : this(subscription, + AzureSession.ClientFactory.CreateClient(profile, subscription, AzureEnvironment.Endpoint.ServiceManagement)) { } - public AutomationClient( - AzureSubscription subscription, + public AutomationClient(AzureSubscription subscription, AutomationManagement.IAutomationManagementClient automationManagementClient) { Requires.Argument("automationManagementClient", automationManagementClient).NotNull(); @@ -58,307 +73,710 @@ public AutomationClient( public AzureSubscription Subscription { get; private set; } - #region Account Operations + #region Schedule Operations - public IEnumerable ListAutomationAccounts(string automationAccountName, string location) + public Schedule CreateSchedule(string automationAccountName, Schedule schedule) { - if (automationAccountName != null) + var scheduleCreateParameters = new AutomationManagement.Models.ScheduleCreateParameters { - Requires.Argument("AutomationAccountName", automationAccountName).ValidAutomationAccountName(); - } + Name = schedule.Name, + Properties = new AutomationManagement.Models.ScheduleCreateProperties + { + StartTime = schedule.StartTime, + ExpiryTime = schedule.ExpiryTime, + Description = schedule.Description, + Interval = schedule.Interval, + Frequency = schedule.Frequency.ToString() + } + }; - var automationAccounts = new List(); - var cloudServices = new List(this.automationManagementClient.CloudServices.List().CloudServices); + var scheduleCreateResponse = this.automationManagementClient.Schedules.Create( + automationAccountName, + scheduleCreateParameters); - foreach (var cloudService in cloudServices) + return this.GetSchedule(automationAccountName, schedule.Name); + } + + public void DeleteSchedule(string automationAccountName, string scheduleName) + { + try { - automationAccounts.AddRange(cloudService.Resources.Select(resource => new AutomationAccount(cloudService, resource))); + this.automationManagementClient.Schedules.Delete( + automationAccountName, + scheduleName); } - - // RDFE does not support server-side filtering, hence we filter on the client-side. - if (automationAccountName != null) + catch (CloudException cloudException) { - automationAccounts = automationAccounts.Where(account => string.Equals(account.AutomationAccountName, automationAccountName, StringComparison.OrdinalIgnoreCase)).ToList(); - - if (!automationAccounts.Any()) + if (cloudException.Response.StatusCode == HttpStatusCode.NoContent) { - throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Resources.AutomationAccountNotFound)); + throw new ResourceNotFoundException(typeof(Schedule), + string.Format(CultureInfo.CurrentCulture, Resources.ScheduleNotFound, scheduleName)); } - } - if (location != null) - { - automationAccounts = automationAccounts.Where(account => string.Equals(account.Location, location, StringComparison.OrdinalIgnoreCase)).ToList(); + throw; } + } - return automationAccounts; + public Schedule GetSchedule(string automationAccountName, string scheduleName) + { + AutomationManagement.Models.Schedule scheduleModel = this.GetScheduleModel(automationAccountName, + scheduleName); + return this.CreateScheduleFromScheduleModel(automationAccountName, scheduleModel); + } + + public IEnumerable ListSchedules(string automationAccountName) + { + IList scheduleModels = AutomationManagementClient + .ContinuationTokenHandler( + skipToken => + { + var response = this.automationManagementClient.Schedules.List( + automationAccountName); + + return new ResponseWithSkipToken( + response, response.Schedules); + }); + + return scheduleModels.Select(scheduleModel => new Schedule(automationAccountName, scheduleModel)); + } + + public Schedule UpdateSchedule(string automationAccountName, string scheduleName, bool? isEnabled, string description) + { + AutomationManagement.Models.Schedule scheduleModel = this.GetScheduleModel(automationAccountName, + scheduleName); + isEnabled = (isEnabled.HasValue) ? isEnabled : scheduleModel.Properties.IsEnabled; + description = description ?? scheduleModel.Properties.Description; + return this.UpdateScheduleHelper(automationAccountName, scheduleName, isEnabled, description); } #endregion #region Runbook Operations - public Runbook CreateRunbookByName(string automationAccountName, string runbookName, string description, string[] tags) + public Runbook GetRunbook(string automationAccountName, string runbookName) { - var runbookScript = string.Format(CultureInfo.InvariantCulture, @"workflow {0}{1}{{{1}}}", runbookName, Environment.NewLine); - using (var streamReader = new StreamReader(new MemoryStream(Encoding.UTF8.GetBytes(runbookScript), false), Encoding.UTF8)) + var runbookModel = this.TryGetRunbookModel(automationAccountName, runbookName); + if (runbookModel == null) { - Stream runbookStream = streamReader.BaseStream; - Runbook runbook = this.CreateRunbook(automationAccountName, runbookStream); - this.UpdateRunbook(automationAccountName, runbook.Id, description, tags, null, null, null); - return this.GetRunbook(automationAccountName, runbook.Id); + throw new ResourceCommonException(typeof(Runbook), + string.Format(CultureInfo.CurrentCulture, Resources.RunbookNotFound, runbookName)); } + + return new Runbook(automationAccountName, runbookModel); + } + + public IEnumerable ListRunbooks(string automationAccountName) + { + return AutomationManagementClient + .ContinuationTokenHandler( + skipToken => + { + var response = this.automationManagementClient.Runbooks.List( + automationAccountName); + return new ResponseWithSkipToken( + response, response.Runbooks); + }).Select(c => new Runbook(automationAccountName, c)); } - public Runbook CreateRunbookByPath(string automationAccountName, string runbookPath, string description, string[] tags) + public Runbook CreateRunbookByName(string automationAccountName, string runbookName, string description, + string[] tags) { - Runbook runbook = this.CreateRunbook(automationAccountName, File.OpenRead(runbookPath)); - this.UpdateRunbook(automationAccountName, runbook.Id, description, tags, null, null, null); - return this.GetRunbook(automationAccountName, runbook.Id); + var runbookModel = this.TryGetRunbookModel(automationAccountName, runbookName); + if (runbookModel != null) + { + throw new ResourceCommonException(typeof(Runbook), + string.Format(CultureInfo.CurrentCulture, Resources.RunbookAlreadyExists, runbookName)); + } + + var rdcprop = new RunbookCreateDraftProperties() + { + Description = description, + RunbookType = RunbookTypeEnum.Script, + Draft = new RunbookDraft() + }; + + var rdcparam = new RunbookCreateDraftParameters() { Name = runbookName, Properties = rdcprop, Tags = null }; + + this.automationManagementClient.Runbooks.CreateWithDraft(automationAccountName, rdcparam); + + return this.GetRunbook(automationAccountName, runbookName); } - public void DeleteRunbook(string automationAccountName, Guid runbookId) + public Runbook CreateRunbookByPath(string automationAccountName, string runbookPath, string description, + string[] tags) { - this.automationManagementClient.Runbooks.Delete( - automationAccountName, - runbookId.ToString()); + + var runbookName = Path.GetFileNameWithoutExtension(runbookPath); + + var runbookModel = this.TryGetRunbookModel(automationAccountName, runbookName); + if (runbookModel != null) + { + throw new ResourceCommonException(typeof(Runbook), + string.Format(CultureInfo.CurrentCulture, Resources.RunbookAlreadyExists, runbookName)); + } + + var runbook = this.CreateRunbookByName(automationAccountName, runbookName, description, tags); + + var rduprop = new RunbookDraftUpdateParameters() + { + Name = runbookName, + Stream = File.ReadAllText(runbookPath) + }; + + this.automationManagementClient.RunbookDraft.Update(automationAccountName, rduprop); + + return runbook; } public void DeleteRunbook(string automationAccountName, string runbookName) { - Runbook runbook = this.GetRunbook(automationAccountName, runbookName); - this.DeleteRunbook(automationAccountName, runbook.Id); - } - - /// - /// Gets the runbook identified by runbookId, with schedule names expanded. - /// - /// - /// The automation account name. - /// - /// - /// The runbook id. - /// - /// - /// The . - /// - public Runbook GetRunbook(string automationAccountName, Guid runbookId) - { - return new Runbook(this.GetRunbookModel(automationAccountName, runbookId, true)); - } - - /// - /// Gets the runbook identified by runbookId, with schedule names expanded. - /// - /// - /// The automation account name. - /// - /// - /// The runbook name. - /// - /// - /// The . - /// - public Runbook GetRunbook(string automationAccountName, string runbookName) + try + { + this.automationManagementClient.Runbooks.Delete(automationAccountName, runbookName); + } + catch (CloudException cloudException) + { + if (cloudException.Response.StatusCode == HttpStatusCode.NoContent) + { + throw new ResourceNotFoundException(typeof(Connection), string.Format(CultureInfo.CurrentCulture, Resources.RunbookNotFound, runbookName)); + } + + throw; + } + + } + + public Runbook UpdateRunbook(string automationAccountName, string runbookName, string description, + string[] tags, bool? logProgress, bool? logVerbose) { - return new Runbook(this.GetRunbookModel(automationAccountName, runbookName, true)); + var runbookModel = this.TryGetRunbookModel(automationAccountName, runbookName); + if (runbookModel == null) + { + throw new ResourceCommonException(typeof(Runbook), + string.Format(CultureInfo.CurrentCulture, Resources.RunbookNotFound, runbookName)); + } + + var runbookUpdateParameters = new RunbookUpdateParameters(); + runbookUpdateParameters.Name = runbookName; + runbookUpdateParameters.Tags = null; + runbookUpdateParameters.Properties = new RunbookUpdateProperties(); + runbookUpdateParameters.Properties.Description = description ?? runbookModel.Properties.Description; + runbookUpdateParameters.Properties.LogProgress = (logProgress.HasValue) ? logProgress.Value : runbookModel.Properties.LogProgress; + runbookUpdateParameters.Properties.LogVerbose = (logVerbose.HasValue) ? logVerbose.Value : runbookModel.Properties.LogVerbose; + + var runbook = this.automationManagementClient.Runbooks.Update(automationAccountName, runbookUpdateParameters).Runbook; + + return new Runbook(automationAccountName, runbook); } - public IEnumerable ListRunbooks(string automationAccountName) + public RunbookDefinition UpdateRunbookDefinition(string automationAccountName, string runbookName, + string runbookPath, bool overwrite) { - IList runbookModels = AutomationManagementClient.ContinuationTokenHandler( - skipToken => - { - var listRunbookResponse = - this.automationManagementClient.Runbooks.ListWithSchedules( - automationAccountName, skipToken); - return new ResponseWithSkipToken( - listRunbookResponse, listRunbookResponse.Runbooks); - }); + var runbook = this.TryGetRunbookModel(automationAccountName, runbookName); + if (runbook == null) + { + throw new ResourceNotFoundException(typeof(Runbook), + string.Format(CultureInfo.CurrentCulture, Resources.RunbookNotFound, runbookName)); + } + + if ((0 != + String.Compare(runbook.Properties.State, RunbookState.Published, CultureInfo.InvariantCulture, + CompareOptions.IgnoreCase) && overwrite == false)) + { + throw new ResourceCommonException(typeof(Runbook), + string.Format(CultureInfo.CurrentCulture, Resources.RunbookAlreadyHasDraft, runbookName)); + } - return runbookModels.Select(runbookModel => new Runbook(runbookModel)); + this.automationManagementClient.RunbookDraft.Update(automationAccountName, + new RunbookDraftUpdateParameters { Name = runbookName, Stream = File.ReadAllText(runbookPath) }); + + var content = + this.automationManagementClient.RunbookDraft.Content(automationAccountName, runbookName).Stream; + + return new RunbookDefinition(automationAccountName, runbook, content, Constants.Draft); } - public IEnumerable ListRunbookByScheduleName(string automationAccountName, string scheduleName) + public IEnumerable ListRunbookDefinitionsByRunbookName(string automationAccountName, + string runbookName, bool? isDraft) { - AutomationManagement.Models.Schedule scheduleModel = this.GetScheduleModel(automationAccountName, scheduleName); - IList runbookModels = AutomationManagementClient.ContinuationTokenHandler( - skipToken => + var ret = new List(); + + var runbook = this.TryGetRunbookModel(automationAccountName, runbookName); + if (runbook == null) + { + throw new ResourceNotFoundException(typeof(Runbook), + string.Format(CultureInfo.CurrentCulture, Resources.RunbookNotFound, runbookName)); + } + + var draftContent = String.Empty; + var publishedContent = String.Empty; + + if (0 != String.Compare(runbook.Properties.State, RunbookState.Published, CultureInfo.InvariantCulture, CompareOptions.IgnoreCase) && (!isDraft.HasValue || isDraft.Value)) + { + draftContent = this.automationManagementClient.RunbookDraft.Content(automationAccountName, runbookName).Stream; + } + if (0 != String.Compare(runbook.Properties.State, RunbookState.New, CultureInfo.InvariantCulture, CompareOptions.IgnoreCase) && (!isDraft.HasValue || !isDraft.Value)) + { + publishedContent = this.automationManagementClient.Runbooks.Content(automationAccountName, runbookName).Stream; + } + + // if no slot specified return both draft and publish content + if (false == isDraft.HasValue) + { + if (false == String.IsNullOrEmpty(draftContent)) ret.Add(new RunbookDefinition(automationAccountName, runbook, draftContent, Constants.Draft)); + if (false == String.IsNullOrEmpty(publishedContent)) ret.Add(new RunbookDefinition(automationAccountName, runbook, publishedContent, Constants.Published)); + } + else + { + if (true == isDraft.Value) { - var listRunbookResponse = - this.automationManagementClient.Runbooks.ListByScheduleNameWithSchedules( - automationAccountName, - new AutomationManagement.Models.RunbookListByScheduleNameParameters - { - ScheduleName = scheduleModel.Name, - SkipToken = skipToken - }); - return new ResponseWithSkipToken( - listRunbookResponse, listRunbookResponse.Runbooks); - }); - IEnumerable runbooks = runbookModels.Select(runbookModel => new Runbook(runbookModel)); - return runbooks.Where(runbook => runbook.ScheduleNames.Any()); + if (String.IsNullOrEmpty(draftContent)) throw new ResourceCommonException(typeof(Runbook), + string.Format(CultureInfo.CurrentCulture, Resources.RunbookHasNoDraftVersion, runbookName)); + if (false == String.IsNullOrEmpty(draftContent)) ret.Add(new RunbookDefinition(automationAccountName, runbook, draftContent, Constants.Draft)); + } + else + { + if (String.IsNullOrEmpty(publishedContent)) throw new ResourceCommonException(typeof(Runbook), + string.Format(CultureInfo.CurrentCulture, Resources.RunbookHasNoPublishedVersion, runbookName)); + + if (false == String.IsNullOrEmpty(publishedContent)) ret.Add(new RunbookDefinition(automationAccountName, runbook, publishedContent, Constants.Published)); + } + } + + return ret; } - public Runbook PublishRunbook(string automationAccountName, Guid runbookId) + public Runbook PublishRunbook(string automationAccountName, string runbookName) { - this.automationManagementClient.Runbooks.Publish( + this.automationManagementClient.RunbookDraft.Publish( automationAccountName, - new AutomationManagement.Models.RunbookPublishParameters + new RunbookDraftPublishParameters { - RunbookId = runbookId.ToString(), + Name = runbookName, PublishedBy = Constants.ClientIdentity }); - return this.GetRunbook(automationAccountName, runbookId); - } - - public Runbook PublishRunbook(string automationAccountName, string runbookName) - { - Guid runbookId = this.GetRunbookIdByRunbookName(automationAccountName, runbookName); - return this.PublishRunbook(automationAccountName, runbookId); + return this.GetRunbook(automationAccountName, runbookName); } - public Job StartRunbook(string automationAccountName, Guid runbookId, IDictionary parameters) + public Job StartRunbook(string automationAccountName, string runbookName, IDictionary parameters) { - IEnumerable processedParameters = this.ProcessRunbookParameters(automationAccountName, runbookId, parameters); - var startResponse = this.automationManagementClient.Runbooks.Start( + IDictionary processedParameters = this.ProcessRunbookParameters(automationAccountName, runbookName, parameters); + var job = this.automationManagementClient.Jobs.Create( automationAccountName, - new AutomationManagement.Models.RunbookStartParameters + new JobCreateParameters { - RunbookId = runbookId.ToString(), - Parameters = processedParameters.ToList() - }); + Properties = new JobCreateProperties + { + Runbook = new RunbookAssociationProperty + { + Name = runbookName + }, + Parameters = processedParameters ?? null + } + }).Job; - return this.GetJob(automationAccountName, new Guid(startResponse.JobId)); + return new Job(automationAccountName, job); } - public Job StartRunbook(string automationAccountName, string runbookName, IDictionary parameters) + #endregion + + #region Variables + + public Variable CreateVariable(Variable variable) { - Guid runbookId = this.GetRunbookIdByRunbookName(automationAccountName, runbookName); - return this.StartRunbook(automationAccountName, runbookId, parameters); + bool variableExists = true; + + try + { + this.GetVariable(variable.AutomationAccountName, variable.Name); + } + catch (ResourceNotFoundException) + { + variableExists = false; + } + + if (variableExists) + { + throw new AzureAutomationOperationException(string.Format(CultureInfo.CurrentCulture, + Resources.VariableAlreadyExists, variable.Name)); + } + + var createParams = new AutomationManagement.Models.VariableCreateParameters() + { + Name = variable.Name, + Properties = new AutomationManagement.Models.VariableCreateProperties() + { + Value = PowerShellJsonConverter.Serialize(variable.Value), + Description = variable.Description, + IsEncrypted = variable.Encrypted + } + }; + + var sdkCreatedVariable = + this.automationManagementClient.Variables.Create(variable.AutomationAccountName, createParams).Variable; + + return new Variable(sdkCreatedVariable, variable.AutomationAccountName); } - public Runbook RegisterScheduledRunbook( - string automationAccountName, Guid runbookId, IDictionary parameters, string scheduleName) + public void DeleteVariable(string automationAccountName, string variableName) { - Schedule schedule = this.GetSchedule(automationAccountName, scheduleName); - IEnumerable processedParameters = this.ProcessRunbookParameters(automationAccountName, runbookId, parameters); - this.automationManagementClient.Runbooks.CreateScheduleLink( - automationAccountName, - new AutomationManagement.Models.RunbookCreateScheduleLinkParameters + try + { + this.automationManagementClient.Variables.Delete(automationAccountName, variableName); + } + catch (CloudException cloudException) + { + if (cloudException.Response.StatusCode == HttpStatusCode.NoContent) { - RunbookId = runbookId.ToString(), - Parameters = processedParameters.ToList(), - ScheduleId = schedule.Id.ToString() - }); + throw new ResourceNotFoundException(typeof(Variable), + string.Format(CultureInfo.CurrentCulture, Resources.VariableNotFound, variableName)); + } - return this.GetRunbook(automationAccountName, runbookId); + throw; + } } - public Runbook RegisterScheduledRunbook( - string automationAccountName, string runbookName, IDictionary parameters, string scheduleName) + public Variable UpdateVariable(Variable variable, VariableUpdateFields updateFields) { - Guid runbookId = this.GetRunbookIdByRunbookName(automationAccountName, runbookName); - return this.RegisterScheduledRunbook(automationAccountName, runbookId, parameters, scheduleName); + var existingVariable = this.GetVariable(variable.AutomationAccountName, variable.Name); + + if (existingVariable.Encrypted != variable.Encrypted) + { + throw new ResourceNotFoundException(typeof(Variable), + string.Format(CultureInfo.CurrentCulture, Resources.VariableEncryptionCannotBeChanged, variable.Name, existingVariable.Encrypted)); + } + + var updateParams = new AutomationManagement.Models.VariableUpdateParameters() + { + Name = variable.Name, + }; + + if (updateFields == VariableUpdateFields.OnlyDescription) + { + updateParams.Properties = new AutomationManagement.Models.VariableUpdateProperties() + { + Description = variable.Description + }; + } + else + { + updateParams.Properties = new AutomationManagement.Models.VariableUpdateProperties() + { + Value = PowerShellJsonConverter.Serialize(variable.Value) + }; + } + + this.automationManagementClient.Variables.Update(variable.AutomationAccountName, updateParams); + + return this.GetVariable(variable.AutomationAccountName, variable.Name); } - public Runbook UpdateRunbook(string automationAccountName, Guid runbookId, string description, string[] tags, bool? logDebug, bool? logProgress, bool? logVerbose) + public Variable GetVariable(string automationAccountName, string name) { - AutomationManagement.Models.Runbook runbookModel = this.GetRunbookModel(automationAccountName, runbookId, false); - return this.UpdateRunbookHelper(automationAccountName, runbookModel, description, tags, logDebug, logProgress, logVerbose); + try + { + var sdkVarible = this.automationManagementClient.Variables.Get(automationAccountName, name).Variable; + + if (sdkVarible != null) + { + return new Variable(sdkVarible, automationAccountName); + } + + throw new ResourceNotFoundException(typeof(Variable), + string.Format(CultureInfo.CurrentCulture, Resources.VariableNotFound, name)); + } + catch (CloudException) + { + throw new ResourceNotFoundException(typeof(Variable), + string.Format(CultureInfo.CurrentCulture, Resources.VariableNotFound, name)); + } } - public Runbook UpdateRunbook(string automationAccountName, string runbookName, string description, string[] tags, bool? logDebug, bool? logProgress, bool? logVerbose) + public IEnumerable ListVariables(string automationAccountName) { - AutomationManagement.Models.Runbook runbookModel = this.GetRunbookModel(automationAccountName, runbookName, false); - return this.UpdateRunbookHelper(automationAccountName, runbookModel, description, tags, logDebug, logProgress, logVerbose); + IList variables = AutomationManagementClient.ContinuationTokenHandler( + skipToken => + { + var response = this.automationManagementClient.Variables.List( + automationAccountName); + return new ResponseWithSkipToken( + response, response.Variables); + }); + + return variables.Select(variable => this.CreateVariableFromVariableModel(variable, automationAccountName)).ToList(); } + #endregion - public Runbook UnregisterScheduledRunbook(string automationAccountName, Guid runbookId, string scheduleName) + #region Credentials + + public CredentialInfo CreateCredential(string automationAccountName, string name, string userName, string password, + string description) { - Schedule schedule = this.GetSchedule(automationAccountName, scheduleName); - this.automationManagementClient.Runbooks.DeleteScheduleLink( - automationAccountName, - new AutomationManagement.Models.RunbookDeleteScheduleLinkParameters - { - RunbookId = runbookId.ToString(), - ScheduleId = - schedule.Id.ToString() - }); - return this.GetRunbook(automationAccountName, runbookId); + var credentialCreateParams = new AutomationManagement.Models.CredentialCreateParameters(); + credentialCreateParams.Name = name; + credentialCreateParams.Properties = new AutomationManagement.Models.CredentialCreateProperties(); + if (description != null) credentialCreateParams.Properties.Description = description; + + Requires.Argument("userName", userName).NotNull(); + Requires.Argument("password", password).NotNull(); + + credentialCreateParams.Properties.UserName = userName; + credentialCreateParams.Properties.Password = password; + + var createdCredential = this.automationManagementClient.PsCredentials.Create(automationAccountName, + credentialCreateParams); + + if (createdCredential == null || createdCredential.StatusCode != HttpStatusCode.Created) + { + new AzureAutomationOperationException(string.Format(Resources.AutomationOperationFailed, "Create", + "credential", name, automationAccountName)); + } + return new CredentialInfo(automationAccountName, createdCredential.Credential); } - public Runbook UnregisterScheduledRunbook(string automationAccountName, string runbookName, string scheduleName) + public CredentialInfo UpdateCredential(string automationAccountName, string name, string userName, string password, + string description) { - Guid runbookId = this.GetRunbookIdByRunbookName(automationAccountName, runbookName); - return this.UnregisterScheduledRunbook(automationAccountName, runbookId, scheduleName); + var exisitngCredential = this.GetCredential(automationAccountName, name); + var credentialUpdateParams = new AutomationManagement.Models.CredentialUpdateParameters(); + credentialUpdateParams.Name = name; + credentialUpdateParams.Properties = new AutomationManagement.Models.CredentialUpdateProperties(); + credentialUpdateParams.Properties.Description = description ?? exisitngCredential.Description; + + credentialUpdateParams.Properties.UserName = userName; + credentialUpdateParams.Properties.Password = password; + + var credential = this.automationManagementClient.PsCredentials.Update(automationAccountName, + credentialUpdateParams); + + if (credential == null || credential.StatusCode != HttpStatusCode.OK) + { + new AzureAutomationOperationException(string.Format(Resources.AutomationOperationFailed, "Update", + "credential", name, automationAccountName)); + } + + var updatedCredential = this.GetCredential(automationAccountName, name); + + return updatedCredential; } - #endregion + public CredentialInfo GetCredential(string automationAccountName, string name) + { + var credential = this.automationManagementClient.PsCredentials.Get(automationAccountName, name).Credential; + if (credential == null) + { + throw new ResourceNotFoundException(typeof(Credential), string.Format(CultureInfo.CurrentCulture, Resources.CredentialNotFound, name)); + } - #region Runbook Definition Operations + return new CredentialInfo(automationAccountName, credential); + } - public IEnumerable ListRunbookDefinitionsByRunbookName(string automationAccountName, string runbookName, bool? isDraft) + private Credential CreateCredentialFromCredentialModel(AutomationManagement.Models.Credential credential) { - Guid runbookId = this.GetRunbookIdByRunbookName(automationAccountName, runbookName); - return this.ListRunbookDefinitionsByValidRunbookId(automationAccountName, runbookId, isDraft); + Requires.Argument("credential", credential).NotNull(); + + return new Credential(null, credential); } - public IEnumerable ListRunbookDefinitionsByRunbookId(string automationAccountName, Guid runbookId, bool? isDraft) + public IEnumerable ListCredentials(string automationAccountName) { - AutomationManagement.Models.Runbook runbookModel = this.GetRunbookModel(automationAccountName, runbookId, false); - return this.ListRunbookDefinitionsByValidRunbookId(automationAccountName, new Guid(runbookModel.Id), isDraft); + IList credentialModels = AutomationManagementClient + .ContinuationTokenHandler( + skipToken => + { + var response = this.automationManagementClient.PsCredentials.List(automationAccountName); + return new ResponseWithSkipToken( + response, response.Credentials); + }); + + return credentialModels.Select(c => new Credential(automationAccountName, c)); } - public IEnumerable ListRunbookDefinitionsByRunbookVersionId(string automationAccountName, Guid runbookVersionId, bool? isDraft) + public void DeleteCredential(string automationAccountName, string name) { - AutomationManagement.Models.RunbookVersion runbookVersionModel = this.GetRunbookVersionModel(automationAccountName, runbookVersionId); - if (!isDraft.HasValue || isDraft.Value == runbookVersionModel.IsDraft) + try { - return this.CreateRunbookDefinitionsFromRunbookVersionModels( - automationAccountName, new List { runbookVersionModel }); + var credential = this.automationManagementClient.PsCredentials.Delete(automationAccountName, name); } - else + catch (CloudException cloudException) { - return new List(); + if (cloudException.Response.StatusCode == HttpStatusCode.NotFound) + { + throw new ResourceNotFoundException(typeof(Credential), string.Format(CultureInfo.CurrentCulture, Resources.CredentialNotFound, name)); + } + + throw; } } - public RunbookDefinition UpdateRunbookDefinition(string automationAccountName, Guid runbookId, string runbookPath, bool overwrite) + #endregion + + #region Modules + public Module CreateModule(string automationAccountName, Uri contentLink, string moduleName, + IDictionary tags) { - return this.UpdateRunbookDefinition(automationAccountName, runbookId, File.OpenRead(runbookPath), overwrite); + IDictionary moduleTags = null; + if (tags != null) moduleTags = tags.Cast().ToDictionary(kvp => kvp.Key.ToString(), kvp => kvp.Value.ToString()); + var createdModule = this.automationManagementClient.Modules.Create(automationAccountName, + new AutomationManagement.Models.ModuleCreateParameters() + { + Name = moduleName, + Tags = moduleTags, + Properties = new AutomationManagement.Models.ModuleCreateProperties() + { + ContentLink = new AutomationManagement.Models.ContentLink() + { + Uri = contentLink, + ContentHash = null, + Version = null + } + }, + }); + + return this.GetModule(automationAccountName, moduleName); } - public RunbookDefinition UpdateRunbookDefinition(string automationAccountName, string runbookName, string runbookPath, bool overwrite) + public Module GetModule(string automationAccountName, string name) { - Guid runbookId = this.GetRunbookIdByRunbookName(automationAccountName, runbookName); - return this.UpdateRunbookDefinition(automationAccountName, runbookId, runbookPath, overwrite); + try + { + var module = this.automationManagementClient.Modules.Get(automationAccountName, name).Module; + return new Module(automationAccountName, module); + } + catch (CloudException cloudException) + { + if (cloudException.Response.StatusCode == HttpStatusCode.NotFound) + { + throw new ResourceNotFoundException(typeof(Module), string.Format(CultureInfo.CurrentCulture, Resources.ModuleNotFound, name)); + } + + throw; + } } - #endregion + public IEnumerable ListModules(string automationAccountName) + { + IList modulesModels = AutomationManagementClient + .ContinuationTokenHandler( + skipToken => + { + var response = this.automationManagementClient.Modules.List(automationAccountName); + return new ResponseWithSkipToken( + response, response.Modules); + }); - #region Job Operations + return modulesModels.Select(c => new Module(automationAccountName, c)); + } - public Job GetJob(string automationAccountName, Guid jobId) + public Module UpdateModule(string automationAccountName, IDictionary tags, string name, Uri contentLinkUri, string contentLinkVersion) { - return new Job(this.GetJobModel(automationAccountName, jobId)); + var moduleModel = this.automationManagementClient.Modules.Get(automationAccountName, name).Module; + if(tags != null && contentLinkUri != null) + { + var moduleCreateParameters = new AutomationManagement.Models.ModuleCreateParameters(); + + moduleCreateParameters.Name = name; + moduleCreateParameters.Tags = tags.Cast().ToDictionary(kvp => kvp.Key.ToString(), kvp => kvp.Value.ToString()); + + moduleCreateParameters.Properties = new ModuleCreateProperties(); + moduleCreateParameters.Properties.ContentLink = new AutomationManagement.Models.ContentLink(); + moduleCreateParameters.Properties.ContentLink.Uri = contentLinkUri; + moduleCreateParameters.Properties.ContentLink.Version = + (String.IsNullOrWhiteSpace(contentLinkVersion)) + ? Guid.NewGuid().ToString() + : contentLinkVersion; + + this.automationManagementClient.Modules.Create(automationAccountName, + moduleCreateParameters); + + } + else if (contentLinkUri != null) + { + var moduleUpdateParameters = new AutomationManagement.Models.ModuleUpdateParameters(); + + moduleUpdateParameters.Name = name; + moduleUpdateParameters.Properties = new ModuleUpdateProperties(); + moduleUpdateParameters.Properties.ContentLink = new AutomationManagement.Models.ContentLink(); + moduleUpdateParameters.Properties.ContentLink.Uri = contentLinkUri; + moduleUpdateParameters.Properties.ContentLink.Version = + (String.IsNullOrWhiteSpace(contentLinkVersion)) + ? Guid.NewGuid().ToString() + : contentLinkVersion; + + moduleUpdateParameters.Tags = moduleModel.Tags; + + this.automationManagementClient.Modules.Update(automationAccountName, moduleUpdateParameters); + } + else if(tags != null) + { + var moduleUpdateParameters = new AutomationManagement.Models.ModuleUpdateParameters(); + + moduleUpdateParameters.Name = name; + moduleUpdateParameters.Tags = tags.Cast().ToDictionary(kvp => kvp.Key.ToString(), kvp => kvp.Value.ToString()); + moduleUpdateParameters.Properties = new ModuleUpdateProperties(); + + this.automationManagementClient.Modules.Update(automationAccountName, moduleUpdateParameters); + } + + var updatedModule = this.automationManagementClient.Modules.Get(automationAccountName, name).Module; + return new Module(automationAccountName, updatedModule); } - public IEnumerable ListJobs(string automationAccountName, DateTime? startTime, DateTime? endTime) + public void DeleteModule(string automationAccountName, string name) { - // Assume local time if DateTimeKind.Unspecified - if (startTime.HasValue && startTime.Value.Kind == DateTimeKind.Unspecified) + try + { + var module = this.automationManagementClient.Modules.Delete(automationAccountName, name); + } + catch (CloudException cloudException) { - startTime = DateTime.SpecifyKind(startTime.Value, DateTimeKind.Local); + if (cloudException.Response.StatusCode == HttpStatusCode.NoContent) + { + throw new ResourceNotFoundException(typeof(Module), string.Format(CultureInfo.CurrentCulture, Resources.ModuleNotFound, name)); + } + + throw; } + } + + #endregion - if (endTime.HasValue && endTime.Value.Kind == DateTimeKind.Unspecified) + #region Jobs + public IEnumerable GetJobStream(string automationAccountName, Guid jobId, DateTimeOffset? time, + string streamType) + { + var listParams = new AutomationManagement.Models.JobStreamListParameters(); + + if (time.HasValue) { - endTime = DateTime.SpecifyKind(endTime.Value, DateTimeKind.Local); + listParams.Time = this.FormatDateTime(time.Value); } + if (streamType != null) + { + listParams.StreamType = streamType; + } + + var jobStreams = this.automationManagementClient.JobStreams.List(automationAccountName, jobId, listParams).JobStreams; + return jobStreams.Select(stream => this.CreateJobStreamFromJobStreamModel(stream, automationAccountName, jobId)).ToList(); + } + + public Job GetJob(string automationAccountName, Guid Id) + { + var job = this.automationManagementClient.Jobs.Get(automationAccountName, Id).Job; + if (job == null) + { + throw new ResourceNotFoundException(typeof(Job), + string.Format(CultureInfo.CurrentCulture, Resources.JobNotFound, Id)); + } + + return new Job(automationAccountName, job); + } + + public IEnumerable ListJobsByRunbookName(string automationAccountName, string runbookName, DateTimeOffset? startTime, DateTimeOffset? endTime, string jobStatus) + { IEnumerable jobModels; if (startTime.HasValue && endTime.HasValue) @@ -367,45 +785,120 @@ public IEnumerable ListJobs(string automationAccountName, DateTime? startTi skipToken => { var response = - this.automationManagementClient.Jobs.ListFilteredByStartTimeEndTime( + this.automationManagementClient.Jobs.List( automationAccountName, new AutomationManagement.Models.JobListParameters { - StartTime = this.FormatDateTime(startTime.Value), - EndTime = this.FormatDateTime(endTime.Value), - SkipToken = skipToken + StartTime = FormatDateTime(startTime.Value), + EndTime = FormatDateTime(endTime.Value), + RunbookName = runbookName, + Status = jobStatus, }); return new ResponseWithSkipToken(response, response.Jobs); }); } else if (startTime.HasValue) + { + jobModels = AutomationManagementClient.ContinuationTokenHandler( + skipToken => + { + var response = + this.automationManagementClient.Jobs.List( + automationAccountName, + new AutomationManagement.Models.JobListParameters + { + StartTime = FormatDateTime(startTime.Value), + RunbookName = runbookName, + Status = jobStatus, + }); + return new ResponseWithSkipToken(response, response.Jobs); + }); + } + else if (endTime.HasValue) + { + jobModels = AutomationManagementClient.ContinuationTokenHandler( + skipToken => + { + var response = + this.automationManagementClient.Jobs.List( + automationAccountName, + new AutomationManagement.Models.JobListParameters + { + EndTime = FormatDateTime(endTime.Value), + RunbookName = runbookName, + Status = jobStatus, + }); + return new ResponseWithSkipToken(response, response.Jobs); + }); + } + else + { + jobModels = AutomationManagementClient.ContinuationTokenHandler( + skipToken => + { + var response = this.automationManagementClient.Jobs.List( + automationAccountName, + new AutomationManagement.Models.JobListParameters + { + Status = jobStatus, + RunbookName = runbookName + }); + return new ResponseWithSkipToken(response, response.Jobs); + }); + } + + return jobModels.Select(jobModel => new Job(automationAccountName, jobModel)); + } + + public IEnumerable ListJobs(string automationAccountName, DateTimeOffset? startTime, DateTimeOffset? endTime, string jobStatus) + { + IEnumerable jobModels; + + if (startTime.HasValue && endTime.HasValue) { jobModels = AutomationManagementClient.ContinuationTokenHandler( skipToken => { var response = - this.automationManagementClient.Jobs.ListFilteredByStartTime( + this.automationManagementClient.Jobs.List( automationAccountName, new AutomationManagement.Models.JobListParameters { - StartTime = this.FormatDateTime(startTime.Value), - SkipToken = skipToken + StartTime = FormatDateTime(startTime.Value), + EndTime = FormatDateTime(endTime.Value), + Status = jobStatus, }); return new ResponseWithSkipToken(response, response.Jobs); }); } + else if (startTime.HasValue) + { + jobModels = AutomationManagementClient.ContinuationTokenHandler( + skipToken => + { + var response = + this.automationManagementClient.Jobs.List( + automationAccountName, + new AutomationManagement.Models.JobListParameters + { + StartTime = FormatDateTime(startTime.Value), + Status = jobStatus, + }); + return new ResponseWithSkipToken(response, response.Jobs); + }); + } else if (endTime.HasValue) { jobModels = AutomationManagementClient.ContinuationTokenHandler( skipToken => { var response = - this.automationManagementClient.Jobs.ListFilteredByStartTime( + this.automationManagementClient.Jobs.List( automationAccountName, new AutomationManagement.Models.JobListParameters { - EndTime = this.FormatDateTime(endTime.Value), - SkipToken = skipToken + EndTime = FormatDateTime(endTime.Value), + Status = jobStatus, }); return new ResponseWithSkipToken(response, response.Jobs); }); @@ -417,529 +910,589 @@ public IEnumerable ListJobs(string automationAccountName, DateTime? startTi { var response = this.automationManagementClient.Jobs.List( automationAccountName, - new AutomationManagement.Models.JobListParameters { SkipToken = skipToken, }); + new AutomationManagement.Models.JobListParameters { Status = jobStatus }); return new ResponseWithSkipToken(response, response.Jobs); }); } - return jobModels.Select(jobModel => new Job(jobModel)); + return jobModels.Select(jobModel => new Job(automationAccountName, jobModel)); } - public IEnumerable ListJobsByRunbookId(string automationAccountName, Guid runbookId, DateTime? startTime, DateTime? endTime) + public void ResumeJob(string automationAccountName, Guid id) { - AutomationManagement.Models.Runbook runbookModel = this.GetRunbookModel(automationAccountName, runbookId, false); - return this.ListJobsByValidRunbookId(automationAccountName, new Guid(runbookModel.Id), startTime, endTime); + this.automationManagementClient.Jobs.Resume(automationAccountName, id); } - public IEnumerable ListJobsByRunbookName(string automationAccountName, string runbookName, DateTime? startTime, DateTime? endTime) + public void StopJob(string automationAccountName, Guid id) { - Guid runbookId = this.GetRunbookIdByRunbookName(automationAccountName, runbookName); - return this.ListJobsByValidRunbookId(automationAccountName, runbookId, startTime, endTime); + this.automationManagementClient.Jobs.Stop(automationAccountName, id); } - public void ResumeJob(string automationAccountName, Guid jobId) + public void SuspendJob(string automationAccountName, Guid id) { - this.automationManagementClient.Jobs.Resume( - automationAccountName, - jobId.ToString()); + this.automationManagementClient.Jobs.Suspend(automationAccountName, id); } - public void StopJob(string automationAccountName, Guid jobId) - { - this.automationManagementClient.Jobs.Stop( - automationAccountName, - jobId.ToString()); - } + #endregion + + #region Account Operations - public void SuspendJob(string automationAccountName, Guid jobId) + public IEnumerable ListAutomationAccounts(string automationAccountName, string location) { - this.automationManagementClient.Jobs.Suspend( - automationAccountName, - jobId.ToString()); - } + if (automationAccountName != null) + { + Requires.Argument("AutomationAccountName", automationAccountName).ValidAutomationAccountName(); + } - #endregion + var automationAccounts = new List(); + var cloudServices = new List(this.automationManagementClient.CloudServices.List().CloudServices); - #region Job Stream Item Operations + foreach (var cloudService in cloudServices) + { + automationAccounts.AddRange(cloudService.Resources.Select(resource => new AutomationAccount(cloudService, resource))); + } - public IEnumerable ListJobStreamItems(string automationAccountName, Guid jobId, DateTime createdSince, string streamTypeName) - { - AutomationManagement.Models.Job jobModel = this.GetJobModel(automationAccountName, jobId); - IList jobStreamItemModels = AutomationManagementClient.ContinuationTokenHandler( - skipToken => + // RDFE does not support server-side filtering, hence we filter on the client-side. + if (automationAccountName != null) + { + automationAccounts = automationAccounts.Where(account => string.Equals(account.AutomationAccountName, automationAccountName, StringComparison.OrdinalIgnoreCase)).ToList(); + + if (!automationAccounts.Any()) { - var response = this.automationManagementClient.JobStreams.ListStreamItems( - automationAccountName, - new AutomationManagement.Models.JobStreamListStreamItemsParameters - { - JobId = jobModel.Id, - StartTime = this.FormatDateTime(createdSince), - StreamType = streamTypeName, - SkipToken = skipToken - }); - return new ResponseWithSkipToken( - response, response.JobStreamItems); - }); + throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Resources.AutomationAccountNotFound)); + } + } + + if (location != null) + { + automationAccounts = automationAccounts.Where(account => string.Equals(account.Location, location, StringComparison.OrdinalIgnoreCase)).ToList(); + } - return jobStreamItemModels.Select(jobStreamItemModel => new JobStreamItem(jobStreamItemModel)); + return automationAccounts; } - #endregion + public AutomationAccount CreateAutomationAccount(string automationAccountName, string location) + { - #region Schedule Operations + Requires.Argument("AutomationAccountName", automationAccountName).ValidAutomationAccountName(); - public Schedule CreateSchedule(string automationAccountName, OneTimeSchedule schedule) - { - this.ValidateScheduleName(automationAccountName, schedule.Name); + try + { + var existingAccount = this.ListAutomationAccounts(automationAccountName, location); - var scheduleModel = new AutomationManagement.Models.Schedule + if (existingAccount != null) + { + throw new ResourceCommonException(typeof (AutomationAccount), + string.Format(CultureInfo.CurrentCulture, Resources.AutomationAccountAlreadyExists, + automationAccountName)); + } + } + catch (ArgumentException) { - Name = schedule.Name, - StartTime = schedule.StartTime.ToUniversalTime(), - ExpiryTime = schedule.ExpiryTime.ToUniversalTime(), - Description = schedule.Description, - ScheduleType = - AutomationManagement.Models.ScheduleType - .OneTimeSchedule - }; + // ArgumentException is thrown when account does not exists, so ignore it + } - var scheduleCreateParameters = new AutomationManagement.Models.ScheduleCreateParameters + try { - Schedule = scheduleModel - }; + this.automationManagementClient.CreateAutomationAccount(automationAccountName, location); + } + catch (CloudException e) + { + if (e.Response.StatusCode == HttpStatusCode.NotFound) + { + throw new ResourceCommonException(typeof (AutomationAccount), + string.Format(CultureInfo.CurrentCulture, Resources.AccountCreateInvalidArgs, + automationAccountName, location)); + } + throw; + } - var scheduleCreateResponse = this.automationManagementClient.Schedules.Create( - automationAccountName, - scheduleCreateParameters); + return this.ListAutomationAccounts(automationAccountName, location).FirstOrDefault(); + } + + + public void DeleteAutomationAccount(string automationAccountName) + { + Requires.Argument("AutomationAccountName", automationAccountName).NotNull(); + + var csName = string.Empty; + + var cloudServices = this.automationManagementClient.CloudServices.List().CloudServices; + + foreach (var cloudService in cloudServices) + { + if (cloudService.Resources.Any(resource => 0 == String.Compare(resource.Name, automationAccountName, CultureInfo.InvariantCulture, + CompareOptions.IgnoreCase))) + { + csName = cloudService.Name; + break; + } + } - return this.GetSchedule(automationAccountName, new Guid(scheduleCreateResponse.Schedule.Id)); + this.automationManagementClient.AutomationAccounts.Delete(csName, automationAccountName); } - public Schedule CreateSchedule(string automationAccountName, DailySchedule schedule) - { - this.ValidateScheduleName(automationAccountName, schedule.Name); + #endregion - var scheduleModel = new AutomationManagement.Models.Schedule - { - Name = schedule.Name, - StartTime = schedule.StartTime.ToUniversalTime(), - ExpiryTime = schedule.ExpiryTime.ToUniversalTime(), - Description = schedule.Description, - DayInterval = schedule.DayInterval, - ScheduleType = - AutomationManagement.Models.ScheduleType - .DailySchedule - }; + #region Certificate Operations - var scheduleCreateParameters = new AutomationManagement.Models.ScheduleCreateParameters + public CertificateInfo CreateCertificate(string automationAccountName, string name, string path, SecureString password, + string description, bool exportable) + { + var certificateModel = this.TryGetCertificateModel(automationAccountName, name); + if (certificateModel != null) { - Schedule = scheduleModel - }; - - var scheduleCreateResponse = this.automationManagementClient.Schedules.Create( - automationAccountName, - scheduleCreateParameters); + throw new ResourceCommonException(typeof(CertificateInfo), + string.Format(CultureInfo.CurrentCulture, Resources.CertificateAlreadyExists, name)); + } - return this.GetSchedule(automationAccountName, new Guid(scheduleCreateResponse.Schedule.Id)); + return CreateCertificateInternal(automationAccountName, name, path, password, description, exportable); } - public Schedule CreateSchedule(string automationAccountName, HourlySchedule schedule) + + public CertificateInfo UpdateCertificate(string automationAccountName, string name, string path, SecureString password, + string description, bool? exportable) { - this.ValidateScheduleName(automationAccountName, schedule.Name); + if (String.IsNullOrWhiteSpace(path) && password != null && exportable.HasValue) + { + throw new ResourceCommonException(typeof(CertificateInfo), + string.Format(CultureInfo.CurrentCulture, Resources.SetCertificateInvalidArgs, name)); + } - var scheduleModel = new AutomationManagement.Models.Schedule + var certificateModel = this.TryGetCertificateModel(automationAccountName, name); + if (certificateModel == null) { - Name = schedule.Name, - StartTime = schedule.StartTime.ToUniversalTime(), - ExpiryTime = schedule.ExpiryTime.ToUniversalTime(), - Description = schedule.Description, - HourInterval = schedule.HourInterval, - ScheduleType = - AutomationManagement.Models.ScheduleType - .HourlySchedule - }; + throw new ResourceCommonException(typeof(CertificateInfo), + string.Format(CultureInfo.CurrentCulture, Resources.CertificateNotFound, name)); + } + + var createOrUpdateDescription = description ?? certificateModel.Properties.Description; + var createOrUpdateIsExportable = (exportable.HasValue) ? exportable.Value : certificateModel.Properties.IsExportable; - var scheduleCreateParameters = new AutomationManagement.Models.ScheduleCreateParameters + if (path != null) { - Schedule = scheduleModel - }; + return this.CreateCertificateInternal(automationAccountName, name, path, password, createOrUpdateDescription, + createOrUpdateIsExportable); + } - var scheduleCreateResponse = this.automationManagementClient.Schedules.Create( - automationAccountName, - scheduleCreateParameters); + var cuparam = new CertificateUpdateParameters() + { + Name = name, + Properties = new CertificateUpdateProperties() + { + Description = createOrUpdateDescription, + IsExportable = createOrUpdateIsExportable + } + }; - return this.GetSchedule(automationAccountName, new Guid(scheduleCreateResponse.Schedule.Id)); - } + this.automationManagementClient.Certificates.Update(automationAccountName, cuparam); - public void DeleteSchedule(string automationAccountName, Guid scheduleId) - { - this.automationManagementClient.Schedules.Delete( - automationAccountName, - scheduleId.ToString()); + return new CertificateInfo(automationAccountName, this.automationManagementClient.Certificates.Get(automationAccountName, name).Certificate); } - public void DeleteSchedule(string automationAccountName, string scheduleName) + public CertificateInfo GetCertificate(string automationAccountName, string name) { - Schedule schedule = this.GetSchedule(automationAccountName, scheduleName); - this.DeleteSchedule(automationAccountName, schedule.Id); - } + var certificateModel = this.TryGetCertificateModel(automationAccountName, name); + if (certificateModel == null) + { + throw new ResourceCommonException(typeof(CertificateInfo), + string.Format(CultureInfo.CurrentCulture, Resources.CertificateNotFound, name)); + } - public Schedule GetSchedule(string automationAccountName, Guid scheduleId) - { - AutomationManagement.Models.Schedule scheduleModel = this.GetScheduleModel(automationAccountName, scheduleId); - return this.CreateScheduleFromScheduleModel(scheduleModel); + return new Certificate(automationAccountName, certificateModel); } - public Schedule GetSchedule(string automationAccountName, string scheduleName) + public IEnumerable ListCertificates(string automationAccountName) { - AutomationManagement.Models.Schedule scheduleModel = this.GetScheduleModel(automationAccountName, scheduleName); - return this.CreateScheduleFromScheduleModel(scheduleModel); + return AutomationManagementClient + .ContinuationTokenHandler( + skipToken => + { + var response = this.automationManagementClient.Certificates.List( + automationAccountName); + return new ResponseWithSkipToken( + response, response.Certificates); + }).Select(c => new CertificateInfo(automationAccountName, c)); } - public IEnumerable ListSchedules(string automationAccountName) + public void DeleteCertificate(string automationAccountName, string name) { - IList scheduleModels = AutomationManagementClient.ContinuationTokenHandler( - skipToken => + try + { + this.automationManagementClient.Certificates.Delete(automationAccountName, name); + } + catch (CloudException cloudException) + { + if (cloudException.Response.StatusCode == HttpStatusCode.NoContent) { - var response = this.automationManagementClient.Schedules.List( - automationAccountName, skipToken); - return new ResponseWithSkipToken( - response, response.Schedules); - }); - - return scheduleModels.Select(this.CreateScheduleFromScheduleModel); - } - - public Schedule UpdateSchedule(string automationAccountName, Guid scheduleId, bool? isEnabled, string description) - { - AutomationManagement.Models.Schedule scheduleModel = this.GetScheduleModel(automationAccountName, scheduleId); - return this.UpdateScheduleHelper(automationAccountName, scheduleModel, isEnabled, description); - } + throw new ResourceNotFoundException(typeof(Schedule), string.Format(CultureInfo.CurrentCulture, Resources.CertificateNotFound, name)); + } - public Schedule UpdateSchedule(string automationAccountName, string scheduleName, bool? isEnabled, string description) - { - AutomationManagement.Models.Schedule scheduleModel = this.GetScheduleModel(automationAccountName, scheduleName); - return this.UpdateScheduleHelper(automationAccountName, scheduleModel, isEnabled, description); + throw; + } } - #endregion + #endregion - #region Private Methods + #region Connection Operations - private Runbook CreateRunbook(string automationAccountName, Stream runbookStream) + public Connection CreateConnection(string automationAccountName, string name, string connectionTypeName, IDictionary connectionFieldValues, + string description) { - var createRunbookVersionResponse = this.automationManagementClient.RunbookVersions.Create( - automationAccountName, - runbookStream); + var connectionModel = this.TryGetConnectionModel(automationAccountName, name); + if (connectionModel != null) + { + throw new ResourceCommonException(typeof(Connection), + string.Format(CultureInfo.CurrentCulture, Resources.ConnectionAlreadyExists, name)); + } - var getRunbookVersionResponse = this.automationManagementClient.RunbookVersions.Get( - automationAccountName, - createRunbookVersionResponse.RunbookVersion.Id); + var ccprop = new ConnectionCreateProperties() + { + Description = description, + ConnectionType = new ConnectionTypeAssociationProperty() { Name = connectionTypeName }, + FieldDefinitionValues = connectionFieldValues.Cast().ToDictionary(kvp => kvp.Key.ToString(), kvp => kvp.Value.ToString()) + }; - return this.GetRunbook(automationAccountName, new Guid(getRunbookVersionResponse.RunbookVersion.RunbookId)); - } + var ccparam = new ConnectionCreateParameters() { Name = name, Properties = ccprop }; - private IEnumerable CreateRunbookDefinitionsFromRunbookVersionModels( - string automationAccountName, IEnumerable runbookVersionModels) - { - foreach (AutomationManagement.Models.RunbookVersion runbookVersionModel in runbookVersionModels) - { - var getRunbookDefinitionResponse = - this.automationManagementClient.RunbookVersions.GetRunbookDefinition( - automationAccountName, - runbookVersionModel.Id); + var connection = this.automationManagementClient.Connections.Create(automationAccountName, ccparam).Connection; - yield return new RunbookDefinition(runbookVersionModel, getRunbookDefinitionResponse.RunbookDefinition); - } + return new Connection(automationAccountName, connection); } - private Schedule CreateScheduleFromScheduleModel(AutomationManagement.Models.Schedule schedule) + public Connection UpdateConnectionFieldValue(string automationAccountName, string name, string connectionFieldName, object value) { - Requires.Argument("schedule", schedule).NotNull(); - - if (schedule.ScheduleType == AutomationManagement.Models.ScheduleType.DailySchedule) + var connectionModel = this.TryGetConnectionModel(automationAccountName, name); + if (connectionModel == null) { - return new DailySchedule(schedule); + throw new ResourceCommonException(typeof(Connection), + string.Format(CultureInfo.CurrentCulture, Resources.ConnectionNotFound, name)); } - else if (schedule.ScheduleType == AutomationManagement.Models.ScheduleType.HourlySchedule) + + if (connectionModel.Properties.FieldDefinitionValues.ContainsKey(connectionFieldName)) { - return new HourlySchedule(schedule); + connectionModel.Properties.FieldDefinitionValues[connectionFieldName] = + PowerShellJsonConverter.Serialize(value); } else { - return new OneTimeSchedule(schedule); + throw new ResourceCommonException(typeof(Connection), + string.Format(CultureInfo.CurrentCulture, Resources.ConnectionFieldNameNotFound, name)); } + + var cuparam = new ConnectionUpdateParameters() + { + Name = name, + Properties = new ConnectionUpdateProperties() + { + Description = connectionModel.Properties.Description, + FieldDefinitionValues = connectionModel.Properties.FieldDefinitionValues + } + }; + + this.automationManagementClient.Connections.Update(automationAccountName, cuparam); + + return new Connection(automationAccountName, this.automationManagementClient.Connections.Get(automationAccountName, name).Connection); } - private Guid EditRunbook(string automationAccountName, Guid runbookId) + public Connection GetConnection(string automationAccountName, string name) { - return new Guid(this.automationManagementClient.Runbooks.Edit( - automationAccountName, - runbookId.ToString()) - .DraftRunbookVersionId); + var connectionModel = this.TryGetConnectionModel(automationAccountName, name); + if (connectionModel == null) + { + throw new ResourceCommonException(typeof(Connection), + string.Format(CultureInfo.CurrentCulture, Resources.ConnectionNotFound, name)); + } + + return new Connection(automationAccountName, connectionModel); } - private string FormatDateTime(DateTime dateTime) + public IEnumerable ListConnectionsByType(string automationAccountName, string typeName) { - return string.Format(CultureInfo.InvariantCulture, "{0:O}", dateTime.ToUniversalTime()); + var connections = this.ListConnections(automationAccountName); + + return connections.Where(c => c.ConnectionTypeName.Equals(typeName, StringComparison.InvariantCultureIgnoreCase)); } - private AutomationManagement.Models.Job GetJobModel(string automationAccountName, Guid jobId) + public IEnumerable ListConnections(string automationAccountName) { - AutomationManagement.Models.Job jobModel = this.automationManagementClient.Jobs.Get( - automationAccountName, - jobId.ToString()) - .Job; + return AutomationManagementClient + .ContinuationTokenHandler( + skipToken => + { + var response = this.automationManagementClient.Connections.List( + automationAccountName); + return new ResponseWithSkipToken( + response, response.Connection); + }).Select(c => new Connection(automationAccountName, c)); + } - if (jobModel == null) + public void DeleteConnection(string automationAccountName, string name) + { + try { - throw new ResourceNotFoundException(typeof(Job), string.Format(CultureInfo.CurrentCulture, Resources.JobNotFoundById, jobId)); + this.automationManagementClient.Connections.Delete(automationAccountName, name); } + catch (CloudException cloudException) + { + if (cloudException.Response.StatusCode == HttpStatusCode.NoContent) + { + throw new ResourceNotFoundException(typeof(Connection), string.Format(CultureInfo.CurrentCulture, Resources.ConnectionNotFound, name)); + } - return jobModel; + throw; + } } - private IEnumerable ListJobsByValidRunbookId(string automationAccountName, Guid runbookId, DateTime? startTime, DateTime? endTime) + #endregion + + #region JobSchedules + + public JobSchedule GetJobSchedule(string automationAccountName, Guid jobScheduleId) { - // Assume local time if DateTimeKind.Unspecified - if (startTime.HasValue && startTime.Value.Kind == DateTimeKind.Unspecified) + AutomationManagement.Models.JobSchedule jobScheduleModel = null; + + try { - startTime = DateTime.SpecifyKind(startTime.Value, DateTimeKind.Local); + jobScheduleModel = this.automationManagementClient.JobSchedules.Get( + automationAccountName, + jobScheduleId) + .JobSchedule; } - - if (endTime.HasValue && endTime.Value.Kind == DateTimeKind.Unspecified) + catch (CloudException cloudException) { - endTime = DateTime.SpecifyKind(endTime.Value, DateTimeKind.Local); + if (cloudException.Response.StatusCode == HttpStatusCode.NotFound) + { + throw new ResourceNotFoundException(typeof(JobSchedule), + string.Format(CultureInfo.CurrentCulture, Resources.JobScheduleWithIdNotFound, jobScheduleId)); + } + + throw; } + + return this.CreateJobScheduleFromJobScheduleModel(automationAccountName, jobScheduleModel); + } - IEnumerable jobModels; + public JobSchedule GetJobSchedule(string automationAccountName, string runbookName, string scheduleName) + { + var jobSchedules = this.ListJobSchedules(automationAccountName); + JobSchedule jobSchedule = null; + bool jobScheduleFound = false; - if (startTime.HasValue && endTime.HasValue) - { - jobModels = AutomationManagementClient.ContinuationTokenHandler( - skipToken => - { - var response = - this.automationManagementClient.Jobs.ListByRunbookIdFilteredByStartTimeEndTime( - automationAccountName, - new AutomationManagement.Models.JobListByRunbookIdParameters - { - RunbookId = runbookId.ToString(), - StartTime = this.FormatDateTime(startTime.Value), - EndTime = this.FormatDateTime(endTime.Value), - SkipToken = skipToken - }); - return new ResponseWithSkipToken(response, response.Jobs); - }); - } - else if (startTime.HasValue) + foreach (var js in jobSchedules) { - jobModels = AutomationManagementClient.ContinuationTokenHandler( - skipToken => - { - var response = - this.automationManagementClient.Jobs.ListByRunbookIdFilteredByStartTime( - automationAccountName, - new AutomationManagement.Models.JobListByRunbookIdParameters - { - RunbookId = runbookId.ToString(), - StartTime = this.FormatDateTime(startTime.Value), - SkipToken = skipToken, - }); - return new ResponseWithSkipToken(response, response.Jobs); - }); + if (String.Equals(js.RunbookName, runbookName, StringComparison.OrdinalIgnoreCase) && + String.Equals(js.ScheduleName, scheduleName, StringComparison.OrdinalIgnoreCase)) + { + jobSchedule = this.GetJobSchedule(automationAccountName, new Guid(js.JobScheduleId)); + jobScheduleFound = true; + break; + } } - else if (endTime.HasValue) + if (!jobScheduleFound) { - jobModels = AutomationManagementClient.ContinuationTokenHandler( - skipToken => - { - var response = - this.automationManagementClient.Jobs.ListByRunbookIdFilteredByStartTime( - automationAccountName, - new AutomationManagement.Models.JobListByRunbookIdParameters - { - RunbookId = runbookId.ToString(), - EndTime = this.FormatDateTime(endTime.Value), - SkipToken = skipToken, - }); - return new ResponseWithSkipToken(response, response.Jobs); - }); + throw new ResourceNotFoundException(typeof(Schedule), + string.Format(CultureInfo.CurrentCulture, Resources.JobScheduleNotFound, runbookName, scheduleName)); } - else - { - jobModels = AutomationManagementClient.ContinuationTokenHandler( + + return jobSchedule; + } + + public IEnumerable ListJobSchedules(string automationAccountName) + { + IList jobScheduleModels = AutomationManagementClient + .ContinuationTokenHandler( skipToken => { - var response = this.automationManagementClient.Jobs.ListByRunbookId( - automationAccountName, - new AutomationManagement.Models.JobListByRunbookIdParameters - { - RunbookId = runbookId.ToString(), - SkipToken = skipToken, - }); - return new ResponseWithSkipToken(response, response.Jobs); + var response = this.automationManagementClient.JobSchedules.List( + automationAccountName); + + return new ResponseWithSkipToken( + response, response.JobSchedules); }); - } - return jobModels.Select(jobModel => new Job(jobModel)); + return jobScheduleModels.Select(jobScheduleModel => new JobSchedule(automationAccountName, jobScheduleModel)); } - private Guid GetRunbookIdByRunbookName(string automationAccountName, string runbookName) + public IEnumerable ListJobSchedulesByRunbookName(string automationAccountName, string runbookName) { - return new Guid(this.GetRunbookModel(automationAccountName, runbookName, false).Id); + var jobSchedules = this.ListJobSchedules(automationAccountName); + + IEnumerable jobSchedulesOfRunbook = new List(); + + jobSchedulesOfRunbook = jobSchedules.Where(js => String.Equals(js.RunbookName, runbookName, StringComparison.OrdinalIgnoreCase)); + + return jobSchedulesOfRunbook; } - private AutomationManagement.Models.Runbook GetRunbookModel(string automationAccountName, Guid runbookId, bool withSchedules) + public IEnumerable ListJobSchedulesByScheduleName(string automationAccountName, string scheduleName) { - AutomationManagement.Models.Runbook runbookModel = withSchedules - ? this.automationManagementClient.Runbooks.GetWithSchedules( - automationAccountName, - runbookId.ToString()).Runbook - : this.automationManagementClient.Runbooks.Get( - automationAccountName, - runbookId.ToString()).Runbook; + var jobSchedules = this.ListJobSchedules(automationAccountName); - if (runbookModel == null) - { - throw new ResourceNotFoundException(typeof(Runbook), string.Format(CultureInfo.CurrentCulture, Resources.RunbookNotFoundById, runbookId)); - } + IEnumerable jobSchedulesOfSchedule = new List(); + + jobSchedulesOfSchedule = jobSchedules.Where(js => String.Equals(js.ScheduleName, scheduleName, StringComparison.OrdinalIgnoreCase)); - return runbookModel; + return jobSchedulesOfSchedule; } - private AutomationManagement.Models.Runbook GetRunbookModel(string automationAccountName, string runbookName, bool withSchedules) + public JobSchedule RegisterScheduledRunbook(string automationAccountName, string runbookName, string scheduleName, IDictionary parameters) { - IList runbookModels = withSchedules - ? this.automationManagementClient.Runbooks.ListByNameWithSchedules( - automationAccountName, - runbookName).Runbooks - : this.automationManagementClient.Runbooks.ListByName( - automationAccountName, - runbookName).Runbooks; + var processedParameters = this.ProcessRunbookParameters(automationAccountName, runbookName, parameters); + var sdkJobSchedule = this.automationManagementClient.JobSchedules.Create( + automationAccountName, + new AutomationManagement.Models.JobScheduleCreateParameters + { + Properties = new AutomationManagement.Models.JobScheduleCreateProperties + { + Schedule = new ScheduleAssociationProperty { Name = scheduleName }, + Runbook = new RunbookAssociationProperty { Name = runbookName }, + Parameters = processedParameters + } + }).JobSchedule; + + return new JobSchedule(automationAccountName, sdkJobSchedule); + } - if (!runbookModels.Any()) + public void UnregisterScheduledRunbook(string automationAccountName, Guid jobScheduleId) + { + try { - throw new ResourceNotFoundException(typeof(Runbook), string.Format(CultureInfo.CurrentCulture, Resources.RunbookNotFoundByName, runbookName)); + this.automationManagementClient.JobSchedules.Delete( + automationAccountName, + jobScheduleId); } + catch (CloudException cloudException) + { + if (cloudException.Response.StatusCode == HttpStatusCode.NotFound) + { + throw new ResourceNotFoundException(typeof(Schedule), + string.Format(CultureInfo.CurrentCulture, Resources.JobScheduleWithIdNotFound, jobScheduleId)); + } - return runbookModels.First(); + throw; + } } - private AutomationManagement.Models.RunbookVersion GetRunbookVersionModel( - string automationAccountName, Guid runbookVersionId) + public void UnregisterScheduledRunbook(string automationAccountName, string runbookName, string scheduleName) { - AutomationManagement.Models.RunbookVersion runbookVersionModel = - this.automationManagementClient.RunbookVersions.Get( - automationAccountName, - runbookVersionId.ToString()).RunbookVersion; + var jobSchedules = this.ListJobSchedules(automationAccountName); + bool jobScheduleFound = false; - if (runbookVersionModel == null) + foreach (var jobSchedule in jobSchedules) + { + if (jobSchedule.RunbookName == runbookName && jobSchedule.ScheduleName == scheduleName) + { + this.UnregisterScheduledRunbook(automationAccountName, new Guid(jobSchedule.JobScheduleId)); + jobScheduleFound = true; + break; + } + } + if(!jobScheduleFound) { - throw new ResourceNotFoundException( - typeof(RunbookVersion), - string.Format(CultureInfo.CurrentCulture, Resources.RunbookVersionNotFoundById, runbookVersionId)); + throw new ResourceNotFoundException(typeof(Schedule), + string.Format(CultureInfo.CurrentCulture, Resources.JobScheduleNotFound, runbookName, scheduleName)); } - - return runbookVersionModel; } - private IEnumerable ListRunbookDefinitionsByValidRunbookId(string automationAccountName, Guid runbookId, bool? isDraft) + #endregion + + #region Private Methods + + private Schedule CreateScheduleFromScheduleModel(string automationAccountName, AutomationManagement.Models.Schedule schedule) { - IList runbookVersionModels = isDraft.HasValue - ? this.automationManagementClient.RunbookVersions.ListLatestByRunbookIdSlot( - automationAccountName, - new AutomationManagement.Models. - RunbookVersionListLatestByRunbookIdSlotParameters - { - RunbookId = - runbookId.ToString(), - IsDraft = - isDraft.Value - }) - .RunbookVersions - : this.automationManagementClient.RunbookVersions.ListLatestByRunbookId( - automationAccountName, - runbookId.ToString()).RunbookVersions; + Requires.Argument("schedule", schedule).NotNull(); - return this.CreateRunbookDefinitionsFromRunbookVersionModels(automationAccountName, runbookVersionModels); + return new Schedule(automationAccountName, schedule); } - private AutomationManagement.Models.Schedule GetScheduleModel(string automationAccountName, Guid scheduleId) + private JobSchedule CreateJobScheduleFromJobScheduleModel(string automationAccountName, AutomationManagement.Models.JobSchedule jobSchedule) { - AutomationManagement.Models.Schedule scheduleModel = this.automationManagementClient.Schedules.Get( - automationAccountName, - scheduleId.ToString()) - .Schedule; + Requires.Argument("jobSchedule", jobSchedule).NotNull(); + + return new JobSchedule(automationAccountName, jobSchedule); + } - if (scheduleModel == null) + private WindowsAzure.Management.Automation.Models.Runbook TryGetRunbookModel(string automationAccountName, string runbookName) + { + WindowsAzure.Management.Automation.Models.Runbook runbook = null; + try { - throw new ResourceNotFoundException(typeof(Schedule), string.Format(CultureInfo.CurrentCulture, Resources.ScheduleNotFoundById, scheduleId)); + runbook = this.automationManagementClient.Runbooks.Get(automationAccountName, runbookName).Runbook; } - - return scheduleModel; + catch (CloudException e) + { + if (e.Response.StatusCode == HttpStatusCode.NotFound) + { + runbook = null; + } + else + { + throw; + } + } + return runbook; } - private AutomationManagement.Models.Schedule GetScheduleModel(string automationAccountName, string scheduleName) + private WindowsAzure.Management.Automation.Models.Certificate TryGetCertificateModel(string automationAccountName, string certificateName) { - IList schedules = this.automationManagementClient.Schedules.ListByName( - automationAccountName, - scheduleName) - .Schedules; - - if (!schedules.Any()) + WindowsAzure.Management.Automation.Models.Certificate certificate = null; + try { - throw new ResourceNotFoundException(typeof(RunbookVersion), string.Format(CultureInfo.CurrentCulture, Resources.ScheduleNotFoundByName, scheduleName)); + certificate = this.automationManagementClient.Certificates.Get(automationAccountName, certificateName).Certificate; } - - return schedules.First(); + catch (CloudException e) + { + if (e.Response.StatusCode == HttpStatusCode.NotFound) + { + certificate = null; + } + else + { + throw; + } + } + return certificate; } - private IEnumerable ListRunbookParameters(string automationAccountName, Guid runbookId) + private IEnumerable> ListRunbookParameters(string automationAccountName, string runbookName) { - Runbook runbook = this.GetRunbook(automationAccountName, runbookId); - if (!runbook.PublishedRunbookVersionId.HasValue) + Runbook runbook = this.GetRunbook(automationAccountName, runbookName); + if (0 == String.Compare(runbook.State, RunbookState.New, CultureInfo.InvariantCulture, + CompareOptions.IgnoreCase)) { - throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Resources.RunbookHasNoPublishedVersionById, runbookId)); + throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Resources.RunbookHasNoPublishedVersion, runbookName)); } - - return this.automationManagementClient.RunbookParameters.ListByRunbookVersionId( - automationAccountName, - runbook.PublishedRunbookVersionId.Value.ToString()).RunbookParameters.Select(runbookParameter => new RunbookParameter(runbookParameter)); + return runbook.Parameters.Cast().ToDictionary(k => k.Key.ToString(), k => (RunbookParameter)k.Value); } - private IEnumerable ProcessRunbookParameters(string automationAccountName, Guid runbookId, IDictionary parameters) + private IDictionary ProcessRunbookParameters(string automationAccountName, string runbookName, IDictionary parameters) { parameters = parameters ?? new Dictionary(); - IEnumerable runbookParameters = this.ListRunbookParameters(automationAccountName, runbookId); - var filteredParameters = new List(); + IEnumerable> runbookParameters = this.ListRunbookParameters(automationAccountName, runbookName); + var filteredParameters = new Dictionary(); foreach (var runbookParameter in runbookParameters) { - if (parameters.Contains(runbookParameter.Name)) + if (parameters.Contains(runbookParameter.Key)) { - object paramValue = parameters[runbookParameter.Name]; + object paramValue = parameters[runbookParameter.Key]; try { - filteredParameters.Add( - new AutomationManagement.Models.NameValuePair - { - Name = runbookParameter.Name, - Value = JsonConvert.SerializeObject(paramValue, new JsonSerializerSettings() { DateFormatHandling = DateFormatHandling.MicrosoftDateFormat }) - }); + filteredParameters.Add(runbookParameter.Key, PowerShellJsonConverter.Serialize(paramValue)); } catch (JsonSerializationException) { throw new ArgumentException( string.Format( - CultureInfo.CurrentCulture, Resources.RunbookParameterCannotBeSerializedToJson, runbookParameter.Name)); + CultureInfo.CurrentCulture, Resources.RunbookParameterCannotBeSerializedToJson, runbookParameter.Key)); } } - else if (runbookParameter.IsMandatory) + else if (runbookParameter.Value.IsMandatory) { throw new ArgumentException( string.Format( - CultureInfo.CurrentCulture, Resources.RunbookParameterValueRequired, runbookParameter.Name)); + CultureInfo.CurrentCulture, Resources.RunbookParameterValueRequired, runbookParameter.Key)); } } @@ -949,133 +1502,120 @@ private IEnumerable ListRunbookParameters(string automationAcc string.Format(CultureInfo.CurrentCulture, Resources.InvalidRunbookParameters)); } - bool hasJobStartedBy = filteredParameters.Any(filteredParameter => filteredParameter.Name == Constants.JobStartedByParameterName); + var hasJobStartedBy = filteredParameters.Any(filteredParameter => filteredParameter.Key == Constants.JobStartedByParameterName); if (!hasJobStartedBy) { - filteredParameters.Add(new AutomationManagement.Models.NameValuePair() { Name = Constants.JobStartedByParameterName, Value = Constants.ClientIdentity }); + filteredParameters.Add(Constants.JobStartedByParameterName, PowerShellJsonConverter.Serialize(Constants.ClientIdentity)); } return filteredParameters; } - private RunbookDefinition UpdateRunbookDefinition(string automationAccountName, Guid runbookId, Stream runbookStream, bool overwrite) + private JobStream CreateJobStreamFromJobStreamModel(AutomationManagement.Models.JobStream jobStream, string automationAccountName, Guid jobId) { - var runbook = new Runbook(this.GetRunbookModel(automationAccountName, runbookId, false)); - - if (runbook.DraftRunbookVersionId.HasValue && overwrite == false) - { - throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Resources.RunbookAlreadyHasDraft)); - } - - Guid draftRunbookVersionId = runbook.DraftRunbookVersionId.HasValue - ? runbook.DraftRunbookVersionId.Value - : this.EditRunbook(automationAccountName, runbook.Id); - - var getRunbookDefinitionResponse = this.automationManagementClient.RunbookVersions.GetRunbookDefinition( - automationAccountName, - draftRunbookVersionId.ToString()); + Requires.Argument("jobStream", jobStream).NotNull(); + Requires.Argument("automationAccountName", automationAccountName).NotNull(); + Requires.Argument("jobId", jobId).NotNull(); + return new JobStream(jobStream, automationAccountName, jobId); + } - this.automationManagementClient.RunbookVersions.UpdateRunbookDefinition( - automationAccountName, - new AutomationManagement.Models.RunbookVersionUpdateRunbookDefinitionParameters - { - ETag = getRunbookDefinitionResponse.ETag, - RunbookVersionId = draftRunbookVersionId.ToString(), - RunbookStream = runbookStream, - }); + private Variable CreateVariableFromVariableModel(AutomationManagement.Models.Variable variable, string automationAccountName) + { + Requires.Argument("variable", variable).NotNull(); - IEnumerable runbookDefinitions = this.ListRunbookDefinitionsByRunbookVersionId(automationAccountName, draftRunbookVersionId, true); - return runbookDefinitions.First(); + return new Variable(variable, automationAccountName); } - private Runbook UpdateRunbookHelper( - string automationAccountName, - AutomationManagement.Models.Runbook runbook, - string description, - string[] tags, - bool? logDebug, - bool? logProgress, - bool? logVerbose) + private AutomationManagement.Models.Schedule GetScheduleModel(string automationAccountName, string scheduleName) { - if (description != null) + AutomationManagement.Models.Schedule scheduleModel; + try { - runbook.Description = description; + scheduleModel = this.automationManagementClient.Schedules.Get( + automationAccountName, + scheduleName) + .Schedule; } - - if (tags != null) + catch (CloudException cloudException) { - runbook.Tags = string.Join(Constants.RunbookTagsSeparatorString, tags); - } + if (cloudException.Response.StatusCode == HttpStatusCode.NotFound) + { + throw new ResourceNotFoundException(typeof(Schedule), string.Format(CultureInfo.CurrentCulture, Resources.ScheduleNotFound, scheduleName)); + } - if (logDebug.HasValue) - { - runbook.LogDebug = logDebug.Value; + throw; } - if (logProgress.HasValue) - { - runbook.LogProgress = logProgress.Value; - } + return scheduleModel; + } - if (logVerbose.HasValue) - { - runbook.LogVerbose = logVerbose.Value; - } + private string FormatDateTime(DateTimeOffset dateTime) + { + return string.Format(CultureInfo.InvariantCulture, "{0:O}", dateTime.ToUniversalTime()); + } - var runbookUpdateParameters = new AutomationManagement.Models.RunbookUpdateParameters + private Schedule UpdateScheduleHelper(string automationAccountName, + string scheduleName, bool? isEnabled, string description) + { + var scheduleUpdateParameters = new AutomationManagement.Models.ScheduleUpdateParameters { - Runbook = runbook + Name = scheduleName, + Properties = new AutomationManagement.Models.ScheduleUpdateProperties + { + Description = description, + IsEnabled = isEnabled + } }; - this.automationManagementClient.Runbooks.Update(automationAccountName, runbookUpdateParameters); + this.automationManagementClient.Schedules.Update( + automationAccountName, + scheduleUpdateParameters); - var runbookId = new Guid(runbook.Id); - return this.GetRunbook(automationAccountName, runbookId); + return this.GetSchedule(automationAccountName, scheduleName); } - private Schedule UpdateScheduleHelper(string automationAccountName, AutomationManagement.Models.Schedule schedule, bool? isEnabled, string description) + private Certificate CreateCertificateInternal(string automationAccountName, string name, string path, + SecureString password, string description, bool exportable) { - // StartTime and ExpiryTime need to specified as Utc - schedule.StartTime = DateTime.SpecifyKind(schedule.StartTime, DateTimeKind.Utc); - schedule.ExpiryTime = DateTime.SpecifyKind(schedule.ExpiryTime, DateTimeKind.Utc); - - if (isEnabled.HasValue) - { - schedule.IsEnabled = isEnabled.Value; - } - - if (description != null) - { - schedule.Description = description; - } + var cert = (password == null) + ? new X509Certificate2(path) + : new X509Certificate2(path, password); - var scheduleUpdateParameters = new AutomationManagement.Models.ScheduleUpdateParameters + var ccprop = new CertificateCreateProperties() { - Schedule = - schedule + Description = description, + Base64Value = Convert.ToBase64String(cert.Export(X509ContentType.Pkcs12)), + Thumbprint = cert.Thumbprint, + IsExportable = exportable }; - this.automationManagementClient.Schedules.Update( - automationAccountName, - scheduleUpdateParameters); + var ccparam = new CertificateCreateParameters() { Name = name, Properties = ccprop }; - var scheduleId = new Guid(schedule.Id); - return this.GetSchedule(automationAccountName, scheduleId); + var certificate = this.automationManagementClient.Certificates.Create(automationAccountName, ccparam).Certificate; + + return new Certificate(automationAccountName, certificate); } - // TODO: remove the helper which provides client-side schedule name validation once CDM TFS bug 662986 is resolved. - private void ValidateScheduleName(string automationAccountName, string scheduleName) + private WindowsAzure.Management.Automation.Models.Connection TryGetConnectionModel(string automationAccountName, string connectionName) { - IList scheduleModels = - this.automationManagementClient.Schedules.ListByName( - automationAccountName, scheduleName) - .Schedules; - - if (scheduleModels.Any()) + WindowsAzure.Management.Automation.Models.Connection connection = null; + try + { + connection = this.automationManagementClient.Connections.Get(automationAccountName, connectionName).Connection; + } + catch (CloudException e) { - throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Resources.ScheduleNameExists, scheduleName)); + if (e.Response.StatusCode == HttpStatusCode.NotFound) + { + connection = null; + } + else + { + throw; + } } + return connection; } #endregion diff --git a/src/ServiceManagement/Automation/Commands.Automation/Common/AutomationCmdletParameterSet.cs b/src/ServiceManagement/Automation/Commands.Automation/Common/AutomationCmdletParameterSet.cs new file mode 100644 index 000000000000..ba5bb895c9eb --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Common/AutomationCmdletParameterSet.cs @@ -0,0 +1,106 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Microsoft.Azure.Commands.Automation.Common +{ + internal static class AutomationCmdletParameterSets + { + /// + /// By All parameter set. + /// + internal const string ByAll = "ByAll"; + + /// + /// By Name parameter set. + /// + internal const string ByName = "ByName"; + + /// + /// By Path parameter set. + /// + internal const string ByPath = "ByPath"; + + + /// + /// The one time schedule parameter set. + /// + internal const string ByOneTime = "ByOneTime"; + + /// + /// The daily schedule parameter set. + /// + internal const string ByDaily = "ByDaily"; + + /// + /// The hourly schedule parameter set. + /// + internal const string ByHourly = "ByHourly"; + + /// + /// The Job Id parameter set. + /// + internal const string ByJobId = "ByJobId"; + + /// + /// The Runbook name parameter set. + /// + internal const string ByRunbookName = "ByRunbookName"; + + /// + /// The Schedule name parameter set. + /// + internal const string ByScheduleName = "ByScheduleName"; + + /// + /// The certificate name parameter set. + /// + internal const string ByCertificateName = "ByCertificateName"; + + /// + /// The connection name parameter set. + /// + internal const string ByConnectionName = "ByConnectionName"; + + /// + /// The connection type name parameter set. + /// + internal const string ByConnectionTypeName = "ByConnectionTypeName"; + + /// + /// The Schedule name parameter set. + /// + internal const string ByRunbookNameAndScheduleName = "ByRunbookNameAndScheduleName"; + + /// + /// The Job Schedule Id parameter set. + /// + internal const string ByJobScheduleId = "ByJobScheduleId"; + + /// + /// Parameter set for updating variable value + /// + internal const string UpdateVariableValue = "UpdateVariableValue"; + + /// + /// Parameter set for updating variable description + /// + internal const string UpdateVariableDescription = "UpdateVariableDescription"; + } +} diff --git a/src/Common/Azure.Common.Extensions/Authentication/IAccessToken.cs b/src/ServiceManagement/Automation/Commands.Automation/Common/AzureAutomationOperationException.cs similarity index 66% rename from src/Common/Azure.Common.Extensions/Authentication/IAccessToken.cs rename to src/ServiceManagement/Automation/Commands.Automation/Common/AzureAutomationOperationException.cs index 7952623bbec7..6dee5601c5e4 100644 --- a/src/Common/Azure.Common.Extensions/Authentication/IAccessToken.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Common/AzureAutomationOperationException.cs @@ -14,18 +14,21 @@ using System; -namespace Microsoft.Azure.Common.Extensions.Authentication +namespace Microsoft.Azure.Commands.Automation.Common { - public interface IAccessToken + [Serializable] + public class AzureAutomationOperationException : Exception { - void AuthorizeRequest(Action authTokenSetter); + public AzureAutomationOperationException(string message) + : base(message) + { - string AccessToken { get; } + } - string UserId { get; } + public AzureAutomationOperationException(string message, Exception exception) + : base(message, exception) + { - string TenantId { get; } - - LoginType LoginType { get; } + } } -} +} \ No newline at end of file diff --git a/src/ServiceManagement/Automation/Commands.Automation/Common/Constants.cs b/src/ServiceManagement/Automation/Commands.Automation/Common/Constants.cs index 5b9a6c7a8b77..47f44fbb7455 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Common/Constants.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Common/Constants.cs @@ -13,28 +13,28 @@ // ---------------------------------------------------------------------------------- using System; -using Microsoft.Azure.Management.Automation.Models; namespace Microsoft.Azure.Commands.Automation.Common { public class Constants { - public class JobOutputParameter - { - public const string Any = "Any"; + public const string ClientIdentity = "PowerShell"; + + public const char RunbookTagsSeparatorChar = ','; - public const string Progress = JobStreamType.Progress; + public const string RunbookTagsSeparatorString = ","; - public const string Output = JobStreamType.Output; + public const string Published = "Published"; - public const string Warning = JobStreamType.Warning; + public const string Draft = "Draft"; - public const string Error = JobStreamType.Error; + public const string AutomationServicePrefix = "OaasCS"; - public const string Debug = JobStreamType.Debug; + public const string JobStartedByParameterName = "MicrosoftApplicationManagementStartedBy"; - public const string Verbose = JobStreamType.Verbose; - } + // default schedule expiry time for daily schedule, consistent with UX + // 12/31/9999 12:00:00 AM + public static readonly DateTimeOffset DefaultScheduleExpiryTime = DateTimeOffset.MaxValue; public class AutomationAccountState { @@ -43,16 +43,15 @@ public class AutomationAccountState public const string Suspended = "Suspended"; } - // default schedule expiry time for daily schedule, consistent with UX - // 12/31/9999 12:00:00 AM - public static readonly DateTime DefaultScheduleExpiryTime = new DateTime(9999, 12, 31, 0, 0, 0, DateTimeKind.Utc); + public const string PsCommandConvertToJson = "ConvertTo-Json"; - public const string JobStartedByParameterName = "MicrosoftApplicationManagementStartedBy"; + public const string PsCommandConvertFromJson = "ConvertFrom-Json"; - public const string ClientIdentity = "PowerShell"; + public const string PsCommandParamInputObject = "InputObject"; - public const char RunbookTagsSeparatorChar = ','; + public const string PsCommandParamDepth = "Depth"; + + public const int PsCommandValueDepth = 10; - public const string RunbookTagsSeparatorString = ","; } } diff --git a/src/ServiceManagement/Automation/Commands.Automation/Common/IAutomationClient.cs b/src/ServiceManagement/Automation/Commands.Automation/Common/IAutomationClient.cs index cc001f934108..0ae57197d827 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Common/IAutomationClient.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Common/IAutomationClient.cs @@ -15,8 +15,9 @@ using System; using System.Collections; using System.Collections.Generic; +using System.Security; using Microsoft.Azure.Commands.Automation.Model; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; namespace Microsoft.Azure.Commands.Automation.Common { @@ -24,96 +25,167 @@ public interface IAutomationClient { AzureSubscription Subscription { get; } - IEnumerable ListAutomationAccounts(string automationAccountName, string location); + #region JobStreams + + IEnumerable GetJobStream(string automationAccountname, Guid jobId, DateTimeOffset? time, string streamType); + + #endregion + + #region Variables + + Variable GetVariable(string automationAccountName, string variableName); + + IEnumerable ListVariables(string automationAccountName); + + Variable CreateVariable(Variable variable); + + void DeleteVariable(string automationAccountName, string variableName); - Job GetJob(string automationAccountName, Guid jobId); + Variable UpdateVariable(Variable variable, VariableUpdateFields updateFields); - IEnumerable ListJobs(string automationAccountName, DateTime? startTime, DateTime? endTime); + #endregion - IEnumerable ListJobsByRunbookId(string automationAccountName, Guid runbookId, DateTime? startTime, DateTime? endTime); + #region Scedules - IEnumerable ListJobsByRunbookName(string automationAccountName, string runbookName, DateTime? startTime, DateTime? endTime); + Schedule CreateSchedule(string automationAccountName, Schedule schedule); - IEnumerable ListJobStreamItems(string automationAccountName, Guid jobId, DateTime createdSince, string streamTypeName); + void DeleteSchedule(string automationAccountName, string scheduleName); + + Schedule GetSchedule(string automationAccountName, string scheduleName); + + IEnumerable ListSchedules(string automationAccountName); + + Schedule UpdateSchedule(string automationAccountName, string scheduleName, bool? isEnabled, string description); - Runbook GetRunbook(string automationAccountName, Guid runbookId); + #endregion + + #region Runbooks Runbook GetRunbook(string automationAccountName, string runbookName); IEnumerable ListRunbooks(string automationAccountName); - IEnumerable ListRunbookByScheduleName(string automationAccountName, string scheduleName); + Runbook CreateRunbookByName(string automationAccountName, string runbookName, string description, string[] tags); + + Runbook CreateRunbookByPath(string automationAccountName, string runbookPath, string description, string[] tags); + + void DeleteRunbook(string automationAccountName, string runbookName); + + Runbook PublishRunbook(string automationAccountName, string runbookName); + + Runbook UpdateRunbook(string automationAccountName, string runbookName, string description, string[] tags, bool? logProgress, bool? logVerbose); + + RunbookDefinition UpdateRunbookDefinition(string automationAccountName, string runbookName, string runbookPath, bool overwrite); IEnumerable ListRunbookDefinitionsByRunbookName(string automationAccountName, string runbookName, bool? isDraft); - IEnumerable ListRunbookDefinitionsByRunbookId(string automationAccountName, Guid runbookId, bool? isDraft); + Job StartRunbook(string automationAccountName, string runbookName, IDictionary parameters); - IEnumerable ListRunbookDefinitionsByRunbookVersionId(string automationAccountName, Guid runbookVersionId, bool? isDraft); + #endregion - Schedule GetSchedule(string automationAccountName, Guid scheduleId); + #region Credentials - Schedule GetSchedule(string automationAccountName, string scheduleName); + CredentialInfo CreateCredential(string automationAccountName, string name, string userName, string password, string description); - IEnumerable ListSchedules(string automationAccountName); + CredentialInfo UpdateCredential(string automationAccountName, string name, string userName, string password, string description); - Runbook CreateRunbookByName( - string automationAccountName, - string runbookName, - string description, - string[] tags); + CredentialInfo GetCredential(string automationAccountName, string name); - Runbook CreateRunbookByPath( - string automationAccountName, - string runbookPath, - string description, - string[] tags); + IEnumerable ListCredentials(string automationAccountName); - Schedule CreateSchedule(string automationAccountName, OneTimeSchedule schedule); + void DeleteCredential(string automationAccountName, string name); - Schedule CreateSchedule(string automationAccountName, DailySchedule schedule); + #endregion - Schedule CreateSchedule(string automationAccountName, HourlySchedule schedule); + #region Modules - Runbook PublishRunbook(string automationAccountName, Guid runbookId); + Module CreateModule(string automationAccountName, Uri contentLink, string moduleName, IDictionary tags); - Runbook PublishRunbook(string automationAccountName, string runbookName); + Module GetModule(string automationAccountName, string name); - Runbook RegisterScheduledRunbook(string automationAccountName, Guid runbookId, IDictionary parameters, string scheduleName); + Module UpdateModule(string automationAccountName, IDictionary tags, string name, Uri contentLink, string contentLinkVersion); - Runbook RegisterScheduledRunbook(string automationAccountName, string runbookName, IDictionary parameters, string scheduleName); + IEnumerable ListModules(string automationAccountName); - void DeleteRunbook(string automationAccountName, Guid runbookId); + void DeleteModule(string automationAccountName, string name); + + #endregion - void DeleteRunbook(string automationAccountName, string runbookName); + #region Jobs - void DeleteSchedule(string automationAccountName, Guid scheduleId); + Job GetJob(string automationAccountName, Guid id); - void DeleteSchedule(string automationAccountName, string scheduleName); + IEnumerable ListJobsByRunbookName(string automationAccountName, string runbookName, DateTimeOffset? startTime, DateTimeOffset? endTime, string jobStatus); - void ResumeJob(string automationAccountName, Guid jobId); + IEnumerable ListJobs(string automationAccountName, DateTimeOffset? startTime, DateTimeOffset? endTime, string jobStatus); - Runbook UpdateRunbook(string automationAccountName, Guid runbookId, string description, string[] tags, bool? logDebug, bool? logProgress, bool? logVerbose); + void ResumeJob(string automationAccountName, Guid id); - Runbook UpdateRunbook(string automationAccountName, string runbookName, string description, string[] tags, bool? logDebug, bool? logProgress, bool? logVerbose); + void StopJob(string automationAccountName, Guid id); - RunbookDefinition UpdateRunbookDefinition(string automationAccountName, Guid runbookId, string runbookPath, bool overwrite); + void SuspendJob(string automationAccountName, Guid id); - RunbookDefinition UpdateRunbookDefinition(string automationAccountName, string runbookName, string runbookPath, bool overwrite); + #endregion - Schedule UpdateSchedule(string automationAccountName, Guid scheduleId, bool? isEnabled, string description); + #region Accounts - Schedule UpdateSchedule(string automationAccountName, string scheduleName, bool? isEnabled, string description); + IEnumerable ListAutomationAccounts(string automationAccountName, string location); + + AutomationAccount CreateAutomationAccount(string automationAccountName, string location); + + void DeleteAutomationAccount(string automationAccountName); - Job StartRunbook(string automationAccountName, Guid runbookId, IDictionary parameters); + #endregion - Job StartRunbook(string automationAccountName, string runbookName, IDictionary parameters); + #region Certificates + + CertificateInfo CreateCertificate(string automationAccountName, string name, string path, SecureString password, string description, bool exportable); + + CertificateInfo UpdateCertificate(string automationAccountName, string name, string path, SecureString password, string description, bool? exportable); + + CertificateInfo GetCertificate(string automationAccountName, string name); + + IEnumerable ListCertificates(string automationAccountName); + + void DeleteCertificate(string automationAccountName, string name); + + #endregion + + #region Connection + + Connection CreateConnection(string automationAccountName, string name, string connectionTypeName, IDictionary connectionFieldValues, string description); + + Connection UpdateConnectionFieldValue(string automationAccountName, string name, string connectionFieldName, object value); + + Connection GetConnection(string automationAccountName, string name); + + IEnumerable ListConnectionsByType(string automationAccountName, string name); + + IEnumerable ListConnections(string automationAccountName); + + void DeleteConnection(string automationAccountName, string name); + + #endregion + + #region JobSchedules + + JobSchedule GetJobSchedule(string automationAccountName, Guid jobScheduleId); + + JobSchedule GetJobSchedule(string automationAccountName, string runbookName, string scheduleName); + + IEnumerable ListJobSchedules(string automationAccountName); + + IEnumerable ListJobSchedulesByRunbookName(string automationAccountName, string runbookName); + + IEnumerable ListJobSchedulesByScheduleName(string automationAccountName, string scheduleName); + + JobSchedule RegisterScheduledRunbook(string automationAccountName, string runbookName, string scheduleName, IDictionary parameters); - void StopJob(string automationAccountName, Guid jobId); + void UnregisterScheduledRunbook(string automationAccountName, Guid jobScheduleId); - void SuspendJob(string automationAccountName, Guid jobId); + void UnregisterScheduledRunbook(string automationAccountName, string runbookName, string scheduleName); - Runbook UnregisterScheduledRunbook(string automationAccountName, Guid runbookId, string scheduleName); - Runbook UnregisterScheduledRunbook(string automationAccountName, string runbookName, string scheduleName); + #endregion } } \ No newline at end of file diff --git a/src/ServiceManagement/Automation/Commands.Automation/Common/PowershellJsonConverter.cs b/src/ServiceManagement/Automation/Commands.Automation/Common/PowershellJsonConverter.cs new file mode 100644 index 000000000000..0340ec5a0ccf --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Common/PowershellJsonConverter.cs @@ -0,0 +1,113 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Commands.Automation.Properties; +using System; +using System.Collections; +using System.Collections.ObjectModel; +using System.Globalization; +using System.Management.Automation; +using System.Management.Automation.Runspaces; +using System.Text; + +namespace Microsoft.Azure.Commands.Automation.Common +{ + public static class PowerShellJsonConverter + { + public static string Serialize(object inputObject) + { + if (inputObject == null) + { + return null; + } + + Hashtable parameters = new Hashtable(); + parameters.Add(Constants.PsCommandParamInputObject, inputObject); + parameters.Add(Constants.PsCommandParamDepth, Constants.PsCommandValueDepth); + var result = PowerShellJsonConverter.InvokeScript(Constants.PsCommandConvertToJson, parameters); + + if (result.Count != 1) + { + return null; + } + + return result[0].ToString(); + } + + public static PSObject Deserialize(string json) + { + if (String.IsNullOrEmpty(json)) + { + return null; + } + + Hashtable parameters = new Hashtable(); + parameters.Add(Constants.PsCommandParamInputObject, json); + var result = PowerShellJsonConverter.InvokeScript(Constants.PsCommandConvertFromJson, parameters); + if (result.Count != 1) + { + return null; + } + + //count == 1. return the first psobject + return result[0]; + } + + /// + /// Invokes a powershell script using the same runspace as the caller. + /// + /// script name + /// parameters for the script + /// + private static Collection InvokeScript(string scriptName, Hashtable parameters) + { + using (Pipeline pipe = Runspace.DefaultRunspace.CreateNestedPipeline()) + { + Command scriptCommand = new Command(scriptName); + + foreach (DictionaryEntry parameter in parameters) + { + CommandParameter commandParm = new CommandParameter(parameter.Key.ToString(), parameter.Value); + scriptCommand.Parameters.Add(commandParm); + } + pipe.Commands.Add(scriptCommand); + + var result = pipe.Invoke(); + + //Error handling + if (pipe.Error.Count > 0) + { + StringBuilder errorStringBuilder = new StringBuilder(); + while (!pipe.Error.EndOfPipeline) + { + var value = pipe.Error.Read() as PSObject; + if (value != null) + { + var r = value.BaseObject as ErrorRecord; + if (r != null) + { + errorStringBuilder.AppendLine(r.InvocationInfo.MyCommand.Name + " : " + r.Exception.Message); + errorStringBuilder.AppendLine(r.InvocationInfo.PositionMessage); + } + } + } + + throw new AzureAutomationOperationException(string.Format(CultureInfo.CurrentCulture, + Resources.PowershellJsonDecrypterFailed, errorStringBuilder.ToString())); + } + return result; + } + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Common/ResourceCommonException.cs b/src/ServiceManagement/Automation/Commands.Automation/Common/ResourceCommonException.cs new file mode 100644 index 000000000000..cc9cdda0ee06 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Common/ResourceCommonException.cs @@ -0,0 +1,44 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; + +namespace Microsoft.Azure.Commands.Automation.Common +{ + [Serializable] + public class ResourceCommonException : Exception + { + public ResourceCommonException(Type resourceType, string message) + : base(message) + { + this.ResourceType = resourceType; + } + + [NonSerialized] + private Type resourceType; + + public Type ResourceType + { + get + { + return this.resourceType; + } + + private set + { + this.resourceType = value; + } + } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Model/JobParameter.cs b/src/ServiceManagement/Automation/Commands.Automation/Common/StreamType.cs similarity index 56% rename from src/ServiceManagement/Automation/Commands.Automation/Model/JobParameter.cs rename to src/ServiceManagement/Automation/Commands.Automation/Common/StreamType.cs index 72827e525e0c..bdbaa7e80993 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Model/JobParameter.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Common/StreamType.cs @@ -12,42 +12,47 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -namespace Microsoft.Azure.Commands.Automation.Model -{ - using AutomationManagement = Management.Automation; +namespace Microsoft.Azure.Commands.Automation.Common +{ /// - /// The job parameter. + /// StreamType enum represents the 6 types of Powershell Streams supported. /// - public class JobParameter + public enum StreamType { - public JobParameter(AutomationManagement.Models.JobParameter jobParameter) - { - this.Name = jobParameter.Name; - this.Value = jobParameter.Value; - this.Type = jobParameter.Type; - } + /// + /// Indicates Progress Record streams + /// + Progress, + + /// + /// Indicates Output Record streams + /// + Output, + + /// + /// Indicates Warning Record streams + /// + Warning, /// - /// Initializes a new instance of the class. + /// Indicates Error Record streams /// - public JobParameter() - { - } + Error, /// - /// Gets or sets the name. + /// Indicates Debug Record streams /// - public string Name { get; set; } + Debug, /// - /// Gets or sets the value. + /// Indicates Verbose Record streams /// - public string Value { get; set; } + Verbose, /// - /// Gets or sets the type. + /// Indicates Generic stream. Used for querying all the streams regardless of the type. /// - public string Type { get; set; } + Any } -} \ No newline at end of file +} diff --git a/src/Common/Azure.Common.Extensions/Common/AzureModule.cs b/src/ServiceManagement/Automation/Commands.Automation/Common/VariableUpdateFields.cs similarity index 73% rename from src/Common/Azure.Common.Extensions/Common/AzureModule.cs rename to src/ServiceManagement/Automation/Commands.Automation/Common/VariableUpdateFields.cs index a6da65469b58..134b2501bb55 100644 --- a/src/Common/Azure.Common.Extensions/Common/AzureModule.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Common/VariableUpdateFields.cs @@ -1,4 +1,4 @@ -// ---------------------------------------------------------------------------------- +// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,12 +12,13 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -namespace Microsoft.Azure.Common.Extensions +using System; + +namespace Microsoft.Azure.Commands.Automation.Common { - public enum AzureModule + public enum VariableUpdateFields { - AzureServiceManagement, - AzureResourceManager, - AzureProfile + OnlyDescription = 0, + OnlyValue = 1 } } diff --git a/src/ServiceManagement/Automation/Commands.Automation/DataContract/ErrorResponse.cs b/src/ServiceManagement/Automation/Commands.Automation/DataContract/ErrorResponse.cs index aba21a04144b..46b469e1f9eb 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/DataContract/ErrorResponse.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/DataContract/ErrorResponse.cs @@ -23,9 +23,15 @@ namespace Microsoft.Azure.Commands.Automation.DataContract public class ErrorResponse { /// - /// Gets or sets the odata error. + /// Gets or sets the code. /// - [DataMember(Name = "odata.error")] - public OdataError OdataError { get; set; } + [DataMember(Name = "code")] + public string Code { get; set; } + + /// + /// Gets or sets the message. + /// + [DataMember(Name = "message")] + public string Message { get; set; } } } diff --git a/src/ServiceManagement/Automation/Commands.Automation/Model/AutomationAccount.cs b/src/ServiceManagement/Automation/Commands.Automation/Model/AutomationAccount.cs index f3259abd7d35..98cf0f26b108 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Model/AutomationAccount.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Model/AutomationAccount.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Commands.Automation.Model { - using AutomationManagement = Management.Automation; + using AutomationManagement = Microsoft.WindowsAzure.Management.Automation; /// /// The automation account. @@ -32,17 +32,13 @@ public class AutomationAccount /// /// The resource. /// - public AutomationAccount( - AutomationManagement.Models.CloudService cloudService, - AutomationManagement.Models.AutomationResource resource) + public AutomationAccount(AutomationManagement.Models.CloudService cloudService, AutomationManagement.Models.AutomationResource resource) { Requires.Argument("cloudService", cloudService).NotNull(); Requires.Argument("resource", resource).NotNull(); this.AutomationAccountName = resource.Name; this.Location = cloudService.GeoRegion; - this.Plan = resource.Plan; - switch (resource.State) { case AutomationManagement.Models.AutomationResourceState.Started: @@ -55,6 +51,8 @@ public AutomationAccount( this.State = resource.State; break; } + + if (resource.IntrinsicSettings != null) this.Plan = resource.IntrinsicSettings.SubscriptionPlan; } /// @@ -65,9 +63,9 @@ public AutomationAccount() } /// - /// Gets or sets the plan. + /// Gets or sets the automation account name. /// - public string Plan { get; set; } + public string AutomationAccountName { get; set; } /// /// Gets or sets the location. @@ -80,8 +78,8 @@ public AutomationAccount() public string State { get; set; } /// - /// Gets or sets the automation account name. + /// Gets or sets the plan. /// - public string AutomationAccountName { get; set; } + public string Plan { get; set; } } } diff --git a/src/ServiceManagement/Automation/Commands.Automation/Model/CertificateInfo.cs b/src/ServiceManagement/Automation/Commands.Automation/Model/CertificateInfo.cs new file mode 100644 index 000000000000..7849fef2d9d2 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Model/CertificateInfo.cs @@ -0,0 +1,76 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Properties; +using System; + +namespace Microsoft.Azure.Commands.Automation.Model +{ + public class CertificateInfo + { + /// + /// Initializes a new instance of the class. + /// + /// + /// The account name. + /// + /// + /// The connection. + /// + /// + /// + public CertificateInfo(string accountAcccountName, WindowsAzure.Management.Automation.Models.Certificate certificate) + { + Requires.Argument("certificate", certificate).NotNull(); + this.AutomationAccountName = accountAcccountName; + this.Name = certificate.Name; + + if (certificate.Properties == null) return; + + this.Description = certificate.Properties.Description; + this.CreationTime = certificate.Properties.CreationTime.ToLocalTime(); + this.LastModifiedTime = certificate.Properties.LastModifiedTime.ToLocalTime(); + this.ExpiryTime = certificate.Properties.ExpiryTime.ToLocalTime(); + this.Thumbprint = certificate.Properties.Thumbprint; + this.Exportable = certificate.Properties.IsExportable; + } + + /// + /// Initializes a new instance of the class. + /// + public CertificateInfo() + { + } + + /// + /// Gets or sets the automaiton account name. + /// + public string AutomationAccountName { get; set; } + + public string Name { get; set; } + + public string Thumbprint { get; set; } + + public string Description { get; set; } + + public bool Exportable { get; set; } + + public DateTimeOffset CreationTime { get; set; } + + public DateTimeOffset LastModifiedTime { get; set; } + + public DateTimeOffset ExpiryTime { get; set; } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Model/Connection.cs b/src/ServiceManagement/Automation/Commands.Automation/Model/Connection.cs new file mode 100644 index 000000000000..ca2d4f15af33 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Model/Connection.cs @@ -0,0 +1,79 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System.Collections; +using System.Collections.Generic; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Properties; +using System; + +namespace Microsoft.Azure.Commands.Automation.Model +{ + public class Connection + { + /// + /// Initializes a new instance of the class. + /// + /// + /// The account name. + /// + /// + /// The connection. + /// + /// + /// + public Connection(string accountAcccountName, WindowsAzure.Management.Automation.Models.Connection connection) + { + Requires.Argument("connection", connection).NotNull(); + this.AutomationAccountName = accountAcccountName; + this.Name = connection.Name; + + if (connection.Properties == null) return; + + this.Description = connection.Properties.Description; + this.CreationTime = connection.Properties.CreationTime.ToLocalTime(); + this.LastModifiedTime = connection.Properties.LastModifiedTime.ToLocalTime(); + this.ConnectionTypeName = connection.Properties.ConnectionType.Name; + this.FieldDefinitionValues = new Hashtable(StringComparer.InvariantCultureIgnoreCase); + foreach (var kvp in connection.Properties.FieldDefinitionValues) + { + this.FieldDefinitionValues.Add(kvp.Key, (object)PowerShellJsonConverter.Deserialize(kvp.Value)); + } + } + + /// + /// Initializes a new instance of the class. + /// + public Connection() + { + } + + /// + /// Gets or sets the automaiton account name. + /// + public string AutomationAccountName { get; set; } + + public string Name { get; set; } + + public string Description { get; set; } + + public DateTimeOffset CreationTime { get; set; } + + public DateTimeOffset LastModifiedTime { get; set; } + + public string ConnectionTypeName { get; set; } + + public Hashtable FieldDefinitionValues { get; set; } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Model/CredentialInfo.cs b/src/ServiceManagement/Automation/Commands.Automation/Model/CredentialInfo.cs new file mode 100644 index 000000000000..b4cb41f3f100 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Model/CredentialInfo.cs @@ -0,0 +1,63 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Properties; +using System; + +namespace Microsoft.Azure.Commands.Automation.Model +{ + public class CredentialInfo + { + /// + /// Initializes a new instance of the class. + /// + /// + /// The Credential. + /// + public CredentialInfo(string accountAcccountName, WindowsAzure.Management.Automation.Models.Credential credential) + { + Requires.Argument("credential", credential).NotNull(); + this.AutomationAccountName = accountAcccountName; + this.Name = credential.Name; + + if (credential.Properties == null) return; + + this.Description = credential.Properties.Description; + this.CreationTime = credential.Properties.CreationTime.ToLocalTime(); + this.LastModifiedTime = credential.Properties.LastModifiedTime.ToLocalTime(); + this.UserName = credential.Properties.UserName; + } + + /// + /// Initializes a new instance of the class. + /// + public CredentialInfo() + { + } + + /// + /// Gets or sets the automaiton account name. + /// + public string AutomationAccountName { get; set; } + public string Name { get; set; } + public string UserName { get; set; } + + public string Description { get; set; } + + public DateTimeOffset CreationTime { get; set; } + + public DateTimeOffset LastModifiedTime { get; set; } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Model/DailySchedule.cs b/src/ServiceManagement/Automation/Commands.Automation/Model/DailySchedule.cs deleted file mode 100644 index 1ebb28e058ca..000000000000 --- a/src/ServiceManagement/Automation/Commands.Automation/Model/DailySchedule.cs +++ /dev/null @@ -1,69 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.Globalization; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Properties; - -namespace Microsoft.Azure.Commands.Automation.Model -{ - /// - /// The daily schedule. - /// - public class DailySchedule : Schedule - { - /// - /// Initializes a new instance of the class. - /// - /// - /// The schedule. - /// - public DailySchedule(Azure.Management.Automation.Models.Schedule schedule) - { - Requires.Argument("schedule", schedule).NotNull(); - - if (!schedule.DayInterval.HasValue) - { - throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Resources.InvalidDailyScheduleModel, schedule.Name)); - } - - this.Id = new Guid(schedule.Id); - this.AccountId = new Guid(schedule.AccountId); - this.Name = schedule.Name; - this.Description = schedule.Description; - this.StartTime = DateTime.SpecifyKind(schedule.StartTime, DateTimeKind.Utc).ToLocalTime(); - this.ExpiryTime = DateTime.SpecifyKind(schedule.ExpiryTime, DateTimeKind.Utc).ToLocalTime(); - this.CreationTime = DateTime.SpecifyKind(schedule.CreationTime, DateTimeKind.Utc).ToLocalTime(); - this.LastModifiedTime = DateTime.SpecifyKind(schedule.LastModifiedTime, DateTimeKind.Utc).ToLocalTime(); - this.IsEnabled = schedule.IsEnabled; - this.NextRun = schedule.NextRun.HasValue - ? DateTime.SpecifyKind(schedule.NextRun.Value, DateTimeKind.Utc).ToLocalTime() - : this.NextRun; - this.DayInterval = schedule.DayInterval.Value; - } - - /// - /// Initializes a new instance of the class. - /// - public DailySchedule() - { - } - - /// - /// Gets or sets The next run time of the schedule. - /// - public int DayInterval { get; set; } - } -} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Model/HourlySchedule.cs b/src/ServiceManagement/Automation/Commands.Automation/Model/HourlySchedule.cs deleted file mode 100644 index 343e87c66ae2..000000000000 --- a/src/ServiceManagement/Automation/Commands.Automation/Model/HourlySchedule.cs +++ /dev/null @@ -1,69 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -namespace Microsoft.Azure.Commands.Automation.Model -{ - using Microsoft.Azure.Commands.Automation.Common; - using Microsoft.Azure.Commands.Automation.Properties; - using System; - using System.Globalization; - - /// - /// The hourly schedule. - /// - public class HourlySchedule : Schedule - { - /// - /// Initializes a new instance of the class. - /// - /// - /// The schedule. - /// - public HourlySchedule(Azure.Management.Automation.Models.Schedule schedule) - { - Requires.Argument("schedule", schedule).NotNull(); - - if (!schedule.HourInterval.HasValue) - { - throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Resources.InvalidHourlyScheduleModel, schedule.Name)); - } - - this.Id = new Guid(schedule.Id); - this.AccountId = new Guid(schedule.AccountId); - this.Name = schedule.Name; - this.Description = schedule.Description; - this.StartTime = DateTime.SpecifyKind(schedule.StartTime, DateTimeKind.Utc).ToLocalTime(); - this.ExpiryTime = DateTime.SpecifyKind(schedule.ExpiryTime, DateTimeKind.Utc).ToLocalTime(); - this.CreationTime = DateTime.SpecifyKind(schedule.CreationTime, DateTimeKind.Utc).ToLocalTime(); - this.LastModifiedTime = DateTime.SpecifyKind(schedule.LastModifiedTime, DateTimeKind.Utc).ToLocalTime(); - this.IsEnabled = schedule.IsEnabled; - this.NextRun = schedule.NextRun.HasValue - ? DateTime.SpecifyKind(schedule.NextRun.Value, DateTimeKind.Utc).ToLocalTime() - : this.NextRun; - this.HourInterval = schedule.HourInterval.Value; - } - - /// - /// Initializes a new instance of the class. - /// - public HourlySchedule() - { - } - - /// - /// Gets or sets The next run time of the schedule. - /// - public int HourInterval { get; set; } - } -} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Model/Job.cs b/src/ServiceManagement/Automation/Commands.Automation/Model/Job.cs index 74438b290ca9..691b0ff25fb2 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Model/Job.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Model/Job.cs @@ -1,6 +1,4 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation +// 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 @@ -12,57 +10,56 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using System.Collections; +using System.Globalization; +using Microsoft.Azure.Commands.Automation.Common; using System; using System.Collections.Generic; -using System.Globalization; using System.Linq; -using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Properties; namespace Microsoft.Azure.Commands.Automation.Model { - using AutomationManagement = Management.Automation; - /// - /// The job. + /// The Job object. /// public class Job { /// /// Initializes a new instance of the class. /// - /// The job - /// The resource. - /// - /// Initializes a new instance of the class. - /// - public Job(AutomationManagement.Models.Job job) + /// + /// The account name. + /// + /// + /// The Job. + /// + /// + /// + public Job(string accountName, WindowsAzure.Management.Automation.Models.Job job) { Requires.Argument("job", job).NotNull(); - - if (job.Context == null || job.Context.RunbookVersion == null || job.Context.RunbookVersion.Runbook == null || job.Context.JobParameters == null) + Requires.Argument("accountName", accountName).NotNull(); + + this.AutomationAccountName = accountName; + + if (job.Properties == null) return; + + this.Id = job.Properties.JobId; + this.CreationTime = job.Properties.CreationTime.ToLocalTime(); + this.LastModifiedTime = job.Properties.LastModifiedTime.ToLocalTime(); + this.StartTime = job.Properties.StartTime; + this.Status = job.Properties.Status; + this.StatusDetails = job.Properties.StatusDetails; + this.RunbookName = job.Properties.Runbook.Name; + this.Exception = job.Properties.Exception; + this.EndTime = job.Properties.EndTime; + this.LastStatusModifiedTime = job.Properties.LastStatusModifiedTime; + this.JobParameters = new Hashtable(StringComparer.InvariantCultureIgnoreCase); + foreach (var kvp in job.Properties.Parameters.Where(kvp => 0 != String.Compare(kvp.Key, Constants.JobStartedByParameterName, CultureInfo.InvariantCulture, + CompareOptions.IgnoreCase))) { - throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Resources.InvalidJobModel)); + this.JobParameters.Add(kvp.Key, (object)PowerShellJsonConverter.Deserialize(kvp.Value)); } - - this.Id = new Guid(job.Id); - this.AccountId = new Guid(job.AccountId); - this.Exception = job.Exception; - this.CreationTime = DateTime.SpecifyKind(job.CreationTime, DateTimeKind.Utc).ToLocalTime(); - this.LastModifiedTime = DateTime.SpecifyKind(job.LastModifiedTime, DateTimeKind.Utc).ToLocalTime(); - this.StartTime = job.StartTime.HasValue - ? DateTime.SpecifyKind(job.StartTime.Value, DateTimeKind.Utc).ToLocalTime() - : this.StartTime; - this.EndTime = job.EndTime.HasValue - ? DateTime.SpecifyKind(job.EndTime.Value, DateTimeKind.Utc).ToLocalTime() - : this.EndTime; - this.LastStatusModifiedTime = DateTime.SpecifyKind(job.LastStatusModifiedTime, DateTimeKind.Utc).ToLocalTime(); - this.Status = job.Status; - this.StatusDetails = job.StatusDetails; - this.RunbookId = new Guid(job.Context.RunbookVersion.Runbook.Id); - this.RunbookName = job.Context.RunbookVersion.Runbook.Name; - this.ScheduleName = job.Context.Schedule != null ? job.Context.Schedule.Name : string.Empty; - this.JobParameters = from jobParameter in job.Context.JobParameters where jobParameter.Name != Constants.JobStartedByParameterName select new JobParameter(jobParameter); } /// @@ -73,73 +70,63 @@ public Job() } /// - /// Gets or sets the job id. + /// Gets or sets the automaiton account name. /// - public Guid Id { get; set; } + public string AutomationAccountName { get; set; } /// - /// Gets or sets the account id. - /// - public Guid AccountId { get; set; } - - /// - /// Gets or sets the job status. - /// - public string Status { get; set; } - - /// - /// Gets or sets the job status details. + /// Gets or sets the job id. /// - public string StatusDetails { get; set; } + public Guid Id { get; set; } /// - /// Gets or sets the start time. + /// Gets or sets the tags. /// - public DateTime? StartTime { get; set; } + public DateTimeOffset CreationTime { get; set; } /// - /// Gets or sets the end time. + /// Gets or sets the status of the job. /// - public DateTime? EndTime { get; set; } + public string Status { get; set; } /// - /// Gets or sets the creation time. + /// Gets or sets the status details of the job. /// - public DateTime CreationTime { get; set; } + public string StatusDetails { get; set; } /// - /// Gets or sets the last modified time. + /// Gets or sets the start time of the job. /// - public DateTime LastModifiedTime { get; set; } + public DateTimeOffset StartTime { get; set; } /// - /// Gets or sets the last time when the job status was modified. + /// Gets or sets the end time of the job. /// - public DateTime LastStatusModifiedTime { get; set; } + public DateTimeOffset EndTime { get; set; } /// - /// Gets or sets the job exception. + /// Gets or sets the exception of the job. /// public string Exception { get; set; } /// - /// Gets or sets the runnook id. + /// Gets or sets the last modified time of the job. /// - public Guid RunbookId { get; set; } + public DateTimeOffset LastModifiedTime { get; set; } /// - /// Gets or sets the runbook name. + /// Gets or sets the last status modified time of the job." /// - public string RunbookName { get; set; } + public DateTimeOffset LastStatusModifiedTime { get; set; } /// - /// Gets or sets the schedule name. + /// Gets or sets the parameters of the job. /// - public string ScheduleName { get; set; } + public Hashtable JobParameters { get; set; } /// - /// Gets or sets the job parameters. + /// Gets or sets the runbook. /// - public IEnumerable JobParameters { get; set; } + public string RunbookName { get; set; } } } diff --git a/src/ServiceManagement/Automation/Commands.Automation/Model/JobSchedule.cs b/src/ServiceManagement/Automation/Commands.Automation/Model/JobSchedule.cs new file mode 100644 index 000000000000..a85261f53fc7 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Model/JobSchedule.cs @@ -0,0 +1,82 @@ +// ---------------------------------------------------------------------------------- +// +// 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; +using System.Globalization; +using Microsoft.Azure.Commands.Automation.Common; +using System.Collections.Generic; +using System.Linq; + +namespace Microsoft.Azure.Commands.Automation.Model +{ + /// + /// The Job Schedule. + /// + public class JobSchedule + { + /// + /// Initializes a new instance of the class. + /// + /// + /// The job schedule. + /// + public JobSchedule(string automationAccountName, WindowsAzure.Management.Automation.Models.JobSchedule jobSchedule) + { + Requires.Argument("jobSchedule", jobSchedule).NotNull(); + this.AutomationAccountName = automationAccountName; + this.JobScheduleId = jobSchedule.Properties.Id; + this.RunbookName = jobSchedule.Properties.Runbook.Name; + this.ScheduleName = jobSchedule.Properties.Schedule.Name; + this.Parameters = new Hashtable(StringComparer.InvariantCultureIgnoreCase); + foreach (var kvp in jobSchedule.Properties.Parameters.Where(kvp => 0 != String.Compare(kvp.Key, Constants.JobStartedByParameterName, CultureInfo.InvariantCulture, + CompareOptions.IgnoreCase))) + { + this.Parameters.Add(kvp.Key, (object)PowerShellJsonConverter.Deserialize(kvp.Value)); + } + } + + /// + /// Initializes a new instance of the class. + /// + public JobSchedule() + { + } + + /// + /// Gets or sets the automation account name. + /// + public string AutomationAccountName { get; set; } + + /// + /// Gets or sets the job schedule id. + /// + public string JobScheduleId { get; set; } + + /// + /// Gets or sets the runbook name. + /// + public string RunbookName { get; set; } + + /// + /// Gets or sets the schedule name. + /// + public string ScheduleName { get; set; } + + /// + /// Gets or sets the runbook parameters. + /// + public Hashtable Parameters { get; set; } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Model/JobStreamItem.cs b/src/ServiceManagement/Automation/Commands.Automation/Model/JobStream.cs similarity index 55% rename from src/ServiceManagement/Automation/Commands.Automation/Model/JobStreamItem.cs rename to src/ServiceManagement/Automation/Commands.Automation/Model/JobStream.cs index 764e721d36cc..50b1233e04e5 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Model/JobStreamItem.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Model/JobStream.cs @@ -17,66 +17,68 @@ namespace Microsoft.Azure.Commands.Automation.Model { - using AutomationManagement = Management.Automation; + using AutomationManagement = WindowsAzure.Management.Automation; /// - /// The JobStreamItem. + /// The Job Stream. /// - public class JobStreamItem + public class JobStream { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - /// - /// The job stream item. + /// + /// The job stream. /// - public JobStreamItem(AutomationManagement.Models.JobStreamItem jobStreamItem) + /// + /// + public JobStream(AutomationManagement.Models.JobStream jobStream, string automationAccountName, Guid jobId ) { - Requires.Argument("jobStreamItem", jobStreamItem).NotNull(); + Requires.Argument("jobStream", jobStream).NotNull(); - this.AccountId = new Guid(jobStreamItem.AccountId); - this.JobId = new Guid(jobStreamItem.JobId); - this.RunbookVersionId = new Guid(jobStreamItem.RunbookVersionId); - this.Text = jobStreamItem.Text; - this.Time = DateTime.SpecifyKind(jobStreamItem.Time, DateTimeKind.Utc).ToLocalTime(); - this.Type = jobStreamItem.Type; + this.JobStreamId = jobStream.Properties.JobStreamId; + this.Type = jobStream.Properties.StreamType; + this.Text = jobStream.Properties.Summary; + this.Time = jobStream.Properties.Time; + this.AutomationAccountName = automationAccountName; + this.Id = jobId; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public JobStreamItem() + public JobStream() { } /// - /// Gets or sets the account id. + /// Gets or sets the automation account name. /// - public Guid AccountId { get; set; } + public string AutomationAccountName { get; set; } /// - /// Gets or sets the job id. + /// Gets or sets the Job Id. /// - public Guid JobId { get; set; } + public Guid Id { get; set; } /// - /// Gets or sets the runbook version id. + /// Gets or sets the stream id /// - public Guid RunbookVersionId { get; set; } + public string JobStreamId { get; set; } /// - /// Gets or sets the text. + /// Gets or sets the stream time. /// - public string Text { get; set; } + public DateTimeOffset Time { get; set; } /// - /// Gets or sets the time. + /// Gets or sets the stream text. /// - public DateTime Time { get; set; } + public string Text { get; set; } /// - /// Gets or sets the type. + /// Gets or sets the stream Type. /// public string Type { get; set; } } -} \ No newline at end of file +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Model/Module.cs b/src/ServiceManagement/Automation/Commands.Automation/Model/Module.cs new file mode 100644 index 000000000000..896e889647fc --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Model/Module.cs @@ -0,0 +1,147 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections; +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Properties; +using System; +using System.Collections.Generic; + +namespace Microsoft.Azure.Commands.Automation.Model +{ + public class Module + { + /// + /// Initializes a new instance of the class. + /// + /// + /// The Module. + /// + public Module(string automationAccountName, WindowsAzure.Management.Automation.Models.Module module) + { + Requires.Argument("module", module).NotNull(); + this.AutomationAccountName = automationAccountName; + this.Name = module.Name; + this.Location = module.Location; + this.Tags = new Hashtable(StringComparer.InvariantCultureIgnoreCase); + foreach (var kvp in module.Tags) + { + this.Tags.Add(kvp.Key, kvp.Value); + } + + if (module.Properties == null) return; + + this.CreationTime = module.Properties.CreationTime.ToLocalTime(); + this.LastModifiedTime = module.Properties.LastModifiedTime.ToLocalTime(); + this.IsGlobal = module.Properties.IsGlobal; + this.Version = module.Properties.Version; + this.ProvisioningState = module.Properties.ProvisioningState.ToString(); + this.ActivityCount = module.Properties.ActivityCount; + this.SizeInBytes = module.Properties.SizeInBytes; + } + + /// + /// Initializes a new instance of the class. + /// + public Module() + { + } + + /// + /// Gets or sets the automaiton account name. + /// + public string AutomationAccountName { get; set; } + + /// + /// Gets or sets the name. + /// + public string Name { get; set; } + + /// + /// Gets or sets the location. + /// + public string Location { get; set; } + + /// + /// Gets or sets the tags. + /// + public Hashtable Tags { get; set; } + + /// + /// Gets or sets the IsGlobal. + /// + public bool IsGlobal { get; set; } + + /// + /// Gets or sets the Version. + /// + public string Version { get; set; } + + /// + /// Gets or sets the SizeInBytes. + /// + public long SizeInBytes { get; set; } + + /// + /// Gets or sets the ActivityCount. + /// + public int ActivityCount { get; set; } + + /// + /// Gets or sets the CreationTime. + /// + public DateTimeOffset CreationTime { get; set; } + + /// + /// Gets or sets the LastPublishTime. + /// + public DateTimeOffset LastModifiedTime { get; set; } + + /// + /// Gets or sets the ProvisioningState. + /// + public string ProvisioningState { get; set; } + } + + public class ContentLink + { + /// + /// Gets or sets the Uri. + /// + public Uri Uri { get; set; } + + /// + /// Gets or sets the Content hash. + /// + public ContentHash ContentHash { get; set; } + + /// + /// Gets or sets the Version. + /// + public string Version { get; set; } + } + + public class ContentHash + { + /// + /// Gets or sets the Algorithm. + /// + public string Algorithm { get; set; } + + /// + /// Gets or sets the Value. + /// + public string Value { get; set; } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Model/OneTimeSchedule.cs b/src/ServiceManagement/Automation/Commands.Automation/Model/OneTimeSchedule.cs deleted file mode 100644 index b1b48b5a3760..000000000000 --- a/src/ServiceManagement/Automation/Commands.Automation/Model/OneTimeSchedule.cs +++ /dev/null @@ -1,56 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using Microsoft.Azure.Commands.Automation.Common; - -namespace Microsoft.Azure.Commands.Automation.Model -{ - /// - /// The one time schedule. - /// - public class OneTimeSchedule : Schedule - { - /// - /// Initializes a new instance of the class. - /// - /// - /// The schedule. - /// - public OneTimeSchedule(Azure.Management.Automation.Models.Schedule schedule) - { - Requires.Argument("schedule", schedule).NotNull(); - - this.Id = new Guid(schedule.Id); - this.AccountId = new Guid(schedule.AccountId); - this.Name = schedule.Name; - this.Description = schedule.Description; - this.StartTime = DateTime.SpecifyKind(schedule.StartTime, DateTimeKind.Utc).ToLocalTime(); - this.ExpiryTime = DateTime.SpecifyKind(schedule.ExpiryTime, DateTimeKind.Utc).ToLocalTime(); - this.CreationTime = DateTime.SpecifyKind(schedule.CreationTime, DateTimeKind.Utc).ToLocalTime(); - this.LastModifiedTime = DateTime.SpecifyKind(schedule.LastModifiedTime, DateTimeKind.Utc).ToLocalTime(); - this.IsEnabled = schedule.IsEnabled; - this.NextRun = schedule.NextRun.HasValue - ? DateTime.SpecifyKind(schedule.NextRun.Value, DateTimeKind.Utc).ToLocalTime() - : this.NextRun; - } - - /// - /// Initializes a new instance of the class. - /// - public OneTimeSchedule() - { - } - } -} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Model/Runbook.cs b/src/ServiceManagement/Automation/Commands.Automation/Model/Runbook.cs index 9cd51f2478fd..78b913dbb5d5 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Model/Runbook.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Model/Runbook.cs @@ -13,15 +13,16 @@ // ---------------------------------------------------------------------------------- using System; +using System.Collections; using System.Collections.Generic; -using System.Globalization; using System.Linq; using Microsoft.Azure.Commands.Automation.Common; -using Microsoft.Azure.Commands.Automation.Properties; +using Microsoft.WindowsAzure.Management.Automation.Models; +using Microsoft.WindowsAzure.Commands.Common; namespace Microsoft.Azure.Commands.Automation.Model { - using AutomationManagement = Management.Automation; + using AutomationManagement = WindowsAzure.Management.Automation; /// /// The Runbook. @@ -31,44 +32,41 @@ public class Runbook /// /// Initializes a new instance of the class. /// + /// + /// The account name. + /// /// /// The runbook. /// /// /// - public Runbook(AutomationManagement.Models.Runbook runbook) + public Runbook(string accountName, AutomationManagement.Models.Runbook runbook) { Requires.Argument("runbook", runbook).NotNull(); - if (runbook.Schedules == null) - { - throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Resources.InvalidRunbookModel)); - } + Requires.Argument("accountName", accountName).NotNull(); - this.AccountId = new Guid(runbook.AccountId); - this.Id = new Guid(runbook.Id); + this.AutomationAccountName = accountName; this.Name = runbook.Name; - this.CreationTime = DateTime.SpecifyKind(runbook.CreationTime, DateTimeKind.Utc).ToLocalTime(); - this.LastModifiedTime = DateTime.SpecifyKind(runbook.LastModifiedTime, DateTimeKind.Utc).ToLocalTime(); - this.LastModifiedBy = runbook.LastModifiedBy; - this.Description = runbook.Description; - this.IsApiOnly = runbook.IsApiOnly; - this.IsGlobal = runbook.IsGlobal; - - if (runbook.PublishedRunbookVersionId != null) - { - this.PublishedRunbookVersionId = new Guid(runbook.PublishedRunbookVersionId); - } + this.Location = runbook.Location; + this.Tags = null; + + if (runbook.Properties == null) return; + + this.CreationTime = runbook.Properties.CreationTime.ToLocalTime(); + this.LastModifiedTime = runbook.Properties.LastModifiedTime.ToLocalTime(); + this.Description = runbook.Properties.Description; + + this.LogVerbose = runbook.Properties.LogVerbose; + this.LogProgress = runbook.Properties.LogProgress; + this.State = runbook.Properties.State; + this.JobCount = runbook.Properties.JobCount; + this.RunbookType = runbook.Properties.RunbookType; - if (runbook.DraftRunbookVersionId != null) + this.Parameters = new Hashtable(StringComparer.InvariantCultureIgnoreCase); + foreach (var kvp in runbook.Properties.Parameters) { - this.DraftRunbookVersionId = new Guid(runbook.DraftRunbookVersionId); + this.Parameters.Add(kvp.Key, (object)kvp.Value); } - - this.Tags = runbook.Tags != null ? runbook.Tags.Split(Constants.RunbookTagsSeparatorChar) : new string[] { }; - this.LogDebug = runbook.LogDebug; - this.LogVerbose = runbook.LogVerbose; - this.LogProgress = runbook.LogProgress; - this.ScheduleNames = from schedule in runbook.Schedules where (schedule.NextRun != null) select schedule.Name; } /// @@ -79,14 +77,9 @@ public Runbook() } /// - /// Gets or sets the account id. - /// - public Guid AccountId { get; set; } - - /// - /// Gets or sets the id. + /// Gets or sets the automation account name. /// - public Guid Id { get; set; } + public string AutomationAccountName { get; set; } /// /// Gets or sets the name. @@ -94,54 +87,44 @@ public Runbook() public string Name { get; set; } /// - /// Gets or sets the creation time. - /// - public DateTime CreationTime { get; set; } - - /// - /// Gets or sets the last modified time. - /// - public DateTime LastModifiedTime { get; set; } - - /// - /// Gets or sets the last modified by. + /// Gets or sets the location. /// - public string LastModifiedBy { get; set; } + public string Location { get; set; } /// - /// Gets or sets the description. + /// Gets or sets the tags. /// - public string Description { get; set; } + public string[] Tags { get; set; } /// - /// Gets or sets a value indicating whether is api only. + /// Gets or sets the JobCount. /// - public bool IsApiOnly { get; set; } + public int JobCount { get; set; } /// - /// Gets or sets a value indicating whether is global. + /// Gets or sets the runbook type. /// - public bool IsGlobal { get; set; } + public string RunbookType { get; set; } /// - /// Gets or sets the published runbook version id. + /// Gets or sets the creation time. /// - public Guid? PublishedRunbookVersionId { get; set; } + public DateTimeOffset CreationTime { get; set; } /// - /// Gets or sets the draft runbook version id. + /// Gets or sets the last modified time. /// - public Guid? DraftRunbookVersionId { get; set; } + public DateTimeOffset LastModifiedTime { get; set; } /// - /// Gets or sets the tags. + /// Gets or sets the description. /// - public string[] Tags { get; set; } + public string Description { get; set; } /// - /// Gets or sets a value indicating whether log debug is enabled. + /// Gets or sets the parameters. /// - public bool LogDebug { get; set; } + public Hashtable Parameters { get; set; } /// /// Gets or sets a value indicating whether log verbose is enabled. @@ -154,8 +137,8 @@ public Runbook() public bool LogProgress { get; set; } /// - /// Gets or sets the schedule names. + /// Gets or sets the state of runbook. /// - public IEnumerable ScheduleNames { get; set; } + public string State { get; set; } } } diff --git a/src/ServiceManagement/Automation/Commands.Automation/Model/RunbookDefinition.cs b/src/ServiceManagement/Automation/Commands.Automation/Model/RunbookDefinition.cs index 0a8fc7698c34..27af7b494610 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Model/RunbookDefinition.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Model/RunbookDefinition.cs @@ -12,9 +12,12 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using System; +using Microsoft.Azure.Commands.Automation.Common; + namespace Microsoft.Azure.Commands.Automation.Model { - using AutomationManagement = Management.Automation; + using AutomationManagement = WindowsAzure.Management.Automation; /// /// The Runbook Definition. @@ -24,16 +27,35 @@ public class RunbookDefinition /// /// Initializes a new instance of the class. /// - /// + /// + /// The runbook version. + /// + /// /// The runbook version. /// /// /// The content. /// - public RunbookDefinition(AutomationManagement.Models.RunbookVersion runbookVersion, byte[] content) + /// + /// Slot published or draft. + /// + public RunbookDefinition(string accountName, AutomationManagement.Models.Runbook runbook, string content, string slot) { - this.RunbookVersion = new RunbookVersion(runbookVersion); - this.Content = System.Text.Encoding.UTF8.GetString(content); + Requires.Argument("runbook", runbook).NotNull(); + Requires.Argument("accountName", accountName).NotNull(); + Requires.Argument("slot", slot).NotNull(); + + this.AutomationAccountName = accountName; + this.Name = runbook.Name; + this.Content = content; + + if (runbook.Properties == null) return; + + this.CreationTime = runbook.Properties.CreationTime.ToLocalTime(); + this.LastModifiedTime = runbook.Properties.LastModifiedTime.ToLocalTime(); + this.Slot = slot; + this.RunbookType = runbook.Properties.RunbookType; + } /// @@ -44,9 +66,34 @@ public RunbookDefinition() } /// - /// Gets or sets the runbook version. + /// Gets or sets the automaiton account name. + /// + public string AutomationAccountName { get; set; } + + /// + /// Gets or sets the name. + /// + public string Name { get; set; } + + /// + /// Gets or sets the slot (publised or draft) of runbook. + /// + public string Slot { get; set; } + + /// + /// Gets or sets the runbook type. + /// + public string RunbookType { get; set; } + + /// + /// Gets or sets the creation time. + /// + public DateTimeOffset CreationTime { get; set; } + + /// + /// Gets or sets the last modified time. /// - public RunbookVersion RunbookVersion { get; set; } + public DateTimeOffset LastModifiedTime { get; set; } /// /// Gets or sets the runbook version content. diff --git a/src/ServiceManagement/Automation/Commands.Automation/Model/RunbookParameter.cs b/src/ServiceManagement/Automation/Commands.Automation/Model/RunbookParameter.cs deleted file mode 100644 index c994b9aabc47..000000000000 --- a/src/ServiceManagement/Automation/Commands.Automation/Model/RunbookParameter.cs +++ /dev/null @@ -1,67 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; - -namespace Microsoft.Azure.Commands.Automation.Model -{ - using AutomationManagement = Management.Automation; - - /// - /// The runbook parameter. - /// - public class RunbookParameter - { - public RunbookParameter(AutomationManagement.Models.RunbookParameter runbookParameter) - { - this.RunbookVersionId = new Guid(runbookParameter.RunbookVersionId); - this.Name = runbookParameter.Name; - this.Type = runbookParameter.Type; - this.IsMandatory = runbookParameter.IsMandatory; - this.Position = runbookParameter.Position; - } - - /// - /// Initializes a new instance of the class. - /// - public RunbookParameter() - { - } - - /// - /// Gets or sets the runbook version id. - /// - public Guid RunbookVersionId { get; set; } - - /// - /// Gets or sets the name. - /// - public string Name { get; set; } - - /// - /// Gets or sets the type. - /// - public string Type { get; set; } - - /// - /// Gets or sets a value indicating whether is mandatory. - /// - public bool IsMandatory { get; set; } - - /// - /// Gets or sets the position. - /// - public int Position { get; set; } - } -} \ No newline at end of file diff --git a/src/ServiceManagement/Automation/Commands.Automation/Model/RunbookVersion.cs b/src/ServiceManagement/Automation/Commands.Automation/Model/RunbookVersion.cs deleted file mode 100644 index 11d4331ba8ed..000000000000 --- a/src/ServiceManagement/Automation/Commands.Automation/Model/RunbookVersion.cs +++ /dev/null @@ -1,88 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using Microsoft.Azure.Commands.Automation.Common; - -namespace Microsoft.Azure.Commands.Automation.Model -{ - using AutomationManagement = Management.Automation; - - /// - /// The Runbook. - /// - public class RunbookVersion - { - /// - /// Initializes a new instance of the class. - /// - /// - /// The runbook version. - /// - public RunbookVersion(AutomationManagement.Models.RunbookVersion runbookVersion) - { - Requires.Argument("runbookVersion", runbookVersion).NotNull(); - - this.AccountId = new Guid(runbookVersion.AccountId); - this.Id = new Guid(runbookVersion.Id); - this.RunbookId = new Guid(runbookVersion.RunbookId); - this.VersionNumber = runbookVersion.VersionNumber; - this.IsDraft = runbookVersion.IsDraft; - this.CreationTime = DateTime.SpecifyKind(runbookVersion.CreationTime, DateTimeKind.Utc).ToLocalTime(); - this.LastModifiedTime = DateTime.SpecifyKind(runbookVersion.LastModifiedTime, DateTimeKind.Utc).ToLocalTime(); - } - - /// - /// Initializes a new instance of the class. - /// - public RunbookVersion() - { - } - - /// - /// Gets or sets the account id. - /// - public Guid AccountId { get; set; } - - /// - /// Gets or sets the id. - /// - public Guid Id { get; set; } - - /// - /// Gets or sets the runbook id. - /// - public Guid RunbookId { get; set; } - - /// - /// Gets or sets the version number. - /// - public int VersionNumber { get; set; } - - /// - /// Gets or sets a value indicating whether is draft. - /// - public bool IsDraft { get; set; } - - /// - /// Gets or sets the creation time. - /// - public DateTime CreationTime { get; set; } - - /// - /// Gets or sets the last modified time. - /// - public DateTime LastModifiedTime { get; set; } - } -} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Model/Schedule.cs b/src/ServiceManagement/Automation/Commands.Automation/Model/Schedule.cs index 661c300f92da..773ba84a798f 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Model/Schedule.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Model/Schedule.cs @@ -12,6 +12,8 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using Microsoft.Azure.Commands.Automation.Common; +using Microsoft.Azure.Commands.Automation.Properties; using System; namespace Microsoft.Azure.Commands.Automation.Model @@ -19,17 +21,43 @@ namespace Microsoft.Azure.Commands.Automation.Model /// /// The Schedule. /// - public abstract class Schedule + public class Schedule { /// - /// Gets or sets the id. + /// Initializes a new instance of the class. /// - public Guid Id { get; set; } + /// + /// The schedule. + /// + public Schedule(string automationAccountName, WindowsAzure.Management.Automation.Models.Schedule schedule) + { + Requires.Argument("schedule", schedule).NotNull(); + this.AutomationAccountName = automationAccountName; + this.Name = schedule.Name; + this.Description = schedule.Properties.Description; + this.StartTime = schedule.Properties.StartTime.ToLocalTime(); + this.ExpiryTime = schedule.Properties.ExpiryTime.ToLocalTime(); + this.CreationTime = schedule.Properties.CreationTime.ToLocalTime(); + this.LastModifiedTime = schedule.Properties.LastModifiedTime.ToLocalTime(); + this.IsEnabled = schedule.Properties.IsEnabled; + this.NextRun = schedule.Properties.NextRun.HasValue + ? schedule.Properties.NextRun.Value.ToLocalTime() + : this.NextRun; + this.Interval = schedule.Properties.Interval.HasValue ? schedule.Properties.Interval.Value : this.Interval; + this.Frequency = (ScheduleFrequency)Enum.Parse(typeof(ScheduleFrequency), schedule.Properties.Frequency, true); + } /// - /// Gets or sets the account id. + /// Initializes a new instance of the class. /// - public Guid AccountId { get; set; } + public Schedule() + { + } + + /// + /// Gets or sets the automation account name. + /// + public string AutomationAccountName { get; set; } /// /// Gets or sets the name. @@ -44,22 +72,22 @@ public abstract class Schedule /// /// Gets or sets the start time. /// - public DateTime StartTime { get; set; } + public DateTimeOffset StartTime { get; set; } /// /// Gets or sets the expiry time. /// - public DateTime ExpiryTime { get; set; } + public DateTimeOffset ExpiryTime { get; set; } /// /// Gets or sets the creation time. /// - public DateTime CreationTime { get; set; } + public DateTimeOffset CreationTime { get; set; } /// /// Gets or sets the last modified time. /// - public DateTime LastModifiedTime { get; set; } + public DateTimeOffset LastModifiedTime { get; set; } /// /// Gets or sets a value indicating whether is enabled. @@ -69,6 +97,16 @@ public abstract class Schedule /// /// Gets or sets the next run. /// - public DateTime? NextRun { get; set; } + public DateTimeOffset? NextRun { get; set; } + + /// + /// Gets or sets the schedule interval. + /// + public byte? Interval { get; set; } + + /// + /// Gets or sets the schedule frequency. + /// + public ScheduleFrequency Frequency { get; set; } } } diff --git a/src/ServiceManagement/Automation/Commands.Automation/Model/ScheduleFrequency.cs b/src/ServiceManagement/Automation/Commands.Automation/Model/ScheduleFrequency.cs new file mode 100644 index 000000000000..97149351e5b1 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Model/ScheduleFrequency.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Microsoft.Azure.Commands.Automation.Model +{ + public enum ScheduleFrequency + { + Onetime, + Day, + Hour + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Model/Variable.cs b/src/ServiceManagement/Automation/Commands.Automation/Model/Variable.cs new file mode 100644 index 000000000000..179d9a2a8709 --- /dev/null +++ b/src/ServiceManagement/Automation/Commands.Automation/Model/Variable.cs @@ -0,0 +1,99 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Commands.Automation.Common; +using System; + +namespace Microsoft.Azure.Commands.Automation.Model +{ + using AutomationManagement = WindowsAzure.Management.Automation; + + /// + /// The Variable. + /// + public class Variable + { + /// + /// Initializes a new instance of the class. + /// + /// + /// The varaiable. + /// + /// + /// + public Variable(AutomationManagement.Models.Variable variable, string automationAccoutName) + { + Requires.Argument("variable", variable).NotNull(); + + this.Name = variable.Name; + this.CreationTime = variable.Properties.CreationTime.ToLocalTime(); + this.LastModifiedTime = variable.Properties.LastModifiedTime.ToLocalTime(); + + if (variable.Properties.Value == null || variable.Properties.IsEncrypted) + { + this.Value = null; + } + else + { + this.Value = PowerShellJsonConverter.Deserialize(variable.Properties.Value); + } + + this.Description = variable.Properties.Description; + this.Encrypted = variable.Properties.IsEncrypted; + this.AutomationAccountName = automationAccoutName; + } + + /// + /// Initializes a new instance of the class. + /// + public Variable() + { + } + + /// + /// Gets or sets the name. + /// + public string Name { get; set; } + + /// + /// Gets or sets the creation time. + /// + public DateTimeOffset CreationTime { get; set; } + + /// + /// Gets or sets the last modified time. + /// + public DateTimeOffset LastModifiedTime { get; set; } + + /// + /// Gets or sets the value. + /// + public object Value { get; set; } + + /// + /// Gets or sets the description. + /// + public string Description { get; set; } + + /// + /// Gets or sets the description. + /// + public bool Encrypted { get; set; } + + /// + /// Gets or sets the automation account name. + /// + public string AutomationAccountName { get; set; } + } +} diff --git a/src/ServiceManagement/Automation/Commands.Automation/Properties/Resources.Designer.cs b/src/ServiceManagement/Automation/Commands.Automation/Properties/Resources.Designer.cs index d69dcb78d390..112e6f07708b 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Properties/Resources.Designer.cs +++ b/src/ServiceManagement/Automation/Commands.Automation/Properties/Resources.Designer.cs @@ -61,7 +61,25 @@ internal Resources() { } /// - /// Looks up a localized string similar to The Automation accout was not found.. + /// Looks up a localized string similar to Create account arguments are invalid. Provide valid account name and location. Account Name: {0}, Location: {1} . + /// + internal static string AccountCreateInvalidArgs { + get { + return ResourceManager.GetString("AccountCreateInvalidArgs", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The Automation account already exists. + /// + internal static string AutomationAccountAlreadyExists { + get { + return ResourceManager.GetString("AutomationAccountAlreadyExists", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The Automation account was not found.. /// internal static string AutomationAccountNotFound { get { @@ -70,52 +88,70 @@ internal static string AutomationAccountNotFound { } /// - /// Looks up a localized string similar to The file "{0}" was not found. Make sure the file exists and is accessible.. + /// Looks up a localized string similar to {0} {1} operation failed for object name: {2) under AutomationAccount: {3}. /// - internal static string FileNotFound { + internal static string AutomationOperationFailed { get { - return ResourceManager.GetString("FileNotFound", resourceCulture); + return ResourceManager.GetString("AutomationOperationFailed", resourceCulture); } } /// - /// Looks up a localized string similar to The daily schedule model is not valid. Schedule name: {0}.. + /// Looks up a localized string similar to The certificate already exists. Certificate name: {0}.. /// - internal static string InvalidDailyScheduleModel { + internal static string CertificateAlreadyExists { get { - return ResourceManager.GetString("InvalidDailyScheduleModel", resourceCulture); + return ResourceManager.GetString("CertificateAlreadyExists", resourceCulture); } } /// - /// Looks up a localized string similar to The hourly schedule model is not valid. Schedule name: {0}.. + /// Looks up a localized string similar to The certificate was not found. Certificate name {0}.. /// - internal static string InvalidHourlyScheduleModel { + internal static string CertificateNotFound { get { - return ResourceManager.GetString("InvalidHourlyScheduleModel", resourceCulture); + return ResourceManager.GetString("CertificateNotFound", resourceCulture); } } /// - /// Looks up a localized string similar to The job model is not valid.. + /// Looks up a localized string similar to The Connection already exists. Connection name: {0}.. /// - internal static string InvalidJobModel { + internal static string ConnectionAlreadyExists { get { - return ResourceManager.GetString("InvalidJobModel", resourceCulture); + return ResourceManager.GetString("ConnectionAlreadyExists", resourceCulture); } } /// - /// Looks up a localized string similar to The runbook model is not valid.. + /// Looks up a localized string similar to The connection field name was not found for connection name: {0}.. /// - internal static string InvalidRunbookModel { + internal static string ConnectionFieldNameNotFound { get { - return ResourceManager.GetString("InvalidRunbookModel", resourceCulture); + return ResourceManager.GetString("ConnectionFieldNameNotFound", resourceCulture); } } /// - /// Looks up a localized string similar to At least one parameter provided is not expected by the runbook.. + /// Looks up a localized string similar to The connection was not found. Connection name: {0}.. + /// + internal static string ConnectionNotFound { + get { + return ResourceManager.GetString("ConnectionNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The credential was not found. Credential name: {0}.. + /// + internal static string CredentialNotFound { + get { + return ResourceManager.GetString("CredentialNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid runbook parameters.. /// internal static string InvalidRunbookParameters { get { @@ -124,11 +160,83 @@ internal static string InvalidRunbookParameters { } /// - /// Looks up a localized string similar to The job was not found. Job ID: {0}.. + /// Looks up a localized string similar to The Job having Id: {0} was not found.. + /// + internal static string JobNotFound { + get { + return ResourceManager.GetString("JobNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The job schedule was not found. Runbook name {0}. Schedule name {1}.. + /// + internal static string JobScheduleNotFound { + get { + return ResourceManager.GetString("JobScheduleNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The job schedule was not found. Job schedule id: {0}.. + /// + internal static string JobScheduleWithIdNotFound { + get { + return ResourceManager.GetString("JobScheduleWithIdNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The module was not found. Module name: {0}.. + /// + internal static string ModuleNotFound { + get { + return ResourceManager.GetString("ModuleNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to {0} is empty.. + /// + internal static string ParameterEmpty { + get { + return ResourceManager.GetString("ParameterEmpty", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to decrypt. Error Details {0}. + /// + internal static string PowershellJsonDecrypterFailed { + get { + return ResourceManager.GetString("PowershellJsonDecrypterFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Disassociating the Azure Automation runbook and schedule.. + /// + internal static string RemoveAzureAutomationJobScheduleDescription { + get { + return ResourceManager.GetString("RemoveAzureAutomationJobScheduleDescription", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to disassociate the Azure Automation runbook and schedule?. /// - internal static string JobNotFoundById { + internal static string RemoveAzureAutomationJobScheduleWarning { get { - return ResourceManager.GetString("JobNotFoundById", resourceCulture); + return ResourceManager.GetString("RemoveAzureAutomationJobScheduleWarning", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Removing the Azure Automation {0}.. + /// + internal static string RemoveAzureAutomationResourceDescription { + get { + return ResourceManager.GetString("RemoveAzureAutomationResourceDescription", resourceCulture); } } @@ -169,7 +277,43 @@ internal static string RemoveAzureAutomationScheduleWarning { } /// - /// Looks up a localized string similar to Runbook already has a draft. Specify the parameter to force an overwrite of this draft.. + /// Looks up a localized string similar to Are you sure you want to remove the Azure Automation {0} ?. + /// + internal static string RemovingAzureAutomationResourceWarning { + get { + return ResourceManager.GetString("RemovingAzureAutomationResourceWarning", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Resource exist.. + /// + internal static string ResourceExists { + get { + return ResourceManager.GetString("ResourceExists", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Resource does not exist.. + /// + internal static string ResourceNotFound { + get { + return ResourceManager.GetString("ResourceNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The Runbook already exists. Runbook name: {0}.. + /// + internal static string RunbookAlreadyExists { + get { + return ResourceManager.GetString("RunbookAlreadyExists", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Runbook already has a draft. Specify the parameter to force an overwrite of this draft. Runbook name: {0}. /// internal static string RunbookAlreadyHasDraft { get { @@ -178,34 +322,34 @@ internal static string RunbookAlreadyHasDraft { } /// - /// Looks up a localized string similar to The runbook has no published version. Runbook ID: {0}.. + /// Looks up a localized string similar to The runbook has no draft version. Runbook name {0}.. /// - internal static string RunbookHasNoPublishedVersionById { + internal static string RunbookHasNoDraftVersion { get { - return ResourceManager.GetString("RunbookHasNoPublishedVersionById", resourceCulture); + return ResourceManager.GetString("RunbookHasNoDraftVersion", resourceCulture); } } /// - /// Looks up a localized string similar to The runbook was not found. Runbook ID: {0}.. + /// Looks up a localized string similar to The runbook has no published version. Runbook name {0}.. /// - internal static string RunbookNotFoundById { + internal static string RunbookHasNoPublishedVersion { get { - return ResourceManager.GetString("RunbookNotFoundById", resourceCulture); + return ResourceManager.GetString("RunbookHasNoPublishedVersion", resourceCulture); } } /// - /// Looks up a localized string similar to The runbook was not found. Runbook name: {0}.. + /// Looks up a localized string similar to The Runbook was not found. Runbook name: {0}.. /// - internal static string RunbookNotFoundByName { + internal static string RunbookNotFound { get { - return ResourceManager.GetString("RunbookNotFoundByName", resourceCulture); + return ResourceManager.GetString("RunbookNotFound", resourceCulture); } } /// - /// Looks up a localized string similar to The runbook parameter "{0}" cannot be serialized to JSON.. + /// Looks up a localized string similar to Runbook parameter cannot be serialized to json. Parameter name {0}.. /// internal static string RunbookParameterCannotBeSerializedToJson { get { @@ -214,7 +358,7 @@ internal static string RunbookParameterCannotBeSerializedToJson { } /// - /// Looks up a localized string similar to The runbook parameter "{0}" is mandatory.. + /// Looks up a localized string similar to Runbook mandatory parameter not specified. Parameter name {0}.. /// internal static string RunbookParameterValueRequired { get { @@ -223,38 +367,56 @@ internal static string RunbookParameterValueRequired { } /// - /// Looks up a localized string similar to The runbook version was not found. Runbook version ID: {0}.. + /// Looks up a localized string similar to The Automation schedule name is in use. Schedule name: {0}.. /// - internal static string RunbookVersionNotFoundById { + internal static string ScheduleNameExists { get { - return ResourceManager.GetString("RunbookVersionNotFoundById", resourceCulture); + return ResourceManager.GetString("ScheduleNameExists", resourceCulture); } } /// - /// Looks up a localized string similar to The Automation schedule name is in use. Schedule name: {0}.. + /// Looks up a localized string similar to The schedule was not found. Schedule name: {0}.. /// - internal static string ScheduleNameExists { + internal static string ScheduleNotFound { get { - return ResourceManager.GetString("ScheduleNameExists", resourceCulture); + return ResourceManager.GetString("ScheduleNotFound", resourceCulture); } } /// - /// Looks up a localized string similar to The schedule was not found. Schedule ID: {0}.. + /// Looks up a localized string similar to Password and Exportable parameters cannot be updated for an existing certificate. They can only be specified when overwriting this certificate with a new one, via the Path parameter. /// - internal static string ScheduleNotFoundById { + internal static string SetCertificateInvalidArgs { get { - return ResourceManager.GetString("ScheduleNotFoundById", resourceCulture); + return ResourceManager.GetString("SetCertificateInvalidArgs", resourceCulture); } } /// - /// Looks up a localized string similar to The schedule was not found. Schedule name: {0}.. + /// Looks up a localized string similar to The variable already exists. Variable name {0}.. + /// + internal static string VariableAlreadyExists { + get { + return ResourceManager.GetString("VariableAlreadyExists", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cannot change encryption property of the variable. Variable name {0}. Encryption - {1}.. + /// + internal static string VariableEncryptionCannotBeChanged { + get { + return ResourceManager.GetString("VariableEncryptionCannotBeChanged", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The variable was not found. Variable name {0}.. /// - internal static string ScheduleNotFoundByName { + internal static string VariableNotFound { get { - return ResourceManager.GetString("ScheduleNotFoundByName", resourceCulture); + return ResourceManager.GetString("VariableNotFound", resourceCulture); } } } diff --git a/src/ServiceManagement/Automation/Commands.Automation/Properties/Resources.resx b/src/ServiceManagement/Automation/Commands.Automation/Properties/Resources.resx index cde935f6970b..ac55f018ec24 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/Properties/Resources.resx +++ b/src/ServiceManagement/Automation/Commands.Automation/Properties/Resources.resx @@ -121,40 +121,42 @@ The Automation account was not found. Automation - - The file "{0}" was not found. Make sure the file exists and is accessible. + + Removing the Azure Automation runbook. Automation - - The daily schedule model is not valid. Schedule name: {0}. + + Are you sure you want to remove the Azure Automation runbook? Automation - - The hourly schedule model is not valid. Schedule name: {0}. + + The Runbook already exists. Runbook name: {0}. Automation - - The job model is not valid. + + Runbook already has a draft. Specify the parameter to force an overwrite of this draft. Runbook name: {0} Automation - - The runbook model is not valid. + + {0} {1} operation failed for object name: {2) under AutomationAccount: {3} Automation - - At least one parameter provided is not expected by the runbook. - Automation + + The credential was not found. Credential name: {0}. - - The job was not found. Job ID: {0}. + + The Job having Id: {0} was not found. Automation - - Removing the Azure Automation runbook. + + The module was not found. Module name: {0}. + + + {0} is empty. Automation - - Are you sure you want to remove the Azure Automation runbook? + + Removing the Azure Automation {0}. Automation @@ -165,44 +167,112 @@ Are you sure you want to remove the Azure Automation schedule? Automation - - Runbook already has a draft. Specify the parameter to force an overwrite of this draft. + + Are you sure you want to remove the Azure Automation {0} ? Automation - - The runbook has no published version. Runbook ID: {0}. + + Resource exist. Automation - - The runbook was not found. Runbook ID: {0}. + + The Runbook was not found. Runbook name: {0}. + Autmation + + + The Automation schedule name is in use. Schedule name: {0}. + Automation + + + The schedule was not found. Schedule name: {0}. + Automation + + + The variable already exists. Variable name {0}. Automation - - The runbook was not found. Runbook name: {0}. + + The variable was not found. Variable name {0}. + Automation + + + The runbook has no published version. Runbook name {0}. + Automation + + + Invalid runbook parameters. + Automation + + + The job schedule was not found. Runbook name {0}. Schedule name {1}. + Automation + + + The job schedule was not found. Job schedule id: {0}. Automation - The runbook parameter "{0}" cannot be serialized to JSON. + Runbook parameter cannot be serialized to json. Parameter name {0}. Automation - The runbook parameter "{0}" is mandatory. + Runbook mandatory parameter not specified. Parameter name {0}. Automation - - The runbook version was not found. Runbook version ID: {0}. + + Disassociating the Azure Automation runbook and schedule. Automation - - The Automation schedule name is in use. Schedule name: {0}. + + Are you sure you want to disassociate the Azure Automation runbook and schedule? Automation - - The schedule was not found. Schedule ID: {0}. + + Cannot change encryption property of the variable. Variable name {0}. Encryption - {1}. Automation - - The schedule was not found. Schedule name: {0}. + + The Automation account already exists + Automation + + + The certificate was not found. Certificate name {0}. + Automation + + + The certificate already exists. Certificate name: {0}. + Automation + + + Failed to decrypt. Error Details {0} + Automation + + + Resource does not exist. + Automation + + + The Connection already exists. Connection name: {0}. + Automation + + + The connection field name was not found for connection name: {0}. + Automation + + + The connection was not found. Connection name: {0}. + Automation + + + Password and Exportable parameters cannot be updated for an existing certificate. They can only be specified when overwriting this certificate with a new one, via the Path parameter + Automation + + + The runbook has no draft version. Runbook name {0}. + Automation + + + Create account arguments are invalid. Provide valid account name and location. Account Name: {0}, Location: {1} Automation \ No newline at end of file diff --git a/src/ServiceManagement/Automation/Commands.Automation/packages.config b/src/ServiceManagement/Automation/Commands.Automation/packages.config index 8b59dcb543a7..0206558372c5 100644 --- a/src/ServiceManagement/Automation/Commands.Automation/packages.config +++ b/src/ServiceManagement/Automation/Commands.Automation/packages.config @@ -1,16 +1,16 @@  - - + + + - - - + - + + \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Commands.ServiceManagement.Extensions.Test.csproj b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Commands.ServiceManagement.Extensions.Test.csproj index 46dd90cd9d83..19374516dd62 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Commands.ServiceManagement.Extensions.Test.csproj +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/Commands.ServiceManagement.Extensions.Test.csproj @@ -32,33 +32,36 @@ pdbonly true bin\Release\ - TRACE + TRACE;SIGN prompt 4 + true + true + MSSharedLibKey.snk - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -70,8 +73,12 @@ ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll + + + ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.9.2.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll False @@ -91,6 +98,10 @@ ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll + + False + ..\..\..\packages\xunit.1.9.2\lib\net20\xunit.dll + @@ -107,19 +118,29 @@ + + + {5EE72C53-1720-4309-B54B-5FB79703195F} + Commands.Common + {C1BDA476-A5CC-4394-914D-48B0EC31A710} Commands.ScenarioTests.Common + + {4900EC4E-8DEB-4412-9108-0BC52F81D457} + Commands.Utilities + {e1ca72ba-8374-45f6-904d-fd34ecdf5b6f} Commands.ServiceManagement + diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/DSC/UnitTests/GetAzureVMDscExtensionStatusUnitTest.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/DSC/UnitTests/GetAzureVMDscExtensionStatusUnitTest.cs new file mode 100644 index 000000000000..4c52d5675111 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/DSC/UnitTests/GetAzureVMDscExtensionStatusUnitTest.cs @@ -0,0 +1,272 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; +using Xunit; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions.Test.DSC.UnitTests +{ + using NSM = Management.Compute.Models; + + public class GetAzureVmDscExtensionStatusUnitTest + { + private readonly GetAzureVmDscExtensionStatusCommand getAzureVmDscExtensionStatusCmdlet; + private const string ServiceName = "dsc-service"; + + public GetAzureVmDscExtensionStatusUnitTest() + { + getAzureVmDscExtensionStatusCmdlet = new GetAzureVmDscExtensionStatusCommand(); + } + + [Fact] + public void TestGetService() + { + //when service name is passed as argument in the cmdlet + getAzureVmDscExtensionStatusCmdlet.GetService(ServiceName, null); + Assert.Equal(ServiceName, getAzureVmDscExtensionStatusCmdlet.Service); + + //when vm object is passed as argument in the cmdlet + getAzureVmDscExtensionStatusCmdlet.GetService("", GetAzureVM(ServiceName, ServiceName)); + Assert.Equal(ServiceName, getAzureVmDscExtensionStatusCmdlet.Service); + } + + [Fact] + public void TestGetVirtualMachineDscStatusContextListWithServiceName() + { + getAzureVmDscExtensionStatusCmdlet.Service = ServiceName; + + // service has multiple vm's + var roles = new List {CreateRole("dscmachine01"), CreateRole("dscmachine02")}; + var roleInstances = new List + { + CreateRoleInstance("dscmachine01"), + CreateRoleInstance("dscmachine02") + }; + + var deploymentResponse = CreateDeploymentGetResponse(ServiceName, roles, roleInstances); + var dscExtensionStatusContexts = + getAzureVmDscExtensionStatusCmdlet + .GetVirtualMachineDscStatusContextList(deploymentResponse); + Assert.Null(getAzureVmDscExtensionStatusCmdlet.Name); + Assert.Null(getAzureVmDscExtensionStatusCmdlet.VmName); + Assert.NotNull(dscExtensionStatusContexts); + Assert.Equal(dscExtensionStatusContexts.Count, 2); + + } + + [Fact] + public void TestGetVirtualMachineDscStatusContextListWithServiceNameAndVmName() + { + getAzureVmDscExtensionStatusCmdlet.Service = ServiceName; + getAzureVmDscExtensionStatusCmdlet.Name = "dscmachine01"; + + // service has multiple vm's + var roles = new List {CreateRole("dscmachine01"), CreateRole("dscmachine02")}; + var roleInstances = new List + { + CreateRoleInstance("dscmachine01"), + CreateRoleInstance("dscmachine02") + }; + + var deploymentResponse = CreateDeploymentGetResponse(ServiceName, roles, roleInstances); + var dscExtensionStatusContexts = + getAzureVmDscExtensionStatusCmdlet + .GetVirtualMachineDscStatusContextList(deploymentResponse); + Assert.NotNull(getAzureVmDscExtensionStatusCmdlet.Name); + Assert.Null(getAzureVmDscExtensionStatusCmdlet.VmName); + Assert.NotNull(dscExtensionStatusContexts); + Assert.Equal(dscExtensionStatusContexts.Count, 1); + + } + + [Fact] + public void TestGetVirtualMachineDscStatusContextListWithServiceNameAndIncorrectVmName() + { + getAzureVmDscExtensionStatusCmdlet.Service = ServiceName; + getAzureVmDscExtensionStatusCmdlet.Name = "some-blah"; + + // service has multiple vm's + var roles = new List {CreateRole("dscmachine01"), CreateRole("dscmachine02")}; + var roleInstances = new List + { + CreateRoleInstance("dscmachine01"), + CreateRoleInstance("dscmachine02") + }; + + var deploymentResponse = CreateDeploymentGetResponse(ServiceName, roles, roleInstances); + var dscExtensionStatusContexts = + getAzureVmDscExtensionStatusCmdlet + .GetVirtualMachineDscStatusContextList(deploymentResponse); + Assert.NotNull(getAzureVmDscExtensionStatusCmdlet.Name); + Assert.Null(getAzureVmDscExtensionStatusCmdlet.VmName); + Assert.Equal(dscExtensionStatusContexts.Count, 0); + + } + + [Fact] + public void TestGetVirtualMachineDscStatusContextListWithVm() + { + getAzureVmDscExtensionStatusCmdlet.Service = ServiceName; + getAzureVmDscExtensionStatusCmdlet.VmName = "dscmachine02"; + + // service has multiple vm's + var roles = new List {CreateRole("dscmachine02")}; + var roleInstances = new List {CreateRoleInstance("dscmachine02")}; + + var deploymentResponse = CreateDeploymentGetResponse(ServiceName, roles, roleInstances); + var dscExtensionStatusContexts = + getAzureVmDscExtensionStatusCmdlet + .GetVirtualMachineDscStatusContextList(deploymentResponse); + Assert.Null(getAzureVmDscExtensionStatusCmdlet.Name); + Assert.NotNull(getAzureVmDscExtensionStatusCmdlet.VmName); + Assert.Equal(dscExtensionStatusContexts.Count, 1); + } + + [Fact] + public void TestCreateDscStatusContext() + { + getAzureVmDscExtensionStatusCmdlet.Service = ServiceName; + + var roles = new List {CreateRole("dscmachine02")}; + var roleInstances = new List {CreateRoleInstance("dscmachine02")}; + var context = + getAzureVmDscExtensionStatusCmdlet.CreateDscStatusContext( + roles[0], roleInstances[0]); + Assert.NotNull(context); + Assert.Equal(context.Name, "dscmachine02"); + Assert.Equal(context.StatusCode, 1); + Assert.Equal(context.ServiceName, ServiceName); + Assert.Equal(context.Status, "Success"); + Assert.Equal(context.StatusMessage, "Dsc Configuration was applied successful"); + Assert.Equal(context.DscConfigurationLog.Count(), GetFormattedMessage().Count()); + } + + private IPersistentVM GetAzureVM(String roleName, String serviceName) + { + var vm = new PersistentVM {RoleName = roleName}; + var vmContext = new PersistentVMRoleContext + { + DeploymentName = roleName, + Name = roleName, + ServiceName = serviceName, + VM = vm + }; + + return vmContext; + } + + private NSM.DeploymentGetResponse CreateDeploymentGetResponse(string serviceName, IList roles, + IList roleInstances) + { + var response = new NSM.DeploymentGetResponse + { + Name = serviceName, + Configuration = "config", + Status = Management.Compute.Models.DeploymentStatus.Starting, + PersistentVMDowntime = new NSM.PersistentVMDowntime + { + EndTime = DateTime.Now, + StartTime = DateTime.Now, + Status = "", + }, + LastModifiedTime = DateTime.Now, + Roles = roles, + RoleInstances = roleInstances + }; + + return response; + } + + private NSM.RoleInstance CreateRoleInstance(String roleName) + { + var roleInstance = new NSM.RoleInstance + { + RoleName = roleName, + ResourceExtensionStatusList = CreateResourceExtensionStatus() + }; + return roleInstance; + } + + private NSM.Role CreateRole(String roleName) + { + var role = new NSM.Role + { + RoleName = roleName + }; + + return role; + } + + private List CreateResourceExtensionStatus() + { + var resourceExtensionStatusList = new List(); + + var resourceBgiExtensionStatus = new NSM.ResourceExtensionStatus + { + HandlerName = "BGIInfo" + }; + var resourceDscExtensionStatus = new NSM.ResourceExtensionStatus + { + HandlerName = "Microsoft.Powershell.DSC", + ExtensionSettingStatus = CreateExtensionSettingStatus() + }; + + resourceExtensionStatusList.Add(resourceBgiExtensionStatus); + resourceExtensionStatusList.Add(resourceDscExtensionStatus); + + return resourceExtensionStatusList; + } + + private NSM.ResourceExtensionConfigurationStatus CreateExtensionSettingStatus() + { + var extensionSettingStatus = new NSM.ResourceExtensionConfigurationStatus + { + Code = 1, + Status = "Success", + FormattedMessage = new NSM.GuestAgentFormattedMessage + { + Message = "Dsc Configuration was applied successful" + }, + Timestamp = new DateTime(), + SubStatusList = CreateResourceExtensionSubStatus(1, CreateGuestAgentFormattedMessage()) + }; + + return extensionSettingStatus; + } + + private List CreateResourceExtensionSubStatus(int code, + NSM.GuestAgentFormattedMessage formattedMessage) + { + var resourceExtensionSubStatusList = new List(); + var resourceExtensionSubStatus = new NSM.ResourceExtensionSubStatus + { + Code = code, + FormattedMessage = formattedMessage, + Status = "Success", + Name = "DSC Status" + }; + resourceExtensionSubStatusList.Add(resourceExtensionSubStatus); + return resourceExtensionSubStatusList; + } + + private NSM.GuestAgentFormattedMessage CreateGuestAgentFormattedMessage() + { + var formattedMessage = new NSM.GuestAgentFormattedMessage + { + Message = + "[ESPARMAR-2012R2]:LCM:[Start Set]\r\n[ESPARMAR-2012R2]:LCM:[Start Resource] " + + "[[WindowsFeature]IIS]\r\n[ESPARMAR-2012R2]:LCM:[Start Test] [[WindowsFeature]IIS]\r\n[ESPARMAR-2012R2]" + }; + return formattedMessage; + } + + private IEnumerable GetFormattedMessage() + { + const string message = "[ESPARMAR-2012R2]:LCM:[Start Set]\r\n[ESPARMAR-2012R2]:LCM:[Start Resource] " + + "[[WindowsFeature]IIS]\r\n[ESPARMAR-2012R2]:LCM:[Start Test] [[WindowsFeature]IIS]\r\n[ESPARMAR-2012R2]"; + + return message.Split(new[] {"\r\n", "\n"}, StringSplitOptions.None); + } + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/MSSharedLibKey.snk b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/MSSharedLibKey.snk new file mode 100644 index 000000000000..695f1b38774e Binary files /dev/null and b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/MSSharedLibKey.snk differ diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/packages.config b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/packages.config index bdde83a6dc79..49bb4d5275cf 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/packages.config +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Extensions.Test/packages.config @@ -1,15 +1,15 @@  - - + + + - - + - + \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Commands.ServiceManagement.PlatformImageRepository.csproj b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Commands.ServiceManagement.PlatformImageRepository.csproj index e0f0df052783..abaa4d58177b 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Commands.ServiceManagement.PlatformImageRepository.csproj +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/Commands.ServiceManagement.PlatformImageRepository.csproj @@ -60,17 +60,17 @@ ..\..\..\packages\AutoMapper.3.1.1\lib\net40\AutoMapper.Net4.dll - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.3\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.3\lib\net45\Microsoft.Azure.Common.NetFramework.dll False @@ -85,12 +85,12 @@ ..\..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -107,13 +107,12 @@ ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll - - False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.8.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll + + ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.9.2.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll False diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/PIR.psd1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/PIR.psd1 index a4b6a707ca19..ee74b396191d 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/PIR.psd1 +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/PIR.psd1 @@ -12,7 +12,7 @@ ModuleToProcess = '.\Microsoft.WindowsAzure.Commands.ServiceManagement.PlatformImageRepository.dll' # Version number of this module. -ModuleVersion = '0.8.13' +ModuleVersion = '0.8.14' # ID used to uniquely identify this module GUID = 'a9343cbd-175c-4f72-90c7-2abe9b300644' diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/packages.config b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/packages.config index 2e1cd5f32f8f..a762ddddf589 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/packages.config +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.PlatformImageRepository/packages.config @@ -1,10 +1,10 @@  - - + + + - @@ -12,11 +12,11 @@ - + - - + + diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/AzurePreview.psd1 b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/AzurePreview.psd1 index 6b81499baf35..16fe71cbebec 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/AzurePreview.psd1 +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/AzurePreview.psd1 @@ -12,7 +12,7 @@ ModuleToProcess = '.\Microsoft.WindowsAzure.Commands.ServiceManagement.Preview.dll' # Version number of this module. -ModuleVersion = '0.8.13' +ModuleVersion = '0.8.14' # ID used to uniquely identify this module GUID = '1C72E555-E83F-45E4-AED2-AF3278828DCD' diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Commands.ServiceManagement.Preview.csproj b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Commands.ServiceManagement.Preview.csproj index 2a595f90105a..13c2a7930605 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Commands.ServiceManagement.Preview.csproj +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Commands.ServiceManagement.Preview.csproj @@ -60,17 +60,17 @@ ..\..\..\packages\AutoMapper.3.1.1\lib\net40\AutoMapper.Net4.dll - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.3\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.3\lib\net45\Microsoft.Azure.Common.NetFramework.dll False @@ -85,12 +85,12 @@ ..\..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -107,17 +107,16 @@ ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll - - False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.8.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll + + ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.9.2.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.6.1.2\lib\net40\Microsoft.WindowsAzure.Management.Network.dll False diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/packages.config b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/packages.config index ce92088d8fe7..de200a3dde9b 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/packages.config +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/packages.config @@ -1,10 +1,10 @@  - - + + + - @@ -12,12 +12,12 @@ - + - - - + + + diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Commands.ServiceManagement.Test.csproj b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Commands.ServiceManagement.Test.csproj index a48a495776f8..8511bc6f1880 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Commands.ServiceManagement.Test.csproj +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Commands.ServiceManagement.Test.csproj @@ -54,17 +54,17 @@ ..\..\..\packages\AutoMapper.3.1.1\lib\net40\AutoMapper.Net4.dll - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.3\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.3\lib\net45\Microsoft.Azure.Common.NetFramework.dll ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll @@ -78,13 +78,13 @@ ..\..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -101,14 +101,16 @@ ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll - ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.8.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.9.2.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.6.1.2\lib\net40\Microsoft.WindowsAzure.Management.Network.dll ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.5.0.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll @@ -175,6 +177,7 @@ + @@ -286,7 +289,9 @@ + + @@ -417,6 +422,12 @@ + + PreserveNewest + + + PreserveNewest + @@ -436,9 +447,14 @@ + + + + + @@ -462,9 +478,6 @@ - - - diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/AddAzureVhdSASUriTest.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/AddAzureVhdSASUriTest.cs index 729b780d0aa6..e7b98b52ff54 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/AddAzureVhdSASUriTest.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/AddAzureVhdSASUriTest.cs @@ -16,7 +16,7 @@ using System.IO; using System.Reflection; using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Storage.Auth; using Microsoft.WindowsAzure.Storage.Blob; diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/AddAzureVhdTest.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/AddAzureVhdTest.cs index 1876fe516458..c817e930b28f 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/AddAzureVhdTest.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/AddAzureVhdTest.cs @@ -16,7 +16,7 @@ using System.IO; using System.Reflection; using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests { diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/BVTTest.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/BVTTest.cs index 2803e9e6bb10..520fc058609e 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/BVTTest.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/BVTTest.cs @@ -100,10 +100,8 @@ public void AzureIaaSBVT() string certData = Convert.ToBase64String(((X509Certificate2)certToUpload.BaseObject).RawData); string newAzureVMName = Utilities.GetUniqueShortName(vmNamePrefix); - if (string.IsNullOrEmpty(imageName)) - { - imageName = vmPowershellCmdlets.GetAzureVMImageName(new[] { "Windows" }, false); - } + + imageName = vmPowershellCmdlets.GetAzureVMImageName(new[] { "Windows" }, false, 50); RecordTimeTaken(ref prevTime); @@ -222,9 +220,13 @@ public void AzureIaaSBVT() RecordTimeTaken(ref prevTime); // - // New-AzureDns + // Set-AzureOSDisk // + vm = vmPowershellCmdlets.SetAzureOSDisk(null, vm, 100); + // + // New-AzureDns + // string dnsName = "OpenDns1"; string ipAddress = "208.67.222.222"; @@ -348,7 +350,6 @@ public void AzureIaaSBVT() // vm = vmPowershellCmdlets.SetAzureOSDisk(HostCaching.ReadOnly, vm); - // // Update-AzureVM // diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/CleanUp.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/CleanUp.cs new file mode 100644 index 000000000000..21f98aae4e0d --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/CleanUp.cs @@ -0,0 +1,79 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.VisualStudio.TestTools.UnitTesting; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests +{ + [TestClass] + public class ServiceManagementCleanUp : ServiceManagementTest + { + + /// + /// Clean up any resouces left from tests + /// + [TestMethod(), TestCategory(Category.CleanUp), Priority(1), Owner("hylee"), Description("Clean up any resouces left from tests")] + public void CleanUp() + { + vmPowershellCmdlets = new ServiceManagementCmdletTestHelper(); + try + { + vmPowershellCmdlets.RunPSScript("Get-AzureService | Remove-AzureService -Force"); + } + catch + { + } + + try + { + vmPowershellCmdlets.RunPSScript("Get-AzureDisk | Remove-AzureDisk"); + } + catch + { + } + + try + { + vmPowershellCmdlets.RunPSScript(@"Get-AzureVMImage | where {$_.Category -eq 'User'} | Remove-AzureVMImage"); + } + catch + { + } + + try + { + vmPowershellCmdlets.RunPSScript("Remove-AzureVNetConfig"); + } + catch + { + } + + try + { + vmPowershellCmdlets.RunPSScript("Get-AzureAffinityGroup | Remove-AzureAffinityGroup"); + } + catch + { + } + + try + { + vmPowershellCmdlets.RunPSScript("Get-AzureReservedIP | Remove-AzureReservedIP -Force"); + } + catch + { + } + } + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ConfigDataInfo/InstanceSize.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ConfigDataInfo/InstanceSize.cs index 34a95b77387b..0b0f69254a06 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ConfigDataInfo/InstanceSize.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ConfigDataInfo/InstanceSize.cs @@ -21,10 +21,12 @@ public enum InstanceSize Medium, Large, ExtraLarge, + } + + public enum HiMemInstanceSize + { A5, A6, A7, - A8, - A9 } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ConfigDataInfo/SetAzureDataDiskConfig.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ConfigDataInfo/SetAzureDataDiskConfig.cs index 22f2914245d3..54df0dcbca0b 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ConfigDataInfo/SetAzureDataDiskConfig.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ConfigDataInfo/SetAzureDataDiskConfig.cs @@ -30,4 +30,20 @@ public SetAzureDataDiskConfig(HostCaching hostCaching, int lun) public PersistentVM Vm { get; set; } } + + public class SetAzureDataDiskResizeConfig + { + public string DiskName; + + public int ResizedSizeInGB; + public PersistentVM Vm { get; set; } + + public SetAzureDataDiskResizeConfig(string diskName, int resize, PersistentVM vm) + { + this.DiskName = diskName; + this.ResizedSizeInGB = resize; + this.Vm = vm; + } + + } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/Constants.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/Constants.cs index 49663aa9b7da..70ea7c2f2b06 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/Constants.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/Constants.cs @@ -23,6 +23,7 @@ public class Category public const string Sequential = "Sequential"; public const string Network = "Network"; public const string Upload = "AzureRTUpload"; + public const string CleanUp = "AzureRTCleanUp"; } public class LoadBalancerDistribution diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/CredentialHelper.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/CredentialHelper.cs index 579a68ccb504..d7d2bcb8296b 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/CredentialHelper.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/CredentialHelper.cs @@ -42,6 +42,7 @@ public static class CredentialHelper private static string currentTestEnvironment = null; private static CloudBlobContainer blobContainer; private const string VhdFilesContainerName = "vhdfiles"; + private const string toolsContainerName = "tools"; private static Dictionary environment = new Dictionary(); public static Dictionary PowerShellVariables { get; private set; } @@ -115,6 +116,17 @@ private static void DownloadTestVhdsAndPackages(string testEnvironment, string d blobStream.Flush(); blobStream.Close(); } + + blobContainer = blobClient.GetContainerReference(toolsContainerName); + foreach (IListBlobItem blobItem in blobContainer.ListBlobs()) + { + ICloudBlob blob = blobClient.GetBlobReferenceFromServer(blobItem.Uri); + Console.WriteLine("Downloading file {0} from blob Uri {1}", blob.Name, blob.Uri); + FileStream blobStream = new FileStream(Path.Combine(downloadDirectoryPath, @"..\..\", blob.Name), FileMode.Create); + blob.DownloadToStream(blobStream); + blobStream.Flush(); + blobStream.Close(); + } } public static void GetTestSettings(string testSettings) @@ -239,7 +251,7 @@ public static string DefaultStorageName } } - public static void CopyTestData(string srcContainer, string srcBlob, string destContainer, string destBlob) + public static void CopyTestData(string srcContainer, string srcBlob, string destContainer, string destBlob = null) { ServiceManagementCmdletTestHelper vmPowershellCmdlets = new ServiceManagementCmdletTestHelper(); Process currentProcess = Process.GetCurrentProcess(); @@ -262,7 +274,15 @@ public static void CopyTestData(string srcContainer, string srcBlob, string dest // Make SAS Uri for the source blob. string srcSasUri = Utilities.GenerateSasUri(CredentialHelper.CredentialBlobUriFormat, storageAccount, storageAccountKey, srcContainer, srcBlob); - vmPowershellCmdlets.RunPSScript(string.Format("Start-AzureStorageBlobCopy -SrcUri \"{0}\" -DestContainer {1} -DestBlob {2} -Force", srcSasUri, destContainer, destBlob)); + if (string.IsNullOrEmpty(destBlob)) + { + vmPowershellCmdlets.RunPSScript(string.Format("Start-AzureStorageBlobCopy -SrcContainer {0} -SrcBlob {1} -DestContainer {2} -Force", srcContainer, srcBlob, destContainer)); + destBlob = srcBlob; + } + else + { + vmPowershellCmdlets.RunPSScript(string.Format("Start-AzureStorageBlobCopy -SrcUri \"{0}\" -DestContainer {1} -DestBlob {2} -Force", srcSasUri, destContainer, destBlob)); + } for (int i = 0; i < 60; i++) { diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ExtensionTests/AzureVMAccessExtensionTests.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ExtensionTests/AzureVMAccessExtensionTests.cs index f426f256652c..5bf85f014bdc 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ExtensionTests/AzureVMAccessExtensionTests.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ExtensionTests/AzureVMAccessExtensionTests.cs @@ -22,7 +22,7 @@ using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.ConfigDataInfo; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.ExtensionTests { @@ -81,10 +81,11 @@ public void CreateVMAccessExtensionTest() { try { - //Deploy a new IaaS VM with Extension using Add-AzureVMExtension + // Deploy a new IaaS VM with Extension using Add-AzureVMExtension Console.WriteLine("Create a new VM with VM access extension."); var vm = CreateIaaSVMObject(vmName); - vm = vmPowershellCmdlets.SetAzureVMAccessExtension(vm, vmAccessUserName, vmAccessPassword, version, null,false); + vm = vmPowershellCmdlets.SetAzureVMAccessExtension( + vm, vmAccessUserName, vmAccessPassword, version, null, false, true); vmPowershellCmdlets.NewAzureVM(serviceName, new[] { vm }, locationName, true); Console.WriteLine("Created a new VM {0} with VM access extension. Service Name : {1}", vmName, serviceName); @@ -92,10 +93,10 @@ public void CreateVMAccessExtensionTest() ValidateVMAccessExtension(vmName, serviceName, true); Utilities.GetAzureVMAndWaitForReady(serviceName, vmName, 30000, 300000); - //Verify that the extension actually work + // Verify that the extension actually work VerifyRDPExtension(vmName, serviceName); - //Disbale extesnion + // Disbale extesnion DisableExtension(vmName, serviceName); ValidateVMAccessExtension(vmName, serviceName, false); pass = true; @@ -114,13 +115,14 @@ public void UpdateVMAccessExtensionTest() { try { - //Deploy a new IaaS VM with Extension using Add-AzureVMExtension + // Deploy a new IaaS VM with Extension using Add-AzureVMExtension var vm = CreateIaaSVMObject(vmName); vmPowershellCmdlets.NewAzureVM(serviceName, new[] { vm }, locationName); vm = GetAzureVM(vmName, serviceName); - //Set extension without version - vm = vmPowershellCmdlets.SetAzureVMAccessExtension(vm, vmAccessUserName, vmAccessPassword, null, null, false); + // Set extension without version + vm = vmPowershellCmdlets.SetAzureVMAccessExtension( + vm, vmAccessUserName, vmAccessPassword, null, null, false, true); vmPowershellCmdlets.UpdateAzureVM(vmName, serviceName, vm); ValidateVMAccessExtension(vmName, serviceName, true); @@ -143,14 +145,15 @@ public void AddRoleVMAccessExtensionTest() { try { - //Create an deployment + // Create an deployment var vm1 = CreateIaaSVMObject(vmName); vmPowershellCmdlets.NewAzureVM(serviceName, new[] { vm1 }, locationName); - //Add a role with extension enabled. + // Add a role with extension enabled. string vmName2 = Utilities.GetUniqueShortName(vmNamePrefix); var vm2 = CreateIaaSVMObject(vmName2); - vm2 = vmPowershellCmdlets.SetAzureVMAccessExtension(vm2, vmAccessUserName,vmAccessPassword, version, referenceName,false); + vm2 = vmPowershellCmdlets.SetAzureVMAccessExtension( + vm2, vmAccessUserName,vmAccessPassword, version, referenceName, false, true); vmPowershellCmdlets.NewAzureVM(serviceName, new[] { vm2 }); ValidateVMAccessExtension(vmName2, serviceName, true); @@ -169,15 +172,16 @@ public void UpdateRoleVMAccessExtensionTest() { try { - //Create an deployment and add 2 roles + // Create an deployment and add 2 roles var vm1 = CreateIaaSVMObject(vmName); string vmName2 = Utilities.GetUniqueShortName(vmNamePrefix); var vm2 = CreateIaaSVMObject(vmName2); vmPowershellCmdlets.NewAzureVM(serviceName, new[] { vm1, vm2 }, locationName); - //Set VM Access extension to the VM + // Set VM Access extension to the VM var vmroleContext = vmPowershellCmdlets.GetAzureVM(vmName2, serviceName); - vmPowershellCmdlets.SetAzureVMAccessExtension(vm2, vmAccessUserName, vmAccessPassword, version, referenceName, false); + vmPowershellCmdlets.SetAzureVMAccessExtension( + vm2, vmAccessUserName, vmAccessPassword, version, referenceName, false, true); vmPowershellCmdlets.UpdateAzureVM(vmName2, serviceName, vm2); var result = vmPowershellCmdlets.GetAzureVM(vmName2, serviceName); @@ -286,7 +290,7 @@ private void DisableExtension(string vmName, string serviceName) { var vm = GetAzureVM(vmName, serviceName); Console.WriteLine("Disabling the VM Access extesnion for the vm {0}",vmName); - vm = vmPowershellCmdlets.SetAzureVMAccessExtension(vm,disable:true); + vm = vmPowershellCmdlets.SetAzureVMAccessExtension(vm, disable:true, forceUpdate:true); vmPowershellCmdlets.UpdateAzureVM(vmName, serviceName, vm); Console.WriteLine("Disabled VM Access extesnion for the vm {0}", vmName); } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ExtensionTests/CustomScriptExtensionTests.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ExtensionTests/CustomScriptExtensionTests.cs index 1dbcd32e6afa..b0acd93336c9 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ExtensionTests/CustomScriptExtensionTests.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ExtensionTests/CustomScriptExtensionTests.cs @@ -41,7 +41,6 @@ public class CustomScriptExtesnionTests: ServiceManagementTest private string runFileName = "test2.ps2"; private string[] fileNames = {"test1.ps1","test2.ps1"}; private string endpointSuffix = ""; - //private VirtualMachineCustomScriptExtensionContext inputParameters; [TestInitialize] public void TestIntialization() @@ -169,7 +168,9 @@ public void NewAzureVMWithEmptyCustomScriptConfigurationTest() { vmName = Utilities.GetUniqueShortName(vmNamePrefix); var vm = Utilities.CreateIaaSVMObject(vmName, InstanceSize.Small, imageName, true, username, password); - vm = vmPowershellCmdlets.SetAzureVMExtension(vm, customScriptExtension.ExtensionName, customScriptExtension.Publisher, customScriptExtension.Version); + vm = vmPowershellCmdlets.SetAzureVMExtension(vm, + customScriptExtension.ExtensionName, customScriptExtension.Publisher, customScriptExtension.Version, + forceUpdate: true); vmPowershellCmdlets.NewAzureVM(serviceName, new[] { vm }, locationName); var vmExtension = vmPowershellCmdlets.GetAzureVMCustomScriptExtension(Utilities.GetAzureVM(vmName, serviceName)); @@ -222,22 +223,33 @@ private PersistentVM SetCustomScripExtesnionToVM(SetAzureVMCustomScriptExtension { case SetAzureVMCustomScriptExtensionCmdletParmaterSetType.SetCustomScriptExtensionByUrisParamSetName: Console.WriteLine("Calling Set-AzureVMCustomScriptExtension cmdlet using SetCustomScriptExtensionByUrisParamSetName parameter set including all parameters."); - return vmPowershellCmdlets.SetAzureVMCustomScriptExtension(vm, fileURI, true, runFileName, referenceName, customScriptExtension.Version); + return vmPowershellCmdlets.SetAzureVMCustomScriptExtension( + vm, fileURI, true, runFileName, referenceName, customScriptExtension.Version, null, true); + case SetAzureVMCustomScriptExtensionCmdletParmaterSetType.SetCustomScriptExtensionByUrisParamSetNameWithOutDefaultParameters: Console.WriteLine("Calling Set-AzureVMCustomScriptExtension cmdlet using SetCustomScriptExtensionByUrisParamSetName parameter set without optional parameters"); - return vmPowershellCmdlets.SetAzureVMCustomScriptExtension(vm, fileURI,true,runFileName); + return vmPowershellCmdlets.SetAzureVMCustomScriptExtension( + vm, fileURI, true, runFileName, null, null, null, true); + case SetAzureVMCustomScriptExtensionCmdletParmaterSetType.DisableCustomScriptExtensionParamSetName: Console.WriteLine("Calling Set-AzureVMCustomScriptExtension cmdlet using DisableCustomScriptExtensionParamSetName parameter set including all parameters."); - return vmPowershellCmdlets.SetAzureVMCustomScriptExtension(vm, true, referenceName, customScriptExtension.Version); + return vmPowershellCmdlets.SetAzureVMCustomScriptExtension( + vm, true, referenceName, customScriptExtension.Version, true); + case SetAzureVMCustomScriptExtensionCmdletParmaterSetType.DisableCustomScriptExtensionParamSetNameWithOutDefaultParameters: Console.WriteLine("Calling Set-AzureVMCustomScriptExtension cmdlet using DisableCustomScriptExtensionParamSetName parameter set without optional parameters"); - return vmPowershellCmdlets.SetAzureVMCustomScriptExtension(vm,true); + return vmPowershellCmdlets.SetAzureVMCustomScriptExtension(vm, true, null, null, true); + case SetAzureVMCustomScriptExtensionCmdletParmaterSetType.SetCustomScriptExtensionByContainerBlobsParamSetName: Console.WriteLine("Calling Set-AzureVMCustomScriptExtension cmdlet using SetCustomScriptExtensionByContainerBlobsParamSetName parameter set including all parameters."); - return vmPowershellCmdlets.SetAzureVMCustomScriptExtension(vm,fileNames, runFileName, storageAccountKey.StorageAccountName, endpointSuffix, containerName, storageAccountKey.Primary, referenceName, customScriptExtension.Version); + return vmPowershellCmdlets.SetAzureVMCustomScriptExtension( + vm, fileNames, runFileName, storageAccountKey.StorageAccountName, endpointSuffix, + containerName, storageAccountKey.Primary, referenceName, customScriptExtension.Version, null, true); + case SetAzureVMCustomScriptExtensionCmdletParmaterSetType.SetCustomScriptExtensionByContainerBlobsParamSetNameWithOutDefaultParameters: Console.WriteLine("Calling Set-AzureVMCustomScriptExtension cmdlet using SetCustomScriptExtensionByContainerBlobsParamSetName parameter set without optional parameters"); - return vmPowershellCmdlets.SetAzureVMCustomScriptExtension(vm,fileNames, runFileName,containerName: containerName); + return vmPowershellCmdlets.SetAzureVMCustomScriptExtension(vm, fileNames, runFileName, containerName: containerName); + default: break; } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTest.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTest.cs index a65632d78d6d..1ce5f524ca9f 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTest.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTest.cs @@ -25,7 +25,7 @@ using System.Threading; using System.Xml; using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions; using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.ConfigDataInfo; diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTestCommonVhd.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTestCommonVhd.cs index 40d7b084e751..f7c661787d10 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTestCommonVhd.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTestCommonVhd.cs @@ -33,8 +33,6 @@ public class FunctionalTestCommonVhd : ServiceManagementTest [ClassInitialize] public static void ClassInit(TestContext context) { - //SetTestSettings(); - if (defaultAzureSubscription.Equals(null)) { Assert.Inconclusive("No Subscription is selected!"); @@ -77,8 +75,6 @@ public static void ClassInit(TestContext context) [TestInitialize] public void Initialize() { - //vhdName = Utilities.GetUniqueShortName(vhdNamePrefix); - //CopyCommonVhd(vhdContainerName, vhdNamePrefix, vhdName); pass = false; testStartTime = DateTime.Now; } @@ -87,7 +83,10 @@ public void Initialize() public void AzureDiskTest() { StartTest(MethodBase.GetCurrentMethod().Name, testStartTime); - vhdName = "os0.vhd"; + + vhdName = Utilities.GetUniqueShortName("os0vhd"); + CopyCommonVhd(vhdContainerName, "os0.vhd", vhdName); + string mediaLocation = String.Format("{0}{1}/{2}", blobUrlRoot, vhdContainerName, vhdName); try @@ -103,20 +102,43 @@ public void AzureDiskTest() found = true; Console.WriteLine("{0} is found", disk.DiskName); } - } Assert.IsTrue(found, "Error: Disk is not added"); + // Update only label string newLabel = "NewLabel"; vmPowershellCmdlets.UpdateAzureDisk(vhdName, newLabel); - DiskContext disk2 = vmPowershellCmdlets.GetAzureDisk(vhdName)[0]; + DiskContext virtualDisk = vmPowershellCmdlets.GetAzureDisk(vhdName)[0]; - Console.WriteLine("Disk: Name - {0}, Label - {1}, Size - {2},", disk2.DiskName, disk2.Label, disk2.DiskSizeInGB); - Assert.AreEqual(newLabel, disk2.Label); + Console.WriteLine("Disk: Name - {0}, Label - {1}, Size - {2},", virtualDisk.DiskName, virtualDisk.Label, virtualDisk.DiskSizeInGB); + Assert.AreEqual(newLabel, virtualDisk.Label); Console.WriteLine("Disk Label is successfully updated"); - vmPowershellCmdlets.RemoveAzureDisk(vhdName, false); + // Update only size + int newSize = 50; + vmPowershellCmdlets.UpdateAzureDisk(vhdName, null, newSize); + + virtualDisk = vmPowershellCmdlets.GetAzureDisk(vhdName)[0]; + + Console.WriteLine("Disk: Name - {0}, Label - {1}, Size - {2},", virtualDisk.DiskName, virtualDisk.Label, virtualDisk.DiskSizeInGB); + Assert.AreEqual(newLabel, virtualDisk.Label); + Assert.AreEqual(newSize, virtualDisk.DiskSizeInGB); + Console.WriteLine("Disk size is successfully updated"); + + // Update both label and size + newLabel = "NewLabel2"; + newSize = 100; + vmPowershellCmdlets.UpdateAzureDisk(vhdName, newLabel, newSize); + + virtualDisk = vmPowershellCmdlets.GetAzureDisk(vhdName)[0]; + + Console.WriteLine("Disk: Name - {0}, Label - {1}, Size - {2},", virtualDisk.DiskName, virtualDisk.Label, virtualDisk.DiskSizeInGB); + Assert.AreEqual(newLabel, virtualDisk.Label); + Assert.AreEqual(newSize, virtualDisk.DiskSizeInGB); + Console.WriteLine("Both disk label and size are successfully updated"); + + vmPowershellCmdlets.RemoveAzureDisk(vhdName, true); Assert.IsTrue(Utilities.CheckRemove(vmPowershellCmdlets.GetAzureDisk, vhdName), "The disk was not removed"); pass = true; } @@ -129,6 +151,15 @@ public void AzureDiskTest() Console.WriteLine("Please upload {0} file to \\vhdtest\\ blob directory before running this test", vhdName); } + try + { + vmPowershellCmdlets.RemoveAzureDisk(vhdName, true); + } + catch (Exception cleanupError) + { + Console.WriteLine("Error during cleaning up the disk.. Continue..:{0}", cleanupError); + } + Assert.Fail("Exception occurs: {0}", e.ToString()); } } @@ -155,6 +186,7 @@ public void AzureVMImageTest() try { + // BVT Tests for OS Images OSImageContext result = vmPowershellCmdlets.AddAzureVMImage(newImageName, mediaLocation, OS.Windows, oldLabel, vmSize, iconUri, smallIconUri, showInGui); OSImageContext resultReturned = vmPowershellCmdlets.GetAzureVMImage(newImageName)[0]; @@ -174,6 +206,97 @@ public void AzureVMImageTest() vmPowershellCmdlets.RemoveAzureVMImage(newImageName, false); Assert.IsTrue(Utilities.CheckRemove(vmPowershellCmdlets.GetAzureVMImage, newImageName)); + // BVT Tests for VM Images + // Unique Container Prefix + var containerPrefix = Utilities.GetUniqueShortName("vmimg"); + + // Disk Blobs + var srcVhdName = "os1.vhd"; + var srcVhdContainer = vhdContainerName; + var dstOSVhdContainer = containerPrefix.ToLower() + "os" + vhdContainerName; + CredentialHelper.CopyTestData(srcVhdContainer, srcVhdName, dstOSVhdContainer); + string osVhdLink = string.Format("{0}{1}/{2}", blobUrlRoot, dstOSVhdContainer, srcVhdName); + + var dstDataVhdContainer = containerPrefix.ToLower() + "data" + vhdContainerName; + CredentialHelper.CopyTestData(srcVhdContainer, srcVhdName, dstDataVhdContainer); + string dataVhdLink = string.Format("{0}{1}/{2}", blobUrlRoot, dstDataVhdContainer, srcVhdName); + + // VM Image OS/Data Disk Configuration + var addVMImageName = containerPrefix + "Image"; + var diskConfig = new VirtualMachineImageDiskConfigSet + { + OSDiskConfiguration = new OSDiskConfiguration + { + HostCaching = HostCaching.ReadWrite.ToString(), + OS = OSType.Windows.ToString(), + OSState = "Generalized", + MediaLink = new Uri(osVhdLink) + }, + DataDiskConfigurations = new DataDiskConfigurationList + { + new DataDiskConfiguration + { + HostCaching = HostCaching.ReadOnly.ToString(), + Lun = 0, + MediaLink = new Uri(dataVhdLink) + } + } + }; + + // Add-AzureVMImage + string label = addVMImageName; + string description = "test"; + string eula = "http://www.bing.com/"; + string imageFamily = "Windows"; + DateTime? publishedDate = new DateTime(2015, 1, 1); + string privacyUri = "http://www.bing.com/"; + string recommendedVMSize = vmSize; + string iconName = "iconName"; + string smallIconName = "smallIconName"; + + vmPowershellCmdlets.AddAzureVMImage( + addVMImageName, + label, + diskConfig, + description, + eula, + imageFamily, + publishedDate, + privacyUri, + recommendedVMSize, + iconName, + smallIconName, + showInGui); + + // Get-AzureVMImage + var vmImage = vmPowershellCmdlets.GetAzureVMImageReturningVMImages(addVMImageName).First(); + + Assert.IsTrue(vmImage.ImageName == addVMImageName); + Assert.IsTrue(vmImage.Label == label); + Assert.IsTrue(vmImage.Description == description); + Assert.IsTrue(vmImage.Eula == eula); + Assert.IsTrue(vmImage.ImageFamily == imageFamily); + Assert.IsTrue(vmImage.PublishedDate.Value.Year == publishedDate.Value.Year); + Assert.IsTrue(vmImage.PublishedDate.Value.Month == publishedDate.Value.Month); + Assert.IsTrue(vmImage.PublishedDate.Value.Day == publishedDate.Value.Day); + Assert.IsTrue(vmImage.PrivacyUri.AbsoluteUri.ToString() == privacyUri); + Assert.IsTrue(vmImage.RecommendedVMSize == recommendedVMSize); + Assert.IsTrue(vmImage.IconName == iconName); + Assert.IsTrue(vmImage.IconUri == iconName); + Assert.IsTrue(vmImage.SmallIconName == smallIconName); + Assert.IsTrue(vmImage.SmallIconUri == smallIconName); + Assert.IsTrue(vmImage.ShowInGui == showInGui); + Assert.IsTrue(vmImage.OSDiskConfiguration.HostCaching == diskConfig.OSDiskConfiguration.HostCaching); + Assert.IsTrue(vmImage.OSDiskConfiguration.OS == diskConfig.OSDiskConfiguration.OS); + Assert.IsTrue(vmImage.OSDiskConfiguration.OSState == diskConfig.OSDiskConfiguration.OSState); + Assert.IsTrue(vmImage.OSDiskConfiguration.MediaLink == diskConfig.OSDiskConfiguration.MediaLink); + Assert.IsTrue(vmImage.DataDiskConfigurations.First().HostCaching == diskConfig.DataDiskConfigurations.First().HostCaching); + Assert.IsTrue(vmImage.DataDiskConfigurations.First().Lun == diskConfig.DataDiskConfigurations.First().Lun); + Assert.IsTrue(vmImage.DataDiskConfigurations.First().MediaLink == diskConfig.DataDiskConfigurations.First().MediaLink); + + // Remove-AzureVMImage + vmPowershellCmdlets.RemoveAzureVMImage(addVMImageName); + pass = true; } catch (Exception e) @@ -267,44 +390,44 @@ public void HiMemVMSizeTest() try { // New-AzureQuickVM test for VM size 'A5' - vmPowershellCmdlets.NewAzureQuickVM(OS.Windows, vmName, serviceName, imageName, username, password, locationName, InstanceSize.A5.ToString()); + vmPowershellCmdlets.NewAzureQuickVM(OS.Windows, vmName, serviceName, imageName, username, password, locationName, HiMemInstanceSize.A5.ToString()); PersistentVMRoleContext result = vmPowershellCmdlets.GetAzureVM(vmName, serviceName); RoleSizeContext returnedSize = vmPowershellCmdlets.GetAzureRoleSize(result.InstanceSize)[0]; - Assert.AreEqual(InstanceSize.A5.ToString(), returnedSize.InstanceSize); - Console.WriteLine("VM size, {0}, is verified for New-AzureQuickVM", InstanceSize.A5); + Assert.AreEqual(HiMemInstanceSize.A5.ToString(), returnedSize.InstanceSize); + Console.WriteLine("VM size, {0}, is verified for New-AzureQuickVM", HiMemInstanceSize.A5); vmPowershellCmdlets.RemoveAzureService(serviceName); // New-AzureQuickVM test for VM size 'A6' - vmPowershellCmdlets.NewAzureQuickVM(OS.Windows, vmName, serviceName, imageName, username, password, locationName, InstanceSize.A6.ToString()); + vmPowershellCmdlets.NewAzureQuickVM(OS.Windows, vmName, serviceName, imageName, username, password, locationName, HiMemInstanceSize.A6.ToString()); result = vmPowershellCmdlets.GetAzureVM(vmName, serviceName); returnedSize = vmPowershellCmdlets.GetAzureRoleSize(result.InstanceSize)[0]; - Assert.AreEqual(InstanceSize.A6.ToString(), returnedSize.InstanceSize); - Console.WriteLine("VM size, {0}, is verified for New-AzureQuickVM", InstanceSize.A6); + Assert.AreEqual(HiMemInstanceSize.A6.ToString(), returnedSize.InstanceSize); + Console.WriteLine("VM size, {0}, is verified for New-AzureQuickVM", HiMemInstanceSize.A6); vmPowershellCmdlets.RemoveAzureService(serviceName); // New-AzureVMConfig test for VM size 'A7' - var azureVMConfigInfo = new AzureVMConfigInfo(vmName, InstanceSize.A7.ToString(), imageName); + var azureVMConfigInfo = new AzureVMConfigInfo(vmName, HiMemInstanceSize.A7.ToString(), imageName); var azureProvisioningConfig = new AzureProvisioningConfigInfo(OS.Windows, username, password); var persistentVMConfigInfo = new PersistentVMConfigInfo(azureVMConfigInfo, azureProvisioningConfig, null, null); PersistentVM vm = vmPowershellCmdlets.GetPersistentVM(persistentVMConfigInfo); vmPowershellCmdlets.NewAzureVM(serviceName, new[] { vm }, locationName); result = vmPowershellCmdlets.GetAzureVM(vmName, serviceName); returnedSize = vmPowershellCmdlets.GetAzureRoleSize(result.InstanceSize)[0]; - Assert.AreEqual(InstanceSize.A7.ToString(), returnedSize.InstanceSize); - Console.WriteLine("VM size, {0}, is verified for New-AzureVMConfig", InstanceSize.A7); + Assert.AreEqual(HiMemInstanceSize.A7.ToString(), returnedSize.InstanceSize); + Console.WriteLine("VM size, {0}, is verified for New-AzureVMConfig", HiMemInstanceSize.A7); // Set-AzureVMSize test for Hi-MEM VM size (A7 to A6) - vmPowershellCmdlets.SetVMSize(vmName, serviceName, new SetAzureVMSizeConfig(InstanceSize.A6.ToString())); + vmPowershellCmdlets.SetVMSize(vmName, serviceName, new SetAzureVMSizeConfig(HiMemInstanceSize.A6.ToString())); result = vmPowershellCmdlets.GetAzureVM(vmName, serviceName); returnedSize = vmPowershellCmdlets.GetAzureRoleSize(result.InstanceSize)[0]; - Assert.AreEqual(InstanceSize.A6.ToString(), returnedSize.InstanceSize); + Assert.AreEqual(HiMemInstanceSize.A6.ToString(), returnedSize.InstanceSize); Console.WriteLine("SetVMSize is verified from A7 to A6"); // Set-AzureVMSize test for Hi-MEM VM size (A6 to A5) - vmPowershellCmdlets.SetVMSize(vmName, serviceName, new SetAzureVMSizeConfig(InstanceSize.A5.ToString())); + vmPowershellCmdlets.SetVMSize(vmName, serviceName, new SetAzureVMSizeConfig(HiMemInstanceSize.A5.ToString())); result = vmPowershellCmdlets.GetAzureVM(vmName, serviceName); returnedSize = vmPowershellCmdlets.GetAzureRoleSize(result.InstanceSize)[0]; - Assert.AreEqual(InstanceSize.A5.ToString(), returnedSize.InstanceSize); + Assert.AreEqual(HiMemInstanceSize.A5.ToString(), returnedSize.InstanceSize); Console.WriteLine("SetVMSize is verified from A6 to A5"); pass = true; @@ -332,10 +455,11 @@ public void RegularVMSizeTest() { string serviceName = Utilities.GetUniqueShortName(serviceNamePrefix); string vmName = Utilities.GetUniqueShortName(vmNamePrefix); + string [] regularSizes = Enum.GetNames(typeof(InstanceSize)); try { - var instanceSizes = vmPowershellCmdlets.GetAzureRoleSize().ToArray(); + var instanceSizes = vmPowershellCmdlets.GetAzureRoleSize().Where(s => regularSizes.Contains(s.InstanceSize)).ToArray(); vmPowershellCmdlets.NewAzureQuickVM(OS.Windows, vmName, serviceName, imageName, username, password, locationName, instanceSizes[1].InstanceSize); foreach (var instanceSize in instanceSizes) @@ -344,16 +468,13 @@ public void RegularVMSizeTest() RoleSizeContext returnedSize; var size = instanceSize.InstanceSize; - if (!size.Equals(InstanceSize.A5.ToString()) && !size.Equals(InstanceSize.A6.ToString()) && !size.Equals(InstanceSize.A7.ToString()) - && !size.Equals(InstanceSize.A8.ToString()) && !size.Equals(InstanceSize.A9.ToString()) && !size.Contains("Standard_D")) - { - // Set-AzureVMSize test for regular VM size - vmPowershellCmdlets.SetVMSize(vmName, serviceName, new SetAzureVMSizeConfig(size)); - result = vmPowershellCmdlets.GetAzureVM(vmName, serviceName); - returnedSize = vmPowershellCmdlets.GetAzureRoleSize(result.InstanceSize)[0]; - Assert.AreEqual(size, returnedSize.InstanceSize); - Console.WriteLine("VM size, {0}, is verified for Set-AzureVMSize", size); - } + + // Set-AzureVMSize test for regular VM size + vmPowershellCmdlets.SetVMSize(vmName, serviceName, new SetAzureVMSizeConfig(size)); + result = vmPowershellCmdlets.GetAzureVM(vmName, serviceName); + returnedSize = vmPowershellCmdlets.GetAzureRoleSize(result.InstanceSize)[0]; + Assert.AreEqual(size, returnedSize.InstanceSize); + Console.WriteLine("VM size, {0}, is verified for Set-AzureVMSize", size); if (size.Equals(InstanceSize.ExtraLarge.ToString())) { diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/GenericIaaSExtensionTests.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/GenericIaaSExtensionTests.cs index 9915405849b8..cac90f1d6021 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/GenericIaaSExtensionTests.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/GenericIaaSExtensionTests.cs @@ -22,7 +22,7 @@ using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.ConfigDataInfo; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests { @@ -84,24 +84,32 @@ public void AzureVMExtensionTest() { try { - //Get the available VM Extension + // Get the available VM Extension var availableExtensions = vmPowershellCmdlets.GetAzureVMAvailableExtension(); vmAccessExtension = availableExtensions.First(extension => extension.ExtensionName.Equals(VmAccessAgentExtensionName)); if (availableExtensions.Count > 0) { - //Deploy a new IaaS VM with Extension using Add-AzureVMExtension + // Deploy a new IaaS VM with Extension using Add-AzureVMExtension Console.WriteLine("Create a new VM with VM access extension."); var vm = CreateIaaSVMObject(vmName); - vm = vmPowershellCmdlets.SetAzureVMExtension(vm, vmAccessExtension.ExtensionName, vmAccessExtension.Publisher, version, referenceName, publicConfigPath: publicConfigPath, privateConfigPath:privateConfigPath, disable: false); + vm = vmPowershellCmdlets.SetAzureVMExtension(vm, + vmAccessExtension.ExtensionName, + vmAccessExtension.Publisher, + version, + referenceName, + publicConfigPath: publicConfigPath, + privateConfigPath:privateConfigPath, + disable: false, + forceUpdate: true); vmPowershellCmdlets.NewAzureVM(serviceName, new[] {vm}, locationName); Console.WriteLine("Created a new VM {0} with VM access extension. Service Name : {1}",vmName,serviceName); ValidateVMAccessExtension(vmName, serviceName, true); - //Verify that the extension actually work + // Verify that the extension actually work VerifyRDPExtension(vmName, serviceName); - //Disbale extesnion + // Disbale extesnion DisableExtension(vmName, serviceName); ValidateVMAccessExtension(vmName, serviceName, false); @@ -125,13 +133,13 @@ public void UpdateVMWithExtensionTest() { try { - var availableExtensions = vmPowershellCmdlets.GetAzureVMAvailableExtension(); + var availableExtensions = vmPowershellCmdlets.GetAzureVMAvailableExtension(); + if (availableExtensions.Count > 0) { - vmAccessExtension = availableExtensions.First(extension => extension.ExtensionName.Equals(VmAccessAgentExtensionName)); - //Deploy a new IaaS VM with Extension using Add-AzureVMExtension + // Deploy a new IaaS VM with Extension using Add-AzureVMExtension var vm = CreateIaaSVMObject(vmName); vmPowershellCmdlets.NewAzureVM(serviceName, new[] { vm }, locationName); @@ -140,19 +148,20 @@ public void UpdateVMWithExtensionTest() vm = vmPowershellCmdlets.SetAzureVMExtension(vm, vmAccessExtension.ExtensionName, vmAccessExtension.Publisher, - vmAccessExtension.Version, + version, referenceName, publicConfiguration, privateConfiguration, "pubkey1", - "prikey1"); + "prikey1", + forceUpdate: true); vmPowershellCmdlets.UpdateAzureVM(vmName, serviceName, vm); var updatedVM = vmPowershellCmdlets.GetAzureVM(vmName, serviceName); var updatedExt = updatedVM.VM.ResourceExtensionReferences.First( e => e.Name == vmAccessExtension.ExtensionName && e.Publisher == vmAccessExtension.Publisher && - e.Version == vmAccessExtension.Version); + e.Version == version); Assert.IsTrue(updatedExt.ResourceExtensionParameterValues.Any(r => r.Type == "Public" && r.Key == "pubkey1")); ValidateVMAccessExtension(vmName, serviceName, true); @@ -182,16 +191,23 @@ public void AddRoleWithExtensionTest() { var availableExtensions = vmPowershellCmdlets.GetAzureVMAvailableExtension(); vmAccessExtension = availableExtensions.First(extension => extension.ExtensionName.Equals(VmAccessAgentExtensionName)); + //Create an deployment - var vm1 = CreateIaaSVMObject(vmName); vmPowershellCmdlets.NewAzureVM(serviceName, new[] { vm1 }, locationName); - //Add a role with extension enabled. + //Add a role with extension enabled. string referenceName = Utilities.GetUniqueShortName(referenceNamePrefix); string vmName2 = Utilities.GetUniqueShortName(vmNamePrefix); var vm2 = CreateIaaSVMObject(vmName2); - vm2 = vmPowershellCmdlets.SetAzureVMExtension(vm2, vmAccessExtension.ExtensionName, vmAccessExtension.Publisher, version, referenceName, publicConfiguration, privateConfiguration, disable: false); + vm2 = vmPowershellCmdlets.SetAzureVMExtension(vm2, + vmAccessExtension.ExtensionName, + vmAccessExtension.Publisher, + version, referenceName, + publicConfiguration, + privateConfiguration, + disable: false, + forceUpdate: true); vmPowershellCmdlets.NewAzureVM(serviceName, new[] { vm2 }); ValidateVMAccessExtension(vmName2, serviceName, true); @@ -221,7 +237,15 @@ public void UpdateRoleWithExtensionTest() vmPowershellCmdlets.NewAzureVM(serviceName, new[] { vm1, vm2 }, locationName); vm2 = GetAzureVM(vmName2, serviceName); - vm2 = vmPowershellCmdlets.SetAzureVMExtension(vm2, vmAccessExtension.ExtensionName, vmAccessExtension.Publisher, vmAccessExtension.Version, referenceName, publicConfiguration, privateConfiguration, disable: false); + vm2 = vmPowershellCmdlets.SetAzureVMExtension(vm2, + vmAccessExtension.ExtensionName, + vmAccessExtension.Publisher, + version, + referenceName, + publicConfiguration, + privateConfiguration, + disable: false, + forceUpdate: true); vmPowershellCmdlets.UpdateAzureVM(vmName2, serviceName, vm2); ValidateVMAccessExtension(vmName2, serviceName, true); @@ -261,32 +285,22 @@ public void ValidateAvailableExtesnion(VirtualMachineExtensionImageContext exten Assert.IsFalse(string.IsNullOrEmpty(extension.Publisher)); Assert.IsFalse(string.IsNullOrEmpty(extension.Version)); - // Intentionally commented as the cmdlet prod cmdlet doesnt have these properties and dogfood returns errors - // now - //Assert.IsTrue(extension.ReplicationCompleted); - //Assert.IsTrue(Utilities.validateHttpUri(extension.PrivacyUri.ToString())); - //Assert.IsTrue(Utilities.validateHttpUri(extension.PrivacyUri.ToString())); - //Assert.IsTrue(Utilities.validateHttpUri(extension.Eula.ToString())); - - switch (extension.ExtensionName) + if (! extension.IsJsonExtension) { - //case "BGInfo": - // { - // Assert.IsTrue(extension.ReplicationCompleted); - // break; - // } - case "DiagnosticsAgent": - { - Assert.IsFalse(string.IsNullOrEmpty(extension.PublicConfigurationSchema)); - break; - } - case "VMAccessAgent": - { - Assert.IsFalse(string.IsNullOrEmpty(extension.PublicConfigurationSchema)); - Assert.IsFalse(string.IsNullOrEmpty(extension.PrivateConfigurationSchema)); - //Assert.IsFalse(string.IsNullOrEmpty(extension.SampleConfig)); - break; - } + switch (extension.ExtensionName) + { + case "DiagnosticsAgent": + { + Assert.IsFalse(string.IsNullOrEmpty(extension.PublicConfigurationSchema)); + break; + } + case "VMAccessAgent": + { + Assert.IsFalse(string.IsNullOrEmpty(extension.PublicConfigurationSchema)); + Assert.IsFalse(string.IsNullOrEmpty(extension.PrivateConfigurationSchema)); + break; + } + } } } @@ -349,7 +363,13 @@ private void DisableExtension(string vmName, string serviceName) { var vm = GetAzureVM(vmName, serviceName); Console.WriteLine("Disabling the VM Access extesnion for the vm {0}", vmName); - vm = vmPowershellCmdlets.SetAzureVMExtension(vm, vmAccessExtension.ExtensionName, vmAccessExtension.Publisher, version, referenceName, disable: true); + vm = vmPowershellCmdlets.SetAzureVMExtension(vm, + vmAccessExtension.ExtensionName, + vmAccessExtension.Publisher, + version, + referenceName, + disable: true, + forceUpdate: true); vmPowershellCmdlets.UpdateAzureVM(vmName, serviceName, vm); Console.WriteLine("Disabled VM Access extesnion for the vm {0}", vmName); } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/AddAzureVMImageCmdletInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/AddAzureVMImageCmdletInfo.cs index 44c3b4982683..265eba6b3dfc 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/AddAzureVMImageCmdletInfo.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/AddAzureVMImageCmdletInfo.cs @@ -15,6 +15,7 @@ using System; using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.ConfigDataInfo; using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.PowershellCore; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.IaasCmdletInfo { @@ -96,5 +97,76 @@ public AddAzureVMImageCmdletInfo( cmdletParams.Add(new CmdletParam("PublishedDate", publishedDate.ToString())); } } + + public AddAzureVMImageCmdletInfo( + string imageName, + string label, + VirtualMachineImageDiskConfigSet diskConfig, + string description, + string eula, + string imageFamily, + DateTime? publishedDate, + string privacyUri, + string recommendedVMSize, + string iconName, + string smallIconName, + bool? showInGui) + { + cmdletName = Utilities.AddAzureVMImageCmdletName; + + cmdletParams.Add(new CmdletParam("ImageName", imageName)); + + cmdletParams.Add(new CmdletParam("Label", label)); + + if (diskConfig != null) + { + cmdletParams.Add(new CmdletParam("DiskConfig", diskConfig)); + } + + if (!string.IsNullOrEmpty(description)) + { + cmdletParams.Add(new CmdletParam("Description", description)); + } + + if (!string.IsNullOrEmpty(eula)) + { + cmdletParams.Add(new CmdletParam("Eula", eula)); + } + + if (!string.IsNullOrEmpty(imageFamily)) + { + cmdletParams.Add(new CmdletParam("ImageFamily", imageFamily)); + } + + if (publishedDate != null) + { + cmdletParams.Add(new CmdletParam("PublishedDate", publishedDate)); + } + + if (!string.IsNullOrEmpty(privacyUri)) + { + cmdletParams.Add(new CmdletParam("PrivacyUri", privacyUri)); + } + + if (!string.IsNullOrEmpty(recommendedVMSize)) + { + cmdletParams.Add(new CmdletParam("RecommendedVMSize", recommendedVMSize)); + } + + if (!string.IsNullOrEmpty(iconName)) + { + cmdletParams.Add(new CmdletParam("IconName", iconName)); + } + + if (!string.IsNullOrEmpty(smallIconName)) + { + cmdletParams.Add(new CmdletParam("SmallIconName", smallIconName)); + } + + if (showInGui != null) + { + cmdletParams.Add(new CmdletParam("ShowInGui", showInGui)); + } + } } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/Extesnions/CustomScript/SetAzureVMCustomScriptExtensionCmdletInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/Extesnions/CustomScript/SetAzureVMCustomScriptExtensionCmdletInfo.cs index 439209a90182..af52ed0e792e 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/Extesnions/CustomScript/SetAzureVMCustomScriptExtensionCmdletInfo.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/Extesnions/CustomScript/SetAzureVMCustomScriptExtensionCmdletInfo.cs @@ -20,7 +20,7 @@ namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests public class SetAzureVMCustomScriptExtensionCmdletInfo:CmdletsInfo { - private SetAzureVMCustomScriptExtensionCmdletInfo(PersistentVM vm, string referenceName, string version) + private SetAzureVMCustomScriptExtensionCmdletInfo(PersistentVM vm, string referenceName, string version, bool forceUpdate) { cmdletName = Utilities.SetAzureVMCustomScriptExtensionCmdletName; cmdletParams.Add(new CmdletParam("VM", vm)); @@ -32,10 +32,14 @@ private SetAzureVMCustomScriptExtensionCmdletInfo(PersistentVM vm, string refere { cmdletParams.Add(new CmdletParam("ReferenceName", referenceName)); } + if (forceUpdate) + { + cmdletParams.Add(new CmdletParam("ForceUpdate")); + } } - private SetAzureVMCustomScriptExtensionCmdletInfo(PersistentVM vm, string run, string argument, string referenceName, string version) - :this(vm, referenceName, version) + private SetAzureVMCustomScriptExtensionCmdletInfo(PersistentVM vm, string run, string argument, string referenceName, string version, bool forceUpdate) + : this(vm, referenceName, version, forceUpdate) { if (!string.IsNullOrEmpty(run)) { @@ -47,9 +51,9 @@ private SetAzureVMCustomScriptExtensionCmdletInfo(PersistentVM vm, string run, s } } - //SetCustomScriptExtensionByUrisParamSetName - public SetAzureVMCustomScriptExtensionCmdletInfo(PersistentVM vm, string referenceName, string version, string[] fileUri, string run, string argument) - :this(vm,run,argument,referenceName,version) + // SetCustomScriptExtensionByUrisParamSetName + public SetAzureVMCustomScriptExtensionCmdletInfo(PersistentVM vm, string referenceName, string version, string[] fileUri, string run, string argument, bool forceUpdate) + :this(vm, run, argument, referenceName, version, forceUpdate) { if (fileUri != null) { @@ -57,9 +61,9 @@ public SetAzureVMCustomScriptExtensionCmdletInfo(PersistentVM vm, string referen } } - //DisableCustomScriptExtensionParamSetName - public SetAzureVMCustomScriptExtensionCmdletInfo(PersistentVM vm, string referenceName, string version, bool disable) - : this(vm, referenceName, version) + // DisableCustomScriptExtensionParamSetName + public SetAzureVMCustomScriptExtensionCmdletInfo(PersistentVM vm, string referenceName, string version, bool disable, bool forceUpdate) + : this(vm, referenceName, version, forceUpdate) { if (disable) { @@ -67,10 +71,10 @@ public SetAzureVMCustomScriptExtensionCmdletInfo(PersistentVM vm, string referen } } - //SetCustomScriptExtensionByContainerBlobsParamSetName + // SetCustomScriptExtensionByContainerBlobsParamSetName public SetAzureVMCustomScriptExtensionCmdletInfo(PersistentVM vm, string[] fileName, string storageAccountName, string storageEndpointSuffix, string containerName, - string storageAccountKey, string run, string argument, string referenceName, string version) - : this(vm, run, argument, referenceName, version) + string storageAccountKey, string run, string argument, string referenceName, string version, bool forceUpdate) + : this(vm, run, argument, referenceName, version, forceUpdate) { if (fileName.Length > 0) { diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/Extesnions/VMAccess/SetAzureVMAccessExtensionCmdletInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/Extesnions/VMAccess/SetAzureVMAccessExtensionCmdletInfo.cs index 4ebcfc8bd6cc..bc5853a4d763 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/Extesnions/VMAccess/SetAzureVMAccessExtensionCmdletInfo.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/Extesnions/VMAccess/SetAzureVMAccessExtensionCmdletInfo.cs @@ -20,7 +20,14 @@ namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests { public class SetAzureVMAccessExtensionCmdletInfo:CmdletsInfo { - public SetAzureVMAccessExtensionCmdletInfo(IPersistentVM vm, string userName, string password, string version, string referenceName,bool disable) + public SetAzureVMAccessExtensionCmdletInfo( + IPersistentVM vm, + string userName, + string password, + string version, + string referenceName, + bool disable, + bool forceUpdate) { this.cmdletName = Utilities.SetAzureVMAccessExtensionCmdletName; cmdletParams.Add(new CmdletParam("VM", vm)); @@ -42,7 +49,11 @@ public SetAzureVMAccessExtensionCmdletInfo(IPersistentVM vm, string userName, st } if (disable) { - cmdletParams.Add(new CmdletParam("Disable", disable)); + cmdletParams.Add(new CmdletParam("Disable")); + } + if (forceUpdate) + { + cmdletParams.Add(new CmdletParam("ForceUpdate")); } } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/Generic/SetAzureVMExtensionCmdletInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/Generic/SetAzureVMExtensionCmdletInfo.cs index 611fa38ff6b9..588f5609446e 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/Generic/SetAzureVMExtensionCmdletInfo.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/Generic/SetAzureVMExtensionCmdletInfo.cs @@ -21,7 +21,7 @@ public class SetAzureVMExtensionCmdletInfo: CmdletsInfo { public SetAzureVMExtensionCmdletInfo(IPersistentVM vm, string extensionName, string publisher, string version, string referenceName = null, string publicConfiguration = null, string privateConfiguration = null, string publicConfigKey = null, string privateConfigKey = null, - string publicConfigPath = null,string privateConfigPath = null, bool disable = false) + string publicConfigPath = null,string privateConfigPath = null, bool disable = false, bool forceUpdate = false) { cmdletName = Utilities.SetAzureVMExtensionCmdletName; cmdletParams.Add(new CmdletParam("VM", vm)); @@ -61,6 +61,10 @@ public SetAzureVMExtensionCmdletInfo(IPersistentVM vm, string extensionName, str { cmdletParams.Add(new CmdletParam("PrivateConfigKey", privateConfigKey)); } + if (forceUpdate) + { + cmdletParams.Add(new CmdletParam("ForceUpdate")); + } } } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/SetAzureDataDiskCmdletInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/SetAzureDataDiskCmdletInfo.cs index a0b6edb8c98b..e99efd8ab784 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/SetAzureDataDiskCmdletInfo.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/SetAzureDataDiskCmdletInfo.cs @@ -26,7 +26,15 @@ public SetAzureDataDiskCmdletInfo(SetAzureDataDiskConfig discCfg) this.cmdletParams.Add(new CmdletParam("HostCaching", discCfg.hostCaching)); this.cmdletParams.Add(new CmdletParam("LUN", discCfg.lun)); this.cmdletParams.Add(new CmdletParam("VM", discCfg.Vm)); + } + public SetAzureDataDiskCmdletInfo(SetAzureDataDiskResizeConfig discCfg) + { + cmdletName = Utilities.SetAzureDataDiskCmdletName; + + this.cmdletParams.Add(new CmdletParam("DiskName", discCfg.DiskName)); + this.cmdletParams.Add(new CmdletParam("ResizedSizeInGB", discCfg.ResizedSizeInGB)); + this.cmdletParams.Add(new CmdletParam("VM", discCfg.Vm)); } } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/SetAzureOSDisk.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/SetAzureOSDisk.cs index 26ebcf46f029..9dec245c2290 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/SetAzureOSDisk.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/SetAzureOSDisk.cs @@ -20,11 +20,19 @@ namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests { public class SetAzureOSDiskCmdletInfo : CmdletsInfo { - public SetAzureOSDiskCmdletInfo(HostCaching hs, PersistentVM vm) + public SetAzureOSDiskCmdletInfo(HostCaching? hs, PersistentVM vm, int? resizedSize) { cmdletName = Utilities.SetAzureOSDiskCmdletName; - this.cmdletParams.Add(new CmdletParam("HostCaching", hs.ToString())); + + if (hs != null) + { + this.cmdletParams.Add(new CmdletParam("HostCaching", hs.ToString())); + } this.cmdletParams.Add(new CmdletParam("VM", vm)); + if (resizedSize != null) + { + this.cmdletParams.Add(new CmdletParam("ResizedSizeInGB", resizedSize)); + } } } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/UpdateAzureDiskCmdletInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/UpdateAzureDiskCmdletInfo.cs index 9a508e308f11..b866b9723919 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/UpdateAzureDiskCmdletInfo.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/UpdateAzureDiskCmdletInfo.cs @@ -18,12 +18,20 @@ namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests { public class UpdateAzureDiskCmdletInfo : CmdletsInfo { - public UpdateAzureDiskCmdletInfo(string diskName, string label) + public UpdateAzureDiskCmdletInfo(string diskName, string label, int? resizedSize) { cmdletName = Utilities.UpdateAzureDiskCmdletName; this.cmdletParams.Add(new CmdletParam("DiskName", diskName)); - this.cmdletParams.Add(new CmdletParam("Label", label)); + + if (label != null) + { + this.cmdletParams.Add(new CmdletParam("Label", label)); + } + if (resizedSize != null) + { + this.cmdletParams.Add(new CmdletParam("ResizedSizeInGB", resizedSize)); + } } } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/UpdateAzureVMImageCmdletInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/UpdateAzureVMImageCmdletInfo.cs index 9ead2750dcba..fa3855dccae2 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/UpdateAzureVMImageCmdletInfo.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/IaasCmdletInfo/UpdateAzureVMImageCmdletInfo.cs @@ -52,8 +52,8 @@ public UpdateAzureVMImageCmdletInfo( Uri privacyUri, DateTime publishedDate, string language, - Uri iconUri, - Uri smallIconUri, + string iconName, + string smallIconName, bool showInGui) : this(imageName, label, recommendedSize, null, !showInGui) { @@ -81,13 +81,13 @@ public UpdateAzureVMImageCmdletInfo( { cmdletParams.Add(new CmdletParam("Language", language)); } - if (iconUri != null) + if (!string.IsNullOrEmpty(iconName)) { - cmdletParams.Add(new CmdletParam("IconUri", iconUri)); + cmdletParams.Add(new CmdletParam("IconName", iconName)); } - if (smallIconUri != null) + if (!string.IsNullOrEmpty(smallIconName)) { - cmdletParams.Add(new CmdletParam("SmallIconUri", smallIconUri)); + cmdletParams.Add(new CmdletParam("SmallIconName", smallIconName)); } } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/LocationBasedReservedIPTests.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/LocationBasedReservedIPTests.cs index 808311f1ec46..55cdc4ccc843 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/LocationBasedReservedIPTests.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/LocationBasedReservedIPTests.cs @@ -18,6 +18,7 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.ConfigDataInfo; +using CM=Microsoft.WindowsAzure.Management.Compute.Models; namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests { @@ -61,6 +62,93 @@ public void Cleanup() Utilities.ExecuteAndLog(() => CleanupService(serviceName), "Delete service"); } + [TestMethod(), Priority(0), TestProperty("Feature", "IaaS"), TestCategory(Category.Network), Owner("hylee"), Description("Test the cmdlets (New-AzureReservedIP,Get-AzureReservedIP,Remove-AzureReservedIP)")] + [DataSource("Microsoft.VisualStudio.TestTools.DataSource.CSV", "|DataDirectory|\\Resources\\packageReservedIP.csv", "package#csv", DataAccessMethod.Sequential)] + public void CreateReservedIPThenPaaSVM() + { + try + { + string reservedIpName1 = Utilities.GetUniqueShortName("ResrvdIP1"); ; + string reservedIpName2 = Utilities.GetUniqueShortName("ResrvdIP2"); ; + string reservedIpLabel1 = Utilities.GetUniqueShortName("ResrvdIPLbl", 5); + string reservedIpLabel2 = Utilities.GetUniqueShortName("ResrvdIPLbl", 5); + string dnsName = Utilities.GetUniqueShortName("Dns"); + string deploymentName = Utilities.GetUniqueShortName("Depl"); + var input1 = new ReservedIPContext() + { + DeploymentName = string.Empty, + Label = reservedIpLabel1, + InUse = false, + Location = locationName, + ReservedIPName = reservedIpName1, + State = "Created" + }; + + var input2 = new ReservedIPContext() + { + DeploymentName = string.Empty, + Label = reservedIpLabel2, + InUse = false, + Location = locationName, + ReservedIPName = reservedIpName2, + State = "Created" + }; + + // Reserve a new IP + Utilities.ExecuteAndLog(() => vmPowershellCmdlets.NewAzureReservedIP(reservedIpName1, locationName, reservedIpLabel1), "Reserve a new IP"); + //Get the reserved ip and verify the reserved Ip properties. + VerifyReservedIpNotInUse(input1); + + // Reserve a new IP + Utilities.ExecuteAndLog(() => vmPowershellCmdlets.NewAzureReservedIP(reservedIpName2, locationName, reservedIpLabel2), "Reserve a new IP"); + //Get the reserved ip and verify the reserved Ip properties. + VerifyReservedIpNotInUse(input2); + + vmPowershellCmdlets.NewAzureService(serviceName, locationName); + + + var _packageName = Convert.ToString(TestContext.DataRow["packageName"]); + var _configName1 = Convert.ToString(TestContext.DataRow["configName1"]); + var _configName2 = Convert.ToString(TestContext.DataRow["configName2"]); + var _configName1update = Convert.ToString(TestContext.DataRow["updateConfig1"]); + var _configName2update = Convert.ToString(TestContext.DataRow["updateConfig2"]); + + var _packagePath = new FileInfo(Directory.GetCurrentDirectory() + "\\" + _packageName); + var _configPath1 = new FileInfo(Directory.GetCurrentDirectory() + "\\" + _configName1); + var _configPath2 = new FileInfo(Directory.GetCurrentDirectory() + "\\" + _configName2); + var _configPath1update = new FileInfo(Directory.GetCurrentDirectory() + "\\" + _configName1update); + var _configPath2update = new FileInfo(Directory.GetCurrentDirectory() + "\\" + _configName2update); + + + vmPowershellCmdlets.NewAzureDeployment(serviceName, _packagePath.FullName, _configPath1.FullName, + DeploymentSlotType.Production, "label", deploymentName, false, false); + + vmPowershellCmdlets.NewAzureDeployment(serviceName, _packagePath.FullName, _configPath2.FullName, + DeploymentSlotType.Staging, "label", deploymentName, false, false); + + + + + vmPowershellCmdlets.MoveAzureDeployment(serviceName); + + vmPowershellCmdlets.GetAzureDeployment(serviceName, DeploymentSlotType.Production); + vmPowershellCmdlets.GetAzureDeployment(serviceName, DeploymentSlotType.Staging); + + vmPowershellCmdlets.SetAzureDeploymentConfig(serviceName, DeploymentSlotType.Production, _configPath1update.FullName); + vmPowershellCmdlets.SetAzureDeploymentConfig(serviceName, DeploymentSlotType.Staging, _configPath2update.FullName); + + + + pass = true; + } + catch (Exception ex) + { + pass = false; + Console.WriteLine(ex.ToString()); + throw; + } + } + [TestMethod(), Priority(0), TestProperty("Feature", "IaaS"), TestCategory(Category.Network), Owner("hylee"), Description("Test the cmdlets (New-AzureReservedIP,Get-AzureReservedIP,Remove-AzureReservedIP)")] public void CreateReservedIPThenWindowsVM() { @@ -73,7 +161,6 @@ public void CreateReservedIPThenWindowsVM() string deploymentName = Utilities.GetUniqueShortName("Depl"); var input = new ReservedIPContext() { - //Address = string.Empty, DeploymentName = string.Empty, Label = reservedIpLabel, InUse = false, @@ -109,6 +196,267 @@ public void CreateReservedIPThenWindowsVM() } } + [TestMethod(), Priority(0), TestProperty("Feature", "IaaS"), TestCategory(Category.Network), Owner("avgupt"), Description("Test the cmdlets (Remove-AzureReservedIPAssociation, New-AzureReservedIP,Get-AzureReservedIP,Remove-AzureReservedIP)")] + public void CreatePaaSDeploymentAssociateAndDisassociateReservedIp() + { + try + { + string reservedIpName = Utilities.GetUniqueShortName("ResrvdIP"); + string reservedIpLabel = Utilities.GetUniqueShortName("ResrvdIPLbl", 5); + string deploymentName = Utilities.GetUniqueShortName("Depl"); + string deploymentLabel = Utilities.GetUniqueShortName("DepLbl", 5); + + var input = new ReservedIPContext() + { + DeploymentName = string.Empty, + Label = reservedIpLabel, + InUse = false, + Location = locationName, + ReservedIPName = reservedIpName, + State = "Created" + }; + + // Reserve a new IP + Utilities.ExecuteAndLog(() => vmPowershellCmdlets.NewAzureReservedIP(reservedIpName, locationName, reservedIpLabel), "Reserve a new IP"); + //Get the reserved ip and verify the reserved Ip properties. + VerifyReservedIpNotInUse(input); + // Create a new VM with the reserved ip. + + Utilities.ExecuteAndLog(() => + vmPowershellCmdlets.NewAzureService(serviceName, locationName), + "Create a Hosted Service"); + + Utilities.ExecuteAndLog(() => + vmPowershellCmdlets.NewAzureDeployment(serviceName, + "HelloWorld_SDK20.cspkg", "ServiceConfiguration.cscfg", "Staging", + deploymentLabel, deploymentName, doNotStart: false, warning: false), + "Create a PaaS deployment"); + + + Utilities.ExecuteAndLog(() => + { + vmPowershellCmdlets.SetAzureReservedIPAssociation(reservedIpName, + serviceName, DeploymentSlotType.Staging); + }, "Create a new Azure Reserved IP Association"); + + + VerifyReservedIpInUse(serviceName, input, deploymentName); + + Utilities.ExecuteAndLog(() => + { + vmPowershellCmdlets.RemoveAzureReservedIPAssociation(reservedIpName, + serviceName, true, DeploymentSlotType.Staging); + }, "Remove a new Azure Reserved IP Association"); + + VerifyReservedIpNotInUse(input); + + Utilities.ExecuteAndLog(() => + { + vmPowershellCmdlets.RemoveAzureDeployment(serviceName, "Staging", true); + }, "Remove a new Azure Reserved IP Association"); + } + catch (Exception ex) + { + pass = false; + Console.WriteLine(ex.ToString()); + throw; + } + } + + [TestMethod(), Priority(0), TestProperty("Feature", "IaaS"), TestCategory(Category.Network), Owner("avgupt"), Description("Test the cmdlets (Set-AzureReservedIPAssociation, New-AzureReservedIP,Get-AzureReservedIP,Remove-AzureReservedIP)")] + public void CreateWindowsVMThenAssociateReservedIP() + { + try + { + string reservedIpName = Utilities.GetUniqueShortName("ResrvdIP"); + string reservedIpLabel = Utilities.GetUniqueShortName(" ResrvdIPLbl", 5); + string dnsName = Utilities.GetUniqueShortName("Dns"); + string vmName = Utilities.GetUniqueShortName(vmNamePrefix); + var input = new ReservedIPContext() + { + DeploymentName = string.Empty, + Label = reservedIpLabel, + InUse = false, + Location = locationName, + ReservedIPName = reservedIpName, + State = "Created" + }; + + // Reserve a new IP + Utilities.ExecuteAndLog(() => vmPowershellCmdlets.NewAzureReservedIP(reservedIpName, locationName, reservedIpLabel), "Reserve a new IP"); + //Get the reserved ip and verify the reserved Ip properties. + VerifyReservedIpNotInUse(input); + // Create a new VM with the reserved ip. + DnsServer dns = null; + Utilities.ExecuteAndLog(() => { dns = vmPowershellCmdlets.NewAzureDns(dnsName, DNS_IP); }, "Create a new Azure DNS"); + Utilities.ExecuteAndLog(() => + { + PersistentVM vm = CreateVMObjectWithDataDiskSubnetAndAvailibilitySet(vmName, OS.Windows); + vmPowershellCmdlets.NewAzureVM(serviceName, new[] { vm }, vnet, new[] { dns }, location: locationName); + }, "Create a new windows azure vm without reserved ip."); + + Utilities.ExecuteAndLog(() => { vmPowershellCmdlets.SetAzureReservedIPAssociation(reservedIpName, serviceName); }, "Create a new Azure Reserved IP Association"); + + + VerifyReservedIpInUse(serviceName, input); + Utilities.ExecuteAndLog(() => vmPowershellCmdlets.RemoveAzureVM(vmName, serviceName, true), "Remove Azure VM and verify that a warning is given."); + VerifyReservedIpNotInUse(input); + Utilities.ExecuteAndLog(() => vmPowershellCmdlets.RemoveAzureReservedIP(reservedIpName, true), "Release the reserved ip"); + VerifyReservedIpRemoved(reservedIpName); + pass = true; + } + catch (Exception ex) + { + pass = false; + Console.WriteLine(ex.ToString()); + throw; + } + } + + [TestMethod(), Priority(0), TestProperty("Feature", "IaaS"), TestCategory(Category.Network), Owner("avgupt"), Description("Expected failure when trying to associate to staging slot in IaaS (Set-AzureReservedIPAssociation, New-AzureReservedIP,Get-AzureReservedIP,Remove-AzureReservedIP)")] + public void TestAssociateReservedIPToStageSlotIaaSFails() + { + try + { + string reservedIpName = Utilities.GetUniqueShortName("ResrvdIP"); + string reservedIpLabel = Utilities.GetUniqueShortName(" ResrvdIPLbl", 5); + string dnsName = Utilities.GetUniqueShortName("Dns"); + string vmName = Utilities.GetUniqueShortName(vmNamePrefix); + var input = new ReservedIPContext() + { + DeploymentName = string.Empty, + Label = reservedIpLabel, + InUse = false, + Location = locationName, + ReservedIPName = reservedIpName, + State = "Created" + }; + + // Reserve a new IP + Utilities.ExecuteAndLog(() => vmPowershellCmdlets.NewAzureReservedIP(reservedIpName, locationName, reservedIpLabel), "Reserve a new IP"); + //Get the reserved ip and verify the reserved Ip properties. + VerifyReservedIpNotInUse(input); + // Create a new VM with the reserved ip. + DnsServer dns = null; + Utilities.ExecuteAndLog(() => { dns = vmPowershellCmdlets.NewAzureDns(dnsName, DNS_IP); }, "Create a new Azure DNS"); + Utilities.ExecuteAndLog(() => + { + PersistentVM vm = CreateVMObjectWithDataDiskSubnetAndAvailibilitySet(vmName, OS.Windows); + vmPowershellCmdlets.NewAzureVM(serviceName, new[] { vm }, vnet, new[] { dns }, location: locationName); + }, "Create a new windows azure vm without reserved ip."); + + Utilities.ExecuteAndLog(() => { vmPowershellCmdlets.SetAzureReservedIPAssociation(reservedIpName, + serviceName, DeploymentSlotType.Staging); }, "Create a new Azure Reserved IP Association"); + } + catch (Exception ex) + { + pass = true; + Console.WriteLine(ex.ToString()); + return; + } + throw new Exception("Test Did not fail as expected when association was tried on stage slot in IaaS"); + } + + [TestMethod(), Priority(0), TestProperty("Feature", "IaaS"), TestCategory(Category.Network), Owner("avgupt"), Description("Test the cmdlets (Remove-AzureReservedIPAssociation, New-AzureReservedIP,Get-AzureReservedIP,Remove-AzureReservedIP)")] + public void CreateWindowsVMWithReservedIPThenDisassociateReservedIP() + { + try + { + string reservedIpName = Utilities.GetUniqueShortName("ResrvdIP"); + string reservedIpLabel = Utilities.GetUniqueShortName(" ResrvdIPLbl", 5); + string dnsName = Utilities.GetUniqueShortName("Dns"); + string vmName = Utilities.GetUniqueShortName(vmNamePrefix); + var input = new ReservedIPContext() + { + DeploymentName = string.Empty, + Label = reservedIpLabel, + InUse = false, + Location = locationName, + ReservedIPName = reservedIpName, + State = "Created" + }; + + // Reserve a new IP + Utilities.ExecuteAndLog(() => vmPowershellCmdlets.NewAzureReservedIP(reservedIpName, locationName, reservedIpLabel), "Reserve a new IP"); + //Get the reserved ip and verify the reserved Ip properties. + VerifyReservedIpNotInUse(input); + // Create a new VM with the reserved ip. + DnsServer dns = null; + Utilities.ExecuteAndLog(() => { dns = vmPowershellCmdlets.NewAzureDns(dnsName, DNS_IP); }, "Create a new Azure DNS"); + Utilities.ExecuteAndLog(() => + { + PersistentVM vm = CreateVMObjectWithDataDiskSubnetAndAvailibilitySet(vmName, OS.Windows); + vmPowershellCmdlets.NewAzureVM(serviceName, new[] { vm }, vnet, new[] { dns }, location: locationName, reservedIPName: reservedIpName); + }, "Create a new windows azure vm with reserved ip."); + + VerifyReservedIpInUse(serviceName, input); + + Utilities.ExecuteAndLog(() => { vmPowershellCmdlets.RemoveAzureReservedIPAssociation(reservedIpName, serviceName, true); }, "Remove an Azure Reserved IP Association"); + + VerifyReservedIpNotInUse(input); + Utilities.ExecuteAndLog(() => vmPowershellCmdlets.RemoveAzureVM(vmName, serviceName, true), "Remove Azure VM and verify that a warning is given."); + Utilities.ExecuteAndLog(() => vmPowershellCmdlets.RemoveAzureReservedIP(reservedIpName, true), "Release the reserved ip"); + VerifyReservedIpRemoved(reservedIpName); + pass = true; + } + catch (Exception ex) + { + pass = false; + Console.WriteLine(ex.ToString()); + throw; + } + } + + [TestMethod(), Priority(0), TestProperty("Feature", "IaaS"), TestCategory(Category.Network), Owner("avgupt"), Description("Test the cmdlets (New-AzureReservedIP, Remove-AzureReservedIPAssociation, Get-AzureReservedIP,Remove-AzureReservedIP)")] + public void CreateWindowsVMThenReservedExistingIP() + { + try + { + string reservedIpName = Utilities.GetUniqueShortName("ResrvdIP"); + string reservedIpLabel = Utilities.GetUniqueShortName(" ResrvdIPLbl", 5); + string dnsName = Utilities.GetUniqueShortName("Dns"); + string vmName = Utilities.GetUniqueShortName(vmNamePrefix); + string deploymentName = Utilities.GetUniqueShortName("Depl"); + var input = new ReservedIPContext() + { + DeploymentName = string.Empty, + Label = reservedIpLabel, + InUse = false, + Location = locationName, + ReservedIPName = reservedIpName, + State = "Created" + }; + + // Create a new VM with the reserved ip. + DnsServer dns = null; + Utilities.ExecuteAndLog(() => { dns = vmPowershellCmdlets.NewAzureDns(dnsName, DNS_IP); }, "Create a new Azure DNS"); + Utilities.ExecuteAndLog(() => + { + PersistentVM vm = CreateVMObjectWithDataDiskSubnetAndAvailibilitySet(vmName, OS.Windows); + vmPowershellCmdlets.NewAzureVM(serviceName, new[] { vm }, vnet, new[] { dns }, location: locationName); + }, "Create a new windows azure vm without reserved ip."); + + // Reserve an existing IP + Utilities.ExecuteAndLog(() => vmPowershellCmdlets.NewAzureReservedIP(reservedIpName, locationName, serviceName, reservedIpLabel), "Reserve existing deployment IP"); + + VerifyReservedIpInUse(serviceName, input); + + Utilities.ExecuteAndLog(() => { vmPowershellCmdlets.RemoveAzureReservedIPAssociation(reservedIpName, serviceName, true); }, "Remove an Azure Reserved IP Association"); + + VerifyReservedIpNotInUse(input); + Utilities.ExecuteAndLog(() => vmPowershellCmdlets.RemoveAzureVM(vmName, serviceName, true), "Remove Azure VM and verify that a warning is given."); + Utilities.ExecuteAndLog(() => vmPowershellCmdlets.RemoveAzureReservedIP(reservedIpName, true), "Release the reserved ip"); + VerifyReservedIpRemoved(reservedIpName); + pass = true; + } + catch (Exception ex) + { + pass = false; + Console.WriteLine(ex.ToString()); + throw; + } + } + [TestMethod(), Priority(0), TestProperty("Feature", "IaaS"), TestCategory(Category.Network), Owner("hylee"), Description("Test the cmdlets (New-AzureReservedIP,Get-AzureReservedIP,Remove-AzureReservedIP)")] public void CreateReservedIPThenLinuxVM() { @@ -122,7 +470,6 @@ public void CreateReservedIPThenLinuxVM() string affinityGroup = Utilities.GetUniqueShortName("AffGrp"); var input = new ReservedIPContext() { - //Address = string.Empty, DeploymentName = string.Empty, Label = reservedIpLabel, InUse = false, @@ -177,7 +524,6 @@ public void CreateReservedIPThenWindowsQuickVM() string affinityGroup = Utilities.GetUniqueShortName("AffGrp"); var input = new ReservedIPContext() { - //Address = string.Empty, DeploymentName = string.Empty, Label = reservedIpLabel, InUse = false, @@ -224,7 +570,6 @@ public void CreateReservedIPThenLinuxQuickVM() string affinityGroup = Utilities.GetUniqueShortName("AffGrp"); var input = new ReservedIPContext() { - //Address = string.Empty, DeploymentName = string.Empty, Label = reservedIpLabel, InUse = false, @@ -292,11 +637,11 @@ private void VerifyReservedIpNotInUse(ReservedIPContext input) Utilities.ExecuteAndLog(() => VerifyReservedIp(input), string.Format("Verify that the reserved ip {0} is not in use", input.ReservedIPName)); } - private void VerifyReservedIpInUse(string serviceName,ReservedIPContext input) + private void VerifyReservedIpInUse(string serviceName,ReservedIPContext input, string deploymentName = null) { input.ServiceName = serviceName; input.InUse = true; - input.DeploymentName = serviceName; + input.DeploymentName = deploymentName ?? serviceName; Utilities.ExecuteAndLog(() => VerifyReservedIp(input), string.Format("Verify that the reserved ip {0} is in use", input.ReservedIPName)); } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/NetworkCmdletInfo/NewAzureReservedIPCmdletInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/NetworkCmdletInfo/NewAzureReservedIPCmdletInfo.cs index 97bd4b84bf96..5cae8ef2f444 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/NetworkCmdletInfo/NewAzureReservedIPCmdletInfo.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/NetworkCmdletInfo/NewAzureReservedIPCmdletInfo.cs @@ -13,6 +13,7 @@ // ---------------------------------------------------------------------------------- using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.PowershellCore; +using Microsoft.WindowsAzure.Management.Compute.Models; namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.NetworkCmdletInfo { @@ -30,5 +31,13 @@ public NewAzureReservedIPCmdletInfo(string name, string location, string label) this.cmdletParams.Add(new CmdletParam("Label", label)); } } + + public NewAzureReservedIPCmdletInfo(string name, string location, string serviceName, string slot, string label): this(name, location, label) + { + this.cmdletName = Utilities.NewAzureReservedIPCmdletName; + + this.cmdletParams.Add(new CmdletParam("ServiceName", serviceName)); + this.cmdletParams.Add(new CmdletParam("Slot", slot)); + } } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/NetworkCmdletInfo/RemoveAzureReservedIPAssociationCmdletInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/NetworkCmdletInfo/RemoveAzureReservedIPAssociationCmdletInfo.cs new file mode 100644 index 000000000000..26259fb24d0e --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/NetworkCmdletInfo/RemoveAzureReservedIPAssociationCmdletInfo.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 Microsoft.WindowsAzure.Commands.ServiceManagement.Model; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.PowershellCore; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.NetworkCmdletInfo +{ + class RemoveAzureReservedIPAssociationCmdletInfo : CmdletsInfo + { + public RemoveAzureReservedIPAssociationCmdletInfo(string reservedIpName, string serviceName, string slot, bool force) + { + this.cmdletName = Utilities.RemoveAzureReservedIPAssociationCmdletName; + + this.cmdletParams.Add(new CmdletParam("ReservedIPName", reservedIpName)); + this.cmdletParams.Add(new CmdletParam("ServiceName", serviceName)); + this.cmdletParams.Add(new CmdletParam("Slot", slot)); + if (force) + { + this.cmdletParams.Add(new CmdletParam("Force")); + } + } + public RemoveAzureReservedIPAssociationCmdletInfo(string reservedIpName, string serviceName) + : this(reservedIpName, serviceName, DeploymentSlotType.Production, true) + { + } + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/NetworkCmdletInfo/SetAzureReservedIPAssociationCmdletInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/NetworkCmdletInfo/SetAzureReservedIPAssociationCmdletInfo.cs new file mode 100644 index 000000000000..cf855fca028d --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/NetworkCmdletInfo/SetAzureReservedIPAssociationCmdletInfo.cs @@ -0,0 +1,35 @@ +// ---------------------------------------------------------------------------------- +// +// 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.ServiceManagement.Model; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.PowershellCore; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.NetworkCmdletInfo +{ + public class SetAzureReservedIPAssociationCmdletInfo : CmdletsInfo + { + public SetAzureReservedIPAssociationCmdletInfo(string reservedIpName, string serviceName, string slot) + { + this.cmdletName = Utilities.SetAzureReservedIPAssociationCmdletName; + + this.cmdletParams.Add(new CmdletParam("ReservedIPName", reservedIpName)); + this.cmdletParams.Add(new CmdletParam("ServiceName", serviceName)); + this.cmdletParams.Add(new CmdletParam("Slot", slot)); + } + public SetAzureReservedIPAssociationCmdletInfo(string reservedIpName, string serviceName) : this(reservedIpName, serviceName, DeploymentSlotType.Production) + { + } + + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/NewAzureVmTests.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/NewAzureVmTests.cs index 78652df7f56c..8ab76cf6f05c 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/NewAzureVmTests.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/NewAzureVmTests.cs @@ -29,6 +29,7 @@ namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests public class NewAzureVmTests:ServiceManagementTest { private string _serviceName; + private string _vmName; private string _linuxImageName; const string CerFileName = "testcert.cer"; X509Certificate2 _installedCert; @@ -44,18 +45,96 @@ public void Intialize() _linuxImageName = vmPowershellCmdlets.GetAzureVMImageName(new[] { "Linux" }, false); InstallCertificate(); keyPath = Directory.GetCurrentDirectory() + Utilities.GetUniqueShortName() + ".txt"; + _serviceName = Utilities.GetUniqueShortName(serviceNamePrefix); + _vmName = Utilities.GetUniqueShortName("vm"); } + [TestMethod(), TestCategory(Category.Scenario), TestProperty("Feature", "Iaas"), Priority(1), Owner("hylee"), Description("Test the cmdlets (New-AzureVMConfig,Add-AzureProvisioningConfig,New-AzureVM)")] - public void NewAzureVMWithLinuxAndNoSSHEnpoint() + public void NewAzureVMWithResizeDiskTest() { + imageName = vmPowershellCmdlets.GetAzureVMImageName(new[] { "Windows" }, false, 50); + string newVMImageName = Utilities.GetUniqueShortName("vmimage"); + const int newDiskSize = 100; + try { - _serviceName = Utilities.GetUniqueShortName(serviceNamePrefix); - string newAzureLinuxVMName = Utilities.GetUniqueShortName("PSLinuxVM"); + vmPowershellCmdlets.NewAzureQuickVM(OS.Windows, _vmName, _serviceName, imageName, username, password, locationName); + Console.WriteLine("Service Name: {0} is created. VM: {1} is created.", _serviceName, _vmName); + + string diskLabel1 = "disk1"; + int diskSize1 = 30; + int lunSlot1 = 0; + + string diskLabel2 = "disk2"; + int diskSize2 = 50; + int lunSlot2 = 2; + + AddAzureDataDiskConfig dataDiskInfo1 = new AddAzureDataDiskConfig(DiskCreateOption.CreateNew, diskSize1, diskLabel1, lunSlot1); + AddAzureDataDiskConfig dataDiskInfo2 = new AddAzureDataDiskConfig(DiskCreateOption.CreateNew, diskSize2, diskLabel2, lunSlot2); + + vmPowershellCmdlets.AddDataDisk(_vmName, _serviceName, new[] { dataDiskInfo1, dataDiskInfo2 }); + + vmPowershellCmdlets.SaveAzureVMImage(_serviceName, _vmName, newVMImageName, "Specialized"); + + var newImage = vmPowershellCmdlets.GetAzureVMImageReturningVMImages(newVMImageName).FirstOrDefault(); + + foreach (var disk in newImage.DataDiskConfigurations) + { + Utilities.PrintContextAndItsBase(disk); + } + + string disk1 = newImage.DataDiskConfigurations[0].Name; + string disk2 = newImage.DataDiskConfigurations[1].Name; + + vmPowershellCmdlets.RemoveAzureService(_serviceName); + + // Add-AzureProvisioningConfig with NoSSHEndpoint + var vm = vmPowershellCmdlets.NewAzureVMConfig(new AzureVMConfigInfo(_vmName, InstanceSize.Small.ToString(), newVMImageName)); + vm = vmPowershellCmdlets.SetAzureDataDisk(new SetAzureDataDiskResizeConfig(disk1, newDiskSize, vm)); + vm = vmPowershellCmdlets.SetAzureDataDisk(new SetAzureDataDiskResizeConfig(disk2, newDiskSize, vm)); + vm = vmPowershellCmdlets.SetAzureOSDisk(null, vm, newDiskSize); + + // New-AzureVM + vmPowershellCmdlets.NewAzureVM(_serviceName, new[] { vm }, locationName); + Console.WriteLine("New Azure service with name:{0} created successfully.", _serviceName); + + // Validate disk sizes + var returnedVM = vmPowershellCmdlets.GetAzureVM(_vmName, _serviceName); + foreach (var disk in returnedVM.VM.DataVirtualHardDisks) + { + Utilities.PrintContextAndItsBase(disk); + } + Assert.AreEqual(newDiskSize, returnedVM.VM.DataVirtualHardDisks[0].LogicalDiskSizeInGB); + Assert.AreEqual(newDiskSize, returnedVM.VM.DataVirtualHardDisks[1].LogicalDiskSizeInGB); + + pass = true; + } + catch (Exception ex) + { + Console.WriteLine(ex.Message); + if (ex.InnerException != null) + { + Console.WriteLine(ex.InnerException); + } + throw; + } + finally + { + vmPowershellCmdlets.RemoveAzureService(_serviceName); + vmPowershellCmdlets.RemoveAzureVMImage(newVMImageName,true); + } + } + + + [TestMethod(), TestCategory(Category.Scenario), TestProperty("Feature", "Iaas"), Priority(1), Owner("hylee"), Description("Test the cmdlets (New-AzureVMConfig,Add-AzureProvisioningConfig,New-AzureVM)")] + public void NewAzureVMWithLinuxAndNoSSHEnpoint() + { + try + { // Add-AzureProvisioningConfig with NoSSHEndpoint - var azureVMConfigInfo = new AzureVMConfigInfo(newAzureLinuxVMName, InstanceSize.Small.ToString(), _linuxImageName); + var azureVMConfigInfo = new AzureVMConfigInfo(_vmName, InstanceSize.Small.ToString(), _linuxImageName); var azureProvisioningConfig = new AzureProvisioningConfigInfo(username, password, true); var persistentVMConfigInfo = new PersistentVMConfigInfo(azureVMConfigInfo, azureProvisioningConfig, null, null); PersistentVM vm = vmPowershellCmdlets.GetPersistentVM(persistentVMConfigInfo); @@ -63,7 +142,7 @@ public void NewAzureVMWithLinuxAndNoSSHEnpoint() // New-AzureVM vmPowershellCmdlets.NewAzureVM(_serviceName, new[] { vm }, locationName); Console.WriteLine("New Azure service with name:{0} created successfully.", _serviceName); - Collection endpoints = vmPowershellCmdlets.GetAzureEndPoint(vmPowershellCmdlets.GetAzureVM(newAzureLinuxVMName, _serviceName)); + Collection endpoints = vmPowershellCmdlets.GetAzureEndPoint(vmPowershellCmdlets.GetAzureVM(_vmName, _serviceName)); Console.WriteLine("The number of endpoints: {0}", endpoints.Count); foreach (var ep in endpoints) @@ -86,11 +165,8 @@ public void NewAzureVMWithLinuxAndNoSSHEnpoint() Description("Test the cmdlets (New-AzureVMConfig,Add-AzureProvisioningConfig,New-AzureVM) and verifies a that a linux vm can be created with out password")] public void NewAzureLinuxVMWithoutPasswordAndNoSSHEnpoint() { - try { - _serviceName = Utilities.GetUniqueShortName(serviceNamePrefix); - //Create service vmPowershellCmdlets.NewAzureService(_serviceName, locationName); @@ -99,14 +175,12 @@ public void NewAzureLinuxVMWithoutPasswordAndNoSSHEnpoint() String.Format("Get-Item cert:\\{0}\\{1}\\{2}", certStoreLocation.ToString(), certStoreName.ToString(), _installedCert.Thumbprint))[0]; vmPowershellCmdlets.AddAzureCertificate(_serviceName, certToUpload); - string newAzureLinuxVMName = Utilities.GetUniqueShortName("PSLinuxVM"); - var key = vmPowershellCmdlets.NewAzureSSHKey(NewAzureSshKeyType.PublicKey, _installedCert.Thumbprint, keyPath); var sshKeysList = new Model.LinuxProvisioningConfigurationSet.SSHPublicKeyList(); sshKeysList.Add(key); // Add-AzureProvisioningConfig without password and NoSSHEndpoint - var azureVMConfigInfo = new AzureVMConfigInfo(newAzureLinuxVMName, InstanceSize.Small.ToString(), _linuxImageName); + var azureVMConfigInfo = new AzureVMConfigInfo(_vmName, InstanceSize.Small.ToString(), _linuxImageName); var azureProvisioningConfig = new AzureProvisioningConfigInfo(username, noSshEndpoint: true, sSHPublicKeyList: sshKeysList); var persistentVMConfigInfo = new PersistentVMConfigInfo(azureVMConfigInfo, azureProvisioningConfig, null, null); PersistentVM vm = vmPowershellCmdlets.GetPersistentVM(persistentVMConfigInfo); @@ -114,7 +188,7 @@ public void NewAzureLinuxVMWithoutPasswordAndNoSSHEnpoint() // New-AzureVM vmPowershellCmdlets.NewAzureVM(_serviceName, new[] { vm }); Console.WriteLine("New Azure service with name:{0} created successfully.", _serviceName); - Collection endpoints = vmPowershellCmdlets.GetAzureEndPoint(vmPowershellCmdlets.GetAzureVM(newAzureLinuxVMName, _serviceName)); + Collection endpoints = vmPowershellCmdlets.GetAzureEndPoint(vmPowershellCmdlets.GetAzureVM(_vmName, _serviceName)); Console.WriteLine("The number of endpoints: {0}", endpoints.Count); foreach (var ep in endpoints) @@ -136,12 +210,8 @@ public void NewAzureVMWithLinuxAndDisableSSH() { try { - _serviceName = Utilities.GetUniqueShortName(serviceNamePrefix); - string newAzureLinuxVMName = Utilities.GetUniqueShortName("PSLinuxVM"); - string linuxImageName = vmPowershellCmdlets.GetAzureVMImageName(new[] { "Linux" }, false); - // Add-AzureProvisioningConfig with DisableSSH option - var azureVMConfigInfo = new AzureVMConfigInfo(newAzureLinuxVMName, InstanceSize.Small.ToString(), linuxImageName); + var azureVMConfigInfo = new AzureVMConfigInfo(_vmName, InstanceSize.Small.ToString(), _linuxImageName); var azureProvisioningConfig = new AzureProvisioningConfigInfo(username, password, false, true); var persistentVMConfigInfo = new PersistentVMConfigInfo(azureVMConfigInfo, azureProvisioningConfig, null, null); PersistentVM vm = vmPowershellCmdlets.GetPersistentVM(persistentVMConfigInfo); @@ -149,7 +219,7 @@ public void NewAzureVMWithLinuxAndDisableSSH() // New-AzureVM vmPowershellCmdlets.NewAzureVM(_serviceName, new[] { vm }, locationName); Console.WriteLine("New Azure service with name:{0} created successfully.", _serviceName); - Collection endpoints = vmPowershellCmdlets.GetAzureEndPoint(vmPowershellCmdlets.GetAzureVM(newAzureLinuxVMName, _serviceName)); + Collection endpoints = vmPowershellCmdlets.GetAzureEndPoint(vmPowershellCmdlets.GetAzureVM(_vmName, _serviceName)); Console.WriteLine("The number of endpoints: {0}", endpoints.Count); foreach (var ep in endpoints) @@ -171,14 +241,11 @@ public void NewAzureVMWithWindowsAndCustomData() { try { - _serviceName = Utilities.GetUniqueShortName(serviceNamePrefix); - string newAzureVMName = Utilities.GetUniqueShortName("PSWinVM"); - var customDataFile = @".\CustomData.bin"; var customDataContent = File.ReadAllText(customDataFile); // Add-AzureProvisioningConfig with X509Certificate - var azureVMConfigInfo = new AzureVMConfigInfo(newAzureVMName, InstanceSize.Small.ToString(), imageName); + var azureVMConfigInfo = new AzureVMConfigInfo(_vmName, InstanceSize.Small.ToString(), imageName); var azureProvisioningConfig = new AzureProvisioningConfigInfo(username, password, customDataFile); var persistentVMConfigInfo = new PersistentVMConfigInfo(azureVMConfigInfo, azureProvisioningConfig, null, null); PersistentVM vm = vmPowershellCmdlets.GetPersistentVM(persistentVMConfigInfo); @@ -188,7 +255,7 @@ public void NewAzureVMWithWindowsAndCustomData() Console.WriteLine("New Azure service with name:{0} created successfully.", _serviceName); // Get-AzureVM - var vmContext = vmPowershellCmdlets.GetAzureVM(newAzureVMName, _serviceName); + var vmContext = vmPowershellCmdlets.GetAzureVM(_vmName, _serviceName); // Get-AzureCertificate var winRmCert = vmPowershellCmdlets.GetAzureCertificate(_serviceName, vmContext.VM.DefaultWinRmCertificateThumbprint, "sha1").First(); @@ -196,7 +263,7 @@ public void NewAzureVMWithWindowsAndCustomData() // Install the WinRM cert to the local machine's root location. InstallCertificate(winRmCert, StoreLocation.LocalMachine, StoreName.Root); - var connUri = vmPowershellCmdlets.GetAzureWinRMUri(_serviceName, newAzureVMName); + var connUri = vmPowershellCmdlets.GetAzureWinRMUri(_serviceName, _vmName); var cred = new PSCredential(username, Utilities.convertToSecureString(password)); Utilities.RetryActionUntilSuccess(() => @@ -223,13 +290,8 @@ public void NewAzureVMWithLinuxAndCustomData() { try { - _serviceName = Utilities.GetUniqueShortName(serviceNamePrefix); - - string newAzureLinuxVMName = Utilities.GetUniqueShortName("PSLinuxVM"); - string linuxImageName = vmPowershellCmdlets.GetAzureVMImageName(new[] { "Linux" }, false); - // Add-AzureProvisioningConfig without NoSSHEndpoint or DisableSSH option - var azureVMConfigInfo = new AzureVMConfigInfo(newAzureLinuxVMName, InstanceSize.Small.ToString(), linuxImageName); + var azureVMConfigInfo = new AzureVMConfigInfo(_vmName, InstanceSize.Small.ToString(), _linuxImageName); var azureProvisioningConfig = new AzureProvisioningConfigInfo(username, password, false, false, null, null, false, @".\cloudinittest.sh"); var persistentVMConfigInfo = new PersistentVMConfigInfo(azureVMConfigInfo, azureProvisioningConfig, null, null); PersistentVM vm = vmPowershellCmdlets.GetPersistentVM(persistentVMConfigInfo); @@ -237,7 +299,7 @@ public void NewAzureVMWithLinuxAndCustomData() // New-AzureVM vmPowershellCmdlets.NewAzureVM(_serviceName, new[] { vm }, locationName); Console.WriteLine("New Azure service with name:{0} created successfully.", _serviceName); - Collection endpoints = vmPowershellCmdlets.GetAzureEndPoint(vmPowershellCmdlets.GetAzureVM(newAzureLinuxVMName, _serviceName)); + Collection endpoints = vmPowershellCmdlets.GetAzureEndPoint(vmPowershellCmdlets.GetAzureVM(_vmName, _serviceName)); Console.WriteLine("The number of endpoints: {0}", endpoints.Count); foreach (var ep in endpoints) @@ -259,13 +321,8 @@ public void NewAzureVMWithLinux() { try { - _serviceName = Utilities.GetUniqueShortName(serviceNamePrefix); - - string newAzureLinuxVMName = Utilities.GetUniqueShortName("PSLinuxVM"); - string linuxImageName = vmPowershellCmdlets.GetAzureVMImageName(new[] { "Linux" }, false); - // Add-AzureProvisioningConfig without NoSSHEndpoint or DisableSSH option - var azureVMConfigInfo = new AzureVMConfigInfo(newAzureLinuxVMName, InstanceSize.Small.ToString(), linuxImageName); + var azureVMConfigInfo = new AzureVMConfigInfo(_vmName, InstanceSize.Small.ToString(), _linuxImageName); var azureProvisioningConfig = new AzureProvisioningConfigInfo(username, password); var persistentVMConfigInfo = new PersistentVMConfigInfo(azureVMConfigInfo, azureProvisioningConfig, null, null); PersistentVM vm = vmPowershellCmdlets.GetPersistentVM(persistentVMConfigInfo); @@ -273,7 +330,7 @@ public void NewAzureVMWithLinux() // New-AzureVM vmPowershellCmdlets.NewAzureVM(_serviceName, new[] { vm }, locationName); Console.WriteLine("New Azure service with name:{0} created successfully.", _serviceName); - Collection endpoints = vmPowershellCmdlets.GetAzureEndPoint(vmPowershellCmdlets.GetAzureVM(newAzureLinuxVMName, _serviceName)); + Collection endpoints = vmPowershellCmdlets.GetAzureEndPoint(vmPowershellCmdlets.GetAzureVM(_vmName, _serviceName)); Console.WriteLine("The number of endpoints: {0}", endpoints.Count); foreach (var ep in endpoints) @@ -295,14 +352,7 @@ public void NewAzureVMWithLinuxAndNoSSHEnpointAndDisableSSH() { try { - _serviceName = Utilities.GetUniqueShortName(serviceNamePrefix); - - // New-AzureVMConfig - string newAzureLinuxVMName = Utilities.GetUniqueShortName("PSLinuxVM"); - string linuxImageName = vmPowershellCmdlets.GetAzureVMImageName(new[] { "Linux" }, false); - - // Add-AzureProvisioningConfig - var azureVMConfigInfo = new AzureVMConfigInfo(newAzureLinuxVMName, InstanceSize.Small.ToString(), linuxImageName); + var azureVMConfigInfo = new AzureVMConfigInfo(_vmName, InstanceSize.Small.ToString(), _linuxImageName); var azureProvisioningConfig = new AzureProvisioningConfigInfo(username, password, true, true); var persistentVMConfigInfo = new PersistentVMConfigInfo(azureVMConfigInfo, azureProvisioningConfig, null, null); PersistentVM vm = vmPowershellCmdlets.GetPersistentVM(persistentVMConfigInfo); @@ -310,7 +360,7 @@ public void NewAzureVMWithLinuxAndNoSSHEnpointAndDisableSSH() // New-AzureVM vmPowershellCmdlets.NewAzureVM(_serviceName, new[] { vm }, locationName); Console.WriteLine("New Azure service with name:{0} created successfully.", _serviceName); - Collection endpoints = vmPowershellCmdlets.GetAzureEndPoint(vmPowershellCmdlets.GetAzureVM(newAzureLinuxVMName, _serviceName)); + Collection endpoints = vmPowershellCmdlets.GetAzureEndPoint(vmPowershellCmdlets.GetAzureVM(_vmName, _serviceName)); Console.WriteLine("The number of endpoints: {0}", endpoints.Count); foreach (var ep in endpoints) @@ -330,7 +380,6 @@ public void NewAzureVMWithLinuxAndNoSSHEnpointAndDisableSSH() [TestMethod(), TestCategory(Category.Scenario), TestProperty("Feature", "Iaas"), Priority(1), Owner("hylee"), Description("Test the cmdlets (New-AzureVMConfig,Add-AzureProvisioningConfig,New-AzureVM)")] public void NewAzureVMWithLocation() { - _serviceName = Utilities.GetUniqueShortName(serviceNamePrefix); string _altLocation = GetAlternateLocation(locationName); try @@ -338,12 +387,7 @@ public void NewAzureVMWithLocation() // New-AzureService vmPowershellCmdlets.NewAzureService(_serviceName, locationName); - // New-AzureVMConfig - string newAzureVMName = Utilities.GetUniqueShortName("PSVM"); - string imageName = vmPowershellCmdlets.GetAzureVMImageName(new[] { "Windows" }, false); - - // Add-AzureProvisioningConfig - var azureVMConfigInfo = new AzureVMConfigInfo(newAzureVMName, InstanceSize.Small.ToString(), imageName); + var azureVMConfigInfo = new AzureVMConfigInfo(_vmName, InstanceSize.Small.ToString(), imageName); var azureProvisioningConfig = new AzureProvisioningConfigInfo(OS.Windows, username, password); var persistentVMConfigInfo = new PersistentVMConfigInfo(azureVMConfigInfo, azureProvisioningConfig, null, null); PersistentVM vm = vmPowershellCmdlets.GetPersistentVM(persistentVMConfigInfo); @@ -368,7 +412,7 @@ public void NewAzureVMWithLocation() vmPowershellCmdlets.NewAzureVM(_serviceName, new[] { vm }, locationName); Console.WriteLine("New Azure service with name:{0} created successfully.", _serviceName); - var vmReturned = vmPowershellCmdlets.GetAzureVM(newAzureVMName, _serviceName); + var vmReturned = vmPowershellCmdlets.GetAzureVM(_vmName, _serviceName); Utilities.PrintContext(vmReturned); Assert.AreEqual(_serviceName, vmReturned.ServiceName); @@ -384,7 +428,6 @@ public void NewAzureVMWithLocation() [TestMethod(), TestCategory(Category.Scenario), TestProperty("Feature", "Iaas"), Priority(1), Owner("hylee"), Description("Test the cmdlets (New-AzureVMConfig,Add-AzureProvisioningConfig,New-AzureVM)")] public void NewAzureVMWithAffinityGroup() { - _serviceName = Utilities.GetUniqueShortName(serviceNamePrefix); string _affiniyGroupName1 = Utilities.GetUniqueShortName("aff"); string _affiniyGroupName2 = Utilities.GetUniqueShortName("aff"); @@ -395,12 +438,8 @@ public void NewAzureVMWithAffinityGroup() vmPowershellCmdlets.NewAzureAffinityGroup(_affiniyGroupName2, locationName, "location2", "location2"); vmPowershellCmdlets.NewAzureService(_serviceName, "service1", null, _affiniyGroupName1); - // New-AzureVMConfig - string newAzureVMName = Utilities.GetUniqueShortName("PSVM"); - string imageName = vmPowershellCmdlets.GetAzureVMImageName(new[] { "Windows" }, false); - // Add-AzureProvisioningConfig - var azureVMConfigInfo = new AzureVMConfigInfo(newAzureVMName, InstanceSize.Small.ToString(), imageName); + var azureVMConfigInfo = new AzureVMConfigInfo(_vmName, InstanceSize.Small.ToString(), imageName); var azureProvisioningConfig = new AzureProvisioningConfigInfo(OS.Windows, username, password); var persistentVMConfigInfo = new PersistentVMConfigInfo(azureVMConfigInfo, azureProvisioningConfig, null, null); PersistentVM vm = vmPowershellCmdlets.GetPersistentVM(persistentVMConfigInfo); @@ -425,7 +464,7 @@ public void NewAzureVMWithAffinityGroup() vmPowershellCmdlets.NewAzureVMWithAG(_serviceName, new[] { vm }, _affiniyGroupName1); Console.WriteLine("New Azure service with name:{0} created successfully.", _serviceName); - var vmReturned = vmPowershellCmdlets.GetAzureVM(newAzureVMName, _serviceName); + var vmReturned = vmPowershellCmdlets.GetAzureVM(_vmName, _serviceName); Utilities.PrintContext(vmReturned); Assert.AreEqual(_serviceName, vmReturned.ServiceName); @@ -444,11 +483,8 @@ public void NewAzureVMWithWinRMCertificateTest() { try { - _serviceName = Utilities.GetUniqueShortName(serviceNamePrefix); - string newAzureVMName = Utilities.GetUniqueShortName("PSWinVM"); - // Add-AzureProvisioningConfig with X509Certificate - var azureVMConfigInfo = new AzureVMConfigInfo(newAzureVMName, InstanceSize.Small.ToString(), imageName); + var azureVMConfigInfo = new AzureVMConfigInfo(_vmName, InstanceSize.Small.ToString(), imageName); var azureProvisioningConfig = new AzureProvisioningConfigInfo(username, password, _installedCert); var persistentVMConfigInfo = new PersistentVMConfigInfo(azureVMConfigInfo, azureProvisioningConfig, null, null); PersistentVM vm = vmPowershellCmdlets.GetPersistentVM(persistentVMConfigInfo); @@ -456,7 +492,7 @@ public void NewAzureVMWithWinRMCertificateTest() // New-AzureVM vmPowershellCmdlets.NewAzureVM(_serviceName, new[] { vm }, null); Console.WriteLine("New Azure service with name:{0} created successfully.", _serviceName); - var result = vmPowershellCmdlets.GetAzureVM(newAzureVMName, _serviceName); + var result = vmPowershellCmdlets.GetAzureVM(_vmName, _serviceName); Assert.AreEqual(_installedCert.Thumbprint, result.VM.WinRMCertificate.Thumbprint); pass = true; } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/SaveAzureVhdTest.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/SaveAzureVhdTest.cs index f0f5e9982c48..8f8da078a683 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/SaveAzureVhdTest.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/SaveAzureVhdTest.cs @@ -16,7 +16,7 @@ using System.IO; using System.Reflection; using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Sync.Download; namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ScenarioTest.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ScenarioTest.cs index 970c46469ae6..d6e0f4d1bb9b 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ScenarioTest.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ScenarioTest.cs @@ -22,12 +22,13 @@ using System.Net; using System.Net.Cache; using System.Reflection; +using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading; using System.Xml; using System.Xml.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions; using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests.ConfigDataInfo; @@ -1059,6 +1060,98 @@ public void AzureServiceDiagnosticsExtensionTest() #endregion + + [TestMethod(), TestCategory(Category.Scenario), TestProperty("Feature", "PAAS"), Priority(1), Owner("huangpf"), Description("Test the ADDomain cmdlets.")] + [DataSource("Microsoft.VisualStudio.TestTools.DataSource.CSV", "|DataDirectory|\\Resources\\package.csv", "package#csv", DataAccessMethod.Sequential)] + public void AzureServiceADDomainExtensionTest() + { + StartTest(MethodBase.GetCurrentMethod().Name, testStartTime); + + // Choose the package and config files from local machine + string packageName = Convert.ToString(TestContext.DataRow["upgradePackage"]); + string configName = Convert.ToString(TestContext.DataRow["upgradeConfig"]); + var packagePath1 = new FileInfo(Directory.GetCurrentDirectory() + "\\" + packageName); + var configPath1 = new FileInfo(Directory.GetCurrentDirectory() + "\\" + configName); + + Assert.IsTrue(File.Exists(packagePath1.FullName), "VHD file not exist={0}", packagePath1); + Assert.IsTrue(File.Exists(configPath1.FullName), "VHD file not exist={0}", configPath1); + + string deploymentName = "deployment1"; + string deploymentLabel = "label1"; + DeploymentInfoContext result; + + PSCredential cred = new PSCredential(username, Utilities.convertToSecureString(password)); + + try + { + serviceName = Utilities.GetUniqueShortName(serviceNamePrefix); + vmPowershellCmdlets.NewAzureService(serviceName, serviceName, locationName); + Console.WriteLine("service, {0}, is created.", serviceName); + + // Workgroup Config + var workGroupName = "test"; + ExtensionConfigurationInput config = vmPowershellCmdlets.NewAzureServiceDomainJoinExtensionConfig( + workGroupName, null, null, false, null, null, null); + + vmPowershellCmdlets.NewAzureDeployment(serviceName, packagePath1.FullName, configPath1.FullName, DeploymentSlotType.Production, deploymentLabel, deploymentName, false, false, config); + + result = vmPowershellCmdlets.GetAzureDeployment(serviceName, DeploymentSlotType.Production); + pass = Utilities.PrintAndCompareDeployment(result, serviceName, deploymentName, deploymentLabel, DeploymentSlotType.Production, null, 2); + Console.WriteLine("successfully deployed the package"); + + var resultContext = vmPowershellCmdlets.GetAzureServiceDomainJoinExtension(serviceName); + Assert.IsTrue(string.IsNullOrEmpty(resultContext.User)); + Assert.IsTrue(resultContext.Name == workGroupName); + Assert.IsTrue(resultContext.Restart == false); + + vmPowershellCmdlets.RemoveAzureServiceDomainJoinExtension(serviceName, DeploymentSlotType.Production); + + // Join a Workgroup + vmPowershellCmdlets.SetAzureServiceDomainJoinExtension( + workGroupName, serviceName, DeploymentSlotType.Production, null, null, false, null, null, "1.*"); + resultContext = vmPowershellCmdlets.GetAzureServiceDomainJoinExtension(serviceName); + Assert.IsTrue(string.IsNullOrEmpty(resultContext.User)); + Assert.IsTrue(resultContext.Name == workGroupName); + Assert.IsTrue(resultContext.Restart == false); + Assert.IsTrue(resultContext.Version == "1.*"); + + vmPowershellCmdlets.RemoveAzureDeployment(serviceName, DeploymentSlotType.Production, true); + + // Domain Config + var domainName = "test.bing.com"; + config = vmPowershellCmdlets.NewAzureServiceDomainJoinExtensionConfig( + domainName, null, null, null, null, null, 35, true, cred, "1.*"); + Assert.IsTrue(config.Roles.Any(r => r.Default)); + Assert.IsTrue(config.PublicConfiguration.Contains(cred.UserName)); + Assert.IsTrue(config.PublicConfiguration.Contains(domainName)); + Assert.IsTrue(config.PublicConfiguration.Contains("35")); + + vmPowershellCmdlets.NewAzureDeployment(serviceName, packagePath1.FullName, configPath1.FullName, DeploymentSlotType.Production, deploymentLabel, deploymentName, false, false, config); + + vmPowershellCmdlets.RemoveAzureServiceDomainJoinExtension(serviceName, DeploymentSlotType.Production); + + // Join a Domain + vmPowershellCmdlets.SetAzureServiceDomainJoinExtension( + domainName, cred, 35, false, serviceName, DeploymentSlotType.Production, null, (X509Certificate2)null, null, (PSCredential)null, null, "1.*"); + + resultContext = vmPowershellCmdlets.GetAzureServiceDomainJoinExtension(serviceName); + Assert.IsTrue(resultContext.User == cred.UserName); + Assert.IsTrue(resultContext.Name == domainName); + Assert.IsTrue(resultContext.JoinOption == 35); + Assert.IsTrue(resultContext.Restart == false); + Assert.IsTrue(resultContext.Version == "1.*"); + + vmPowershellCmdlets.RemoveAzureDeployment(serviceName, DeploymentSlotType.Production, true); + + pass &= Utilities.CheckRemove(vmPowershellCmdlets.GetAzureDeployment, serviceName, DeploymentSlotType.Production); + } + catch (Exception e) + { + pass = false; + Assert.Fail("Exception occurred: {0}", e.ToString()); + } + } + #region AzureServiceRemoteDesktopExtension Tests [TestMethod(), TestCategory(Category.Scenario), TestProperty("Feature", "PAAS"), Priority(1), Owner("hylee"), Description("Test the cmdlet (New-AzureServiceRemoteDesktopConfig)")] diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementCmdletTestHelper.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementCmdletTestHelper.cs index 5ba5432bbbf1..9e78bd90c920 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementCmdletTestHelper.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementCmdletTestHelper.cs @@ -22,7 +22,7 @@ using System.Security.Cryptography.X509Certificates; using System.Xml; using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Storage; using Microsoft.WindowsAzure.Commands.Profile.Models; using Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions; @@ -373,6 +373,11 @@ public SM.PersistentVM SetAzureDataDisk(SetAzureDataDiskConfig discCfg) return RunPSCmdletAndReturnFirst(new SetAzureDataDiskCmdletInfo(discCfg)); } + public SM.PersistentVM SetAzureDataDisk(SetAzureDataDiskResizeConfig discCfg) + { + return RunPSCmdletAndReturnFirst(new SetAzureDataDiskCmdletInfo(discCfg)); + } + public void SetDataDisk(string vmName, string serviceName, HostCaching hc, int lun) { SetAzureDataDiskConfig config = new SetAzureDataDiskConfig(hc, lun); @@ -535,7 +540,12 @@ public ManagementOperationContext RemoveAzureDisk(string diskName, bool deleteVh // Update-AzureDisk public SM.DiskContext UpdateAzureDisk(string diskName, string label) { - return RunPSCmdletAndReturnFirst(new UpdateAzureDiskCmdletInfo(diskName, label)); + return RunPSCmdletAndReturnFirst(new UpdateAzureDiskCmdletInfo(diskName, label, null)); + } + + public ManagementOperationContext UpdateAzureDisk(string diskName, string label, int? resizedSize) + { + return RunPSCmdletAndReturnFirst(new UpdateAzureDiskCmdletInfo(diskName, label, resizedSize)); } #endregion @@ -665,9 +675,9 @@ public void RemoveEndPoint(string vmName, string serviceName, string [] epNames) #region AzureOSDisk - public SM.PersistentVM SetAzureOSDisk(HostCaching hc, SM.PersistentVM vm) + public SM.PersistentVM SetAzureOSDisk(HostCaching? hc, SM.PersistentVM vm, int? resizedSize = null) { - return RunPSCmdletAndReturnFirst(new SetAzureOSDiskCmdletInfo(hc, vm)); + return RunPSCmdletAndReturnFirst(new SetAzureOSDiskCmdletInfo(hc, vm, resizedSize)); } public SM.OSVirtualHardDisk GetAzureOSDisk(SM.PersistentVM vm) @@ -856,6 +866,21 @@ internal ManagementOperationContext NewAzureReservedIP(string name, string locat return RunPSCmdletAndReturnFirst(new NewAzureReservedIPCmdletInfo(name, location, label)); } + internal ManagementOperationContext NewAzureReservedIP(string name, string location, string serviceName, string label = null, string slot = SM.DeploymentSlotType.Production) + { + return RunPSCmdletAndReturnFirst(new NewAzureReservedIPCmdletInfo(name, location, serviceName, slot, label)); + } + + internal ManagementOperationContext SetAzureReservedIPAssociation(string reservedIpName, string serviceName, string slot = SM.DeploymentSlotType.Production) + { + return RunPSCmdletAndReturnFirst(new SetAzureReservedIPAssociationCmdletInfo(reservedIpName, serviceName, slot)); + } + + internal ManagementOperationContext RemoveAzureReservedIPAssociation(string reservedIpName, string serviceName, bool force, string slot = SM.DeploymentSlotType.Production) + { + return RunPSCmdletAndReturnFirst(new RemoveAzureReservedIPAssociationCmdletInfo(reservedIpName, serviceName, slot, force)); + } + internal Collection GetAzureReservedIP(string name = null) { return RunPSCmdletAndReturnAll(new GetAzureReservedIPCmdletInfo(name)); @@ -1370,6 +1395,37 @@ public SM.OSImageContext AddAzureVMImage(string imageName, string mediaLocation, return result; } + public void AddAzureVMImage( + string imageName, + string label, + SM.VirtualMachineImageDiskConfigSet diskConfig, + string description = null, + string eula = null, + string imageFamily = null, + DateTime? publishedDate = null, + string privacyUri = null, + string recommendedVMSize = null, + string iconName = null, + string smallIconName = null, + bool? showInGui = null) + { + var cmdletInfo = new AddAzureVMImageCmdletInfo( + imageName, + label, + diskConfig, + description, + eula, + imageFamily, + publishedDate, + privacyUri, + recommendedVMSize, + iconName, + smallIconName, + showInGui); + + RunPSCmdletAndReturnFirst(cmdletInfo); + } + public SM.OSImageContext UpdateAzureVMImage(string imageName, string label, string recommendedSize = null) { return RunPSCmdletAndReturnFirst(new UpdateAzureVMImageCmdletInfo(imageName, label, recommendedSize, null, null)); @@ -1386,8 +1442,8 @@ public void UpdateAzureVMImage(string imageName, string label, SM.VirtualMachine } public void UpdateAzureVMImage(string imageName, string label, string imageFamily, bool showInGui = false, string recommendedSize = null, - string description = null, string eula = null, Uri privacyUri = null, DateTime? publishedDate = null, string language = null, Uri iconUri = null, - Uri smallIconUri = null) + string description = null, string eula = null, Uri privacyUri = null, DateTime? publishedDate = null, string language = null, string iconUri = null, + string smallIconUri = null) { RunPSCmdletAndReturnFirst(new UpdateAzureVMImageCmdletInfo(imageName, label, recommendedSize, description, eula, imageFamily, privacyUri, publishedDate.Value, language, iconUri, smallIconUri, showInGui)); @@ -1427,17 +1483,19 @@ public void SaveAzureVMImage(string serviceName, string vmName, string newImageN return vmImages; } - public string GetAzureVMImageName(string[] keywords, bool exactMatch = true) + public string GetAzureVMImageName(string[] keywords, bool exactMatch = true, int? diskSize = null) { Collection vmImages = GetAzureVMImage(); foreach (SM.OSImageContext image in vmImages) { - if (Utilities.MatchKeywords(image.ImageName, keywords, exactMatch) >= 0) + if (Utilities.MatchKeywords(image.ImageName, keywords, exactMatch) >= 0 && + ((diskSize == null) || (image.LogicalSizeInGB <= diskSize))) return image.ImageName; } foreach (SM.OSImageContext image in vmImages) { - if (Utilities.MatchKeywords(image.OS, keywords, exactMatch) >= 0) + if (Utilities.MatchKeywords(image.OS, keywords, exactMatch) >= 0 && + ((diskSize == null) || (image.LogicalSizeInGB <= diskSize))) return image.ImageName; } return null; @@ -1925,16 +1983,30 @@ public SM.PersistentVM RemoveAzureVMBGInfoExtension(SM.IPersistentVM vm, string #endregion AzureVM BGInfo Extension #region Generic VM Extension cmdlets - public SM.PersistentVM SetAzureVMExtension(SM.IPersistentVM vm, string extensionName, string publisher, string version, string referenceName = null, - string publicConfiguration = null, string privateConfiguration = null, string publicConfigKey = null, string privateConfigKey = null, string publicConfigPath = null, string privateConfigPath = null, bool disable = false) + public SM.PersistentVM SetAzureVMExtension(SM.IPersistentVM vm, + string extensionName, string publisher, + string version, string referenceName = null, + string publicConfiguration = null, string privateConfiguration = null, + string publicConfigKey = null, string privateConfigKey = null, + string publicConfigPath = null, string privateConfigPath = null, + bool disable = false, bool forceUpdate = false) { - return RunPSCmdletAndReturnFirst(new SetAzureVMExtensionCmdletInfo(vm, extensionName, publisher, version, referenceName, - publicConfiguration, privateConfiguration, publicConfigKey, privateConfigKey, publicConfigPath, privateConfigPath, disable)); + return RunPSCmdletAndReturnFirst(new SetAzureVMExtensionCmdletInfo(vm, + extensionName, publisher, + version, referenceName, + publicConfiguration, privateConfiguration, + publicConfigKey, privateConfigKey, + publicConfigPath, privateConfigPath, + disable, forceUpdate)); } - public SM.PersistentVM RemoveAzureVMExtension(SM.PersistentVM vm, string extensionName, string publisher, string referenceName=null, bool removeAll=false) + public SM.PersistentVM RemoveAzureVMExtension(SM.PersistentVM vm, + string extensionName, string publisher, + string referenceName = null, bool removeAll = false) { - return RunPSCmdletAndReturnFirst(new RemoveAzureVMExtensionCmdletInfo(vm, extensionName, publisher, referenceName, removeAll)); + return RunPSCmdletAndReturnFirst(new RemoveAzureVMExtensionCmdletInfo(vm, + extensionName, publisher, + referenceName, removeAll)); } public Collection GetAzureVMExtension(SM.PersistentVM vm, string extensionName = null, string publisher = null, string version = null, string referenceName = null) @@ -1942,7 +2014,7 @@ public Collection GetAzureVMExtension(SM.Persist return RunPSCmdletAndReturnAll(new GetAzureVMExtensionCmdletInfo(vm, extensionName, publisher, version, referenceName)); } - //ListAllVersionsParamSetName -> ExtensionName,Publisher,AllVersions + // ListAllVersionsParamSetName -> ExtensionName,Publisher,AllVersions public Collection GetAzureVMAvailableExtension(string extensionName, string publisher, bool allVersions) { return RunPSCmdletAndReturnAll(new GetAzureVMAvailableExtensionCmdletInfo(extensionName, publisher, allVersions)); @@ -1968,9 +2040,17 @@ public Collection GetAzureVMAccessExtensio return RunPSCmdletAndReturnAll(new GetAzureVMAccessExtensionCmdletInfo(vm, userName, password, version, referenceName)); } - public SM.PersistentVM SetAzureVMAccessExtension(SM.IPersistentVM vm, string userName= null, string password=null, string version = null, string referenceName =null,bool disable = false) + public SM.PersistentVM SetAzureVMAccessExtension( + SM.IPersistentVM vm, + string userName= null, + string password=null, + string version = null, + string referenceName =null, + bool disable = false, + bool forceUpdate = false) { - return RunPSCmdletAndReturnFirst(new SetAzureVMAccessExtensionCmdletInfo( vm, userName, password, version, referenceName, disable)); + return RunPSCmdletAndReturnFirst(new SetAzureVMAccessExtensionCmdletInfo( + vm, userName, password, version, referenceName, disable, forceUpdate)); } public SM.PersistentVM RemoveAzureVMAccessExtension(SM.IPersistentVM vm) @@ -1981,24 +2061,50 @@ public SM.PersistentVM RemoveAzureVMAccessExtension(SM.IPersistentVM vm) #endregion AzureVMAccessExtension cmdlets #region AzureVMCustomScriptExtensionCmdlets - //SetCustomScriptExtensionByUrisParamSetName - internal SM.PersistentVM SetAzureVMCustomScriptExtension(SM.PersistentVM vm, string[] fileUri, bool sseSaSKeys, string run = null, string referenceName = null, string version = null, string argument = null) - { - return RunPSCmdletAndReturnFirst(new SetAzureVMCustomScriptExtensionCmdletInfo(vm, referenceName, version,fileUri,run, argument )); - } - - //DisableCustomScriptExtensionParamSetName - internal SM.PersistentVM SetAzureVMCustomScriptExtension(SM.PersistentVM vm, bool disable, string referenceName = null, string version = null) - { - return RunPSCmdletAndReturnFirst(new SetAzureVMCustomScriptExtensionCmdletInfo(vm,referenceName,version,disable)); - } - - //SetCustomScriptExtensionByContainerBlobsParamSetName - internal SM.PersistentVM SetAzureVMCustomScriptExtension(SM.PersistentVM vm, string[] fileName, string run = null, string storageAccountName = null, string StorageEndpointSuffix = null, string containerName = null, - string StorageAccountKey = null, string referenceName = null, string version = null,string argument = null) - { - return RunPSCmdletAndReturnFirst(new SetAzureVMCustomScriptExtensionCmdletInfo(vm, fileName, storageAccountName, StorageEndpointSuffix, containerName, - StorageAccountKey, run, argument,referenceName, version)); + // SetCustomScriptExtensionByUrisParamSetName + internal SM.PersistentVM SetAzureVMCustomScriptExtension( + SM.PersistentVM vm, + string[] fileUri, + bool sseSaSKeys, + string run = null, + string referenceName = null, + string version = null, + string argument = null, + bool forceUpdate = false) + { + return RunPSCmdletAndReturnFirst(new SetAzureVMCustomScriptExtensionCmdletInfo( + vm, referenceName, version, fileUri, run, argument, forceUpdate)); + } + + // DisableCustomScriptExtensionParamSetName + internal SM.PersistentVM SetAzureVMCustomScriptExtension( + SM.PersistentVM vm, + bool disable, + string referenceName = null, + string version = null, + bool forceUpdate = false) + { + return RunPSCmdletAndReturnFirst(new SetAzureVMCustomScriptExtensionCmdletInfo( + vm, referenceName, version, disable, forceUpdate)); + } + + // SetCustomScriptExtensionByContainerBlobsParamSetName + internal SM.PersistentVM SetAzureVMCustomScriptExtension( + SM.PersistentVM vm, + string[] fileName, + string run = null, + string storageAccountName = null, + string StorageEndpointSuffix = null, + string containerName = null, + string StorageAccountKey = null, + string referenceName = null, + string version = null, + string argument = null, + bool forceUpdate = false) + { + return RunPSCmdletAndReturnFirst(new SetAzureVMCustomScriptExtensionCmdletInfo( + vm, fileName, storageAccountName, StorageEndpointSuffix, containerName, + StorageAccountKey, run, argument, referenceName, version, forceUpdate)); } internal VirtualMachineCustomScriptExtensionContext GetAzureVMCustomScriptExtension(SM.IPersistentVM vm) diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementTest.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementTest.cs index 9fbe25bc00a3..da956f65e765 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementTest.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/ServiceManagementTest.cs @@ -20,7 +20,7 @@ using System.Threading; using System.Xml.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Profile.Models; using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; using Microsoft.WindowsAzure.Commands.ServiceManagement.Test.Properties; @@ -89,56 +89,6 @@ public TestContext TestContext public static void AssemblyInit(TestContext context) { SetTestSettings(); - - vmPowershellCmdlets = new ServiceManagementCmdletTestHelper(); - - try - { - vmPowershellCmdlets.RunPSScript("Get-AzureService | Remove-AzureService -Force"); - } - catch - { - } - - try - { - vmPowershellCmdlets.RunPSScript("Get-AzureDisk | Remove-AzureDisk"); - } - catch - { - } - - try - { - vmPowershellCmdlets.RunPSScript(@"Get-AzureVMImage | where {$_.Category -eq 'User'} | Remove-AzureVMImage"); - } - catch - { - } - - try - { - vmPowershellCmdlets.RunPSScript("Remove-AzureVNetConfig"); - } - catch - { - } - - try - { - vmPowershellCmdlets.RunPSScript("Get-AzureAffinityGroup | Remove-AzureAffinityGroup"); - } - catch - { - } - - try - { - vmPowershellCmdlets.RunPSScript("Get-AzureReservedIP | Remove-AzureReservedIP -Force"); - } - catch - { - } } [AssemblyCleanup] @@ -193,7 +143,21 @@ private static string GetServiceManagementUrl(string publishSettingsFile) XDocument psf = XDocument.Load(publishSettingsFile); XElement pubData = psf.Descendants().FirstOrDefault(); XElement pubProfile = pubData.Elements().ToList()[0]; - return pubProfile.Attribute("Url").Value; + XAttribute urlattr = pubProfile.Attribute("Url"); + string url = string.Empty; + if (urlattr != null) + { + url = urlattr.Value; + } + else + { + var subscriptions = pubProfile.Elements("Subscription").ToList(); + if (subscriptions.Any()) + { + url = subscriptions[0].Attribute("ServiceManagementUrl").Value; + } + } + return url; } catch { diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/StaticCATests.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/StaticCATests.cs index a3dca0746ece..953ab150b0e3 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/StaticCATests.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/StaticCATests.cs @@ -624,7 +624,9 @@ private static void ReadVnetConfig() private static void SetVNetForStaticCAtest() { - vmPowershellCmdlets.SetAzureVNetConfig(Directory.GetCurrentDirectory() + "\\StaticCAvnetconfig.netcfg"); + Utilities.RetryActionUntilSuccess( + () => vmPowershellCmdlets.SetAzureVNetConfig(Directory.GetCurrentDirectory() + "\\StaticCAvnetconfig.netcfg"), + "in use", 10, 30); } private static void CleanUpVnetConfigForStaticCA() diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/Utilities.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/Utilities.cs index 9b0d0c7d8417..1c9b5ae3f886 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/Utilities.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/Utilities.cs @@ -38,7 +38,6 @@ namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Test.FunctionalTests { internal class Utilities { - #region Constants public static string windowsAzurePowershellPath = Path.Combine(Environment.CurrentDirectory, "ServiceManagement\\Azure"); @@ -138,6 +137,8 @@ internal class Utilities public const string NewAzureReservedIPCmdletName = "New-AzureReservedIP"; public const string GetAzureReservedIPCmdletName = "Get-AzureReservedIP"; public const string RemoveAzureReservedIPCmdletName = "Remove-AzureReservedIP"; + public const string SetAzureReservedIPAssociationCmdletName = "Set-AzureReservedIPAssociation"; + public const string RemoveAzureReservedIPAssociationCmdletName = "Remove-AzureReservedIPAssociation"; // AzureRole & AzureRoleInstnace public const string GetAzureRoleCmdletName = "Get-AzureRole"; diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/VMTemplateTests.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/VMTemplateTests.cs index 6b289c00b741..8b9a86a88354 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/VMTemplateTests.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/VMTemplateTests.cs @@ -558,7 +558,7 @@ public void UpdateVMImageDataDiskAndOsDiskTest() UpdateAzureVMImageDetails(vmImageName); string disk1Name,disk2Name; - UpdateVMImageOsAndDataDiskAnderifyChanges( diskConfig,out disk1Name,out disk2Name); + UpdateVMImageOsAndDataDiskAnderifyChanges(diskConfig, out disk1Name, out disk2Name); //Update VMImage using DiskConfig set prepared manually. UpdateVmImageUsingDiskConfigSetAndVerifyChanges(diskConfig, disk1Name, disk2Name); @@ -589,7 +589,7 @@ public void CreateVirtualMachineUsingVMImageWithDataDisks() // New-AzureVMConfig var vmName = Utilities.GetUniqueShortName(vmNamePrefix); - var vmSize = vmPowershellCmdlets.GetAzureRoleSize().Where(t => t.MaxDataDiskCount != null && t.MaxDataDiskCount >= vmImage.DataDiskConfigurations.Count()).Select(t => t.InstanceSize).First(); + var vmSize = InstanceSize.ExtraLarge.ToString(); var currentStorage = vmPowershellCmdlets.GetAzureStorageAccount(defaultAzureSubscription.CurrentStorageAccountName).First(); var mediaLocationStr = ("mloc" + vmName).ToLower(); var vmMediaLocation = currentStorage.Endpoints.Where(p => p.Contains("blob")).First() + mediaLocationStr; @@ -602,7 +602,7 @@ public void CreateVirtualMachineUsingVMImageWithDataDisks() vm = vmPowershellCmdlets.AddAzureProvisioningConfig(azureProvisioningConfig); // New-AzureVM - vmPowershellCmdlets.NewAzureVM(serviceName, new[] { vm }, null, null, null, null, null, null); + vmPowershellCmdlets.NewAzureVM(serviceName, new[] { vm }, null, null, null, null, null, null, null, null, null, null, true); pass = true; // Get-AzureVM @@ -695,7 +695,7 @@ private void UpdateAzureVMImageDetails(string imageName) Eula = "End user licensce agreement value", ImageFamily = OS.Windows.ToString(), Description = "Description", - IconUri = new Uri(@"http://www.bing.com"), + IconUri = "IconName", ImageName = imageName, Label = imageName, Language = "English", @@ -703,13 +703,13 @@ private void UpdateAzureVMImageDetails(string imageName) PublishedDate = DateTime.Now, RecommendedVMSize = InstanceSize.Medium.ToString(), ShowInGui = false, - SmallIconUri = new Uri(@"http://www.bing.com"), + SmallIconUri = "SmallIconName", }; Utilities.ExecuteAndLog(() => { vmPowershellCmdlets.UpdateAzureVMImage(imageName, imageName, imageContext.ImageFamily, imageContext.ShowInGui.Value, imageContext.RecommendedVMSize, imageContext.Description, imageContext.Eula, - imageContext.PrivacyUri, imageContext.PublishedDate, imageContext.Language, imageContext.IconUri, imageContext.SmallIconUri); + imageContext.PrivacyUri, imageContext.PublishedDate, imageContext.Language, imageContext.IconName, imageContext.SmallIconName); }, "Update Azure VM Image details"); VerifyVMImageProperties(imageContext); @@ -728,6 +728,7 @@ private void VerifyVMImageProperties(VMImageContext imageContext) Utilities.LogAssert(() => Assert.AreEqual(imageContext.Eula, vmImageContext.Eula), "Eula"); Utilities.LogAssert(() => Assert.AreEqual(imageContext.Description, vmImageContext.Description), "Description"); Utilities.LogAssert(() => Assert.AreEqual(imageContext.IconUri, vmImageContext.IconUri), "IconUri"); + Utilities.LogAssert(() => Assert.AreEqual(imageContext.IconName, vmImageContext.IconName), "IconName"); Utilities.LogAssert(() => Assert.AreEqual(imageContext.ImageFamily, vmImageContext.ImageFamily), "ImageFamily"); Utilities.LogAssert(() => Assert.AreEqual(imageContext.ImageName, vmImageContext.ImageName), "ImageName"); Utilities.LogAssert(() => Assert.AreEqual(imageContext.Label, vmImageContext.Label), "Label"); @@ -737,6 +738,7 @@ private void VerifyVMImageProperties(VMImageContext imageContext) Utilities.LogAssert(() => Assert.AreEqual(imageContext.RecommendedVMSize, vmImageContext.RecommendedVMSize), "RecommendedVMSize"); Utilities.LogAssert(() => Assert.AreEqual(imageContext.ShowInGui, vmImageContext.ShowInGui), "ShowInGui"); Utilities.LogAssert(() => Assert.AreEqual(imageContext.SmallIconUri, vmImageContext.SmallIconUri), "SmallIconUri"); + Utilities.LogAssert(() => Assert.AreEqual(imageContext.SmallIconName, vmImageContext.SmallIconName), "SmallIconName"); }, "Verify VM image details"); } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/HelloWorld_SDK20.cspkg b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/HelloWorld_SDK20.cspkg new file mode 100644 index 000000000000..b08a356e4da3 Binary files /dev/null and b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/HelloWorld_SDK20.cspkg differ diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/ReservedIPConfig1.cscfg b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/ReservedIPConfig1.cscfg new file mode 100644 index 000000000000..f65b3351a229 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/ReservedIPConfig1.cscfg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/ReservedIPConfig1update.cscfg b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/ReservedIPConfig1update.cscfg new file mode 100644 index 000000000000..f65b3351a229 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/ReservedIPConfig1update.cscfg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/ReservedIPConfig2.cscfg b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/ReservedIPConfig2.cscfg new file mode 100644 index 000000000000..3c705f8d97eb --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/ReservedIPConfig2.cscfg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/ReservedIPConfig2update.cscfg b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/ReservedIPConfig2update.cscfg new file mode 100644 index 000000000000..3c705f8d97eb --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/ReservedIPConfig2update.cscfg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/ServiceConfiguration.cscfg b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/ServiceConfiguration.cscfg new file mode 100644 index 000000000000..72585e8e7a5c --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/ServiceConfiguration.cscfg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/packageReservedIP.csv b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/packageReservedIP.csv new file mode 100644 index 000000000000..57acbd33bbbd --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/packageReservedIP.csv @@ -0,0 +1,2 @@ +packageName,configName1,configName2,updateConfig1,updateConfig2 +SampleAppV1.cspkg,ReservedIPConfig1.cscfg,ReservedIPConfig2.cscfg,ReservedIPConfig1update.cscfg,ReservedIPConfig2update.cscfg diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/packages.config b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/packages.config index a7b8f0f1819b..a30d70d0a274 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/packages.config +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/packages.config @@ -1,10 +1,10 @@  - - + + + - @@ -12,12 +12,12 @@ - + - - - + + + diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Commands.ServiceManagement.csproj b/src/ServiceManagement/Compute/Commands.ServiceManagement/Commands.ServiceManagement.csproj index edf24aebccc9..111d646eea01 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Commands.ServiceManagement.csproj +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Commands.ServiceManagement.csproj @@ -62,17 +62,17 @@ ..\..\..\packages\AutoMapper.3.1.1\lib\net40\AutoMapper.Net4.dll - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.3\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.3\lib\net45\Microsoft.Azure.Common.NetFramework.dll False @@ -87,12 +87,12 @@ ..\..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -109,17 +109,16 @@ ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll - - False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.8.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll + + ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.9.2.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.6.1.2\lib\net40\Microsoft.WindowsAzure.Management.Network.dll False @@ -206,6 +205,7 @@ + @@ -216,6 +216,7 @@ + @@ -247,11 +248,13 @@ + + diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/ADDomain/BaseAzureServiceADDomainExtension.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/ADDomain/BaseAzureServiceADDomainExtension.cs index df3eb288dcdb..9c96884777b5 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/ADDomain/BaseAzureServiceADDomainExtension.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/ADDomain/BaseAzureServiceADDomainExtension.cs @@ -32,8 +32,44 @@ public abstract class BaseAzureServiceADDomainExtensionCmdlet : BaseAzureService protected const string WorkgroupParameterSet = "WorkGroupName"; protected const string WorkgroupThumbprintParameterSet = "WorkGroupNameThumbprint"; - protected PublicConfig PublicConfig { get; private set; } - protected PrivateConfig PrivateConfig { get; private set; } + protected PublicConfig publicConfig; + protected PrivateConfig privateConfig; + + protected PublicConfig PublicConfig + { + get + { + if (this.publicConfig == null) + { + this.publicConfig = new PublicConfig(); + } + + return this.publicConfig; + } + + private set + { + this.publicConfig = value; + } + } + + protected PrivateConfig PrivateConfig + { + get + { + if (this.privateConfig == null) + { + this.privateConfig = new PrivateConfig(); + } + + return this.privateConfig; + } + + private set + { + this.privateConfig = value; + } + } public virtual string DomainName { @@ -145,6 +181,8 @@ public virtual PSCredential UnjoinDomainCredential public BaseAzureServiceADDomainExtensionCmdlet() : base() { + PrivateConfig.Password = string.Empty; + PrivateConfig.UnjoinDomainPassword = string.Empty; } protected override void ValidateParameters() @@ -152,10 +190,6 @@ protected override void ValidateParameters() base.ValidateParameters(); ProviderNamespace = DomainExtensionNamespace; ExtensionName = DomainExtensionType; - PublicConfig = new PublicConfig(); - PrivateConfig = new PrivateConfig(); - PrivateConfig.Password = string.Empty; - PrivateConfig.UnjoinDomainPassword = string.Empty; } protected override void ValidateConfiguration() diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/ADDomain/NewAzureServiceADDomainExtensionConfig.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/ADDomain/NewAzureServiceADDomainExtensionConfig.cs index 7fa8112302d8..a3ce321e5eea 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/ADDomain/NewAzureServiceADDomainExtensionConfig.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/ADDomain/NewAzureServiceADDomainExtensionConfig.cs @@ -187,6 +187,8 @@ public override string OUPath [Parameter(Position = 9, ValueFromPipelineByPropertyName = true, ParameterSetName = DomainThumbprintParameterSet)] [Parameter(Position = 9, ValueFromPipelineByPropertyName = true, ParameterSetName = DomainJoinOptionParameterSet)] [Parameter(Position = 9, ValueFromPipelineByPropertyName = true, ParameterSetName = DomainJoinOptionThumbprintParameterSet)] + [Parameter(Position = 6, ValueFromPipelineByPropertyName = true, ParameterSetName = WorkgroupParameterSet)] + [Parameter(Position = 6, ValueFromPipelineByPropertyName = true, ParameterSetName = WorkgroupThumbprintParameterSet)] [ValidateNotNullOrEmpty] public override string Version { diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/ADDomain/SetAzureServiceADDomainExtension.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/ADDomain/SetAzureServiceADDomainExtension.cs index 9308b75c07fb..84e31ad1140b 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/ADDomain/SetAzureServiceADDomainExtension.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/ADDomain/SetAzureServiceADDomainExtension.cs @@ -204,6 +204,8 @@ public override string OUPath [Parameter(Position = 12, ValueFromPipelineByPropertyName = true, ParameterSetName = DomainThumbprintParameterSet)] [Parameter(Position = 12, ValueFromPipelineByPropertyName = true, ParameterSetName = DomainJoinOptionParameterSet)] [Parameter(Position = 12, ValueFromPipelineByPropertyName = true, ParameterSetName = DomainJoinOptionThumbprintParameterSet)] + [Parameter(Position = 8, ValueFromPipelineByPropertyName = true, ParameterSetName = WorkgroupParameterSet)] + [Parameter(Position = 8, ValueFromPipelineByPropertyName = true, ParameterSetName = WorkgroupThumbprintParameterSet)] [ValidateNotNullOrEmpty] public override string Version { diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/Common/BaseAzureServiceExtensionCmdlet.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/Common/BaseAzureServiceExtensionCmdlet.cs index 597f18fb8096..a24bfa9c41d6 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/Common/BaseAzureServiceExtensionCmdlet.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/Common/BaseAzureServiceExtensionCmdlet.cs @@ -78,7 +78,7 @@ protected void ValidateService() { string serviceName; ServiceSettings settings = CommonUtilities.GetDefaultSettings(CommonUtilities.TryGetServiceRootPath(CurrentPath()), - ServiceName, null, null, null, null, CurrentContext.Subscription.Id.ToString(), out serviceName); + ServiceName, null, null, null, null, Profile.Context.Subscription.Id.ToString(), out serviceName); if (string.IsNullOrEmpty(serviceName)) { diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/Common/ExtensionManager.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/Common/ExtensionManager.cs index 48cd05446b6a..c6dc159c042f 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/Common/ExtensionManager.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/Common/ExtensionManager.cs @@ -40,7 +40,7 @@ public class ExtensionManager public ExtensionManager(ServiceManagementBaseCmdlet cmdlet, string serviceName) { - if (cmdlet == null || cmdlet.CurrentContext.Subscription == null) + if (cmdlet == null || cmdlet.Profile.Context.Subscription == null) { throw new ArgumentNullException("cmdlet"); } @@ -51,7 +51,7 @@ public ExtensionManager(ServiceManagementBaseCmdlet cmdlet, string serviceName) } Cmdlet = cmdlet; - SubscriptionId = cmdlet.CurrentContext.Subscription.Id.ToString(); + SubscriptionId = cmdlet.Profile.Context.Subscription.Id.ToString(); ServiceName = serviceName; } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Helpers/PersistentVMHelper.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/Helpers/PersistentVMHelper.cs index b868a0bc47bc..978883289470 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Helpers/PersistentVMHelper.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Helpers/PersistentVMHelper.cs @@ -28,6 +28,8 @@ using DataVirtualHardDisk = Microsoft.WindowsAzure.Commands.ServiceManagement.Model.DataVirtualHardDisk; using OSVirtualHardDisk = Microsoft.WindowsAzure.Commands.ServiceManagement.Model.OSVirtualHardDisk; using RoleInstance = Microsoft.WindowsAzure.Management.Compute.Models.RoleInstance; +using CSM = Microsoft.WindowsAzure.Commands.ServiceManagement.Model; +using MCM = Microsoft.WindowsAzure.Management.Compute.Models; namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Helpers { @@ -127,7 +129,7 @@ public static Collection MapConfigurationSets(IList MapConfigurationSets(Collection configurationSets) + public static IList MapConfigurationSets(Collection configurationSets) { var result = new Collection(); foreach (var networkConfig in configurationSets.OfType()) @@ -187,6 +189,39 @@ public static string GetPublicIPName(Microsoft.WindowsAzure.Management.Compute.M return name; } + public static MCM.VMImageInput MapVMImageInput(CSM.VMImageInput vmImageInput) + { + var result = new MCM.VMImageInput(); + + if (vmImageInput == null) + { + return null; + } + + if (vmImageInput.OSDiskConfiguration != null) + { + result.OSDiskConfiguration = new MCM.OSDiskConfiguration() + { + ResizedSizeInGB = vmImageInput.OSDiskConfiguration.ResizedSizeInGB + }; + } + + if (vmImageInput.DataDiskConfigurations != null) + { + result.DataDiskConfigurations = new Collection(); + foreach (var dataDiskConfig in vmImageInput.DataDiskConfigurations) + { + result.DataDiskConfigurations.Add( + new MCM.DataDiskConfiguration() + { + DiskName = dataDiskConfig.Name, + ResizedSizeInGB = dataDiskConfig.ResizedSizeInGB + }); + } + } + return result; + } + public static string ConvertCustomDataFileToBase64(string fileName) { byte[] bytes = new byte[3 * 4096]; // Make buffer be a factor of 3 for encoding correctly diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/NewAzureDeployment.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/NewAzureDeployment.cs index 9dce70e2c3ac..3d168eb176dd 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/NewAzureDeployment.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/NewAzureDeployment.cs @@ -16,7 +16,7 @@ using System; using System.Management.Automation; using System.Net; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions; using Microsoft.WindowsAzure.Commands.ServiceManagement.Helpers; using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties; @@ -113,7 +113,7 @@ public virtual void NewPaaSDeploymentProcess() AssertNoPersistenVmRoleExistsInDeployment(PVM.DeploymentSlotType.Production); AssertNoPersistenVmRoleExistsInDeployment(PVM.DeploymentSlotType.Staging); - var storageName = CurrentContext.Subscription.GetProperty(AzureSubscription.Property.StorageAccount); + var storageName = Profile.Context.Subscription.GetProperty(AzureSubscription.Property.StorageAccount); Uri packageUrl; if (this.Package.StartsWith(Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase) || @@ -123,6 +123,11 @@ public virtual void NewPaaSDeploymentProcess() } else { + if (string.IsNullOrEmpty(storageName)) + { + throw new ArgumentException(Resources.CurrentStorageAccountIsNotSet); + } + var progress = new ProgressRecord(0, Resources.WaitForUploadingPackage, Resources.UploadingPackage); WriteProgress(progress); removePackage = true; @@ -265,11 +270,6 @@ protected virtual void ValidateParameters() { this.Label = this.Name; } - - if (string.IsNullOrEmpty(this.CurrentContext.Subscription.GetProperty(AzureSubscription.Property.StorageAccount))) - { - throw new ArgumentException(Resources.CurrentStorageAccountIsNotSet); - } } } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/SetAzureDeployment.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/SetAzureDeployment.cs index fa2b277cbc8e..7d34c6d4dee8 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/SetAzureDeployment.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/SetAzureDeployment.cs @@ -15,7 +15,7 @@ using System; using System.Management.Automation; using System.Net; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions; using Microsoft.WindowsAzure.Commands.ServiceManagement.Helpers; using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties; @@ -189,7 +189,7 @@ public void ExecuteCommand() if (string.Compare(ParameterSetName, "Upgrade", StringComparison.OrdinalIgnoreCase) == 0) { bool removePackage = false; - var storageName = CurrentContext.Subscription.GetProperty(AzureSubscription.Property.StorageAccount); + var storageName = Profile.Context.Subscription.GetProperty(AzureSubscription.Property.StorageAccount); Uri packageUrl = null; if (Package.StartsWith(Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase) || diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/DiskRepository/AddAzureVMImage.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/DiskRepository/AddAzureVMImage.cs index 44dd6713f78e..5fce60685282 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/DiskRepository/AddAzureVMImage.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/DiskRepository/AddAzureVMImage.cs @@ -12,8 +12,9 @@ // limitations under the License. // ---------------------------------------------------------------------------------- - +using AutoMapper; using System; +using System.Linq; using System.Management.Automation; using Microsoft.WindowsAzure.Commands.ServiceManagement.Helpers; using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; @@ -24,18 +25,26 @@ namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.DiskRepository { - [Cmdlet(VerbsCommon.Add, "AzureVMImage"), OutputType(typeof(OSImageContext))] + [Cmdlet(VerbsCommon.Add, "AzureVMImage", DefaultParameterSetName = OSImageParamSet), OutputType(typeof(OSImageContext))] public class AddAzureVMImage : ServiceManagementBaseCmdlet { + protected const string OSImageParamSet = "OSImage"; + protected const string VMImageParamSet = "VMImage"; + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Name of the image in the image library.")] [ValidateNotNullOrEmpty] public string ImageName { get; set; } - [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Location of the physical blob backing the image. This link refers to a blob in a storage account.")] + [Parameter(Position = 1, ParameterSetName = OSImageParamSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Location of the physical blob backing the image. This link refers to a blob in a storage account.")] [ValidateNotNullOrEmpty] public string MediaLocation { get; set; } - [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The OS Type of the Image (Windows or Linux)")] + [Parameter(Position = 1, ParameterSetName = VMImageParamSet, Mandatory = true, ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Disk Configuration Set")] + [ValidateNotNullOrEmpty] + public VirtualMachineImageDiskConfigSet DiskConfig { get; set; } + + [Parameter(Position = 2, ParameterSetName = OSImageParamSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The OS Type of the Image (Windows or Linux)")] + [Parameter(Position = 2, ParameterSetName = VMImageParamSet, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The OS Type of the Image (Windows or Linux)")] [ValidateSet("Windows", "Linux", IgnoreCase = true)] public string OS { get; set; } @@ -66,30 +75,58 @@ public class AddAzureVMImage : ServiceManagementBaseCmdlet [Parameter(Position = 9, ValueFromPipelineByPropertyName = true, HelpMessage = " Specifies the size to use for the virtual machine that is created from the OS image.")] public string RecommendedVMSize { get; set; } + [Alias("IconUri")] [Parameter(Position = 10, ValueFromPipelineByPropertyName = true, HelpMessage = "Icon Uri.")] - public Uri IconUri { get; set; } + public string IconName { get; set; } + [Alias("SmallIconUri")] [Parameter(Position = 11, ValueFromPipelineByPropertyName = true, HelpMessage = "Small Icon Uri.")] - public Uri SmallIconUri { get; set; } + public string SmallIconName { get; set; } [Parameter(Position = 12, ValueFromPipelineByPropertyName = true, HelpMessage = "To show in GUI.")] public SwitchParameter ShowInGui { get; set; } - public void ExecuteCommand() + protected override void OnProcessRecord() { - var imageType = new VirtualMachineImageHelper(this.ComputeClient).GetImageType(this.ImageName); - bool isOSImage = imageType.HasFlag(VirtualMachineImageType.OSImage); - bool isVMImage = imageType.HasFlag(VirtualMachineImageType.VMImage); + ServiceManagementProfile.Initialize(); - if (isVMImage) + if (string.Equals(ParameterSetName, VMImageParamSet, StringComparison.OrdinalIgnoreCase)) { - // If there is another type of image with the same name, - // WAPS will stop here to avoid duplicates and potential conflicts - WriteErrorWithTimestamp( - string.Format( - Resources.ErrorAnotherImageTypeFoundWithTheSameName, - VirtualMachineImageType.VMImage, - this.ImageName)); + var osDiskConfig = DiskConfig == null ? null : DiskConfig.OSDiskConfiguration; + var dataDiskConfigs = DiskConfig == null ? null : DiskConfig.DataDiskConfigurations.ToList(); + + var parameters = new VirtualMachineVMImageCreateParameters + { + Name = this.ImageName, + OSDiskConfiguration = osDiskConfig == null ? null : new OSDiskConfigurationCreateParameters + { + OS = osDiskConfig.OS, + OSState = osDiskConfig.OSState, + HostCaching = osDiskConfig.HostCaching, + MediaLink = osDiskConfig.MediaLink + }, + DataDiskConfigurations = dataDiskConfigs == null ? null : dataDiskConfigs.Select(d => new DataDiskConfigurationCreateParameters + { + HostCaching = d.HostCaching, + LogicalUnitNumber = d.Lun, + MediaLink = d.MediaLink + }).ToList(), + Label = string.IsNullOrEmpty(this.Label) ? this.ImageName : this.Label, + Eula = this.Eula, + Description = this.Description, + ImageFamily = this.ImageFamily, + PublishedDate = this.PublishedDate, + PrivacyUri = this.PrivacyUri, + RecommendedVMSize = this.RecommendedVMSize, + IconUri = this.IconName, + SmallIconUri = this.SmallIconName, + ShowInGui = this.ShowInGui + }; + + this.ExecuteClientActionNewSM( + null, + this.CommandRuntime.ToString(), + () => this.ComputeClient.VirtualMachineVMImages.Create(parameters)); } else { @@ -105,8 +142,8 @@ public void ExecuteCommand() PublishedDate = this.PublishedDate, PrivacyUri = this.PrivacyUri, RecommendedVMSize = this.RecommendedVMSize, - IconUri = this.IconUri, - SmallIconUri = this.SmallIconUri, + IconUri = this.IconName, + SmallIconUri = this.SmallIconName, ShowInGui = this.ShowInGui }; @@ -117,11 +154,5 @@ public void ExecuteCommand() (s, response) => this.ContextFactory(response, s)); } } - - protected override void OnProcessRecord() - { - ServiceManagementProfile.Initialize(); - this.ExecuteCommand(); - } } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/DiskRepository/SetAzureVMImageDataDiskConfig.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/DiskRepository/SetAzureVMImageDataDiskConfig.cs index 0b1d94936b26..091327fc463d 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/DiskRepository/SetAzureVMImageDataDiskConfig.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/DiskRepository/SetAzureVMImageDataDiskConfig.cs @@ -21,12 +21,15 @@ namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS { [Cmdlet( VerbsCommon.Set, - AzureDataDiskConfigurationNoun), + AzureDataDiskConfigurationNoun, + DefaultParameterSetName = UpdateAzureVMImageParamSet), OutputType( typeof(VirtualMachineImageDiskConfigSet))] public class SetAzureVMImageDataDiskConfig : PSCmdlet { protected const string AzureDataDiskConfigurationNoun = "AzureVMImageDataDiskConfig"; + protected const string UpdateAzureVMImageParamSet = "UpdateAzureVMImageParamSet"; + protected const string AddAzureVMImageParamSet = "AddAzureVMImageParamSet"; [Parameter( Position = 0, @@ -38,6 +41,7 @@ public class SetAzureVMImageDataDiskConfig : PSCmdlet public VirtualMachineImageDiskConfigSet DiskConfig { get; set; } [Parameter( + ParameterSetName = UpdateAzureVMImageParamSet, Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, @@ -46,22 +50,45 @@ public class SetAzureVMImageDataDiskConfig : PSCmdlet public string DataDiskName { get; set; } [Parameter( + ParameterSetName = UpdateAzureVMImageParamSet, Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Lun")] + [Parameter( + ParameterSetName = AddAzureVMImageParamSet, + Position = 1, + Mandatory = true, + ValueFromPipelineByPropertyName = true, + HelpMessage = "Lun")] [ValidateNotNullOrEmpty] public int Lun { get; set; } [Parameter( + ParameterSetName = UpdateAzureVMImageParamSet, Position = 3, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Controls the platform caching behavior of the data disk blob for read efficiency.")] + [Parameter( + ParameterSetName = AddAzureVMImageParamSet, + Position = 2, + Mandatory = true, + ValueFromPipelineByPropertyName = true, + HelpMessage = "Controls the platform caching behavior of the data disk blob for read efficiency.")] [ValidateNotNullOrEmpty] [ValidateSet("ReadOnly", "ReadWrite", "None", IgnoreCase = true)] public string HostCaching { get; set; } + [Parameter( + ParameterSetName = AddAzureVMImageParamSet, + Position = 3, + Mandatory = true, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The media link.")] + [ValidateNotNullOrEmpty] + public Uri MediaLink { get; set; } + protected override void ProcessRecord() { ServiceManagementProfile.Initialize(); @@ -72,7 +99,9 @@ protected override void ProcessRecord() } var diskConfig = DiskConfig.DataDiskConfigurations.FirstOrDefault( - d => string.Equals(d.Name, this.DataDiskName, StringComparison.OrdinalIgnoreCase)); + d => this.ParameterSetName == UpdateAzureVMImageParamSet + ? string.Equals(d.Name, this.DataDiskName, StringComparison.OrdinalIgnoreCase) + : d.MediaLink == this.MediaLink); if (diskConfig == null) { @@ -80,9 +109,10 @@ protected override void ProcessRecord() DiskConfig.DataDiskConfigurations.Add(diskConfig); } - diskConfig.Name = this.DataDiskName; + diskConfig.Name = this.DataDiskName; diskConfig.HostCaching = this.HostCaching; - diskConfig.Lun = this.Lun; + diskConfig.Lun = this.Lun; + diskConfig.MediaLink = this.MediaLink; WriteObject(DiskConfig); } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/DiskRepository/SetAzureVMImageOSDiskConfig.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/DiskRepository/SetAzureVMImageOSDiskConfig.cs index 377c9f567da2..458a935ec394 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/DiskRepository/SetAzureVMImageOSDiskConfig.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/DiskRepository/SetAzureVMImageOSDiskConfig.cs @@ -12,6 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using System; using System.Management.Automation; using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; @@ -19,12 +20,17 @@ namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS { [Cmdlet( VerbsCommon.Set, - AzureOSDiskConfigurationNoun), + AzureOSDiskConfigurationNoun, + DefaultParameterSetName = UpdateAzureVMImageParamSet), OutputType( typeof(VirtualMachineImageDiskConfigSet))] public class SetAzureVMImageOSDiskConfig : PSCmdlet { protected const string AzureOSDiskConfigurationNoun = "AzureVMImageOSDiskConfig"; + protected const string UpdateAzureVMImageParamSet = "UpdateAzureVMImageParamSet"; + protected const string AddAzureVMImageParamSet = "AddAzureVMImageParamSet"; + protected const string GeneralizedStr = "Generalized"; + protected const string SpecializedStr = "Specialized"; [Parameter( Position = 0, @@ -43,6 +49,35 @@ public class SetAzureVMImageOSDiskConfig : PSCmdlet [ValidateSet("ReadOnly", "ReadWrite", IgnoreCase = true)] public string HostCaching { get; set; } + [Parameter( + ParameterSetName = AddAzureVMImageParamSet, + Mandatory = true, + Position = 2, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The media link.")] + [ValidateNotNullOrEmpty] + public Uri MediaLink { get; set; } + + [Parameter( + ParameterSetName = AddAzureVMImageParamSet, + Mandatory = true, + Position = 3, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The OS state.")] + [ValidateNotNullOrEmpty] + [ValidateSet(GeneralizedStr, SpecializedStr, IgnoreCase = true)] + public string OSState { get; set; } + + [Parameter( + ParameterSetName = AddAzureVMImageParamSet, + Mandatory = true, + Position = 4, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The OS type.")] + [ValidateNotNullOrEmpty] + [ValidateSet("Windows", "Linux", IgnoreCase = true)] + public string OS { get; set; } + protected override void ProcessRecord() { ServiceManagementProfile.Initialize(); @@ -53,6 +88,9 @@ protected override void ProcessRecord() } DiskConfig.OSDiskConfiguration.HostCaching = this.HostCaching; + DiskConfig.OSDiskConfiguration.MediaLink = this.MediaLink; + DiskConfig.OSDiskConfiguration.OS = this.OS; + DiskConfig.OSDiskConfiguration.OSState = this.OSState; WriteObject(DiskConfig); } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/DiskRepository/UpdateAzureDisk.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/DiskRepository/UpdateAzureDisk.cs index d6858b714571..774bea42cd84 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/DiskRepository/UpdateAzureDisk.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/DiskRepository/UpdateAzureDisk.cs @@ -24,28 +24,67 @@ namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS [Cmdlet(VerbsData.Update, "AzureDisk"), OutputType(typeof(DiskContext))] public class UpdateAzureDiskCommand : ServiceManagementBaseCmdlet { - [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Name of the disk in the disk library.")] + public const string ResizeParameterSetName = "Resize"; + public const string NoResizeParameterSetName = "NoResize"; + + [Parameter(Position = 0, ParameterSetName = ResizeParameterSetName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Name of the disk in the disk library.")] + [Parameter(Position = 0, ParameterSetName = NoResizeParameterSetName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Name of the disk in the disk library.")] [ValidateNotNullOrEmpty] public string DiskName { get; set; } - [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Label of the disk.")] + [Parameter(Position = 1, ParameterSetName = ResizeParameterSetName, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Label of the disk.")] + [Parameter(Position = 1, ParameterSetName = NoResizeParameterSetName, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Label of the disk.")] [ValidateNotNullOrEmpty] public string Label { get; set; } + [Parameter(Position = 2, + ParameterSetName = ResizeParameterSetName, + Mandatory = true, + ValueFromPipelineByPropertyName = true, + HelpMessage = "Resizes the underlying blob to the indicated size in GB.")] + [ValidateNotNullOrEmpty] + public int ResizedSizeInGB { get; set; } + internal void ExecuteCommand() { ServiceManagementProfile.Initialize(); - var parameters = new VirtualMachineDiskUpdateParameters + + VirtualMachineDiskUpdateParameters parameters; + + if (this.ParameterSetName == NoResizeParameterSetName) { - Name = this.DiskName, - Label = this.Label - }; - - this.ExecuteClientActionNewSM( - null, - this.CommandRuntime.ToString(), - () => this.ComputeClient.VirtualMachineDisks.UpdateDisk(this.DiskName, parameters), - (s, response) => this.ContextFactory(response, s)); + parameters = new VirtualMachineDiskUpdateParameters + { + Name = this.DiskName, + Label = this.Label, + }; + + this.ExecuteClientActionNewSM( + null, + this.CommandRuntime.ToString(), + () => this.ComputeClient.VirtualMachineDisks.UpdateDisk(this.DiskName, parameters), + (s, response) => this.ContextFactory(response, s)); + } + else + { + if (this.Label == null) + { + var currentDisk = this.ComputeClient.VirtualMachineDisks.GetDisk(this.DiskName); + Label = currentDisk.Label; + } + + parameters = new VirtualMachineDiskUpdateParameters + { + Name = this.DiskName, + Label = this.Label, + ResizedSizeInGB = this.ResizedSizeInGB, + }; + + this.ExecuteClientActionNewSM( + null, + this.CommandRuntime.ToString(), + () => this.ComputeClient.VirtualMachineDisks.UpdateDiskSize(this.DiskName, parameters)); + } } protected override void OnProcessRecord() diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/DiskRepository/UpdateAzureVMImage.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/DiskRepository/UpdateAzureVMImage.cs index 1b40f28d6355..97892645f5ce 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/DiskRepository/UpdateAzureVMImage.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/DiskRepository/UpdateAzureVMImage.cs @@ -70,13 +70,15 @@ public class UpdateAzureVMImage : ServiceManagementBaseCmdlet [ValidateNotNullOrEmpty] public string Language { get; set; } + [Alias("IconUri")] [Parameter(Position = 10, ValueFromPipelineByPropertyName = true, HelpMessage = "IconUri.")] [ValidateNotNullOrEmpty] - public Uri IconUri { get; set; } + public string IconName { get; set; } + [Alias("SmallIconUri")] [Parameter(Position = 11, ValueFromPipelineByPropertyName = true, HelpMessage = "SmallIconUri.")] [ValidateNotNullOrEmpty] - public Uri SmallIconUri { get; set; } + public string SmallIconName { get; set; } [Parameter(Position = 12, ValueFromPipelineByPropertyName = true, HelpMessage = "DontShowInGui.")] public SwitchParameter DontShowInGui { get; set; } @@ -106,8 +108,8 @@ protected override void OnProcessRecord() PrivacyUri = this.PrivacyUri, RecommendedVMSize = this.RecommendedVMSize, Language = this.Language, - IconUri = this.IconUri, - SmallIconUri = this.SmallIconUri, + IconUri = this.IconName, + SmallIconUri = this.SmallIconName, ShowInGui = this.DontShowInGui.IsPresent ? (bool?)false : null }; @@ -139,8 +141,8 @@ protected override void OnProcessRecord() Name = d.Name }).ToList(), Language = this.Language, - IconUri = this.IconUri, - SmallIconUri = this.SmallIconUri, + IconUri = this.IconName, + SmallIconUri = this.SmallIconName, ShowInGui = this.DontShowInGui.IsPresent ? (bool?)false : null }; diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Disks/AddAzureDataDisk.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Disks/AddAzureDataDisk.cs index 17abeb97d913..0ca4f5dc3a39 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Disks/AddAzureDataDisk.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Disks/AddAzureDataDisk.cs @@ -19,10 +19,10 @@ using System.Linq; using System.Management.Automation; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS { @@ -166,7 +166,7 @@ protected Collection GetDataDisks() protected void ValidateParameters() { - var currentSubscription = AzureSession.CurrentContext.Subscription; + var currentSubscription = Profile.Context.Subscription; if ((currentSubscription == null || currentSubscription.GetProperty(AzureSubscription.Property.StorageAccount) == null) && this.MediaLocation == null && string.Compare(this.ParameterSetName, "CreateNew", StringComparison.OrdinalIgnoreCase) == 0) { throw new ArgumentException(Resources.MediaLocationOrDefaultStorageAccountMustBeSpecified); diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Disks/SetAzureDataDisk.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Disks/SetAzureDataDisk.cs index a98f4190d91d..58e36bbca734 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Disks/SetAzureDataDisk.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Disks/SetAzureDataDisk.cs @@ -26,7 +26,13 @@ namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS [Cmdlet(VerbsCommon.Set, "AzureDataDisk"), OutputType(typeof(IPersistentVM))] public class SetAzureDataDiskCommand : VirtualMachineConfigurationCmdletBase { - [Parameter(Position = 0, Mandatory = true, HelpMessage = "Controls the platform caching behavior of data disk blob for read efficiency.")] + private const string ResizeParameterSet = "Resize"; + private const string NoResizeParameteSet = "NoResize"; + + [Parameter(Position = 0, + ParameterSetName = NoResizeParameteSet, + Mandatory = true, + HelpMessage = "Controls the platform caching behavior of data disk blob for read efficiency.")] [ValidateSet("None", "ReadOnly", "ReadWrite", IgnoreCase = true)] public string HostCaching { @@ -34,7 +40,10 @@ public string HostCaching set; } - [Parameter(Position = 1, Mandatory = true, HelpMessage = "Numerical value that defines the slot where the data drive will be mounted in the virtual machine.")] + [Parameter(Position = 1, + ParameterSetName = NoResizeParameteSet, + Mandatory = true, + HelpMessage = "Numerical value that defines the slot where the data drive will be mounted in the virtual machine.")] [ValidateNotNullOrEmpty] public int LUN { @@ -42,22 +51,84 @@ public int LUN set; } - internal void ExecuteCommand() + [Parameter(Position = 3, + ParameterSetName = ResizeParameterSet, + Mandatory = true, + ValueFromPipelineByPropertyName = false, + HelpMessage = "The Name of the DataDiskConfiguration being referenced to")] + [ValidateNotNullOrEmpty] + public string DiskName { - var dataDisks = GetDataDisks(); - var dataDisk = dataDisks.SingleOrDefault(disk => disk.Lun == LUN); + get; + set; + } + + [Parameter(Position = 4, + ParameterSetName = ResizeParameterSet, + Mandatory = true, + ValueFromPipelineByPropertyName = false, + HelpMessage = "Resize the new data disk to a larger size.")] + [ValidateNotNullOrEmpty] + public int ResizedSizeInGB + { + get; + set; + } - if (dataDisk == null) + internal void ExecuteCommand() + { + if (this.ParameterSetName == NoResizeParameteSet) { - ThrowTerminatingError( - new ErrorRecord( - new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, Resources.DataDiskNotAssignedForVM, this.LUN)), - string.Empty, - ErrorCategory.InvalidData, - null)); + var dataDisks = GetDataDisks(); + var dataDisk = dataDisks.SingleOrDefault(disk => disk.Lun == LUN); + + if (dataDisk == null) + { + ThrowTerminatingError( + new ErrorRecord( + new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, Resources.DataDiskNotAssignedForVM, this.LUN)), + string.Empty, + ErrorCategory.InvalidData, + null)); + } + + dataDisk.HostCaching = HostCaching; } + else + { + PersistentVM role = VM.GetInstance(); - dataDisk.HostCaching = HostCaching; + if (role.VMImageInput == null) + { + role.VMImageInput = new VMImageInput(); + } + + if (role.VMImageInput.DataDiskConfigurations == null) + { + role.VMImageInput.DataDiskConfigurations = new DataDiskConfigurationList(); + }; + + bool diskNameAlreadyExist = false; + + foreach (var dataDiskConfig in role.VMImageInput.DataDiskConfigurations) + { + if (string.Equals(dataDiskConfig.Name, this.DiskName, StringComparison.OrdinalIgnoreCase)) + { + dataDiskConfig.ResizedSizeInGB = this.ResizedSizeInGB; + diskNameAlreadyExist = true; + } + } + + if (! diskNameAlreadyExist) + { + role.VMImageInput.DataDiskConfigurations.Add( + new DataDiskConfiguration() + { + Name = this.DiskName, + ResizedSizeInGB = this.ResizedSizeInGB, + }); + } + } WriteObject(VM, true); } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Disks/SetAzureOSDisk.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Disks/SetAzureOSDisk.cs index 69e3aca99e26..cd6fe0940d48 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Disks/SetAzureOSDisk.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Disks/SetAzureOSDisk.cs @@ -23,7 +23,11 @@ namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS [Cmdlet(VerbsCommon.Set, "AzureOSDisk"), OutputType(typeof(IPersistentVM))] public class SetAzureOSDiskCommand : VirtualMachineConfigurationCmdletBase { - [Parameter(Position = 0, Mandatory = true, HelpMessage = "Controls the platform caching behavior of data disk blob for read / write efficiency.")] + private const string ResizeParameterSet = "Resize"; + private const string NoResizeParameteSet = "NoResize"; + + [Parameter(Position = 0, ParameterSetName = NoResizeParameteSet, Mandatory = true, HelpMessage = "Controls the platform caching behavior of data disk blob for read / write efficiency.")] + [Parameter(Position = 0, ParameterSetName = ResizeParameterSet, Mandatory = false, HelpMessage = "Controls the platform caching behavior of data disk blob for read / write efficiency.")] [ValidateSet("ReadOnly", "ReadWrite", IgnoreCase = true)] public string HostCaching { @@ -31,9 +35,21 @@ public string HostCaching set; } + [Parameter(Position = 1, + ParameterSetName = ResizeParameterSet, + Mandatory = true, + ValueFromPipelineByPropertyName = false, + HelpMessage = "Resize the new OS Disk to a larger size.")] + [ValidateNotNullOrEmpty] + public int ResizedSizeInGB + { + get; + set; + } + internal void ExecuteCommand() { - var role = VM.GetInstance(); + var role = VM.GetInstance(); if (role.OSVirtualHardDisk == null) { @@ -45,8 +61,24 @@ internal void ExecuteCommand() null)); } - OSVirtualHardDisk disk = role.OSVirtualHardDisk; - disk.HostCaching = HostCaching; + role.OSVirtualHardDisk.HostCaching = HostCaching; + if (this.ParameterSetName.Equals(ResizeParameterSet)) + { + role.OSVirtualHardDisk.ResizedSizeInGB = this.ResizedSizeInGB; + + if (role.VMImageInput == null) + { + role.VMImageInput = new VMImageInput(); + } + + if (role.VMImageInput.OSDiskConfiguration == null) + { + role.VMImageInput.OSDiskConfiguration = new OSDiskConfiguration(); + }; + + role.VMImageInput.OSDiskConfiguration.ResizedSizeInGB = this.ResizedSizeInGB; + } + WriteObject(VM, true); } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Common/SetAzureVMExtension.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Common/SetAzureVMExtension.cs index bed707a519b4..9c2689c9fde8 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Common/SetAzureVMExtension.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Common/SetAzureVMExtension.cs @@ -240,6 +240,12 @@ public class SetAzureVMExtensionCommand : VirtualMachineExtensionCmdletBase HelpMessage = "The Private Configuration's Reference Key.")] public override string PrivateConfigKey { get; set; } + [Parameter( + Mandatory = false, + Position = 11, + HelpMessage = "Re-apply a configuration to an extension when the configuration has not been updated.")] + public override SwitchParameter ForceUpdate { get; set; } + internal void ExecuteCommand() { ValidateParameters(); diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Common/VirtualMachineExtensionCmdletBase.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Common/VirtualMachineExtensionCmdletBase.cs index 1b139bd0242f..61abd6b4e855 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Common/VirtualMachineExtensionCmdletBase.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Common/VirtualMachineExtensionCmdletBase.cs @@ -21,7 +21,7 @@ using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions { @@ -79,6 +79,7 @@ public virtual string Publisher public virtual string PrivateConfigPath { get; set; } public virtual SwitchParameter Disable { get; set; } public virtual SwitchParameter Uninstall { get; set; } + public virtual SwitchParameter ForceUpdate { get; set; } static VirtualMachineExtensionCmdletBase() { @@ -243,6 +244,11 @@ protected ResourceExtensionReference NewResourceExtension() }); } + if (this.ForceUpdate.IsPresent) + { + extensionRef.ForceUpdate = true; + } + return extensionRef; } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Common/VirtualMachineExtensionImageContext.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Common/VirtualMachineExtensionImageContext.cs index 1e24cf3c20c5..79b2c16dd798 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Common/VirtualMachineExtensionImageContext.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/Common/VirtualMachineExtensionImageContext.cs @@ -37,5 +37,6 @@ public class VirtualMachineExtensionImageContext : ManagementOperationContext public string SupportedOS { get; set; } public DateTime? PublishedDate { get; set; } public string CompanyName { get; set; } + public string Regions { get; set; } } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/CustomScript/SetAzureVMCustomScriptExtension.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/CustomScript/SetAzureVMCustomScriptExtension.cs index c39ca7ba484b..ed7caee7b15c 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/CustomScript/SetAzureVMCustomScriptExtension.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/CustomScript/SetAzureVMCustomScriptExtension.cs @@ -16,14 +16,14 @@ using System.Linq; using System.Management.Automation; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.ServiceManagement; using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Auth; using Microsoft.WindowsAzure.Storage.Blob; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Microsoft.WindowsAzure.Management.Storage; namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions @@ -158,6 +158,12 @@ public class SetAzureVMCustomScriptExtensionCommand : VirtualMachineCustomScript [ValidateNotNullOrEmpty] public override string Argument { get; set; } + [Parameter( + Mandatory = false, + Position = 9, + HelpMessage = "Re-apply a configuration to an extension when the configuration has not been updated.")] + public override SwitchParameter ForceUpdate { get; set; } + protected override void ProcessRecord() { base.ProcessRecord(); @@ -179,7 +185,7 @@ protected override void ValidateParameters() if (string.Equals(this.ParameterSetName, SetCustomScriptExtensionByContainerBlobsParamSetName)) { this.StorageEndpointSuffix = string.IsNullOrEmpty(this.StorageEndpointSuffix) ? - AzureSession.CurrentContext.Environment.GetEndpoint(AzureEnvironment.Endpoint.StorageEndpointSuffix) : this.StorageEndpointSuffix; + Profile.Context.Environment.GetEndpoint(AzureEnvironment.Endpoint.StorageEndpointSuffix) : this.StorageEndpointSuffix; var sName = string.IsNullOrEmpty(this.StorageAccountName) ? GetStorageName() : this.StorageAccountName; var sKey = string.IsNullOrEmpty(this.StorageAccountKey) ? GetStorageKey(sName) : this.StorageAccountKey; @@ -204,7 +210,7 @@ protected override void ValidateParameters() protected string GetStorageName() { - return CurrentContext.Subscription.GetProperty(AzureSubscription.Property.StorageAccount); + return Profile.Context.Subscription.GetProperty(AzureSubscription.Property.StorageAccount); } protected string GetStorageKey(string storageName) diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/CustomScript/VirtualMachineCustomScriptExtensionCmdletBase.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/CustomScript/VirtualMachineCustomScriptExtensionCmdletBase.cs index f7af774ca2f4..19d858ccc91f 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/CustomScript/VirtualMachineCustomScriptExtensionCmdletBase.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/CustomScript/VirtualMachineCustomScriptExtensionCmdletBase.cs @@ -12,7 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Newtonsoft.Json; diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/GetAzureVMDscExtension.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/GetAzureVMDscExtension.cs index abc52a38db9b..4dd837b7a06b 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/GetAzureVMDscExtension.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/GetAzureVMDscExtension.cs @@ -32,10 +32,6 @@ namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions OutputType(typeof(VirtualMachineDscExtensionContext))] public class GetAzureVMDscExtensionCommand : VirtualMachineDscExtensionCmdletBase { - - [Parameter(Position = 1, ValueFromPipelineByPropertyName = true)] - public override string Version { get; set; } - internal void ExecuteCommand() { List extensionRefs = GetPredicateExtensionList(); @@ -72,7 +68,7 @@ internal void ExecuteCommand() State = r.State, RoleName = VM.GetInstance().RoleName, PublicConfiguration = PublicConfiguration, - PrivateConfiguration = SecureStringHelper.GetSecureString(PrivateConfiguration), + PrivateConfiguration = SecureStringHelper.GetSecureString(PrivateConfiguration) }; if (publicSettings == null) @@ -99,6 +95,7 @@ protected override void ProcessRecord() base.ProcessRecord(); ExecuteCommand(); } + } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/GetAzureVMDscExtensionStatus.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/GetAzureVMDscExtensionStatus.cs new file mode 100644 index 000000000000..1130dd1055f2 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/GetAzureVMDscExtensionStatus.cs @@ -0,0 +1,256 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Net; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Management.Automation; +using Hyak.Common; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties; +using Microsoft.WindowsAzure.Management.Compute; + + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions +{ + using NSM = Management.Compute.Models; + + /// + /// This cmdlet is used to get the status of the DSC extension handler for all or for a given virtual machine(s) + /// in a cloud service. When a configuration is applied this cmdlet produces output consistent with Start-DscConfiguration. + /// + /// Not: To get detailed output -Verbose flag need to be specified + /// + /// Example Usage: + /// Get-AzureVMDscExtensionStatus -ServiceName service + /// Get-AzureVMDscExtensionStatus -ServiceName service -Name VM-name + /// Get-AzureVMDscExtensionStatus -VM vm + /// + [Cmdlet( + VerbsCommon.Get, + VirtualMachineDscStatusCmdletNoun, + DefaultParameterSetName = GetStatusByServiceAndVmNameParamSet), + OutputType(typeof(VirtualMachineDscExtensionStatusContext))] + public class GetAzureVmDscExtensionStatusCommand : IaaSDeploymentManagementCmdletBase + { + /// + /// Name of the cloud service for DSC Extension Status + /// + [Parameter( + ParameterSetName = GetStatusByServiceAndVmNameParamSet, + Position = 0, + Mandatory = true, + ValueFromPipelineByPropertyName = true, + HelpMessage = "Name of the cloud service for DSC Extension Status.")] + [ValidateNotNullOrEmpty] + public override string ServiceName { get; set; } + + /// + /// Name of the VM in a cloud service for DSC Extension Status + /// + [Parameter( + ParameterSetName = GetStatusByServiceAndVmNameParamSet, + Position = 1, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The name of the deployment for the status.")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + /// + /// VM object returned by Get-AzureVM cmdlet for DSC Extension Status + /// + [Parameter( + ParameterSetName = GetStatusByVmParamSet, + Mandatory = true, + ValueFromPipeline = true, + ValueFromPipelineByPropertyName = true, + HelpMessage = "Virtual machine object for the status.")] + [ValidateNotNullOrEmpty] + [Alias("InputObject")] + public IPersistentVM VM { get; set; } + + protected const string VirtualMachineDscStatusCmdletNoun = "AzureVMDscExtensionStatus"; + protected const string GetStatusByServiceAndVmNameParamSet = "GetStatusByServiceAndVMName"; + protected const string GetStatusByVmParamSet = "GetStatusByVM"; + + internal string Service; + internal string VmName; + + /// + /// This method is the entry point for this cmdlet. It gets the deployment information based on the service name + /// and/or vm name and returns the status information for the DSC Extension Handler. + /// + protected override void ExecuteCommand() + { + ServiceManagementProfile.Initialize(); + GetService(ServiceName, VM); + GetCurrentDeployment(); + + if (CurrentDeploymentNewSM == null) + { + WriteWarning( + string.Format(CultureInfo.CurrentUICulture, Resources.NoDeploymentFoundInService, Service)); + return; + } + + var vmDscStatusContexts = GetVirtualMachineDscStatusContextList(CurrentDeploymentNewSM); + if (vmDscStatusContexts == null || vmDscStatusContexts.Count < 1) + { + WriteWarning(Resources.ResourceExtensionReferenceCannotBeFound); + } + WriteObject(vmDscStatusContexts, true); + } + + /// + /// Retrieves service name from the cmdlet's service name or virtual machine parameter + /// + /// Name of the cloud service for DSC Extension Status + /// Name of the VM in a cloud service for DSC Extension Status + internal void GetService(String serviceName, IPersistentVM vm) + { + if (!string.IsNullOrEmpty(serviceName)) + { + Service = serviceName; + } + else + { + //get the service name from the VM object + var vmRoleContext = vm as PersistentVMRoleContext; + if (vmRoleContext == null) + return; + + Service = vmRoleContext.ServiceName; + VmName = vmRoleContext.Name; + } + } + + /// + /// Retrieves deployment information for a cloud service from service api's + /// + internal void GetCurrentDeployment() + { + InvokeInOperationContext(() => + { + try + { + if (string.IsNullOrEmpty(Service)) + return; + + CurrentDeploymentNewSM = ComputeClient.Deployments.GetBySlot(Service, NSM.DeploymentSlot.Production); + GetDeploymentOperationNewSM = GetOperationNewSM(CurrentDeploymentNewSM.RequestId); + WriteVerboseWithTimestamp(Resources.GetDeploymentCompletedOperation); + } + catch (CloudException ex) + { + if (ex.Response.StatusCode != HttpStatusCode.NotFound) + { + throw; + } + } + }); + } + + /// + /// Retrieves dsc extension status for all virtual machine's in a cloud service or a given virtual machine from the deployment object + /// + /// Deployment that exists in the service + /// + internal List GetVirtualMachineDscStatusContextList(NSM.DeploymentGetResponse deployment) + { + var vmDscStatusContexts = new List(); + + //filter the deployment info for a vm, if specified. + var vmRoles = new List(deployment.Roles.Where( + r => (string.IsNullOrEmpty(Name) && string.IsNullOrEmpty(VmName)) + || r.RoleName.Equals(Name, StringComparison.InvariantCultureIgnoreCase) + || r.RoleName.Equals(VmName, StringComparison.InvariantCultureIgnoreCase))); + + foreach (var vm in vmRoles) + { + var roleInstance = deployment.RoleInstances.FirstOrDefault( + r => r.RoleName == vm.RoleName); + + if (roleInstance == null) + { + WriteWarning( + string.Format(CultureInfo.CurrentUICulture, Resources.RoleInstanceCanNotBeFoundWithName, vm.RoleName)); + } + + var vmDscStatusContext = CreateDscStatusContext( + vm, + roleInstance); + + if (vmDscStatusContext != null) + vmDscStatusContexts.Add(vmDscStatusContext); + } + + return vmDscStatusContexts; + } + + /// + /// Creates dsc extension status object for a virtual machine + /// + /// Details of a role in the deployment + /// Details of a specific role instance + /// + internal VirtualMachineDscExtensionStatusContext CreateDscStatusContext(NSM.Role vmRole, NSM.RoleInstance roleInstance) + { + var message = string.Empty; + var extension = VirtualMachineDscExtensionCmdletBase.ExtensionPublishedNamespace + "." + + VirtualMachineDscExtensionCmdletBase.ExtensionPublishedName; + NSM.ResourceExtensionConfigurationStatus extensionSettingStatus = null; + + if (roleInstance != null && roleInstance.ResourceExtensionStatusList != null) + { + foreach (var resourceExtensionStatus in + roleInstance.ResourceExtensionStatusList.Where( + resourceExtensionStatus => resourceExtensionStatus.HandlerName.Equals( + extension, StringComparison.InvariantCultureIgnoreCase)). + Where(resourceExtensionStatus => resourceExtensionStatus.ExtensionSettingStatus != null)) + { + extensionSettingStatus = resourceExtensionStatus.ExtensionSettingStatus; + + if (extensionSettingStatus.SubStatusList == null) continue; + var resourceExtensionSubStatusList = extensionSettingStatus.SubStatusList; + var resourceExtensionSubStatus = resourceExtensionSubStatusList.FirstOrDefault(); + if (resourceExtensionSubStatus == null || resourceExtensionSubStatus.FormattedMessage == null || + resourceExtensionSubStatus.FormattedMessage.Message == null) continue; + message = resourceExtensionSubStatus.FormattedMessage.Message.ToString(CultureInfo.CurrentUICulture); + break; + } + } + + if (extensionSettingStatus == null) + return null; + + var dscStatusContext = new VirtualMachineDscExtensionStatusContext + { + ServiceName = Service, + Name = vmRole == null ? string.Empty : vmRole.RoleName, + Status = extensionSettingStatus.Status ?? string.Empty, + StatusCode = extensionSettingStatus.Code ?? -1, + StatusMessage = (extensionSettingStatus.FormattedMessage == null || + extensionSettingStatus.FormattedMessage.Message == null) ? string.Empty : + extensionSettingStatus.FormattedMessage.Message.ToString(CultureInfo.CurrentUICulture), + DscConfigurationLog = !string.Empty.Equals(message) ? message.Split(new[] { "\r\n", "\n" }, StringSplitOptions.None) : new List().ToArray(), + Timestamp = extensionSettingStatus.Timestamp == null ? DateTime.MinValue : extensionSettingStatus.Timestamp.Value + }; + return dscStatusContext; + } + + } +} + diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/ServiceManagementBaseCmdletExtentions.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/ServiceManagementBaseCmdletExtentions.cs index e79fd87c7d8f..f2f1c14da975 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/ServiceManagementBaseCmdletExtentions.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/ServiceManagementBaseCmdletExtentions.cs @@ -15,7 +15,7 @@ using System; using System.Globalization; using System.Management.Automation; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Storage; using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties; using Microsoft.WindowsAzure.Commands.Utilities.Common; @@ -40,7 +40,7 @@ public static StorageCredentials GetStorageCredentials(this ServiceManagementBas } else { - var storageAccountName = cmdlet.CurrentContext.Subscription.GetProperty(AzureSubscription.Property.StorageAccount); + var storageAccountName = cmdlet.Profile.Context.Subscription.GetProperty(AzureSubscription.Property.StorageAccount); if (!string.IsNullOrEmpty(storageAccountName)) { diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/SetAzureVMDscExtension.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/SetAzureVMDscExtension.cs index a460b4379118..f755015a1bb9 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/SetAzureVMDscExtension.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/SetAzureVMDscExtension.cs @@ -271,7 +271,7 @@ private ConfigurationUris UploadConfigurationDataToBlob() { SharedAccessExpiryTime = DateTime.UtcNow.AddHours(1), - Permissions = SharedAccessBlobPermissions.Read + Permissions = SharedAccessBlobPermissions.Read | SharedAccessBlobPermissions.Delete }; var configurationBlobName = this.ConfigurationArchive; diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/VirtualMachineDscExtensionStatusContext.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/VirtualMachineDscExtensionStatusContext.cs new file mode 100644 index 000000000000..fc9e646a3b42 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/DSC/VirtualMachineDscExtensionStatusContext.cs @@ -0,0 +1,16 @@ + +using System; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions +{ + public class VirtualMachineDscExtensionStatusContext + { + public string ServiceName { get; set; } + public string Name { get; set; } + public string Status { get; set; } + public int StatusCode { get; set; } + public string StatusMessage { get; set; } + public string[] DscConfigurationLog { get; set; } + public DateTimeOffset Timestamp { get; set; } + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/VirtualMachineSqlServerExtensionCmdletBase.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/VirtualMachineSqlServerExtensionCmdletBase.cs index f4cdcacf6e3b..4844e883dc90 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/VirtualMachineSqlServerExtensionCmdletBase.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/SqlServer/VirtualMachineSqlServerExtensionCmdletBase.cs @@ -12,7 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Newtonsoft.Json; diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/VMAccess/SetAzureVMAccessExtension.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/VMAccess/SetAzureVMAccessExtension.cs index c34fa787d355..a61c14765c7d 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/VMAccess/SetAzureVMAccessExtension.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Extensions/VMAccess/SetAzureVMAccessExtension.cs @@ -97,6 +97,12 @@ public class SetAzureVMAccessExtensionCommand : VirtualMachineAccessExtensionCmd [ValidateNotNullOrEmpty] public override string Version { get; set; } + [Parameter( + Mandatory = false, + Position = 5, + HelpMessage = "Re-apply a configuration to an extension when the configuration has not been updated.")] + public override SwitchParameter ForceUpdate { get; set; } + internal void ExecuteCommand() { ValidateParameters(); diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureNetworkSecurityGroupConfig.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureNetworkSecurityGroupConfig.cs index 441282b2ab56..43173452b9df 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureNetworkSecurityGroupConfig.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/GetAzureNetworkSecurityGroupConfig.cs @@ -19,7 +19,7 @@ using Microsoft.Azure.Commands.Network.NetworkSecurityGroup.Model; using Microsoft.WindowsAzure.Commands.Common; using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS { @@ -48,7 +48,7 @@ protected override void ProcessRecord() else { - var networkClient = new NetworkClient(AzureSession.CurrentContext.Subscription, CommandRuntime); + var networkClient = new NetworkClient(Profile, Profile.Context.Subscription, CommandRuntime); INetworkSecurityGroup networkSecurityGroup = networkClient.GetNetworkSecurityGroup(networkSecurityGroupName, Detailed); WriteObject(networkSecurityGroup, true); diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/NewAzureReservedIP.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/NewAzureReservedIP.cs index 8f18ba394a17..5c71f179b263 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/NewAzureReservedIP.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/NewAzureReservedIP.cs @@ -17,6 +17,9 @@ using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Management.Network.Models; using Microsoft.WindowsAzure.Management.Network; +using Microsoft.WindowsAzure.Management.Compute; +using Microsoft.WindowsAzure.Management.Compute.Models; +using System; namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS { @@ -39,7 +42,7 @@ public string ReservedIPName [Parameter(Mandatory = false, Position = 1, ValueFromPipelineByPropertyName = true, ParameterSetName = ReserveNewIPParamSet, HelpMessage = "Reserved IP Label.")] [Parameter(Mandatory = false, Position = 3, ValueFromPipelineByPropertyName = true, ParameterSetName = ReserveInUseIPUsingSlotParamSet, HelpMessage = "Reserved IP Label.")] - [Parameter(Mandatory = false, Position = 2, ValueFromPipelineByPropertyName = true, ParameterSetName = ReserveInUseIPParamSet, HelpMessage = "Reserved IP Label.")] + [Parameter(Mandatory = false, Position = 1, ValueFromPipelineByPropertyName = true, ParameterSetName = ReserveInUseIPParamSet, HelpMessage = "Reserved IP Label.")] [ValidateNotNullOrEmpty] public string Label { @@ -49,7 +52,7 @@ public string Label [Parameter(Mandatory = true, Position = 2, ValueFromPipelineByPropertyName = true, ParameterSetName = ReserveNewIPParamSet, HelpMessage = "Location Name.")] [Parameter(Mandatory = true, Position = 4, ValueFromPipelineByPropertyName = true, ParameterSetName = ReserveInUseIPUsingSlotParamSet, HelpMessage = "Location Name.")] - [Parameter(Mandatory = true, Position = 3, ValueFromPipelineByPropertyName = true, ParameterSetName = ReserveInUseIPParamSet, HelpMessage = "Location Name.")] + [Parameter(Mandatory = true, Position = 2, ValueFromPipelineByPropertyName = true, ParameterSetName = ReserveInUseIPParamSet, HelpMessage = "Location Name.")] [ValidateNotNullOrEmpty] public string Location { @@ -57,9 +60,38 @@ public string Location set; } + [Parameter(Mandatory = true, Position = 3, ValueFromPipelineByPropertyName = true, ParameterSetName = ReserveInUseIPParamSet, HelpMessage = "Service Name.")] + [ValidateNotNullOrEmpty] + public string ServiceName + { + get; + set; + } + + [Parameter(Position = 4, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Deployment slot [Staging | Production].")] + [ValidateSet(Microsoft.WindowsAzure.Commands.ServiceManagement.Model.DeploymentSlotType.Staging, Microsoft.WindowsAzure.Commands.ServiceManagement.Model.DeploymentSlotType.Production, IgnoreCase = true)] + public string Slot + { + get; + set; + } + protected override void OnProcessRecord() { ServiceManagementProfile.Initialize(); + string deploymentName = string.Empty; + + if (!string.IsNullOrEmpty(this.ServiceName)) + { + var slotType = string.IsNullOrEmpty(this.Slot) ? + DeploymentSlot.Production : + (DeploymentSlot)Enum.Parse(typeof(DeploymentSlot), this.Slot, true); + + + deploymentName = this.ComputeClient.Deployments.GetBySlot( + this.ServiceName, + slotType).Name; + } ExecuteClientActionNewSM( null, @@ -70,7 +102,9 @@ protected override void OnProcessRecord() { Name = this.ReservedIPName, Label = this.Label, - Location = this.Location + Location = this.Location, + ServiceName = this.ServiceName, + DeploymentName = deploymentName }; return this.NetworkClient.ReservedIPs.Create(parameters); diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/RemoveAzureReservedIPAssociation.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/RemoveAzureReservedIPAssociation.cs new file mode 100644 index 000000000000..6b49a4288e3c --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/RemoveAzureReservedIPAssociation.cs @@ -0,0 +1,97 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; +using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.WindowsAzure.Management.Compute; +using Microsoft.WindowsAzure.Management.Compute.Models; +using Microsoft.WindowsAzure.Management.Network; +using Microsoft.WindowsAzure.Management.Network.Models; +using System; +using System.Management.Automation; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS +{ + [Cmdlet(VerbsCommon.Remove, ReservedIPConstants.AssociationCmdletNoun), OutputType(typeof(ManagementOperationContext))] + public class RemoveAzureReservedIPAssociationCmdlet : ServiceManagementBaseCmdlet + { + [Parameter(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true, HelpMessage = "Reserved IP Name.")] + [ValidateNotNullOrEmpty] + public string ReservedIPName + { + get; + set; + } + + [Parameter(Mandatory = false, Position = 1, ValueFromPipelineByPropertyName = true, HelpMessage = "Hosted Service Name.")] + [ValidateNotNullOrEmpty] + public string ServiceName + { + get; + set; + } + + [Parameter(Position = 2, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Deployment slot [Staging | Production].")] + [ValidateSet(Microsoft.WindowsAzure.Commands.ServiceManagement.Model.DeploymentSlotType.Staging, Microsoft.WindowsAzure.Commands.ServiceManagement.Model.DeploymentSlotType.Production, IgnoreCase = true)] + public string Slot + { + get; + set; + } + + [Parameter(Position = 3, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Do not confirm removal of reserved IP Association")] + public SwitchParameter Force + { + get; + set; + } + + protected override void OnProcessRecord() + { + if (this.Force.IsPresent || this.ShouldContinue(Resources.ReservedIPAssociationWillBeRemoved, Resources.RemoveReservedIPAssociation)) + { + this.ProcessRemoveAssociation(); + } + } + + private void ProcessRemoveAssociation() + { + ServiceManagementProfile.Initialize(); + + var slotType = string.IsNullOrEmpty(this.Slot) ? + DeploymentSlot.Production : + (DeploymentSlot)Enum.Parse(typeof(DeploymentSlot), this.Slot, true); + + + string deploymentName = this.ComputeClient.Deployments.GetBySlot( + this.ServiceName, + slotType).Name; + + ExecuteClientActionNewSM( + null, + CommandRuntime.ToString(), + () => + { + var parameters = new NetworkReservedIPMobilityParameters + { + ServiceName = this.ServiceName, + DeploymentName = deploymentName + }; + + return this.NetworkClient.ReservedIPs.Disassociate(this.ReservedIPName, parameters); + }); + } + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/SetAzureReservedIPAssociation.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/SetAzureReservedIPAssociation.cs new file mode 100644 index 000000000000..c45fef3b9330 --- /dev/null +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/SetAzureReservedIPAssociation.cs @@ -0,0 +1,81 @@ +// ---------------------------------------------------------------------------------- +// +// 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.ServiceManagement.Model; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.WindowsAzure.Management.Compute; +using Microsoft.WindowsAzure.Management.Compute.Models; +using Microsoft.WindowsAzure.Management.Network; +using Microsoft.WindowsAzure.Management.Network.Models; +using System; +using System.Management.Automation; + +namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS +{ + [Cmdlet(VerbsCommon.Set, ReservedIPConstants.AssociationCmdletNoun), OutputType(typeof(ManagementOperationContext))] + public class SetAzureReservedIPAssociationCmdlet : ServiceManagementBaseCmdlet + { + [Parameter(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true, HelpMessage = "Reserved IP Name.")] + [ValidateNotNullOrEmpty] + public string ReservedIPName + { + get; + set; + } + + [Parameter(Mandatory = false, Position = 1, ValueFromPipelineByPropertyName = true, HelpMessage = "Hosted Service Name.")] + [ValidateNotNullOrEmpty] + public string ServiceName + { + get; + set; + } + + [Parameter(Position = 2, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "Deployment slot [Staging | Production].")] + [ValidateSet(Microsoft.WindowsAzure.Commands.ServiceManagement.Model.DeploymentSlotType.Staging, Microsoft.WindowsAzure.Commands.ServiceManagement.Model.DeploymentSlotType.Production, IgnoreCase = true)] + public string Slot + { + get; + set; + } + + protected override void OnProcessRecord() + { + ServiceManagementProfile.Initialize(); + + var slotType = string.IsNullOrEmpty(this.Slot) ? + DeploymentSlot.Production : + (DeploymentSlot)Enum.Parse(typeof(DeploymentSlot), this.Slot, true); + + + string deploymentName = this.ComputeClient.Deployments.GetBySlot( + this.ServiceName, + slotType).Name; + + ExecuteClientActionNewSM( + null, + CommandRuntime.ToString(), + () => + { + var parameters = new NetworkReservedIPMobilityParameters + { + ServiceName = this.ServiceName, + DeploymentName = deploymentName + }; + + return this.NetworkClient.ReservedIPs.Associate(this.ReservedIPName, parameters); + }); + } + } +} diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/GetAzureVM.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/GetAzureVM.cs index d927cd6df07a..9e0062c37ca3 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/GetAzureVM.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/GetAzureVM.cs @@ -172,6 +172,7 @@ private T CreateVMContext(string serviceName, NSM.Role vmRole, NSM.RoleInstan OperationStatus = deployment == null ? string.Empty : deployment.StatusCode.ToString(), OperationDescription = CommandRuntime.ToString(), NetworkInterfaces = roleInstance == null ? null : Mapper.Map(roleInstance.NetworkInterfaces), + VirtualNetworkName = deployment == null ? null : deployment.VirtualNetworkName, VM = new PVM.PersistentVM { AvailabilitySetName = vmRole == null ? string.Empty : vmRole.AvailabilitySetName, diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureQuickVM.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureQuickVM.cs index 89547a2adc39..820076ba1aef 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureQuickVM.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureQuickVM.cs @@ -21,7 +21,7 @@ using System.Net; using System.Security.Cryptography.X509Certificates; using AutoMapper; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.ServiceManagement.Common; using Microsoft.WindowsAzure.Commands.ServiceManagement.Helpers; using Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions; @@ -171,11 +171,11 @@ public class NewQuickVM : IaaSDeploymentManagementCmdletBase public void NewAzureVMProcess() { - AzureSubscription currentSubscription = CurrentContext.Subscription; + AzureSubscription currentSubscription = Profile.Context.Subscription; CloudStorageAccount currentStorage = null; try { - currentStorage = currentSubscription.GetCloudStorageAccount(); + currentStorage = currentSubscription.GetCloudStorageAccount(Profile); } catch (Exception ex) // couldn't access { diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureVM.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureVM.cs index cea2e5f40d24..4cc05464f378 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureVM.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureVM.cs @@ -18,7 +18,7 @@ using System.Management.Automation; using System.Net; using AutoMapper; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.ServiceManagement.Helpers; using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties; using Microsoft.WindowsAzure.Commands.Utilities.Common; @@ -157,11 +157,11 @@ public string ReservedIPName public void NewAzureVMProcess() { - AzureSubscription currentSubscription = CurrentContext.Subscription; + AzureSubscription currentSubscription = Profile.Context.Subscription; CloudStorageAccount currentStorage = null; try { - currentStorage = currentSubscription.GetCloudStorageAccount(); + currentStorage = currentSubscription.GetCloudStorageAccount(Profile); } catch (Exception ex) // couldn't access { @@ -433,9 +433,14 @@ private Management.Compute.Models.Role CreatePersistentVMRole(Tuple>(persistentVM.ResourceExtensionReferences) : null, VMImageName = isVMImage ? persistentVM.OSVirtualHardDisk.SourceImageName : null, - MediaLocation = isVMImage ? persistentVM.OSVirtualHardDisk.MediaLink : null + MediaLocation = isVMImage ? persistentVM.OSVirtualHardDisk.MediaLink : null, }; + if (persistentVM.VMImageInput != null) + { + result.VMImageInput = isVMImage ? PersistentVMHelper.MapVMImageInput(persistentVM.VMImageInput) : null; + } + if (result.OSVirtualHardDisk != null) { result.OSVirtualHardDisk.IOType = null; diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureVMConfig.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureVMConfig.cs index fb08778cb8ef..ded3f7ab2bcc 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureVMConfig.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureVMConfig.cs @@ -16,7 +16,7 @@ using System; using System.Collections.ObjectModel; using System.Management.Automation; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties; using Microsoft.WindowsAzure.Commands.Utilities.Common; @@ -132,7 +132,7 @@ protected override void ProcessRecord() protected void ValidateParameters() { - AzureSubscription currentSubscription = CurrentContext.Subscription; + AzureSubscription currentSubscription = Profile.Context.Subscription; if ((currentSubscription == null || string.IsNullOrEmpty(currentSubscription.GetProperty(AzureSubscription.Property.StorageAccount))) && string.IsNullOrEmpty(MediaLocation)) { throw new ArgumentException(Resources.MustSpecifyMediaLocationOrHaveCurrentStorageAccount); diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/UpdateAzureVM.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/UpdateAzureVM.cs index de7a15577691..ac18a9524c38 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/UpdateAzureVM.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/UpdateAzureVM.cs @@ -17,7 +17,7 @@ using System.Linq; using System.Management.Automation; using AutoMapper; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.ServiceManagement.Helpers; using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties; using Microsoft.WindowsAzure.Commands.Utilities.Common; @@ -54,7 +54,7 @@ internal void ExecuteCommandNewSM() base.ExecuteCommand(); - AzureSubscription currentSubscription = CurrentContext.Subscription; + AzureSubscription currentSubscription = Profile.Context.Subscription; if (CurrentDeploymentNewSM == null) { throw new ApplicationException(String.Format(Resources.CouldNotFindDeployment, ServiceName, Model.DeploymentSlotType.Production)); @@ -65,7 +65,7 @@ internal void ExecuteCommandNewSM() { if (datadisk.MediaLink == null && string.IsNullOrEmpty(datadisk.DiskName)) { - CloudStorageAccount currentStorage = currentSubscription.GetCloudStorageAccount(); + CloudStorageAccount currentStorage = currentSubscription.GetCloudStorageAccount(Profile); if (currentStorage == null) { throw new ArgumentException(Resources.CurrentStorageAccountIsNotAccessible); diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.dll-Help.xml b/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.dll-Help.xml index c14640929f68..d6a25ac57bf5 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.dll-Help.xml +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.dll-Help.xml @@ -2875,285 +2875,544 @@ New-AzureVMConfig -Name "MyNonDomainVM" -InstanceSize Small -ImageName - - - - Add-AzureVMImage - - The Add-AzureVMImage cmdlet adds a new operating system (OS) image to the image repository. The image should be a sysprep'd or generalized OS image. - - - - - Add - AzureVMImage - - - - - - - - - Add-AzureVMImage - - ImageName - - Specifies the name of the image being added to the image repository. - - String - - - MediaLocation - - Specifies the location of the physical blob page where the image resides. This is a link to a blob page in the current subscription's storage. - - String - - - OS - - Specifies the operating system version of the image. - - String - - - Label - - Specifies a label to give the image. - - String - - - Eula - - Specifies the End User License Aggreement, recommended value is a URL. - - String - - - Description - - Specifies the description of the OS image. - - String - - - ImageFamily - - Specifies a value that can be used to group OS images. - - String - - - PublishedDate - - Specifies the date when the OS image was added to the image repository. - - Nullable`1[DateTime] - - - PrivacyUri - - Specifies the URI that points to a document that contains the privacy policy related to the OS image. - - Uri - - - RecommendedVMSize - - Specifies the size to use for the virtual machine that is created from the OS image. Values are: "Medium", "Large", and "ExtraLarge", "A5", "A6",, "A7". - - String - - - - - - ImageName - - Specifies the name of the image being added to the image repository. - - String - - String - - - - - - MediaLocation - - Specifies the location of the physical blob page where the image resides. This is a link to a blob page in the current subscription's storage. - - String - - String - - - - - - OS - - Specifies the operating system version of the image. - - String - - String - - - - - - Label - - Specifies a label to give the image. - - String - - String - - - - - - Eula - - Specifies the End User License Aggreement, recommended value is a URL. - - String - - String - - - - - - Description - - Specifies the description of the OS image. - - String - - String - - - - - - ImageFamily - - Specifies a value that can be used to group OS images. - - String - - String - - - - - - PublishedDate - - Specifies the date when the OS image was added to the image repository. - - Nullable`1[DateTime] - - Nullable`1[DateTime] - - - - - - PrivacyUri - - Specifies the URI that points to a document that contains the privacy policy related to the OS image. - - Uri - - Uri - - - - - - RecommendedVMSize - - Specifies the size to use for the virtual machine that is created from the OS image. Values are: "Medium", "Large", and "ExtraLarge", "A5", "A6",, "A7". - - String - - String - - - - - - - - - - - - - - - - - - - - - OSImageContext - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - - PS C:\> Add-AzureVMImage -ImageName imageName -MediaLocation http://yourstorageaccount.blob.core.azure.com/container/sampleImage.vhd -Label imageLabel - - Description - - - - -----------This example adds a new operating system image in the repository - - - - - - - Get-AzureVMImage - - - - Remove-AzureVMImage - - - - Update-AzureVMImage - - - - + + + + + Add-AzureVMImage + + + The Add-AzureVMImage cmdlet adds a new operating system (OS) image or a new VM Image to the image repository. The image should be a sysprep'd or generalized image. + + + + + Add + AzureVMImage + + + + + + + + + Add-AzureVMImage + + ImageName + + Specifies the name of the image being added to the image repository. + + string + + + MediaLocation + + Specifies the location of the physical blob page where the image resides. This is a link to a blob page in the current subscription's storage. + + string + + + Label + + Specifies a label to give the image. + + string + + + Eula + + Specifies the End User License Aggreement, recommended value is a URL. + + string + + + Description + + Specifies the description of the OS image. + + string + + + ImageFamily + + Specifies a value that can be used to group OS images. + + string + + + PublishedDate + + + + System.Nullable`1[[System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] + + + PrivacyUri + + Specifies the URI that points to a document that contains the privacy policy related to the OS image. + + Uri + + + RecommendedVMSize + + Specifies the size to use for the virtual machine that is created from the OS image. Values are: "Medium", "Large", and "ExtraLarge", "A5", "A6",, "A7". + + string + + + IconName + + Not Specified + + string + + + SmallIconName + + Not Specified + + string + + + ShowInGui + + Not Specified + + + + PipelineVariable + + Not Specified + + string + + + + Add-AzureVMImage + + ImageName + + Specifies the name of the image being added to the image repository. + + string + + + DiskConfig + + Not Specified + + VirtualMachineImageDiskConfigSet + + + OS + + Specifies the operating system version of the image. + + string + + + Label + + Specifies a label to give the image. + + string + + + Eula + + Specifies the End User License Aggreement, recommended value is a URL. + + string + + + Description + + Specifies the description of the OS image. + + string + + + ImageFamily + + Specifies a value that can be used to group OS images. + + string + + + PublishedDate + + + + System.Nullable`1[[System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] + + + PrivacyUri + + Specifies the URI that points to a document that contains the privacy policy related to the OS image. + + Uri + + + RecommendedVMSize + + Specifies the size to use for the virtual machine that is created from the OS image. Values are: "Medium", "Large", and "ExtraLarge", "A5", "A6",, "A7". + + string + + + IconName + + Not Specified + + string + + + SmallIconName + + Not Specified + + string + + + ShowInGui + + Not Specified + + + + PipelineVariable + + Not Specified + + string + + + + + + + Description + + Specifies the description of the OS image. + + + string + + string + + + + + + DiskConfig + + Not Specified + + + VirtualMachineImageDiskConfigSet + + VirtualMachineImageDiskConfigSet + + + + + + Eula + + Specifies the End User License Aggreement, recommended value is a URL. + + + string + + string + + + + + + IconName + + Not Specified + + + string + + string + + + + + + ImageFamily + + Specifies a value that can be used to group OS images. + + + string + + string + + + + + + ImageName + + Specifies the name of the image being added to the image repository. + + + string + + string + + + + + + Label + + Specifies a label to give the image. + + + string + + string + + + + + + MediaLocation + + Specifies the location of the physical blob page where the image resides. This is a link to a blob page in the current subscription's storage. + + + string + + string + + + + + + OS + + Specifies the operating system version of the image. + + + string + + string + + + + + + PipelineVariable + + Not Specified + + + string + + string + + + + + + PrivacyUri + + Specifies the URI that points to a document that contains the privacy policy related to the OS image. + + + Uri + + Uri + + + + + + PublishedDate + + + + + System.Nullable`1[[System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] + + System.Nullable`1[[System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] + + + + + + RecommendedVMSize + + Specifies the size to use for the virtual machine that is created from the OS image. Values are: "Medium", "Large", and "ExtraLarge", "A5", "A6",, "A7". + + + string + + string + + + + + + ShowInGui + + Not Specified + + + SwitchParameter + + SwitchParameter + + + + + + SmallIconName + + Not Specified + + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + OSImageContext + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + $s = New-AzureVMImageDiskConfigSet + + Set-AzureVMImageOSDiskConfig -DiskConfig $s -HostCaching ReadWrite -OSState 'Generalized' -OS 'Windows' -MediaLink $link + # A Uri link to the vhd in your storage account + + Set-AzureVMImageDataDiskConfig -DiskConfig $s -DataDiskName test1 -HostCaching ReadWrite -Lun 0 -MediaLink $link1 + + Set-AzureVMImageDataDiskConfig -DiskConfig $s -DataDiskName test4 -HostCaching ReadWrite -Lun 0 -MediaLink $link + + Remove-AzureVMImageDataDiskConfig -DiskConfig $s -DataDiskName test4 + + $imgname = 'testCREATEvmimage2'; + + Add-AzureVMImage -ImageName $imgname -Label test1 -Description test1 -DiskConfig $s -Eula 'http://www.test.com' -ImageFamily Windows -PublishedDate (Get-Date) -PrivacyUri 'http://www.test.com' -RecommendedVMSize Small -IconName test1 -SmallIconName test2 -ShowInGui + + + Description + ----------- + + Adds a VM Image to image repository + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + C:\PS> + + + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + @@ -7974,140 +8233,276 @@ The default value is Production. + + + + + Get-AzureVMDscExtension + + + Gets the settings of the DSC extension on a particular VM. + + + + + Get + AzureVMDscExtension + + + + Gets the settings of the DSC extension on a particular VM. + + + + + Get-AzureVMDscExtension + + VM + + The Virtual Machine to get the settings from. + + IPersistentVM + + + Version + + The specific version of the DSC extension that Get-AzureVMDSCExtension will get the settings from. + + string + + + + + + + Version + + The specific version of the DSC extension that Get-AzureVMDSCExtension will get the settings from. + + + string + + string + + + + + + VM + + The Virtual Machine to get the settings from. + + + IPersistentVM + + IPersistentVM + + + + + + + + + + + + + + + + + + + + + + + + + Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions.VirtualMachineDscExtensionContext + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - Get-AzureVMDscExtension + + Get-AzureVMDscExtensionStatus + - Gets the settings of the DSC extension on a particular VM. + Get the DSC Extension status for all the vm's deployed in a cloud service or for a particular vm in the service. - + Get - AzureVMDscExtension - + AzureVMDscExtensionStatus + - - Gets the settings of the DSC extension on a particular VM. + Get the DSC Extension status for all the vm's deployed in a cloud service or for a particular vm in the service. + - Get-AzureVMDscExtension - - Version + Get-AzureVMDscExtensionStatus + + ServiceName - The specific version of the DSC extension that Get-AzureVMDSCExtension will get the settings from. + Name of the service - String + string - + + Name + + Name of the vm + + string + + + + Get-AzureVMDscExtensionStatus + VM - The Virtual Machine to get the settings from. + The persistent VM object. - IPersistentVM + PersistentVMRoleContext + - - Version + + Name - The specific version of the DSC extension that Get-AzureVMDSCExtension will get the settings from. + Name of the vm + - String + string - String + string - + + ServiceName + + Name of the service + + + string + + string + + + + + VM - The Virtual Machine to get the settings from. + The persistent VM object. + - IPersistentVM + PersistentVMRoleContext - IPersistentVM + PersistentVMRoleContext + - - - + - + + + + + + - Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions.VirtualMachineDscExtensionContext - - - - - - - - - - + Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions.VirtualMachineDscExtensionStatusContext + + + + + + + + + + + + + + + + + + + + + - - -------------------------- EXAMPLE 1 -------------------------- - - - - PS C:\> Get-AzureVMDscExtension -VM $vm - - ModulesUrl : https://myaccount.blob.core.windows.net/windows-powershell-dsc/MyConfiguration.ps1.zip - ConfigurationFunction : MyConfiguration.ps1\MyConfiguration - Properties : {ServerName} - ExtensionName : DSC - Publisher : Microsoft.Powershell - Version : 1.* - PrivateConfiguration : - PublicConfiguration : { - "ModulesUrl": "https://myaccount.blob.core.windows.net/windows-powershell-dsc/MyConfiguration.ps1.zip", - "ConfigurationFunction": "MyConfiguration.ps1\\MyConfiguration", - "Properties": { - "ServerName": "C:\\MyDirectory" - } - } - ReferenceName : DSC - State : Enable - RoleName : my-vm - - Description - - - - -----------This command gets the settings of the DSC Extension on a VM. - - - + - Unknown - + + @@ -22094,8 +22489,44 @@ C:\PS> Get-AzureVM -ServiceName "MyService" -Name "MyVM" IPersistentVM + + Set-AzureDataDisk + + DiskName + + The Name of the DataDiskConfiguration being referenced to. + + string + + + ResizedSizeInGB + + Resize the new data disk to a larger size. + + int + + + VM + + The virtual machine where the data disk is mounted. + + IPersistentVM + + + + DiskName + + The Name of the DataDiskConfiguration being referenced to. + + string + + string + + + + HostCaching @@ -22120,6 +22551,18 @@ C:\PS> Get-AzureVM -ServiceName "MyService" -Name "MyVM" + + ResizedSizeInGB + + Resize the new data disk to a larger size. + + int + + int + + + + VM @@ -23830,6 +24273,13 @@ C:\PS> Get-AzureVM -ServiceName "MyService" -Name "MyVM" IPersistentVM + + ResizedSizeInGB + + Resize the new OSVirtualHardDisk to a larger size. ResizedSizeInGB must be larger than the underlying OS Image's LogicalSizeInGB. + + int + @@ -23857,6 +24307,18 @@ C:\PS> Get-AzureVM -ServiceName "MyService" -Name "MyVM" + + ResizedSizeInGB + + Resize the new OSVirtualHardDisk to a larger size. ResizedSizeInGB must be larger than the underlying OS Image's LogicalSizeInGB. + + int + + int + + + + @@ -27005,6 +27467,12 @@ PS C:\> Set-AzureServiceAntimalwareExtension -ServiceName "ContosoServic String + + ForceUpdate + + Re-apply a configuration to an extension when the configuration has not been updated. + + VM @@ -27038,6 +27506,12 @@ PS C:\> Set-AzureServiceAntimalwareExtension -ServiceName "ContosoServic String + + ForceUpdate + + Re-apply a configuration to an extension when the configuration has not been updated. + + VM @@ -27071,6 +27545,12 @@ PS C:\> Set-AzureServiceAntimalwareExtension -ServiceName "ContosoServic String + + ForceUpdate + + Re-apply a configuration to an extension when the configuration has not been updated. + + VM @@ -27167,6 +27647,18 @@ PS C:\> Set-AzureServiceAntimalwareExtension -ServiceName "ContosoServic + + ForceUpdate + + Re-apply a configuration to an extension when the configuration has not been updated. + + SwitchParameter + + SwitchParameter + + + + PipelineVariable @@ -27542,6 +28034,12 @@ PS C:\> Set-AzureServiceAntimalwareExtension -ServiceName "ContosoServic String + + ForceUpdate + + Re-apply a configuration to an extension when the configuration has not been updated. + + VM @@ -27575,6 +28073,12 @@ PS C:\> Set-AzureServiceAntimalwareExtension -ServiceName "ContosoServic SwitchParameter + + ForceUpdate + + Re-apply a configuration to an extension when the configuration has not been updated. + + VM @@ -27608,6 +28112,12 @@ PS C:\> Set-AzureServiceAntimalwareExtension -ServiceName "ContosoServic SwitchParameter + + ForceUpdate + + Re-apply a configuration to an extension when the configuration has not been updated. + + VM @@ -27655,6 +28165,12 @@ PS C:\> Set-AzureServiceAntimalwareExtension -ServiceName "ContosoServic String + + ForceUpdate + + Re-apply a configuration to an extension when the configuration has not been updated. + + VM @@ -27823,6 +28339,18 @@ PS C:\> Set-AzureServiceAntimalwareExtension -ServiceName "ContosoServic + + ForceUpdate + + Re-apply a configuration to an extension when the configuration has not been updated. + + SwitchParameter + + SwitchParameter + + + + PipelineVariable @@ -28616,6 +29144,12 @@ OperationStatus : OK SwitchParameter + + ForceUpdate + + Re-apply a configuration to an extension when the configuration has not been updated. + + VM @@ -28684,6 +29218,12 @@ OperationStatus : OK SwitchParameter + + ForceUpdate + + Re-apply a configuration to an extension when the configuration has not been updated. + + VM @@ -28731,6 +29271,12 @@ OperationStatus : OK SwitchParameter + + ForceUpdate + + Re-apply a configuration to an extension when the configuration has not been updated. + + VM @@ -28778,6 +29324,12 @@ OperationStatus : OK SwitchParameter + + ForceUpdate + + Re-apply a configuration to an extension when the configuration has not been updated. + + VM @@ -28922,6 +29474,18 @@ OperationStatus : OK + + ForceUpdate + + Re-apply a configuration to an extension when the configuration has not been updated. + + SwitchParameter + + SwitchParameter + + + + PipelineVariable @@ -31315,6 +31879,13 @@ PS C:\> Get-AzureVM -ServiceName "ContosoService03" -Name "Con String + + ResizedSizeInGB + + + + int + @@ -31342,6 +31913,18 @@ PS C:\> Get-AzureVM -ServiceName "ContosoService03" -Name "Con + + ResizedSizeInGB + + Resizes the underlying blob to the indicated size in GB. + + int + + int + + + + diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.format.ps1xml b/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.format.ps1xml index 937c3db9c5c2..c73f3a41f75a 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.format.ps1xml +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Microsoft.WindowsAzure.Commands.ServiceManagement.format.ps1xml @@ -129,10 +129,30 @@ PublishedDate - + CompanyName + + + + if ($_.Regions -ne $null) + { + if ($_.Regions.Length -gt 0) + { + $_.Regions; + } + else + { + 'All regions'; + } + } + else + { + $_.Regions; + } + + @@ -590,5 +610,87 @@ + + Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions.VirtualMachineDscExtensionContext + + Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions.VirtualMachineDscExtensionContext + + + + + + + + ExtensionName + + + + Publisher + + + + Version + + + + ModulesUrl + + + + ConfigurationFunction + + + + Properties + + + + + + + + Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions.VirtualMachineDscExtensionStatusContext + + Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions.VirtualMachineDscExtensionStatusContext + + + + + + + + ServiceName + + + + Name + + + + Status + + + + StatusCode + + + + + $_.Timestamp.ToString("G") + + + + + StatusMessage + + + + DscConfigurationLog + + + + + + diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/OSImageContext.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/OSImageContext.cs index 8032b5ab3813..47287a05f2ba 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/OSImageContext.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/OSImageContext.cs @@ -32,12 +32,28 @@ public class OSImageContext : ManagementOperationContext public virtual string ImageFamily { get; set; } public virtual DateTime? PublishedDate { get; set; } public virtual bool? IsPremium { get; set; } - public virtual Uri IconUri { get; set; } - public virtual Uri SmallIconUri { get; set; } + public virtual string IconUri { get; set; } + public virtual string SmallIconUri { get; set; } public virtual Uri PrivacyUri { get; set; } public virtual string RecommendedVMSize { get; set; } public virtual string PublisherName { get; set; } public virtual string IOType { get; set; } public virtual bool? ShowInGui { get; set; } + + public virtual string IconName + { + get + { + return IconUri; + } + } + + public virtual string SmallIconName + { + get + { + return SmallIconUri; + } + } } } \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/PersistentVM.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/PersistentVM.cs index 7f1ba15db88e..cb0b3376a6ed 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/PersistentVM.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/PersistentVM.cs @@ -127,6 +127,13 @@ public Collection DataVirtualHardDisksToBeDeleted set; } + [XmlIgnore] + public VMImageInput VMImageInput + { + get; + set; + } + public PersistentVM GetInstance() { return this; diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/PersistentVMRoleContext.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/PersistentVMRoleContext.cs index d0739f90c1a2..9d8fbf0e3b8a 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/PersistentVMRoleContext.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/PersistentVMRoleContext.cs @@ -40,6 +40,7 @@ public class PersistentVMRoleContext : ServiceOperationContext, IPersistentVM public string PublicIPAddress { get; set; } public string PublicIPName { get; set; } public NetworkInterfaceList NetworkInterfaces { get; set; } + public string VirtualNetworkName { get; set; } public PersistentVM GetInstance() { diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/ReservedIPConstants.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/ReservedIPConstants.cs index 636226b86b4d..456f9fb1f6a3 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/ReservedIPConstants.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/ReservedIPConstants.cs @@ -18,5 +18,6 @@ namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Model public static class ReservedIPConstants { public const string CmdletNoun = "AzureReservedIP"; + public const string AssociationCmdletNoun = "AzureReservedIPAssociation"; } } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/VMImageContext.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/VMImageContext.cs index 33e13f27c9a0..9852d6c9d293 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/VMImageContext.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Model/VMImageContext.cs @@ -56,8 +56,8 @@ public override string OS public override string RecommendedVMSize { get; set; } public override bool? IsPremium { get; set; } public override string Eula { get; set; } - public override Uri IconUri { get; set; } - public override Uri SmallIconUri { get; set; } + public override string IconUri { get; set; } + public override string SmallIconUri { get; set; } public override Uri PrivacyUri { get; set; } public override string PublisherName { get; set; } public override DateTime? PublishedDate { get; set; } diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/AssemblyInfo.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/AssemblyInfo.cs index bf87e482d3c5..c76248029534 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/AssemblyInfo.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/AssemblyInfo.cs @@ -33,6 +33,8 @@ #if SIGN [assembly: InternalsVisibleTo("Microsoft.WindowsAzure.Commands.ServiceManagement.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")] +[assembly: InternalsVisibleTo("Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")] #else [assembly: InternalsVisibleTo("Microsoft.WindowsAzure.Commands.ServiceManagement.Test")] +[assembly: InternalsVisibleTo("Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions.Test")] #endif diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.Designer.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.Designer.cs index ca25e048e674..23a835bdf135 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.Designer.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.Designer.cs @@ -1553,6 +1553,15 @@ public static string RemoveAzureDnsServerWarning { } } + /// + /// Looks up a localized string similar to Remove Reserved IP Association. + /// + public static string RemoveReservedIPAssociation { + get { + return ResourceManager.GetString("RemoveReservedIPAssociation", resourceCulture); + } + } + /// /// Looks up a localized string similar to Are you sure you want to remove the Reserved IP from your subscription?. /// @@ -1571,6 +1580,15 @@ public static string RemoveReservedIPWhatIfMessage { } } + /// + /// Looks up a localized string similar to This cmdlet will remove the reserved ip association from the specified service. Do you want to continue?. + /// + public static string ReservedIPAssociationWillBeRemoved { + get { + return ResourceManager.GetString("ReservedIPAssociationWillBeRemoved", resourceCulture); + } + } + /// /// Looks up a localized string similar to Reserved IP with the Name:'{0}' will no longer be in use after the last VM in the Cloud Service is deleted, it is still reserved in your subscription for later use. Please note that the Reserved IPs that are not associated with a deployment will incur billing charges.. /// diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.resx b/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.resx index c7ba05805789..c6ce24308ea0 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.resx +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/Properties/Resources.resx @@ -802,4 +802,10 @@ The file needs to be a PowerShell script (.ps1 or .psm1). VM "{0}" is not currently associated with a Network Security Group. + + Remove Reserved IP Association + + + This cmdlet will remove the reserved ip association from the specified service. Do you want to continue? + \ No newline at end of file diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/ServiceManagementProfile.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/ServiceManagementProfile.cs index 8a348ef17f8d..0ff62e738a2b 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/ServiceManagementProfile.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/ServiceManagementProfile.cs @@ -185,14 +185,31 @@ protected override void Configure() Mapper.CreateMap() .ForMember(c => c.Lun, o => o.MapFrom(r => r.LogicalUnitNumber)); + Mapper.CreateMap, List>(); + Mapper.CreateMap, List>(); + Mapper.CreateMap, PVM.DataDiskConfigurationList>(); Mapper.CreateMap, List>(); Mapper.CreateMap, List>(); Mapper.CreateMap, PVM.DataDiskConfigurationList>(); + Mapper.CreateMap() + .ForMember(c => c.HostCaching, o => o.MapFrom(r => r.HostCaching)) + .ForMember(c => c.MediaLink, o => o.MapFrom(r => r.MediaLink)) + .ForMember(c => c.OS, o => o.MapFrom(r => r.OS)) + .ForMember(c => c.OSState, o => o.MapFrom(r => r.OSState)); + Mapper.CreateMap() + .ForMember(c => c.LogicalUnitNumber, o => o.MapFrom(r => r.Lun)); Mapper.CreateMap(); Mapper.CreateMap() .ForMember(c => c.LogicalUnitNumber, o => o.MapFrom(r => r.Lun)); + Mapper.CreateMap, IList>(); + Mapper.CreateMap, List>(); + Mapper.CreateMap>(); + Mapper.CreateMap, IList>(); + Mapper.CreateMap, List>(); + Mapper.CreateMap>(); + Mapper.CreateMap>(); Mapper.CreateMap, IList>(); Mapper.CreateMap, List>(); Mapper.CreateMap>(); diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/StorageServices/AddAzureVhdCommand.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/StorageServices/AddAzureVhdCommand.cs index 959d92f44c4b..a2aa33e23440 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/StorageServices/AddAzureVhdCommand.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/StorageServices/AddAzureVhdCommand.cs @@ -120,7 +120,7 @@ private StorageCredentialsFactory CreateStorageCredentialsFactory() StorageCredentialsFactory storageCredentialsFactory; if (StorageCredentialsFactory.IsChannelRequired(Destination)) { - storageCredentialsFactory = new StorageCredentialsFactory(this.StorageClient, this.CurrentContext.Subscription); + storageCredentialsFactory = new StorageCredentialsFactory(this.StorageClient, this.Profile.Context.Subscription); } else { diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/StorageServices/StorageCredentialsFactory.cs b/src/ServiceManagement/Compute/Commands.ServiceManagement/StorageServices/StorageCredentialsFactory.cs index c12a470e24ab..bab5c364df06 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/StorageServices/StorageCredentialsFactory.cs +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/StorageServices/StorageCredentialsFactory.cs @@ -13,7 +13,7 @@ // ---------------------------------------------------------------------------------- using System; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.ServiceManagement.Properties; using Microsoft.WindowsAzure.Commands.Sync.Download; using Microsoft.WindowsAzure.Management.Storage; diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement/packages.config b/src/ServiceManagement/Compute/Commands.ServiceManagement/packages.config index ce92088d8fe7..de200a3dde9b 100644 --- a/src/ServiceManagement/Compute/Commands.ServiceManagement/packages.config +++ b/src/ServiceManagement/Compute/Commands.ServiceManagement/packages.config @@ -1,10 +1,10 @@  - - + + + - @@ -12,12 +12,12 @@ - + - - - + + + diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj index a8b0fbada5a1..46b23e2d93e1 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Commands.ExpressRoute.csproj @@ -42,28 +42,28 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll False ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -77,13 +77,13 @@ False ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll False - ..\..\..\packages\Microsoft.WindowsAzure.Management.ExpressRoute.0.18.0-preview\lib\net40\Microsoft.WindowsAzure.Management.ExpressRoute.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.ExpressRoute.0.18.2-preview\lib\net40\Microsoft.WindowsAzure.Management.ExpressRoute.dll ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll @@ -135,6 +135,7 @@ + diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitBandwidths/SetAzureDedicatedCircuitBandwidth.cs b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitBandwidths/SetAzureDedicatedCircuitBandwidth.cs new file mode 100644 index 000000000000..24d48511424f --- /dev/null +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/DedicatedCircuitBandwidths/SetAzureDedicatedCircuitBandwidth.cs @@ -0,0 +1,56 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.ExpressRoute.Properties; + +namespace Microsoft.WindowsAzure.Commands.ExpressRoute +{ + using Management.ExpressRoute.Models; + + [Cmdlet(VerbsCommon.Set, "AzureDedicatedCircuitBandwidth"), OutputType(typeof(AzureDedicatedCircuit))] + public class SetAzureDedicatedCircuitBandwidthCommand : ExpressRouteBaseCmdlet + { + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Service Key of Azure Dedicated Circuit to be removed")] + [ValidateGuid] + [ValidateNotNullOrEmpty] + public string ServiceKey { get; set; } + + [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "Circuit Bandwidth")] + [ValidateNotNullOrEmpty] + public UInt32 Bandwidth { get; set; } + + [Parameter(HelpMessage = "Do not confirm Azure Dedicated Circuit Update")] + public SwitchParameter Force { get; set; } + + public override void ExecuteCmdlet() + { + ConfirmAction( + Force.IsPresent, + string.Format(Resources.SetAzureDedicatedCircuitBandwidthWarning, ServiceKey, Bandwidth), + Resources.SetAzureDedicatedCircuitBandwidthMessage, + ServiceKey, + () => + { + var circuit = ExpressRouteClient.SetAzureDedicatedCircuitBandwidth(ServiceKey, Bandwidth); + + WriteObject(circuit); + + }); + } + } +} + diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRoute.psd1 b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRoute.psd1 index 55aa48f7ab23..cdd54dbf0904 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRoute.psd1 +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRoute.psd1 @@ -12,7 +12,7 @@ ModuleToProcess = '.\Microsoft.WindowsAzure.Commands.ExpressRoute.dll' # Version number of this module. -ModuleVersion = '0.8.13' +ModuleVersion = '0.8.14' # ID used to uniquely identify this module GUID = 'e5b10573-30da-456a-9319-4c0a5f8bed4a' diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRouteBaseCmdlet.cs b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRouteBaseCmdlet.cs index 362ffdf80bd5..9d2b1026ea91 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRouteBaseCmdlet.cs +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRouteBaseCmdlet.cs @@ -26,7 +26,7 @@ public ExpressRouteClient ExpressRouteClient { if (expressRouteClient == null) { - expressRouteClient = new ExpressRouteClient(CurrentContext.Subscription); + expressRouteClient = new ExpressRouteClient(Profile, Profile.Context.Subscription); } return expressRouteClient; } diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRouteClient.cs b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRouteClient.cs index 22a67f9b9ed4..b6619d3c79c0 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRouteClient.cs +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/ExpressRouteClient.cs @@ -14,7 +14,7 @@ using System.Management.Automation; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.Azure.Common; namespace Microsoft.WindowsAzure.Commands.ExpressRoute @@ -23,10 +23,11 @@ namespace Microsoft.WindowsAzure.Commands.ExpressRoute using Microsoft.WindowsAzure.Management.ExpressRoute.Models; using System; using System.Collections.Generic; + using System.ComponentModel; using System.Net; using Utilities.Common; - using Microsoft.Azure.Common.Extensions.Models; - using Microsoft.Azure.Common.Extensions; + using Microsoft.Azure.Common.Authentication.Models; + using Microsoft.Azure.Common.Authentication; using Hyak.Common; @@ -34,17 +35,17 @@ public class ExpressRouteClient { public ExpressRouteManagementClient Client { get; internal set; } - private static ClientType CreateClient(AzureSubscription subscription) where ClientType : ServiceClient + private static ClientType CreateClient(AzureProfile profile, AzureSubscription subscription) where ClientType : ServiceClient { - return AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + return AzureSession.ClientFactory.CreateClient(profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); } /// /// Creates new ExpressRouteClient /// /// Subscription containing websites to manipulate - public ExpressRouteClient(AzureSubscription subscription) - : this(CreateClient(subscription)) + public ExpressRouteClient(AzureProfile profile, AzureSubscription subscription) + : this(CreateClient(profile, subscription)) { } @@ -61,14 +62,23 @@ public AzureBgpPeering GetAzureBGPPeering(string serviceKey, BgpPeeringAccessTyp public AzureBgpPeering NewAzureBGPPeering(string serviceKey, UInt32 peerAsn, string primaryPeerSubnet, string secondaryPeerSubnet, UInt32 vlanId, BgpPeeringAccessType accessType, string sharedKey = null) { - return Client.BorderGatewayProtocolPeerings.New(serviceKey, accessType, new BorderGatewayProtocolPeeringNewParameters() + var result = Client.BorderGatewayProtocolPeerings.New(serviceKey, accessType, new BorderGatewayProtocolPeeringNewParameters() { PeerAutonomousSystemNumber = peerAsn, PrimaryPeerSubnet = primaryPeerSubnet, SecondaryPeerSubnet = secondaryPeerSubnet, SharedKey = sharedKey, VirtualLanId = vlanId - }).BgpPeering; + }); + + if (result.HttpStatusCode.Equals(HttpStatusCode.OK)) + { + return GetAzureBGPPeering(serviceKey, accessType); + } + else + { + throw new Exception(result.Error.ToString()); + } } public bool RemoveAzureBGPPeering(string serviceKey, BgpPeeringAccessType accessType) @@ -81,15 +91,22 @@ public AzureBgpPeering UpdateAzureBGPPeering(string serviceKey, BgpPeeringAccessType accessType, UInt32 peerAsn, string primaryPeerSubnet, string secondaryPeerSubnet, UInt32 vlanId, string sharedKey) { - return - (Client.BorderGatewayProtocolPeerings.Update(serviceKey, accessType, new BorderGatewayProtocolPeeringUpdateParameters() + var result = Client.BorderGatewayProtocolPeerings.Update(serviceKey, accessType, new BorderGatewayProtocolPeeringUpdateParameters() { PeerAutonomousSystemNumber = peerAsn, PrimaryPeerSubnet = primaryPeerSubnet, SecondaryPeerSubnet = secondaryPeerSubnet, SharedKey = sharedKey, VirtualLanId = vlanId, - })).BgpPeering; + }); + if (result.HttpStatusCode.Equals(HttpStatusCode.OK)) + { + return GetAzureBGPPeering(serviceKey, accessType); + } + else + { + throw new Exception(result.Error.ToString()); + } } public AzureDedicatedCircuit GetAzureDedicatedCircuit(string serviceKey) @@ -100,13 +117,22 @@ public AzureDedicatedCircuit GetAzureDedicatedCircuit(string serviceKey) public AzureDedicatedCircuit NewAzureDedicatedCircuit(string circuitName, UInt32 bandwidth, string location, string serviceProviderName) { - return (Client.DedicatedCircuits.New(new DedicatedCircuitNewParameters() + var result = Client.DedicatedCircuits.New(new DedicatedCircuitNewParameters() { Bandwidth = bandwidth, CircuitName = circuitName, Location = location, ServiceProviderName = serviceProviderName - })).DedicatedCircuit; + }); + + if (result.HttpStatusCode.Equals(HttpStatusCode.OK)) + { + return GetAzureDedicatedCircuit(result.Data); + } + else + { + throw new Exception(result.Error.ToString()); + } } public IEnumerable ListAzureDedicatedCircuit() @@ -114,6 +140,23 @@ public IEnumerable ListAzureDedicatedCircuit() return (Client.DedicatedCircuits.List().DedicatedCircuits); } + public AzureDedicatedCircuit SetAzureDedicatedCircuitBandwidth(string serviceKey, UInt32 bandwidth) + { + var result = Client.DedicatedCircuits.Update(serviceKey, (new DedicatedCircuitUpdateParameters() + { + Bandwidth = bandwidth + })); + + if (result.HttpStatusCode.Equals(HttpStatusCode.OK)) + { + return GetAzureDedicatedCircuit(serviceKey); + } + else + { + throw new Exception(result.Error.ToString()); + } + } + public bool RemoveAzureDedicatedCircuit(string serviceKey) { var result = Client.DedicatedCircuits.Remove(serviceKey); @@ -127,7 +170,15 @@ public AzureDedicatedCircuitLink GetAzureDedicatedCircuitLink(string serviceKey, public AzureDedicatedCircuitLink NewAzureDedicatedCircuitLink(string serviceKey, string vNetName) { - return (Client.DedicatedCircuitLinks.New(serviceKey, vNetName)).DedicatedCircuitLink; + var result = Client.DedicatedCircuitLinks.New(serviceKey, vNetName); + if (result.HttpStatusCode.Equals(HttpStatusCode.OK)) + { + return GetAzureDedicatedCircuitLink(serviceKey, vNetName); + } + else + { + throw new Exception(result.Error.ToString()); + } } public IEnumerable ListAzureDedicatedCircuitLink(string serviceKey) @@ -153,13 +204,31 @@ public AzureCrossConnection GetAzureCrossConnection(string serviceKey) public AzureCrossConnection NewAzureCrossConnection(string serviceKey) { - return (Client.CrossConnections.New(serviceKey)).CrossConnection; + var result = Client.CrossConnections.New(serviceKey); + + if (result.HttpStatusCode.Equals(HttpStatusCode.OK)) + { + return GetAzureCrossConnection(serviceKey); + } + else + { + throw new Exception(result.Error.ToString()); + } } public AzureCrossConnection SetAzureCrossConnection(string serviceKey, CrossConnectionUpdateParameters parameters) { - return (Client.CrossConnections.Update(serviceKey, parameters)).CrossConnection; + var result = Client.CrossConnections.Update(serviceKey, parameters); + + if (result.HttpStatusCode.Equals(HttpStatusCode.OK)) + { + return GetAzureCrossConnection(serviceKey); + } + else + { + throw new Exception(result.Error.ToString()); + } } public IEnumerable ListAzureCrossConnections() diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Properties/Resources.Designer.cs b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Properties/Resources.Designer.cs index e7cb0481a95b..fcbe1794622a 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Properties/Resources.Designer.cs +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Properties/Resources.Designer.cs @@ -267,6 +267,24 @@ internal static string SecondaryPeerSubnetRequired { } } + /// + /// Looks up a localized string similar to Updating Dedicated Circuit Bandwidth. + /// + internal static string SetAzureDedicatedCircuitBandwidthMessage { + get { + return ResourceManager.GetString("SetAzureDedicatedCircuitBandwidthMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to update the bandwidth of the Dedicated Circuit with service key '{0}' to '{1}'?. + /// + internal static string SetAzureDedicatedCircuitBandwidthWarning { + get { + return ResourceManager.GetString("SetAzureDedicatedCircuitBandwidthWarning", resourceCulture); + } + } + /// /// Looks up a localized string similar to A value for the VLan Id has to be provided.. /// diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Properties/Resources.resx b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Properties/Resources.resx index 6d5dce5258fa..be73b2626847 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Properties/Resources.resx +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/Properties/Resources.resx @@ -150,6 +150,9 @@ Are you sure you want to remove the Dedicated Circuit with service key '{0}'? + + Are you sure you want to update the bandwidth of the Dedicated Circuit with service key '{0}' to '{1}'? + Remove-AzureDedicatedCircuit Operation failed. @@ -180,6 +183,9 @@ Removing Dedicated Circuit + + Updating Dedicated Circuit Bandwidth + Successfully removed Azure Dedicated Circuit with Service Key {0}. diff --git a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/packages.config b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/packages.config index d4e8dbc49ceb..f7dadee79b6f 100644 --- a/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/packages.config +++ b/src/ServiceManagement/ExpressRoute/Commands.ExpressRoute/packages.config @@ -1,16 +1,16 @@  - - + + + - - + - - + + \ No newline at end of file diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj index 40d1ef4d94b0..58dd402598ce 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj @@ -42,17 +42,17 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll @@ -66,18 +66,20 @@ ..\..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - - ..\..\..\packages\Microsoft.Hadoop.Client.1.3.3.2\lib\net40\Microsoft.Hadoop.Client.dll + + False + ..\..\..\packages\Microsoft.Hadoop.Client.1.4.5\lib\net45\Microsoft.Hadoop.Client.dll - - ..\..\..\packages\Microsoft.Hadoop.Client.1.3.3.2\lib\net40\Microsoft.HDInsight.Net.Http.Formatting.dll + + False + ..\..\..\packages\Microsoft.Hadoop.Client.1.4.5\lib\net45\Microsoft.HDInsight.Net.Http.Formatting.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll @@ -92,17 +94,25 @@ ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.1.8.0.0\lib\net35-full\Microsoft.WindowsAzure.Configuration.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll + + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.HDInsight.1.4.5\lib\net45\Microsoft.WindowsAzure.Management.HDInsight.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.HDInsight.1.3.3.2\lib\net40\Microsoft.WindowsAzure.Management.HDInsight.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.HDInsight.1.4.5\lib\net45\Microsoft.WindowsAzure.Management.HDInsight.Contracts.dll - - ..\..\..\packages\Microsoft.Hadoop.Client.1.3.3.2\lib\net40\Microsoft.WindowsAzure.Management.HDInsight.Framework.dll + + False + ..\..\..\packages\Microsoft.Hadoop.Client.1.4.5\lib\net45\Microsoft.WindowsAzure.Management.HDInsight.Framework.dll - - ..\..\..\packages\Microsoft.Hadoop.Client.1.3.3.2\lib\net40\Microsoft.WindowsAzure.Management.HDInsight.Framework.Core.dll + + False + ..\..\..\packages\Microsoft.Hadoop.Client.1.4.5\lib\net45\Microsoft.WindowsAzure.Management.HDInsight.Framework.Core.dll ..\..\..\packages\WindowsAzure.Storage.3.0.3.0\lib\net40\Microsoft.WindowsAzure.Storage.dll @@ -224,7 +234,9 @@ - + + Designer + diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/HDInsight/CmdLetTests/AddConfigValuesCmdletTests.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/HDInsight/CmdLetTests/AddConfigValuesCmdletTests.cs index 736463482963..ff484887fc53 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/HDInsight/CmdLetTests/AddConfigValuesCmdletTests.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/HDInsight/CmdLetTests/AddConfigValuesCmdletTests.cs @@ -83,6 +83,18 @@ public void CanCallTheAddConfigValuesCmdletTestsCmdlet_StormConfig() } + [TestMethod] + [TestCategory("CheckIn")] + public void CanCallTheAddConfigValuesCmdletTestsCmdlet_SparkConfig() + { + using (IRunspace runspace = this.GetPowerShellRunspace()) + { + var sparkConfig = new Hashtable(); + sparkConfig.Add("spark.fakeconfig.value", "12345"); + RunConfigOptionstest(runspace, CmdletConstants.SparkConfig, sparkConfig, c => c.SparkConfiguration); + } + } + [TestMethod] [TestCategory("CheckIn")] public void CanCallTheAddConfigValuesCmdletTestsCmdlet_HiveConfig() @@ -373,7 +385,9 @@ public void CanCallTheAddConfigValuesCmdletTestsCmdlet_PreserveConfig() var coreConfig = new Hashtable(); var yarnConfig = new Hashtable(); var stormConfig = new Hashtable(); + var sparkConfig = new Hashtable(); stormConfig.Add("storm.fakekey", "123"); + sparkConfig.Add("spark.fakekey", "123"); var clusterConfig = new AzureHDInsightConfig { HiveMetastore = @@ -401,12 +415,14 @@ public void CanCallTheAddConfigValuesCmdletTestsCmdlet_PreserveConfig() .WithParameter(CmdletConstants.CoreConfig, coreConfig) .WithParameter(CmdletConstants.YarnConfig, yarnConfig) .WithParameter(CmdletConstants.StormConfig, stormConfig) + .WithParameter(CmdletConstants.SparkConfig, sparkConfig) .Invoke(); AzureHDInsightConfig config = results.Results.ToEnumerable().First(); Assert.AreEqual(config.CoreConfiguration.Count, coreConfig.Count); Assert.AreEqual(config.YarnConfiguration.Count, yarnConfig.Count); Assert.AreEqual(config.StormConfiguration.Count, stormConfig.Count); + Assert.AreEqual(config.SparkConfiguration.Count, sparkConfig.Count); foreach (object entry in coreConfig.Keys) { @@ -432,6 +448,14 @@ public void CanCallTheAddConfigValuesCmdletTestsCmdlet_PreserveConfig() Assert.AreEqual(stormConfig[entry], configUnderTest.Value, "value doesn't match for storm config option with name '{0}'", entry); } + foreach (object entry in sparkConfig.Keys) + { + KeyValuePair configUnderTest = + config.SparkConfiguration.FirstOrDefault(c => string.Equals(c.Key, entry.ToString(), StringComparison.Ordinal)); + Assert.IsNotNull(configUnderTest, "Unable to find spark config option with name '{0}'", entry); + Assert.AreEqual(sparkConfig[entry], configUnderTest.Value, "value doesn't match for spark config option with name '{0}'", entry); + } + Assert.AreEqual(clusterConfig.HiveMetastore.DatabaseName, config.HiveMetastore.DatabaseName); Assert.AreEqual(clusterConfig.HiveMetastore.SqlAzureServerName, config.HiveMetastore.SqlAzureServerName); Assert.AreEqual(clusterConfig.HiveMetastore.Credential.UserName, config.HiveMetastore.Credential.UserName); @@ -498,6 +522,257 @@ public void CanCallTheAddConfigValuesCmdletTestsCmdlet_PreserveHiveConfig() } } + [TestMethod] + [TestCategory("CheckIn")] + public void CanCallAllConfigCmdlets_PreserveAll() + { + using (IRunspace runspace = this.GetPowerShellRunspace()) + { + + var clusterConfig = new AzureHDInsightConfig + { + ClusterType = Management.HDInsight.ClusterProvisioning.Data.ClusterType.HBase, + ClusterSizeInNodes = 7, + VirtualNetworkId = Guid.NewGuid().ToString(), + SubnetName = Guid.NewGuid().ToString(), + HeadNodeVMSize = Guid.NewGuid().ToString(), + DataNodeVMSize = Guid.NewGuid().ToString(), + ZookeeperNodeVMSize = Guid.NewGuid().ToString() + }; + + var coreConfig = new Hashtable(); + coreConfig.Add("core.fakekey", Guid.NewGuid().ToString()); + var yarnConfig = new Hashtable(); + yarnConfig.Add("yarn.fakekey", Guid.NewGuid().ToString()); + var stormConfig = new Hashtable(); + stormConfig.Add("storm.fakekey", Guid.NewGuid().ToString()); + var sparkConfig = new Hashtable(); + sparkConfig.Add("spark.fakekey", Guid.NewGuid().ToString()); + + var hiveConfig = new Hashtable(); + hiveConfig.Add("hive.config.fakekey", Guid.NewGuid().ToString()); + var hiveServiceConfig = new AzureHDInsightHiveConfiguration + { + Configuration = hiveConfig, + AdditionalLibraries = + new AzureHDInsightDefaultStorageAccount + { + StorageAccountKey = Guid.NewGuid().ToString(), + StorageAccountName = Guid.NewGuid().ToString(), + StorageContainerName = Guid.NewGuid().ToString() + } + }; + + var hbaseConfig = new Hashtable(); + hbaseConfig.Add("hbase.config.fakekey", Guid.NewGuid().ToString()); + var hbaseServiceConfig = new AzureHDInsightHBaseConfiguration + { + Configuration = hbaseConfig, + AdditionalLibraries = + new AzureHDInsightDefaultStorageAccount + { + StorageAccountKey = Guid.NewGuid().ToString(), + StorageAccountName = Guid.NewGuid().ToString(), + StorageContainerName = Guid.NewGuid().ToString() + } + }; + + var oozieConfig = new Hashtable(); + oozieConfig.Add("oozie.config.fakekey", Guid.NewGuid().ToString()); + var oozieServiceConfig = new AzureHDInsightOozieConfiguration + { + Configuration = oozieConfig, + AdditionalSharedLibraries = + new AzureHDInsightDefaultStorageAccount + { + StorageAccountKey = Guid.NewGuid().ToString(), + StorageAccountName = Guid.NewGuid().ToString(), + StorageContainerName = Guid.NewGuid().ToString() + }, + AdditionalActionExecutorLibraries = + new AzureHDInsightDefaultStorageAccount + { + StorageAccountKey = Guid.NewGuid().ToString(), + StorageAccountName = Guid.NewGuid().ToString(), + StorageContainerName = Guid.NewGuid().ToString() + } + }; + + var mapredConfig = new Hashtable(); + mapredConfig.Add("mapred.config.fakekey", Guid.NewGuid().ToString()); + var mapredCSConfig = new Hashtable(); + mapredCSConfig.Add("mapred.schedule.fakekey", Guid.NewGuid().ToString()); + var mapredServiceConfig = new AzureHDInsightMapReduceConfiguration + { + Configuration = mapredConfig, + CapacitySchedulerConfiguration = mapredCSConfig + }; + + + IPipelineResult results1 = + runspace.NewPipeline() + .AddCommand(CmdletConstants.AddAzureHDInsightConfigValues) + .WithParameter(CmdletConstants.ClusterConfig, clusterConfig) + .WithParameter(CmdletConstants.CoreConfig, coreConfig) + .WithParameter(CmdletConstants.YarnConfig, yarnConfig) + .WithParameter(CmdletConstants.StormConfig, stormConfig) + .WithParameter(CmdletConstants.SparkConfig, sparkConfig) + .WithParameter(CmdletConstants.HiveConfig, hiveServiceConfig) + .WithParameter(CmdletConstants.HBaseConfig, hbaseServiceConfig) + .WithParameter(CmdletConstants.OozieConfig, oozieServiceConfig) + .WithParameter(CmdletConstants.MapReduceConfig, mapredServiceConfig) + .Invoke(); + AzureHDInsightConfig config1 = results1.Results.ToEnumerable().First(); + + Assert.AreEqual(config1.ClusterType, clusterConfig.ClusterType); + Assert.AreEqual(config1.ClusterSizeInNodes, clusterConfig.ClusterSizeInNodes); + Assert.AreEqual(config1.VirtualNetworkId, clusterConfig.VirtualNetworkId); + Assert.AreEqual(config1.SubnetName, clusterConfig.SubnetName); + Assert.AreEqual(config1.HeadNodeVMSize, clusterConfig.HeadNodeVMSize); + Assert.AreEqual(config1.DataNodeVMSize, clusterConfig.DataNodeVMSize); + Assert.AreEqual(config1.ZookeeperNodeVMSize, clusterConfig.ZookeeperNodeVMSize); + + ValidateConfigurationOptions(coreConfig, config1.CoreConfiguration); + ValidateConfigurationOptions(yarnConfig, config1.YarnConfiguration); + ValidateConfigurationOptions(stormConfig, config1.StormConfiguration); + ValidateConfigurationOptions(sparkConfig, config1.SparkConfiguration); + + Assert.AreEqual(config1.HiveConfiguration.AdditionalLibraries.Container, hiveServiceConfig.AdditionalLibraries.StorageContainerName); + Assert.AreEqual(config1.HiveConfiguration.AdditionalLibraries.Key, hiveServiceConfig.AdditionalLibraries.StorageAccountKey); + Assert.AreEqual(config1.HiveConfiguration.AdditionalLibraries.Name, hiveServiceConfig.AdditionalLibraries.StorageAccountName); + ValidateConfigurationOptions(hiveConfig, config1.HiveConfiguration.ConfigurationCollection); + + Assert.AreEqual(config1.OozieConfiguration.AdditionalSharedLibraries.Container, oozieServiceConfig.AdditionalSharedLibraries.StorageContainerName); + Assert.AreEqual(config1.OozieConfiguration.AdditionalSharedLibraries.Key, oozieServiceConfig.AdditionalSharedLibraries.StorageAccountKey); + Assert.AreEqual(config1.OozieConfiguration.AdditionalSharedLibraries.Name, oozieServiceConfig.AdditionalSharedLibraries.StorageAccountName); + Assert.AreEqual(config1.OozieConfiguration.AdditionalActionExecutorLibraries.Container, oozieServiceConfig.AdditionalActionExecutorLibraries.StorageContainerName); + Assert.AreEqual(config1.OozieConfiguration.AdditionalActionExecutorLibraries.Key, oozieServiceConfig.AdditionalActionExecutorLibraries.StorageAccountKey); + Assert.AreEqual(config1.OozieConfiguration.AdditionalActionExecutorLibraries.Name, oozieServiceConfig.AdditionalActionExecutorLibraries.StorageAccountName); + ValidateConfigurationOptions(oozieConfig, config1.OozieConfiguration.ConfigurationCollection); + + Assert.AreEqual(config1.HBaseConfiguration.AdditionalLibraries.Container, hbaseServiceConfig.AdditionalLibraries.StorageContainerName); + Assert.AreEqual(config1.HBaseConfiguration.AdditionalLibraries.Key, hbaseServiceConfig.AdditionalLibraries.StorageAccountKey); + Assert.AreEqual(config1.HBaseConfiguration.AdditionalLibraries.Name, hbaseServiceConfig.AdditionalLibraries.StorageAccountName); + ValidateConfigurationOptions(hbaseConfig, config1.HBaseConfiguration.ConfigurationCollection); + + ValidateConfigurationOptions(mapredConfig, config1.MapReduceConfiguration.ConfigurationCollection); + ValidateConfigurationOptions(mapredCSConfig, config1.MapReduceConfiguration.CapacitySchedulerConfigurationCollection); + + // Now run through all of the other cmdlets + + + var hiveMetastore = + new AzureHDInsightMetastore + { + MetastoreType = AzureHDInsightMetastoreType.HiveMetastore, + Credential = GetPSCredential("hadoop", Guid.NewGuid().ToString()), + DatabaseName = Guid.NewGuid().ToString(), + SqlAzureServerName = Guid.NewGuid().ToString() + }; + var oozieMetastore = + new AzureHDInsightMetastore + { + MetastoreType = AzureHDInsightMetastoreType.OozieMetastore, + Credential = GetPSCredential("hadoop", Guid.NewGuid().ToString()), + DatabaseName = Guid.NewGuid().ToString(), + SqlAzureServerName = Guid.NewGuid().ToString() + }; + var defaultStorage = + new AzureHDInsightDefaultStorageAccount + { + StorageAccountKey = Guid.NewGuid().ToString(), + StorageAccountName = Guid.NewGuid().ToString(), + StorageContainerName = Guid.NewGuid().ToString() + }; + var additionalStorage = + new AzureHDInsightDefaultStorageAccount + { + StorageAccountKey = Guid.NewGuid().ToString(), + StorageAccountName = Guid.NewGuid().ToString(), + }; + var scriptAction = + new AzureHDInsightScriptAction + { + Name = Guid.NewGuid().ToString(), + Parameters = Guid.NewGuid().ToString(), + Uri = new Uri("http://somehost/script.ps1"), + ClusterRoleCollection = new ClusterNodeType[] { ClusterNodeType.DataNode, ClusterNodeType.HeadNode } + }; + + IPipelineResult results2 = + runspace.NewPipeline() + .AddCommand(CmdletConstants.AddAzureHDInsightMetastore) + .WithParameter(CmdletConstants.ClusterConfig, config1) + .WithParameter(CmdletConstants.MetastoreType, hiveMetastore.MetastoreType) + .WithParameter(CmdletConstants.Credential, hiveMetastore.Credential) + .WithParameter(CmdletConstants.SqlAzureServerName, hiveMetastore.SqlAzureServerName) + .WithParameter(CmdletConstants.DatabaseName, hiveMetastore.DatabaseName) + .AddCommand(CmdletConstants.AddAzureHDInsightMetastore) + .WithParameter(CmdletConstants.MetastoreType, oozieMetastore.MetastoreType) + .WithParameter(CmdletConstants.Credential, oozieMetastore.Credential) + .WithParameter(CmdletConstants.SqlAzureServerName, oozieMetastore.SqlAzureServerName) + .WithParameter(CmdletConstants.DatabaseName, oozieMetastore.DatabaseName) + .AddCommand(CmdletConstants.SetAzureHDInsightDefaultStorage) + .WithParameter(CmdletConstants.StorageAccountKey, defaultStorage.StorageAccountKey) + .WithParameter(CmdletConstants.StorageAccountName, defaultStorage.StorageAccountName) + .WithParameter(CmdletConstants.StorageContainerName, defaultStorage.StorageContainerName) + .AddCommand(CmdletConstants.AddAzureHDInsightStorage) + .WithParameter(CmdletConstants.StorageAccountKey, additionalStorage.StorageAccountKey) + .WithParameter(CmdletConstants.StorageAccountName, additionalStorage.StorageAccountName) + .AddCommand(CmdletConstants.AddAzureHDInsightScriptAction) + .WithParameter(CmdletConstants.Name, scriptAction.Name) + .WithParameter(CmdletConstants.ScriptActionParameters, scriptAction.Parameters) + .WithParameter(CmdletConstants.ScriptActionUri, scriptAction.Uri) + .WithParameter(CmdletConstants.ConfigActionClusterRoleCollection, scriptAction.ClusterRoleCollection) + .Invoke(); + AzureHDInsightConfig config2 = results2.Results.ToEnumerable().First(); + + Assert.AreEqual(config2.ClusterType, clusterConfig.ClusterType); + Assert.AreEqual(config2.ClusterSizeInNodes, clusterConfig.ClusterSizeInNodes); + Assert.AreEqual(config2.VirtualNetworkId, clusterConfig.VirtualNetworkId); + Assert.AreEqual(config2.SubnetName, clusterConfig.SubnetName); + Assert.AreEqual(config2.HeadNodeVMSize, clusterConfig.HeadNodeVMSize); + Assert.AreEqual(config2.DataNodeVMSize, clusterConfig.DataNodeVMSize); + Assert.AreEqual(config2.ZookeeperNodeVMSize, clusterConfig.ZookeeperNodeVMSize); + + ValidateConfigurationOptions(coreConfig, config2.CoreConfiguration); + ValidateConfigurationOptions(yarnConfig, config2.YarnConfiguration); + ValidateConfigurationOptions(stormConfig, config2.StormConfiguration); + ValidateConfigurationOptions(sparkConfig, config2.SparkConfiguration); + + Assert.IsNotNull(config2.HiveConfiguration.AdditionalLibraries); + Assert.AreEqual(config2.HiveConfiguration.AdditionalLibraries.Container, hiveServiceConfig.AdditionalLibraries.StorageContainerName); + Assert.AreEqual(config2.HiveConfiguration.AdditionalLibraries.Key, hiveServiceConfig.AdditionalLibraries.StorageAccountKey); + Assert.AreEqual(config2.HiveConfiguration.AdditionalLibraries.Name, hiveServiceConfig.AdditionalLibraries.StorageAccountName); + ValidateConfigurationOptions(hiveConfig, config2.HiveConfiguration.ConfigurationCollection); + + Assert.IsNotNull(config2.OozieConfiguration.AdditionalSharedLibraries); + Assert.IsNotNull(config2.OozieConfiguration.AdditionalActionExecutorLibraries); + Assert.AreEqual(config2.OozieConfiguration.AdditionalSharedLibraries.Container, oozieServiceConfig.AdditionalSharedLibraries.StorageContainerName); + Assert.AreEqual(config2.OozieConfiguration.AdditionalSharedLibraries.Key, oozieServiceConfig.AdditionalSharedLibraries.StorageAccountKey); + Assert.AreEqual(config2.OozieConfiguration.AdditionalSharedLibraries.Name, oozieServiceConfig.AdditionalSharedLibraries.StorageAccountName); + Assert.AreEqual(config2.OozieConfiguration.AdditionalActionExecutorLibraries.Container, oozieServiceConfig.AdditionalActionExecutorLibraries.StorageContainerName); + Assert.AreEqual(config2.OozieConfiguration.AdditionalActionExecutorLibraries.Key, oozieServiceConfig.AdditionalActionExecutorLibraries.StorageAccountKey); + Assert.AreEqual(config2.OozieConfiguration.AdditionalActionExecutorLibraries.Name, oozieServiceConfig.AdditionalActionExecutorLibraries.StorageAccountName); + ValidateConfigurationOptions(oozieConfig, config2.OozieConfiguration.ConfigurationCollection); + + Assert.IsNotNull(config2.HBaseConfiguration.AdditionalLibraries); + Assert.AreEqual(config2.HBaseConfiguration.AdditionalLibraries.Container, hbaseServiceConfig.AdditionalLibraries.StorageContainerName); + Assert.AreEqual(config2.HBaseConfiguration.AdditionalLibraries.Key, hbaseServiceConfig.AdditionalLibraries.StorageAccountKey); + Assert.AreEqual(config2.HBaseConfiguration.AdditionalLibraries.Name, hbaseServiceConfig.AdditionalLibraries.StorageAccountName); + ValidateConfigurationOptions(hbaseConfig, config2.HBaseConfiguration.ConfigurationCollection); + + Assert.IsNotNull(config2.MapReduceConfiguration); + ValidateConfigurationOptions(mapredConfig, config2.MapReduceConfiguration.ConfigurationCollection); + ValidateConfigurationOptions(mapredCSConfig, config2.MapReduceConfiguration.CapacitySchedulerConfigurationCollection); + + // This test currently only validates that the originally set values are not overwriten by Add-AzureHDInsightMetastore, + // Add-AzureHDInsightScriptAction, Add-AzureHDInsightStorage, Set-AzureHDInsightDefaultStorage. There are lots of + // combinations of sequences, but the use of a shared copyfrom function should simplify the possible ways this can + // break. + } + } + [TestInitialize] public override void Initialize() { diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/HDInsight/CmdLetTests/CmdletHardCodes.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/HDInsight/CmdLetTests/CmdletHardCodes.cs index 6c854263e7b3..c8dd8243593e 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/HDInsight/CmdLetTests/CmdletHardCodes.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/HDInsight/CmdLetTests/CmdletHardCodes.cs @@ -91,6 +91,7 @@ public static class CmdletConstants public const string StatusFolder = "StatusFolder"; public const string YarnConfig = "Yarn"; public const string StormConfig = "Storm"; + public const string SparkConfig = "Spark"; public const string HBaseConfig = "HBase"; public const string StdErr = "StandardError"; diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/HDInsight/CmdLetTests/NewClusterCmdletTests.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/HDInsight/CmdLetTests/NewClusterCmdletTests.cs index 4f7a09a448ae..3613ccaea6df 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/HDInsight/CmdLetTests/NewClusterCmdletTests.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/HDInsight/CmdLetTests/NewClusterCmdletTests.cs @@ -420,7 +420,7 @@ public void ICanCreateAClusterUsingPowerShellAndConfig_New_Set_Add_Hive_Oozie() .WithParameter(CmdletConstants.Credential, GetPSCredential("hadoop", this.GetRandomValidPassword())) .Invoke(); - ClusterCreateParameters request = AzureHDInsightClusterManagementClientSimulator.LastCreateRequest; + ClusterCreateParametersV2 request = AzureHDInsightClusterManagementClientSimulator.LastCreateRequest; Assert.IsNotNull(request.HiveMetastore); Assert.IsNotNull(request.OozieMetastore); @@ -493,7 +493,7 @@ public void ICanCreateAClusterUsingPowerShellAndConfig_New_Set_Add_Hive_Oozie_An .WithParameter(CmdletConstants.Credential, GetPSCredential("hadoop", this.GetRandomValidPassword())) .Invoke(); - ClusterCreateParameters request = AzureHDInsightClusterManagementClientSimulator.LastCreateRequest; + ClusterCreateParametersV2 request = AzureHDInsightClusterManagementClientSimulator.LastCreateRequest; Assert.IsNotNull(request.HiveMetastore); Assert.IsNotNull(request.OozieMetastore); @@ -565,7 +565,7 @@ public void ICanCreateAClusterUsingPowerShellAndConfig_New_Set_Add_ScriptAction( .WithParameter(CmdletConstants.Credential, GetPSCredential("hadoop", this.GetRandomValidPassword())) .Invoke(); - ClusterCreateParameters request = AzureHDInsightClusterManagementClientSimulator.LastCreateRequest; + ClusterCreateParametersV2 request = AzureHDInsightClusterManagementClientSimulator.LastCreateRequest; Assert.IsTrue(request.ConfigActions != null && request.ConfigActions.Count == 2); Assert.IsTrue( request.ConfigActions.ElementAt(0).Name == "test1" && diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/HDInsight/CommandTests/HDInsightGetCommandTests.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/HDInsight/CommandTests/HDInsightGetCommandTests.cs index ff0db4f6a304..bd4d6ea0519f 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/HDInsight/CommandTests/HDInsightGetCommandTests.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/HDInsight/CommandTests/HDInsightGetCommandTests.cs @@ -18,7 +18,7 @@ using Microsoft.Hadoop.Client; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Test.HDInsight.CmdLetTests; using Microsoft.WindowsAzure.Commands.Test.Utilities.HDInsight.Utilities; using Microsoft.WindowsAzure.Management.HDInsight; @@ -26,7 +26,8 @@ using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.DataObjects; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.ServiceLocation; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; +using System.IO; namespace Microsoft.WindowsAzure.Commands.Test.HDInsight.CommandTests { @@ -102,9 +103,9 @@ public void CanGetSubscriptionsCertificateCredentialFromCurrentSubscription() { var getClustersCommand = new GetAzureHDInsightClusterCommand(); var waSubscription = GetCurrentSubscription(); - ProfileClient profileClient = new ProfileClient(); + ProfileClient profileClient = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); - var subscriptionCreds = getClustersCommand.GetSubscriptionCredentials(waSubscription, AzureSession.CurrentContext.Environment, profileClient.Profile); + var subscriptionCreds = getClustersCommand.GetSubscriptionCredentials(waSubscription, profileClient.Profile.Context.Environment, profileClient.Profile); Assert.IsInstanceOfType(subscriptionCreds, typeof(HDInsightCertificateCredential)); var asCertificateCreds = subscriptionCreds as HDInsightCertificateCredential; @@ -121,7 +122,7 @@ public void CanGetAccessTokenCertificateCredentialFromCurrentSubscription() { Id = IntegrationTestBase.TestCredentials.SubscriptionId, }; - ProfileClient profileClient = new ProfileClient(); + ProfileClient profileClient = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); profileClient.Profile.Accounts["test"] = new AzureAccount { Id = "test", @@ -135,7 +136,7 @@ public void CanGetAccessTokenCertificateCredentialFromCurrentSubscription() profileClient.Profile.Save(); waSubscription.Account = "test"; - var accessTokenCreds = getClustersCommand.GetSubscriptionCredentials(waSubscription, AzureSession.CurrentContext.Environment, profileClient.Profile); + var accessTokenCreds = getClustersCommand.GetSubscriptionCredentials(waSubscription, profileClient.Profile.Context.Environment, profileClient.Profile); Assert.IsInstanceOfType(accessTokenCreds, typeof(HDInsightAccessTokenCredential)); var asAccessTokenCreds = accessTokenCreds as HDInsightAccessTokenCredential; Assert.AreEqual("abc", asAccessTokenCreds.AccessToken); @@ -148,11 +149,11 @@ public void CanGetJobSubmissionCertificateCredentialFromCurrentSubscription() { var getClustersCommand = new GetAzureHDInsightJobCommand(); var waSubscription = GetCurrentSubscription(); - ProfileClient profileClient = new ProfileClient(); + ProfileClient profileClient = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); var subscriptionCreds = getClustersCommand.GetJobSubmissionClientCredentials( waSubscription, - AzureSession.CurrentContext.Environment, + profileClient.Profile.Context.Environment, IntegrationTestBase.TestCredentials.WellKnownCluster.DnsName, profileClient.Profile); @@ -172,7 +173,7 @@ public void CanGetJobSubmissionAccessTokenCredentialFromCurrentSubscription() Id = IntegrationTestBase.TestCredentials.SubscriptionId, Account = "test" }; - ProfileClient profileClient = new ProfileClient(); + ProfileClient profileClient = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); profileClient.Profile.Accounts["test"] = new AzureAccount { Id = "test", @@ -186,7 +187,7 @@ public void CanGetJobSubmissionAccessTokenCredentialFromCurrentSubscription() profileClient.Profile.Save(); var accessTokenCreds = getClustersCommand.GetJobSubmissionClientCredentials( waSubscription, - AzureSession.CurrentContext.Environment, + profileClient.Profile.Context.Environment, IntegrationTestBase.TestCredentials.WellKnownCluster.DnsName, profileClient.Profile); Assert.IsInstanceOfType(accessTokenCreds, typeof(HDInsightAccessTokenCredential)); @@ -207,9 +208,10 @@ public void CanGetBasicAuthCredentialFromCredentials() }; waSubscription.Account = "test"; var profile = new AzureProfile(); + ProfileClient profileClient = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); var accessTokenCreds = getClustersCommand.GetJobSubmissionClientCredentials( waSubscription, - AzureSession.CurrentContext.Environment, + profileClient.Profile.Context.Environment, IntegrationTestBase.TestCredentials.WellKnownCluster.DnsName, profile); Assert.IsInstanceOfType(accessTokenCreds, typeof(BasicAuthCredential)); var asBasicAuthCredentials = accessTokenCreds as BasicAuthCredential; diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Simulators/AzureHDInsightClusterManagementClientSimulator.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Simulators/AzureHDInsightClusterManagementClientSimulator.cs index c4c9716a3f24..a32791074f89 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Simulators/AzureHDInsightClusterManagementClientSimulator.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Simulators/AzureHDInsightClusterManagementClientSimulator.cs @@ -30,7 +30,7 @@ namespace Microsoft.WindowsAzure.Commands.Test.Utilities.HDInsight.Simulators { internal class AzureHDInsightClusterManagementClientSimulator : IHDInsightClient { - internal static ClusterCreateParameters LastCreateRequest; + internal static ClusterCreateParametersV2 LastCreateRequest; private static readonly Collection Clusters = new Collection { @@ -176,9 +176,12 @@ public void Cancel() { } + + public ClusterDetails CreateCluster(ClusterCreateParameters cluster) { - Task createTask = this.CreateClusterAsync(cluster); + Task createTask = this.CreateClusterAsync( + new ClusterCreateParametersV2( cluster)); createTask.Wait(); return createTask.Result; } @@ -188,7 +191,24 @@ public ClusterDetails CreateCluster(ClusterCreateParameters cluster, TimeSpan ti return this.CreateCluster(cluster); } + public ClusterDetails CreateCluster(ClusterCreateParametersV2 cluster) + { + Task createTask = this.CreateClusterAsync(cluster); + createTask.Wait(); + return createTask.Result; + } + + public ClusterDetails CreateCluster(ClusterCreateParametersV2 cluster, TimeSpan timeout) + { + return this.CreateCluster(cluster); + } + public Task CreateClusterAsync(ClusterCreateParameters clusterCreateParameters) + { + return CreateClusterAsync(new ClusterCreateParametersV2(clusterCreateParameters)); + } + + public Task CreateClusterAsync(ClusterCreateParametersV2 clusterCreateParameters) { this.LogMessage("Creating cluster '{0}' in location {1}", clusterCreateParameters.Name, clusterCreateParameters.Location); LastCreateRequest = clusterCreateParameters; @@ -218,6 +238,16 @@ public void DeleteCluster(string dnsName, TimeSpan timeout) this.DeleteClusterAsync(dnsName).Wait(); } + public void DeleteCluster(string dnsName, string location) + { + throw new NotImplementedException(); + } + + public void DeleteCluster(string dnsName, string location, TimeSpan timeout) + { + throw new NotImplementedException(); + } + public async Task DeleteClusterAsync(string name) { ClusterDetails cluster = await this.GetClusterAsync(name); @@ -230,6 +260,11 @@ public async Task DeleteClusterAsync(string name) Clusters.Remove(GetClusterInternal(name)); } + public Task DeleteClusterAsync(string name, string location) + { + throw new NotImplementedException(); + } + public void DisableHttp(string dnsName, string location) { this.DisableHttpAsync(dnsName, location).Wait(); @@ -265,6 +300,13 @@ public ClusterDetails GetCluster(string dnsName) return getTask.Result; } + public ClusterDetails GetCluster(string dnsName, string location) + { + Task getTask = this.GetClusterAsync(dnsName, location); + getTask.Wait(); + return getTask.Result; + } + public async Task GetClusterAsync(string name) { this.LogMessage("Getting hdinsight clusters for subscriptionid : {0}", this.credentials.SubscriptionId.ToString()); @@ -273,6 +315,11 @@ public async Task GetClusterAsync(string name) return cluster; } + public Task GetClusterAsync(string name, string location) + { + throw new NotImplementedException(); + } + public ClusterDetails ChangeClusterSize(string dnsName, string location, int newSize) { return ChangeClusterSizeAsync(dnsName, location, newSize).WaitForResult(); diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Simulators/AzureHDInsightSubscriptionResolverSimulator.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Simulators/AzureHDInsightSubscriptionResolverSimulator.cs index be2be604af89..3ca423dca8ac 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Simulators/AzureHDInsightSubscriptionResolverSimulator.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Simulators/AzureHDInsightSubscriptionResolverSimulator.cs @@ -17,11 +17,12 @@ using System.Linq; using System.Security.Cryptography.X509Certificates; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Test.Utilities.HDInsight.Utilities; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.BaseInterfaces; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; +using System.IO; namespace Microsoft.WindowsAzure.Commands.Test.Utilities.HDInsight.Simulators { @@ -32,8 +33,8 @@ internal class AzureHDInsightSubscriptionResolverSimulator : IAzureHDInsightSubs internal AzureHDInsightSubscriptionResolverSimulator() { var certificate = new X509Certificate2(Convert.FromBase64String(IntegrationTestBase.TestCredentials.Certificate), string.Empty); - ProfileClient.DataStore.AddCertificate(certificate); - ProfileClient profileClient = new ProfileClient(); + AzureSession.DataStore.AddCertificate(certificate); + ProfileClient profileClient = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); profileClient.Profile.Accounts[certificate.Thumbprint] = new AzureAccount { Id = certificate.Thumbprint, diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Simulators/AzureHDInsightSubscriptionResolverSimulatorFactory.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Simulators/AzureHDInsightSubscriptionResolverSimulatorFactory.cs index a1c485b1486c..1e00b26d1dfa 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Simulators/AzureHDInsightSubscriptionResolverSimulatorFactory.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Simulators/AzureHDInsightSubscriptionResolverSimulatorFactory.cs @@ -12,7 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.BaseInterfaces; namespace Microsoft.WindowsAzure.Commands.Test.Utilities.HDInsight.Simulators diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Utilities/IntegrationTestBase.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Utilities/IntegrationTestBase.cs index 54edc408d01c..d6ccf49809e7 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Utilities/IntegrationTestBase.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Models/Utilities/IntegrationTestBase.cs @@ -21,7 +21,7 @@ using System.Security.Cryptography.X509Certificates; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Test.Utilities.HDInsight.PowerShellTestAbstraction.Concretes; using Microsoft.WindowsAzure.Commands.Test.Utilities.HDInsight.PowerShellTestAbstraction.Interfaces; @@ -35,7 +35,8 @@ using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.ServiceLocation; using Microsoft.WindowsAzure.Management.HDInsight.Framework.Core; using Microsoft.WindowsAzure.Management.HDInsight.Logging; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; +using System.IO; namespace Microsoft.WindowsAzure.Commands.Test.Utilities.HDInsight.Utilities { @@ -67,22 +68,27 @@ public static IEnumerable GetAllCredentials() public static AzureSubscription GetCurrentSubscription() { string certificateThumbprint1 = "jb245f1d1257fw27dfc402e9ecde37e400g0176r"; - ProfileClient profileClient = new ProfileClient(); + var newSubscription = new AzureSubscription() + { + Id = IntegrationTestBase.TestCredentials.SubscriptionId, + // Use fake certificate thumbprint + Account = certificateThumbprint1, + Environment = "AzureCloud" + }; + newSubscription.Properties[AzureSubscription.Property.Default] = "True"; + + ProfileClient profileClient = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); profileClient.Profile.Accounts[certificateThumbprint1] = new AzureAccount() { Id = certificateThumbprint1, Type = AzureAccount.AccountType.Certificate }; - + profileClient.Profile.Subscriptions[newSubscription.Id] = newSubscription; + profileClient.Profile.Save(); - - return new AzureSubscription() - { - Id = IntegrationTestBase.TestCredentials.SubscriptionId, - // Use fake certificate thumbprint - Account = certificateThumbprint1 - }; + + return profileClient.Profile.Subscriptions[newSubscription.Id]; } public static AzureTestCredentials GetCredentialsForEnvironmentType(EnvironmentType type) @@ -184,7 +190,7 @@ public void ApplyFullMocking() var cmdletManager = ServiceLocator.Instance.Locate(); cmdletManager.MockingLevel = ServiceLocationMockingLevel.ApplyFullMocking; AzureSession.AuthenticationFactory = new MockTokenAuthenticationFactory(); - ProfileClient.DataStore = new MockDataStore(); + AzureSession.DataStore = new MockDataStore(); } public void ApplyIndividualTestMockingOnly() diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/packages.config b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/packages.config index 91d551eb0fa6..2642b5cf9f1f 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/packages.config +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/packages.config @@ -1,9 +1,9 @@  - - + + + - @@ -11,12 +11,12 @@ - - + + - - + + diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightConfigValuesCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightConfigValuesCmdlet.cs index 1fb4d0adb1ef..fd175d2d7658 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightConfigValuesCmdlet.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightConfigValuesCmdlet.cs @@ -54,34 +54,7 @@ public AddAzureHDInsightConfigValuesCmdlet() public AzureHDInsightConfig Config { get { return this.command.Config; } - set - { - if (value.IsNull()) - { - throw new ArgumentNullException("value", "The value for the configuration can not be null."); - } - - this.command.Config.ClusterSizeInNodes = value.ClusterSizeInNodes; - this.command.Config.DefaultStorageAccount = value.DefaultStorageAccount; - this.command.Config.AdditionalStorageAccounts.AddRange(value.AdditionalStorageAccounts); - this.command.Config.ConfigActions.AddRange(value.ConfigActions); - this.command.Config.HiveMetastore = value.HiveMetastore ?? this.command.Config.HiveMetastore; - this.command.Config.OozieMetastore = value.OozieMetastore ?? this.command.Config.OozieMetastore; - this.command.Config.CoreConfiguration.AddRange(value.CoreConfiguration); - this.command.Config.YarnConfiguration.AddRange(value.YarnConfiguration); - this.command.Config.HdfsConfiguration.AddRange(value.HdfsConfiguration); - this.command.Config.MapReduceConfiguration.ConfigurationCollection.AddRange(value.MapReduceConfiguration.ConfigurationCollection); - this.command.Config.MapReduceConfiguration.CapacitySchedulerConfigurationCollection.AddRange( - value.MapReduceConfiguration.CapacitySchedulerConfigurationCollection); - this.command.Config.HiveConfiguration.ConfigurationCollection.AddRange(value.HiveConfiguration.ConfigurationCollection); - this.command.Config.OozieConfiguration.ConfigurationCollection.AddRange(value.OozieConfiguration.ConfigurationCollection); - this.command.Config.HeadNodeVMSize = value.HeadNodeVMSize; - this.command.Config.ClusterType = value.ClusterType; - this.command.Config.VirtualNetworkId = value.VirtualNetworkId; - this.command.Config.SubnetName = value.SubnetName; - this.command.Config.StormConfiguration.AddRange(value.StormConfiguration); - this.command.Config.HBaseConfiguration.ConfigurationCollection.AddRange(value.HBaseConfiguration.ConfigurationCollection); - } + set { this.command.Config.CopyFrom(value); } } /// @@ -161,6 +134,17 @@ public Hashtable Storm set { this.command.Storm = value; } } + /// + /// Gets or sets a collection of configuration properties to customize the Spark service. + /// + [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", Justification = "Ease of use in Powershell")] + [Parameter(Mandatory = false, HelpMessage = "a collection of configuration properties to customize the Spark service.")] + public Hashtable Spark + { + get { return this.command.Spark; } + set { this.command.Spark = value; } + } + /// /// Gets or sets a collection of configuration properties to customize the HBase service. /// diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightMetastoreCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightMetastoreCmdlet.cs index ad1cdb079ca0..bc0bfc5a6883 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightMetastoreCmdlet.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightMetastoreCmdlet.cs @@ -52,25 +52,7 @@ public AddAzureHDInsightMetastoreCmdlet() public AzureHDInsightConfig Config { get { return this.command.Config; } - set - { - if (value.IsNull()) - { - throw new ArgumentNullException("value", "The value for the configuration can not be null."); - } - this.command.Config.ClusterSizeInNodes = value.ClusterSizeInNodes; - this.command.Config.DefaultStorageAccount = value.DefaultStorageAccount; - this.command.Config.AdditionalStorageAccounts.AddRange(value.AdditionalStorageAccounts); - this.command.Config.ConfigActions.AddRange(value.ConfigActions); - if (value.HiveMetastore.IsNotNull()) - { - this.command.Config.HiveMetastore = value.HiveMetastore; - } - if (value.OozieMetastore.IsNotNull()) - { - this.command.Config.OozieMetastore = value.OozieMetastore; - } - } + set { this.command.Config.CopyFrom(value); } } /// diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightScriptActionCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightScriptActionCmdlet.cs index 3c87f29c5b11..62ca10305f8f 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightScriptActionCmdlet.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightScriptActionCmdlet.cs @@ -53,34 +53,7 @@ public AddAzureHDInsightScriptActionCmdlet() public AzureHDInsightConfig Config { get { return this.command.Config; } - set - { - if (value.IsNull()) - { - throw new ArgumentNullException("value", "The value for the configuration can not be null."); - } - - this.command.Config.ClusterSizeInNodes = value.ClusterSizeInNodes; - this.command.Config.DefaultStorageAccount = value.DefaultStorageAccount; - this.command.Config.AdditionalStorageAccounts.AddRange(value.AdditionalStorageAccounts); - this.command.Config.ConfigActions.AddRange(value.ConfigActions); - this.command.Config.HiveMetastore = value.HiveMetastore ?? this.command.Config.HiveMetastore; - this.command.Config.OozieMetastore = value.OozieMetastore ?? this.command.Config.OozieMetastore; - this.command.Config.CoreConfiguration.AddRange(value.CoreConfiguration); - this.command.Config.YarnConfiguration.AddRange(value.YarnConfiguration); - this.command.Config.HdfsConfiguration.AddRange(value.HdfsConfiguration); - this.command.Config.MapReduceConfiguration.ConfigurationCollection.AddRange(value.MapReduceConfiguration.ConfigurationCollection); - this.command.Config.MapReduceConfiguration.CapacitySchedulerConfigurationCollection.AddRange( - value.MapReduceConfiguration.CapacitySchedulerConfigurationCollection); - this.command.Config.HiveConfiguration.ConfigurationCollection.AddRange(value.HiveConfiguration.ConfigurationCollection); - this.command.Config.OozieConfiguration.ConfigurationCollection.AddRange(value.OozieConfiguration.ConfigurationCollection); - this.command.Config.HeadNodeVMSize = value.HeadNodeVMSize; - this.command.Config.ClusterType = value.ClusterType; - this.command.Config.VirtualNetworkId = value.VirtualNetworkId; - this.command.Config.SubnetName = value.SubnetName; - this.command.Config.StormConfiguration.AddRange(value.StormConfiguration); - this.command.Config.HBaseConfiguration.ConfigurationCollection.AddRange(value.HBaseConfiguration.ConfigurationCollection); - } + set { this.command.Config.CopyFrom(value); } } /// diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightStorageCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightStorageCmdlet.cs index b499d0d499c3..c51612580cdd 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightStorageCmdlet.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AddAzureHDInsightStorageCmdlet.cs @@ -52,19 +52,7 @@ public AddAzureHDInsightStorageCmdlet() public AzureHDInsightConfig Config { get { return this.command.Config; } - set - { - if (value.IsNull()) - { - throw new ArgumentNullException("value", "The value for the configuration can not be null."); - } - this.command.Config.ClusterSizeInNodes = value.ClusterSizeInNodes; - this.command.Config.DefaultStorageAccount = value.DefaultStorageAccount; - this.command.Config.HiveMetastore = value.HiveMetastore ?? this.command.Config.HiveMetastore; - this.command.Config.OozieMetastore = value.OozieMetastore ?? this.command.Config.OozieMetastore; - this.command.Config.AdditionalStorageAccounts.AddRange(value.AdditionalStorageAccounts); - this.command.Config.ConfigActions.AddRange(value.ConfigActions); - } + set { this.command.Config.CopyFrom(value); } } /// diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AzureHDInsightCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AzureHDInsightCmdlet.cs index b5df97274f09..8e9bcdd35219 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AzureHDInsightCmdlet.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/AzureHDInsightCmdlet.cs @@ -17,14 +17,15 @@ using System.Security.Cryptography.X509Certificates; using System.Text; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.BaseInterfaces; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.Extensions; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.Logging; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.ServiceLocation; using Microsoft.WindowsAzure.Management.HDInsight.Logging; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; +using System.IO; namespace Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.PSCmdlets { @@ -118,14 +119,14 @@ protected AzureSubscription GetCurrentSubscription(string Subscription, X509Cert { this.WriteWarning("The -Subscription parameter is deprecated, Please use Select-AzureSubscription -Current to select a subscription to use."); - ProfileClient client = new ProfileClient(); + ProfileClient client = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); var subscriptionResolver = ServiceLocator.Instance.Locate().Create(client.Profile); var resolvedSubscription = subscriptionResolver.ResolveSubscription(Subscription); if (certificate.IsNotNull() && resolvedSubscription.Account != certificate.Thumbprint) { - ProfileClient.DataStore.AddCertificate(certificate); + AzureSession.DataStore.AddCertificate(certificate); } if (resolvedSubscription.IsNull()) @@ -146,12 +147,12 @@ protected AzureSubscription GetCurrentSubscription(string Subscription, X509Cert // we need this for the tests to mock out the current subscription. if (this.HasCurrentSubscription) { - return this.CurrentContext.Subscription; + return this.Profile.Context.Subscription; } return testSubscription; #else - return this.CurrentContext.Subscription; + return this.Profile.Context.Subscription; #endif } } diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightClusterCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightClusterCmdlet.cs index c07abeaed4be..80988691391b 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightClusterCmdlet.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightClusterCmdlet.cs @@ -94,6 +94,8 @@ public AzureHDInsightConfig Config var result = new AzureHDInsightConfig(); result.ClusterSizeInNodes = this.command.ClusterSizeInNodes; result.HeadNodeVMSize = this.command.HeadNodeSize; + result.DataNodeVMSize = this.command.DataNodeSize; + result.ZookeeperNodeVMSize = this.command.ZookeeperNodeSize; result.ClusterType = this.command.ClusterType; result.VirtualNetworkId = this.command.VirtualNetworkId; result.SubnetName = this.command.SubnetName; @@ -112,6 +114,7 @@ public AzureHDInsightConfig Config result.MapReduceConfiguration.CapacitySchedulerConfigurationCollection.AddRange( this.command.MapReduceConfiguration.CapacitySchedulerConfigurationCollection); result.StormConfiguration.AddRange(this.command.StormConfiguration); + result.SparkConfiguration.AddRange(this.command.SparkConfiguration); result.HBaseConfiguration.AdditionalLibraries = this.command.HBaseConfiguration.AdditionalLibraries; result.HBaseConfiguration.ConfigurationCollection.AddRange(this.command.HBaseConfiguration.ConfigurationCollection); return result; @@ -128,6 +131,8 @@ public AzureHDInsightConfig Config this.command.VirtualNetworkId = value.VirtualNetworkId; this.command.SubnetName = value.SubnetName; this.command.HeadNodeSize = value.HeadNodeVMSize; + this.command.DataNodeSize = value.DataNodeVMSize; + this.command.ZookeeperNodeSize = value.ZookeeperNodeVMSize; this.command.DefaultStorageAccountName = value.DefaultStorageAccount.StorageAccountName; this.command.DefaultStorageAccountKey = value.DefaultStorageAccount.StorageAccountKey; this.command.DefaultStorageContainerName = value.DefaultStorageAccount.StorageContainerName; @@ -147,6 +152,7 @@ public AzureHDInsightConfig Config this.command.HiveMetastore = value.HiveMetastore; this.command.OozieMetastore = value.OozieMetastore; this.command.StormConfiguration.AddRange(value.StormConfiguration); + this.command.SparkConfiguration.AddRange(value.SparkConfiguration); this.command.HBaseConfiguration.AdditionalLibraries = value.HBaseConfiguration.AdditionalLibraries; this.command.HBaseConfiguration.ConfigurationCollection.AddRange(value.HBaseConfiguration.ConfigurationCollection); } @@ -257,7 +263,7 @@ public string Version /// [Parameter(Position = 13, Mandatory = false, HelpMessage = "The size of the headnode VM.", ParameterSetName = AzureHdInsightPowerShellConstants.ParameterSetClusterByNameWithSpecificSubscriptionCredentials)] - public NodeVMSize HeadNodeVMSize + public string HeadNodeVMSize { get { return this.command.HeadNodeSize; } set { this.command.HeadNodeSize = value; } @@ -290,6 +296,24 @@ public string SubnetName set { this.command.SubnetName = value; } } + /// + [Parameter(Position = 17, Mandatory = false, HelpMessage = "The size of the datanode VM.", + ParameterSetName = AzureHdInsightPowerShellConstants.ParameterSetClusterByNameWithSpecificSubscriptionCredentials)] + public string DataNodeVMSize + { + get { return this.command.DataNodeSize; } + set { this.command.DataNodeSize = value; } + } + + /// + [Parameter(Position = 18, Mandatory = false, HelpMessage = "The size of the zookeeper VM.", + ParameterSetName = AzureHdInsightPowerShellConstants.ParameterSetClusterByNameWithSpecificSubscriptionCredentials)] + public string ZookeeperNodeVMSize + { + get { return this.command.ZookeeperNodeSize; } + set { this.command.ZookeeperNodeSize = value; } + } + /// protected override void BeginProcessing() { diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightClusterConfigCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightClusterConfigCmdlet.cs index d4a8f64885fb..715edd67618e 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightClusterConfigCmdlet.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/NewAzureHDInsightClusterConfigCmdlet.cs @@ -52,7 +52,7 @@ public int ClusterSizeInNodes /// [Parameter(Position = 1, Mandatory = false, HelpMessage = "The size of the head node VMs.", ParameterSetName = AzureHdInsightPowerShellConstants.ParameterSetConfigClusterSizeInNodesOnly)] - public NodeVMSize HeadNodeVMSize + public string HeadNodeVMSize { get { return command.HeadNodeVMSize; } set { command.HeadNodeVMSize = value; } @@ -85,6 +85,23 @@ public string SubnetName set { command.SubnetName = value; } } + /// + [Parameter(Position = 5, Mandatory = false, HelpMessage = "The size of the data node VMs.", + ParameterSetName = AzureHdInsightPowerShellConstants.ParameterSetConfigClusterSizeInNodesOnly)] + public string DataNodeVMSize + { + get { return command.DataNodeVMSize; } + set { command.DataNodeVMSize = value; } + } + + /// + [Parameter(Position = 6, Mandatory = false, HelpMessage = "The size of the zookeper node VMs.", + ParameterSetName = AzureHdInsightPowerShellConstants.ParameterSetConfigClusterSizeInNodesOnly)] + public string ZookeeperNodeVMSize + { + get { return command.ZookeeperNodeVMSize; } + set { command.ZookeeperNodeVMSize = value; } + } /// /// Finishes the execution of the cmdlet by listing the clusters. /// diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/SetAzureHDInsightClusterSizeCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/SetAzureHDInsightClusterSizeCmdlet.cs index 0a6c44eec408..642dff835ac7 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/SetAzureHDInsightClusterSizeCmdlet.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/SetAzureHDInsightClusterSizeCmdlet.cs @@ -19,6 +19,7 @@ using System.Reflection; using System.Security.Cryptography.X509Certificates; using System.Threading.Tasks; +using Microsoft.WindowsAzure.Management.HDInsight.ClusterProvisioning.Data; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.Commands.CommandInterfaces; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.DataObjects; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters; @@ -139,6 +140,7 @@ protected override void EndProcessing() getCommand.CurrentSubscription = currentSubscription; getCommand.Name = Name; var getTask = getCommand.EndProcessing(); + this.WriteObject("This operation may take several minutes..."); while (!getTask.IsCompleted) { WriteDebugLog(); @@ -159,11 +161,19 @@ protected override void EndProcessing() command.Location = cluster.Location; if (ClusterSizeInNodes < cluster.ClusterSizeInNodes) { - var task = ConfirmSetAction( - "You are requesting a cluster size that is less than the current cluster size. We recommend not running jobs till the operation is complete as all running jobs will fail at end of resize operation and may impact the health of your cluster. Do you want to continue?", - "Continuing with set cluster operation.", - ClusterSizeInNodes.ToString(CultureInfo.InvariantCulture), - action); + Task task; + if (cluster.ClusterType == ClusterType.Hadoop) + { + task = ConfirmSetAction( + "You are requesting a cluster size that is less than the current cluster size. We recommend not running jobs till the operation is complete as all running jobs will fail at end of resize operation and may impact the health of your cluster. Do you want to continue?", + "Continuing with set cluster operation.", + ClusterSizeInNodes.ToString(CultureInfo.InvariantCulture), + action); + } + else + { + task = action(); + } if (task == null) { throw new OperationCanceledException("The change cluster size operation was aborted."); diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/SetAzureHDInsightDefaultStorageCmdlet.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/SetAzureHDInsightDefaultStorageCmdlet.cs index aa2084f49faf..630980f02129 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/SetAzureHDInsightDefaultStorageCmdlet.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Cmdlet/SetAzureHDInsightDefaultStorageCmdlet.cs @@ -49,38 +49,7 @@ public SetAzureHDInsightDefaultStorageCmdlet() public AzureHDInsightConfig Config { get { return this.command.Config; } - set - { - if (value.IsNull()) - { - throw new ArgumentNullException("value", "The value for the configuration can not be null."); - } - - if (value.CoreConfiguration != null) - { - this.command.Config.CoreConfiguration.AddRange(value.CoreConfiguration); - } - - if (value.YarnConfiguration != null) - { - this.command.Config.YarnConfiguration.AddRange(value.YarnConfiguration); - } - this.command.Config.ClusterSizeInNodes = value.ClusterSizeInNodes; - this.command.Config.AdditionalStorageAccounts.AddRange(value.AdditionalStorageAccounts); - this.command.Config.ConfigActions.AddRange(value.ConfigActions); - this.command.Config.HiveMetastore = value.HiveMetastore ?? this.command.Config.HiveMetastore; - this.command.Config.OozieMetastore = value.OozieMetastore ?? this.command.Config.OozieMetastore; - this.command.Config.HeadNodeVMSize = value.HeadNodeVMSize; - this.command.Config.ClusterType = value.ClusterType; - if (!string.IsNullOrEmpty(value.VirtualNetworkId)) - { - this.command.Config.VirtualNetworkId = value.VirtualNetworkId; - } - if (!string.IsNullOrEmpty(value.SubnetName)) - { - this.command.Config.SubnetName = value.SubnetName; - } - } + set { this.command.Config.CopyFrom(value); } } /// diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj b/src/ServiceManagement/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj index 786ed2f06e50..8474e48b5d44 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Commands.HDInsight.csproj @@ -49,19 +49,19 @@ False - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll False - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll False - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll False @@ -76,18 +76,20 @@ ..\..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - - ..\..\..\packages\Microsoft.Hadoop.Client.1.3.3.2\lib\net40\Microsoft.Hadoop.Client.dll + + False + ..\..\..\packages\Microsoft.Hadoop.Client.1.4.5\lib\net45\Microsoft.Hadoop.Client.dll - - ..\..\..\packages\Microsoft.Hadoop.Client.1.3.3.2\lib\net40\Microsoft.HDInsight.Net.Http.Formatting.dll + + False + ..\..\..\packages\Microsoft.Hadoop.Client.1.4.5\lib\net45\Microsoft.HDInsight.Net.Http.Formatting.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll @@ -101,18 +103,25 @@ ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.1.8.0.0\lib\net35-full\Microsoft.WindowsAzure.Configuration.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.HDInsight.1.3.3.2\lib\net40\Microsoft.WindowsAzure.Management.HDInsight.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.HDInsight.1.4.5\lib\net45\Microsoft.WindowsAzure.Management.HDInsight.dll - - ..\..\..\packages\Microsoft.Hadoop.Client.1.3.3.2\lib\net40\Microsoft.WindowsAzure.Management.HDInsight.Framework.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.HDInsight.1.4.5\lib\net45\Microsoft.WindowsAzure.Management.HDInsight.Contracts.dll - - ..\..\..\packages\Microsoft.Hadoop.Client.1.3.3.2\lib\net40\Microsoft.WindowsAzure.Management.HDInsight.Framework.Core.dll + + False + ..\..\..\packages\Microsoft.Hadoop.Client.1.4.5\lib\net45\Microsoft.WindowsAzure.Management.HDInsight.Framework.dll + + + False + ..\..\..\packages\Microsoft.Hadoop.Client.1.4.5\lib\net45\Microsoft.WindowsAzure.Management.HDInsight.Framework.Core.dll ..\..\..\packages\WindowsAzure.Storage.3.0.3.0\lib\net40\Microsoft.WindowsAzure.Storage.dll diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/BaseCommandInterfaces/IAddAzureHDInsightConfigValuesBase.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/BaseCommandInterfaces/IAddAzureHDInsightConfigValuesBase.cs index b67eea38cc33..3ae6cf6f3601 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/BaseCommandInterfaces/IAddAzureHDInsightConfigValuesBase.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/BaseCommandInterfaces/IAddAzureHDInsightConfigValuesBase.cs @@ -62,6 +62,11 @@ internal interface IAddAzureHDInsightConfigValuesBase /// Hashtable Storm { get; set; } + /// + /// Gets or sets a collection of configuration properties to customize the Spark service. + /// + Hashtable Spark { get; set; } + /// /// Gets or sets a collection of configuration properties to customize the HBase service. /// diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/BaseCommandInterfaces/INewAzureHDInsightClusterConfigBase.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/BaseCommandInterfaces/INewAzureHDInsightClusterConfigBase.cs index eec3b73a7fed..fd1e11c9fc1f 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/BaseCommandInterfaces/INewAzureHDInsightClusterConfigBase.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/BaseCommandInterfaces/INewAzureHDInsightClusterConfigBase.cs @@ -29,7 +29,23 @@ internal interface INewAzureHDInsightClusterConfigBase /// /// The size of the head node VM. /// - NodeVMSize HeadNodeVMSize { get; set; } + string HeadNodeVMSize { get; set; } + + /// + /// Gets or sets the size of the data node VMs. + /// + /// + /// The size of the data node VM. + /// + string DataNodeVMSize { get; set; } + + /// + /// Gets or sets the size of the zookeeper node VMs. + /// + /// + /// The size of the zookeeper node VM. + /// + string ZookeeperNodeVMSize { get; set; } /// /// Gets or sets the type of the cluster. diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/AddAzureHDInsightConfigValuesCommand.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/AddAzureHDInsightConfigValuesCommand.cs index 99e355626660..4f5aab85a432 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/AddAzureHDInsightConfigValuesCommand.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/AddAzureHDInsightConfigValuesCommand.cs @@ -33,6 +33,7 @@ public AddAzureHDInsightConfigValuesCommand() this.Hive = new AzureHDInsightHiveConfiguration(); this.Oozie = new AzureHDInsightOozieConfiguration(); this.Storm = new Hashtable(); + this.Spark = new Hashtable(); this.HBase = new AzureHDInsightHBaseConfiguration(); } @@ -52,6 +53,8 @@ public AddAzureHDInsightConfigValuesCommand() public Hashtable Storm { get; set; } + public Hashtable Spark { get; set; } + public AzureHDInsightHBaseConfiguration HBase { get; set; } public override Task EndProcessing() @@ -65,6 +68,7 @@ public override Task EndProcessing() this.Config.HiveConfiguration.ConfigurationCollection.AddRange(this.Hive.Configuration.ToKeyValuePairs()); this.Config.OozieConfiguration.ConfigurationCollection.AddRange(this.Oozie.Configuration.ToKeyValuePairs()); this.Config.StormConfiguration.AddRange(this.Storm.ToKeyValuePairs()); + this.Config.SparkConfiguration.AddRange(this.Spark.ToKeyValuePairs()); this.Config.HBaseConfiguration.ConfigurationCollection.AddRange(this.HBase.Configuration.ToKeyValuePairs()); if (this.Hive.AdditionalLibraries != null) diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/AddAzureHDInsightStorageCommand.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/AddAzureHDInsightStorageCommand.cs index 337e4d49d2a5..dee33062ee7a 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/AddAzureHDInsightStorageCommand.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/AddAzureHDInsightStorageCommand.cs @@ -16,7 +16,7 @@ using System.Collections.ObjectModel; using System.Threading; using System.Threading.Tasks; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.Commands.CommandInterfaces; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.DataObjects; diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/NewAzureHDInsightClusterCommand.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/NewAzureHDInsightClusterCommand.cs index 60b8716a808d..d8440c31a24d 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/NewAzureHDInsightClusterCommand.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/NewAzureHDInsightClusterCommand.cs @@ -12,6 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using System; using System.Collections.Generic; using System.Linq; using System.Management.Automation; @@ -37,6 +38,7 @@ public NewAzureHDInsightClusterCommand() this.HiveConfiguration = new HiveConfiguration(); this.OozieConfiguration = new OozieConfiguration(); this.StormConfiguration = new ConfigValuesCollection(); + this.SparkConfiguration = new ConfigValuesCollection(); this.HBaseConfiguration = new HBaseConfiguration(); } @@ -46,7 +48,13 @@ public NewAzureHDInsightClusterCommand() public int ClusterSizeInNodes { get; set; } /// - public NodeVMSize HeadNodeSize { get; set; } + public string HeadNodeSize { get; set; } + + /// + public string DataNodeSize { get; set; } + + /// + public string ZookeeperNodeSize { get; set; } /// public ConfigValuesCollection CoreConfiguration { get; set; } @@ -91,6 +99,9 @@ public NewAzureHDInsightClusterCommand() /// public ConfigValuesCollection StormConfiguration { get; set; } + /// + public ConfigValuesCollection SparkConfiguration { get; set; } + /// public HBaseConfiguration HBaseConfiguration { get; set; } @@ -111,14 +122,15 @@ public override async Task EndProcessing() { IHDInsightClient client = this.GetClient(); client.ClusterProvisioning += this.ClientOnClusterProvisioning; - ClusterCreateParameters createClusterRequest = this.GetClusterCreateParameters(); + ClusterCreateParametersV2 createClusterRequest = this.GetClusterCreateParameters(); var cluster = await client.CreateClusterAsync(createClusterRequest); this.Output.Add(new AzureHDInsightCluster(cluster)); } - internal ClusterCreateParameters GetClusterCreateParameters() + internal ClusterCreateParametersV2 GetClusterCreateParameters() { - var createClusterRequest = new ClusterCreateParameters(); + var createClusterRequest = new ClusterCreateParametersV2(); + createClusterRequest.Name = this.Name; createClusterRequest.Version = this.Version; createClusterRequest.Location = this.Location; @@ -134,9 +146,10 @@ internal ClusterCreateParameters GetClusterCreateParameters() createClusterRequest.OozieConfiguration.AdditionalSharedLibraries = this.OozieConfiguration.AdditionalSharedLibraries; createClusterRequest.OozieConfiguration.AdditionalActionExecutorLibraries = this.OozieConfiguration.AdditionalActionExecutorLibraries; createClusterRequest.StormConfiguration.AddRange(this.StormConfiguration); + createClusterRequest.SparkConfiguration.AddRange(this.SparkConfiguration); createClusterRequest.HBaseConfiguration.AdditionalLibraries = this.HBaseConfiguration.AdditionalLibraries; createClusterRequest.HBaseConfiguration.ConfigurationCollection.AddRange(this.HBaseConfiguration.ConfigurationCollection); - createClusterRequest.HeadNodeSize = this.HeadNodeSize; + createClusterRequest.DefaultStorageAccountName = this.DefaultStorageAccountName; createClusterRequest.DefaultStorageAccountKey = this.DefaultStorageAccountKey; createClusterRequest.DefaultStorageContainer = this.DefaultStorageContainerName; @@ -171,6 +184,22 @@ internal ClusterCreateParameters GetClusterCreateParameters() this.OozieMetastore.Credential.UserName, this.OozieMetastore.Credential.GetCleartextPassword()); } + + if (!string.IsNullOrEmpty(this.HeadNodeSize) && !this.HeadNodeSize.Equals("Default", StringComparison.OrdinalIgnoreCase)) + { + createClusterRequest.HeadNodeSize = this.HeadNodeSize; + } + + if (!string.IsNullOrEmpty(this.DataNodeSize)) + { + createClusterRequest.DataNodeSize = this.DataNodeSize; + } + + if (!string.IsNullOrEmpty(this.ZookeeperNodeSize)) + { + createClusterRequest.ZookeeperNodeSize = this.ZookeeperNodeSize; + } + return createClusterRequest; } diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/NewAzureHDInsightClusterConfigCommand.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/NewAzureHDInsightClusterConfigCommand.cs index 1d61c95d12e4..316ebed82f76 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/NewAzureHDInsightClusterConfigCommand.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/NewAzureHDInsightClusterConfigCommand.cs @@ -33,12 +33,24 @@ public int ClusterSizeInNodes set { this.config.ClusterSizeInNodes = value; } } - public NodeVMSize HeadNodeVMSize + public string HeadNodeVMSize { get { return this.config.HeadNodeVMSize; } set { this.config.HeadNodeVMSize = value; } } + public string DataNodeVMSize + { + get { return this.config.DataNodeVMSize; } + set { this.config.DataNodeVMSize = value; } + } + + public string ZookeeperNodeVMSize + { + get { return this.config.ZookeeperNodeVMSize; } + set { this.config.ZookeeperNodeVMSize = value; } + } + public ClusterType ClusterType { get { return this.config.ClusterType; } diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/UseAzureHDInsightClusterCommand.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/UseAzureHDInsightClusterCommand.cs index 8c7a3bd75978..8b2ba329e843 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/UseAzureHDInsightClusterCommand.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandImplementations/UseAzureHDInsightClusterCommand.cs @@ -20,7 +20,9 @@ using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.DataObjects; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.Extensions; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; +using System.IO; namespace Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.Commands.CommandImplementations { @@ -34,7 +36,7 @@ public override async Task EndProcessing() IHDInsightClient client = this.GetClient(); var cluster = await client.GetClusterAsync(this.Name); var connection = new AzureHDInsightClusterConnection(); - ProfileClient profileClient = new ProfileClient(); + ProfileClient profileClient = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); connection.Credential = this.GetSubscriptionCredentials(this.CurrentSubscription, profileClient.GetEnvironmentOrDefault(this.CurrentSubscription.Environment), profileClient.Profile); diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandInterfaces/INewAzureHDInsightClusterCommand.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandInterfaces/INewAzureHDInsightClusterCommand.cs index 188412343f03..8fbe5a6d9f8c 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandInterfaces/INewAzureHDInsightClusterCommand.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/Commands/CommandInterfaces/INewAzureHDInsightClusterCommand.cs @@ -49,7 +49,11 @@ internal interface INewAzureHDInsightClusterCommand : IAzureHDInsightCommand /// The size of the head node VM. /// - public NodeVMSize HeadNodeVMSize { get; set; } + public string HeadNodeVMSize { get; set; } + + /// + /// Gets or sets the size of the head node VM. + /// + /// + /// The size of the head node VM. + /// + public string DataNodeVMSize { get; set; } + + /// + /// Gets or sets the size of the head node VM. + /// + /// + /// The size of the head node VM. + /// + public string ZookeeperNodeVMSize { get; set; } /// /// Gets or sets the size of the cluster in data nodes. @@ -130,9 +151,59 @@ public AzureHDInsightConfig() /// public ConfigValuesCollection StormConfiguration { get; private set; } + /// + /// Gets a collection of configuration properties to customize the Spark service. + /// + public ConfigValuesCollection SparkConfiguration { get; private set; } + /// /// Gets a collection of configuration properties to customize the HBase service. /// public HBaseConfiguration HBaseConfiguration { get; private set; } + + + /// + /// Copies all parameters from the provided AzureHDInsightConfig object into this object, replacing + /// single-value attributes, and merging collection attributes. + /// + public virtual void CopyFrom(AzureHDInsightConfig value) + { + if (value==null) + { + throw new ArgumentNullException("value", "The value for the configuration cannot be null."); + } + + this.ClusterSizeInNodes = value.ClusterSizeInNodes; + this.DefaultStorageAccount = new AzureHDInsightDefaultStorageAccount(value.DefaultStorageAccount); + this.AdditionalStorageAccounts.AddRange(value.AdditionalStorageAccounts); + this.ConfigActions.AddRange(value.ConfigActions); + this.HiveMetastore = value.HiveMetastore ?? this.HiveMetastore; + this.OozieMetastore = value.OozieMetastore ?? this.OozieMetastore; + this.CoreConfiguration.AddRange(value.CoreConfiguration); + this.YarnConfiguration.AddRange(value.YarnConfiguration); + this.HdfsConfiguration.AddRange(value.HdfsConfiguration); + this.MapReduceConfiguration.ConfigurationCollection.AddRange(value.MapReduceConfiguration.ConfigurationCollection); + this.MapReduceConfiguration.CapacitySchedulerConfigurationCollection.AddRange( + value.MapReduceConfiguration.CapacitySchedulerConfigurationCollection); + this.HiveConfiguration.ConfigurationCollection.AddRange(value.HiveConfiguration.ConfigurationCollection); + this.HiveConfiguration.AdditionalLibraries = + value.HiveConfiguration.AdditionalLibraries ?? this.HiveConfiguration.AdditionalLibraries; + this.OozieConfiguration.ConfigurationCollection.AddRange(value.OozieConfiguration.ConfigurationCollection); + this.OozieConfiguration.AdditionalActionExecutorLibraries = + value.OozieConfiguration.AdditionalActionExecutorLibraries ?? this.OozieConfiguration.AdditionalActionExecutorLibraries; + this.OozieConfiguration.AdditionalSharedLibraries = + value.OozieConfiguration.AdditionalSharedLibraries ?? this.OozieConfiguration.AdditionalSharedLibraries; + this.HeadNodeVMSize = value.HeadNodeVMSize; + this.DataNodeVMSize = value.DataNodeVMSize; + this.ZookeeperNodeVMSize = value.ZookeeperNodeVMSize; + this.ClusterType = value.ClusterType; + this.VirtualNetworkId = value.VirtualNetworkId; + this.SubnetName = value.SubnetName; + this.StormConfiguration.AddRange(value.StormConfiguration); + this.HBaseConfiguration.ConfigurationCollection.AddRange(value.HBaseConfiguration.ConfigurationCollection); + this.HBaseConfiguration.AdditionalLibraries = + value.HBaseConfiguration.AdditionalLibraries ?? this.HBaseConfiguration.AdditionalLibraries; + this.SparkConfiguration.AddRange(value.SparkConfiguration); + } } } diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/DataObjects/AzureHDInsightDefaultStorageAccount.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/DataObjects/AzureHDInsightDefaultStorageAccount.cs index 8a2ece4c5510..cd47c3e60419 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/DataObjects/AzureHDInsightDefaultStorageAccount.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/DataObjects/AzureHDInsightDefaultStorageAccount.cs @@ -18,6 +18,23 @@ namespace Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.DataObjects /// public class AzureHDInsightDefaultStorageAccount : AzureHDInsightStorageAccount { + /// + /// Creates a new default storage account object with the same attributes as the passed in storage account + /// + public AzureHDInsightDefaultStorageAccount(AzureHDInsightDefaultStorageAccount value) : base() + { + this.StorageAccountName = value.StorageAccountName; + this.StorageAccountKey = value.StorageAccountKey; + this.StorageContainerName = value.StorageContainerName; + } + + /// + /// Creates an empty default storage account + /// + public AzureHDInsightDefaultStorageAccount() : base() + { + } + /// /// Gets or sets the Storage Container for the Default Storage Account. /// diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightClusterCommandBase.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightClusterCommandBase.cs index a037f725e205..c5f04e9e2d15 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightClusterCommandBase.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightClusterCommandBase.cs @@ -17,7 +17,9 @@ using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.BaseInterfaces; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.Extensions; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.ServiceLocation; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; +using System.IO; +using Microsoft.Azure.Common.Authentication.Models; namespace Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters { @@ -41,12 +43,18 @@ internal IHDInsightClient GetClient() { this.CurrentSubscription.ArgumentNotNull("CurrentSubscription"); - ProfileClient client = new ProfileClient(); + ProfileClient client = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); var subscriptionCredentials = this.GetSubscriptionCredentials( this.CurrentSubscription, client.GetEnvironmentOrDefault(this.CurrentSubscription.Environment), client.Profile); + + if (this.Endpoint.IsNotNull()) + { + subscriptionCredentials.Endpoint = this.Endpoint; + } + var clientInstance = ServiceLocator.Instance.Locate().Create(subscriptionCredentials); clientInstance.SetCancellationSource(this.tokenSource); if (this.Logger.IsNotNull()) diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightCommandBase.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightCommandBase.cs index dee236bc6b37..1bad186c3b06 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightCommandBase.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightCommandBase.cs @@ -16,7 +16,7 @@ using System.Security.Cryptography.X509Certificates; using System.Threading; using System.Threading.Tasks; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Management.HDInsight.Framework.Core; using Microsoft.WindowsAzure.Management.HDInsight.Logging; diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightCommandExtensions.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightCommandExtensions.cs index c19a310bf8f2..dc89b700bd29 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightCommandExtensions.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightCommandExtensions.cs @@ -12,18 +12,16 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System; -using System.Linq; -using System.Reflection; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.Hadoop.Client; -using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.Commands.CommandImplementations; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.BaseInterfaces; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.Extensions; +using System; using System.Diagnostics; -using Microsoft.Azure.Common.Extensions.Authentication; -using Microsoft.Azure.Common.Extensions; +using System.IO; +using System.Reflection; namespace Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters { @@ -60,7 +58,7 @@ public static IHDInsightSubscriptionCredentials GetSubscriptionCertificateCreden return new HDInsightCertificateCredential { SubscriptionId = currentSubscription.Id, - Certificate = ProfileClient.DataStore.GetCertificate(currentSubscription.Account), + Certificate = AzureSession.DataStore.GetCertificate(currentSubscription.Account), Endpoint = environment.GetEndpointAsUri(AzureEnvironment.Endpoint.ServiceManagement), }; } @@ -68,13 +66,8 @@ public static IHDInsightSubscriptionCredentials GetSubscriptionCertificateCreden public static IHDInsightSubscriptionCredentials GetAccessTokenCredentials(this IAzureHDInsightCommonCommandBase command, AzureSubscription currentSubscription, AzureAccount azureAccount, AzureEnvironment environment) { - ProfileClient profileClient = new ProfileClient(); - AzureContext azureContext = new AzureContext - { - Subscription = currentSubscription, - Environment = environment, - Account = azureAccount - }; + ProfileClient profileClient = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); + AzureContext azureContext = new AzureContext(currentSubscription, azureAccount, environment); var cloudCredentials = AzureSession.AuthenticationFactory.GetSubscriptionCloudCredentials(azureContext) as AccessTokenCredential; if (cloudCredentials != null) diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightJobCommandExecutorBase.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightJobCommandExecutorBase.cs index 7d4f1c814611..73b104c754f6 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightJobCommandExecutorBase.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightJobCommandExecutorBase.cs @@ -18,11 +18,12 @@ using System.Threading; using Microsoft.Hadoop.Client; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.BaseInterfaces; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.Extensions; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.ServiceLocation; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; +using System.IO; namespace Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters { @@ -48,7 +49,7 @@ internal IJobSubmissionClient GetClient(string cluster) { cluster.ArgumentNotNull("ClusterEndpoint"); IJobSubmissionClient client = null; - ProfileClient profileClient = new ProfileClient(); + ProfileClient profileClient = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); string currentEnvironmentName = this.CurrentSubscription == null ? null : this.CurrentSubscription.Environment; diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightSubscriptionResolver.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightSubscriptionResolver.cs index e2630298b462..79321a6ecdef 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightSubscriptionResolver.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightSubscriptionResolver.cs @@ -14,7 +14,7 @@ using System; using System.Linq; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.BaseInterfaces; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.Extensions; diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightSubscriptionResolverFactory.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightSubscriptionResolverFactory.cs index dda48854ea49..def460cba056 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightSubscriptionResolverFactory.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/AzureHDInsightSubscriptionResolverFactory.cs @@ -12,7 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.BaseInterfaces; namespace Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/BaseInterfaces/IAzureHDInsightCommandBase.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/BaseInterfaces/IAzureHDInsightCommandBase.cs index 1aa735f604de..7b12055982fe 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/BaseInterfaces/IAzureHDInsightCommandBase.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/BaseInterfaces/IAzureHDInsightCommandBase.cs @@ -14,7 +14,7 @@ using System.Threading; using System.Threading.Tasks; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; namespace Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters { diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/BaseInterfaces/IAzureHDInsightSubscriptionResolver.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/BaseInterfaces/IAzureHDInsightSubscriptionResolver.cs index 7a9c3aed34cc..661b4edd8940 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/BaseInterfaces/IAzureHDInsightSubscriptionResolver.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/BaseInterfaces/IAzureHDInsightSubscriptionResolver.cs @@ -12,7 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; namespace Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.BaseInterfaces { diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/BaseInterfaces/IAzureHDInsightSubscriptionResolverFactory.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/BaseInterfaces/IAzureHDInsightSubscriptionResolverFactory.cs index 785b11d32e51..ce4baf284f24 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/BaseInterfaces/IAzureHDInsightSubscriptionResolverFactory.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/BaseInterfaces/IAzureHDInsightSubscriptionResolverFactory.cs @@ -12,7 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; namespace Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.BaseInterfaces { diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/IInvokeAzureHDInsightJobCommand.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/IInvokeAzureHDInsightJobCommand.cs index 56a779457f8b..0060f31435cc 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/IInvokeAzureHDInsightJobCommand.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/IInvokeAzureHDInsightJobCommand.cs @@ -15,7 +15,7 @@ using System.Collections.ObjectModel; using System.Threading; using System.Threading.Tasks; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.DataObjects; using Microsoft.WindowsAzure.Management.HDInsight.Logging; diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/InvokeAzureHDInsightJobCommandBase.cs b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/InvokeAzureHDInsightJobCommandBase.cs index e0928f28f103..2edb165cc22c 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/InvokeAzureHDInsightJobCommandBase.cs +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/Model/GetAzureHDInsightClusters/InvokeAzureHDInsightJobCommandBase.cs @@ -21,7 +21,7 @@ using System.Threading; using System.Threading.Tasks; using Microsoft.Hadoop.Client; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.Commands.BaseCommandInterfaces; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.DataObjects; using Microsoft.WindowsAzure.Management.HDInsight.Cmdlet.GetAzureHDInsightClusters.Extensions; diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/app.config b/src/ServiceManagement/HDInsight/Commands.HDInsight/app.config new file mode 100644 index 000000000000..44298137ae7d --- /dev/null +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/app.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight/packages.config b/src/ServiceManagement/HDInsight/Commands.HDInsight/packages.config index a59c5846574c..119595b8d50d 100644 --- a/src/ServiceManagement/HDInsight/Commands.HDInsight/packages.config +++ b/src/ServiceManagement/HDInsight/Commands.HDInsight/packages.config @@ -1,9 +1,9 @@  - - + + + - @@ -11,12 +11,12 @@ - - + + - - + + diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/Commands.ManagedCache.Test.csproj b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/Commands.ManagedCache.Test.csproj index fd297a903b9c..c0bcc7af6d6c 100644 --- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/Commands.ManagedCache.Test.csproj +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/Commands.ManagedCache.Test.csproj @@ -39,26 +39,26 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5486.28526-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll + ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll - ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5486.28526-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll + ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll ..\..\..\packages\Microsoft.Data.Edm.5.6.0\lib\net40\Microsoft.Data.Edm.dll @@ -69,13 +69,13 @@ ..\..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -90,8 +90,9 @@ ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll False diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/ScenarioTests/ManagedCacheTestsBase.cs b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/ScenarioTests/ManagedCacheTestsBase.cs index ddeb5726923a..0e6f3d151d71 100644 --- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/ScenarioTests/ManagedCacheTestsBase.cs +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/ScenarioTests/ManagedCacheTestsBase.cs @@ -12,7 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Microsoft.Azure.Management.ManagedCache; using Microsoft.Azure.Test; using Microsoft.WindowsAzure.Commands.ScenarioTest; diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/SessionRecords/Microsoft.Azure.Commands.ManagedCache.Test.ScenarioTests.ManagedCacheTests/ManagedCacheEndToEndTest.json b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/SessionRecords/Microsoft.Azure.Commands.ManagedCache.Test.ScenarioTests.ManagedCacheTests/ManagedCacheEndToEndTest.json index 1f958130fa3d..251468f56749 100644 --- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/SessionRecords/Microsoft.Azure.Commands.ManagedCache.Test.ScenarioTests.ManagedCacheTests/ManagedCacheEndToEndTest.json +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/SessionRecords/Microsoft.Azure.Commands.ManagedCache.Test.ScenarioTests.ManagedCacheTests/ManagedCacheEndToEndTest.json @@ -9,8 +9,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n", @@ -47,8 +47,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -85,8 +85,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -123,8 +123,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -161,8 +161,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -199,8 +199,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -237,8 +237,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -275,8 +275,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -313,8 +313,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -351,8 +351,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -389,8 +389,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Creating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -427,8 +427,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Active\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -465,8 +465,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -503,8 +503,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -541,8 +541,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -579,8 +579,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -617,8 +617,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -655,8 +655,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -693,8 +693,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -731,8 +731,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -769,8 +769,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -807,8 +807,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Updating\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -845,8 +845,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Active\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 2\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n", @@ -883,8 +883,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "true", @@ -918,8 +918,8 @@ "RequestBody": "\r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.0.0\r\n 1024\r\n \r\n \r\n \r\n", "RequestHeaders": { "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ], "x-ms-version": [ "2012-08-01" @@ -965,8 +965,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ], "client-tracking-id": [ "20" @@ -1006,8 +1006,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ], "client-tracking-id": [ "3" @@ -1044,8 +1044,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ], "client-tracking-id": [ "3" @@ -1082,8 +1082,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n \r\n aztstjcjobclsabrzy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsadcuu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsanbmb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaqjwu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaskes\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsatabp\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsavrzs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbfllr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbgnqk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbrhbj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbsefr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbvuae\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdclk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdjdp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscrwsz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsczxzk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdblyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdezvt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdjfrl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdtvmd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsduhom\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclselofj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseshfx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseuzny\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexies\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexnyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfyvee\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfywzg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n scheduler\r\n JobCollections\r\n aztstjcjobcllnkvbcv\r\n 1.1\r\n 29d5806a-c1ae-417e-ba20-63953ec823d0\r\n Started\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n aztstjcjobclsgjxwz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsguzix\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshgdva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshhltr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsidgrg\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsilaic\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsixcht\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjmafh\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjvzbw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjxxrm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjyslm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclskebaj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslfwil\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslhnch\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsltxec\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsluoay\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmcgiy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmpvtc\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmwyjx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsndfra\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnedcm\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnffyk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnodpd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsntawk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsoazst\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsotqhy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspdklh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspobdn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspsziv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspupar\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqasdr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqbsjt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqemag\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqfyva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqitok\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqlkph\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqpsxk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqtewe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqvecg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqwgeh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqzptb\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrhlub\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjtnr\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjxsq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrredc\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstblsn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstcbjj\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstfpqz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstglen\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstkacb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstsrkv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstxeua\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsugcpk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuwnbq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuzvkn\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvkbrv\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvorjd\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvwiiv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswefsv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswnewk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswxpjf\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxgagp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxhzwt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxoyhe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzazs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzgco\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyalqw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsycujm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyibac\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsynyam\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsypule\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyvkyd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszbtxw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszelvz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszfowt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszjkzl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszmbfw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszncpv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszoeih\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszqnox\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Active\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n cloudserv\r\n \r\n hi there\r\n West US\r\n \r\n \r\n \r\n CS-NorthCentralUS-scheduler\r\n \r\n CS-NorthCentralUS-scheduler\r\n North Central US\r\n \r\n \r\n \r\n CS-SouthCentralUS-scheduler\r\n \r\n CS-SouthCentralUS-scheduler\r\n South Central US\r\n \r\n \r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n West Europe\r\n \r\n \r\n \r\n CS-WebJobs-WestUS-scheduler\r\n \r\n CS-WebJobs-WestUS-scheduler\r\n West US\r\n \r\n \r\n \r\n devSaopDS-cs1\r\n \r\n devSaopDS-cs1\r\n north europe\r\n \r\n \r\n \r\n name\r\n \r\n couves\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-P2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-east-asia\r\n \r\n 04301767-ecac-4e60-a412-d289bf890e93\r\n east asia\r\n \r\n \r\n WABackup\r\n BackupVault\r\n Test\r\n \r\n 1.1\r\n e25454eb-a351-4199-a6e5-1208207bf9cf\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n ResourceId\r\n 3888925532610829152\r\n \r\n \r\n BackendStampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", @@ -1117,8 +1117,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n \r\n aztstjcjobclsabrzy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsadcuu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsanbmb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaqjwu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaskes\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsatabp\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsavrzs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbfllr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbgnqk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbrhbj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbsefr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbvuae\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdclk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdjdp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscrwsz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsczxzk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdblyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdezvt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdjfrl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdtvmd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsduhom\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclselofj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseshfx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseuzny\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexies\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexnyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfyvee\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfywzg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n scheduler\r\n JobCollections\r\n aztstjcjobcllnkvbcv\r\n 1.1\r\n 29d5806a-c1ae-417e-ba20-63953ec823d0\r\n Started\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n aztstjcjobclsgjxwz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsguzix\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshgdva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshhltr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsidgrg\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsilaic\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsixcht\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjmafh\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjvzbw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjxxrm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjyslm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclskebaj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslfwil\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslhnch\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsltxec\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsluoay\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmcgiy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmpvtc\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmwyjx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsndfra\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnedcm\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnffyk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnodpd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsntawk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsoazst\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsotqhy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspdklh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspobdn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspsziv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspupar\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqasdr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqbsjt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqemag\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqfyva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqitok\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqlkph\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqpsxk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqtewe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqvecg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqwgeh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqzptb\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrhlub\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjtnr\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjxsq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrredc\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstblsn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstcbjj\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstfpqz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstglen\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstkacb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstsrkv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstxeua\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsugcpk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuwnbq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuzvkn\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvkbrv\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvorjd\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvwiiv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswefsv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswnewk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswxpjf\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxgagp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxhzwt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxoyhe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzazs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzgco\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyalqw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsycujm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyibac\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsynyam\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsypule\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyvkyd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszbtxw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszelvz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszfowt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszjkzl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszmbfw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszncpv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszoeih\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszqnox\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n 9b0c4024-716c-42c5-bd03-fa0e56c2eca0\r\n Started\r\n Active\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 1\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n 10\r\n Absolute\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 5:51:01 PM +00:00\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n cloudserv\r\n \r\n hi there\r\n West US\r\n \r\n \r\n \r\n CS-NorthCentralUS-scheduler\r\n \r\n CS-NorthCentralUS-scheduler\r\n North Central US\r\n \r\n \r\n \r\n CS-SouthCentralUS-scheduler\r\n \r\n CS-SouthCentralUS-scheduler\r\n South Central US\r\n \r\n \r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n West Europe\r\n \r\n \r\n \r\n CS-WebJobs-WestUS-scheduler\r\n \r\n CS-WebJobs-WestUS-scheduler\r\n West US\r\n \r\n \r\n \r\n devSaopDS-cs1\r\n \r\n devSaopDS-cs1\r\n north europe\r\n \r\n \r\n \r\n name\r\n \r\n couves\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-P2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-east-asia\r\n \r\n 04301767-ecac-4e60-a412-d289bf890e93\r\n east asia\r\n \r\n \r\n WABackup\r\n BackupVault\r\n Test\r\n \r\n 1.1\r\n e25454eb-a351-4199-a6e5-1208207bf9cf\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n ResourceId\r\n 3888925532610829152\r\n \r\n \r\n BackendStampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", @@ -1152,8 +1152,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n \r\n aztstjcjobclsabrzy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsadcuu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsanbmb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaqjwu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaskes\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsatabp\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsavrzs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbfllr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbgnqk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbrhbj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbsefr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbvuae\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdclk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdjdp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscrwsz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsczxzk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdblyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdezvt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdjfrl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdtvmd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsduhom\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclselofj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseshfx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseuzny\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexies\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexnyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfyvee\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfywzg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n scheduler\r\n JobCollections\r\n aztstjcjobcllnkvbcv\r\n 1.1\r\n 29d5806a-c1ae-417e-ba20-63953ec823d0\r\n Started\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n aztstjcjobclsgjxwz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsguzix\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshgdva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshhltr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsidgrg\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsilaic\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsixcht\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjmafh\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjvzbw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjxxrm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjyslm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclskebaj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslfwil\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslhnch\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsltxec\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsluoay\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmcgiy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmpvtc\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmwyjx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsndfra\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnedcm\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnffyk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnodpd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsntawk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsoazst\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsotqhy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspdklh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspobdn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspsziv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspupar\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqasdr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqbsjt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqemag\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqfyva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqitok\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqlkph\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqpsxk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqtewe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqvecg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqwgeh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqzptb\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrhlub\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjtnr\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjxsq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrredc\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstblsn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstcbjj\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstfpqz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstglen\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstkacb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstsrkv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstxeua\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsugcpk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuwnbq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuzvkn\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvkbrv\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvorjd\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvwiiv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswefsv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswnewk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswxpjf\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxgagp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxhzwt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxoyhe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzazs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzgco\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyalqw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsycujm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyibac\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsynyam\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsypule\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyvkyd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszbtxw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszelvz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszfowt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszjkzl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszmbfw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszncpv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszoeih\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszqnox\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Active\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 2\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n cloudserv\r\n \r\n hi there\r\n West US\r\n \r\n \r\n \r\n CS-NorthCentralUS-scheduler\r\n \r\n CS-NorthCentralUS-scheduler\r\n North Central US\r\n \r\n \r\n \r\n CS-SouthCentralUS-scheduler\r\n \r\n CS-SouthCentralUS-scheduler\r\n South Central US\r\n \r\n \r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n West Europe\r\n \r\n \r\n \r\n CS-WebJobs-WestUS-scheduler\r\n \r\n CS-WebJobs-WestUS-scheduler\r\n West US\r\n \r\n \r\n \r\n devSaopDS-cs1\r\n \r\n devSaopDS-cs1\r\n north europe\r\n \r\n \r\n \r\n name\r\n \r\n couves\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-P2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-east-asia\r\n \r\n 04301767-ecac-4e60-a412-d289bf890e93\r\n east asia\r\n \r\n \r\n WABackup\r\n BackupVault\r\n Test\r\n \r\n 1.1\r\n e25454eb-a351-4199-a6e5-1208207bf9cf\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n ResourceId\r\n 3888925532610829152\r\n \r\n \r\n BackendStampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", @@ -1187,8 +1187,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n \r\n aztstjcjobclsabrzy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsadcuu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsanbmb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaqjwu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaskes\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsatabp\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsavrzs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbfllr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbgnqk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbrhbj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbsefr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbvuae\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdclk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdjdp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscrwsz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsczxzk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdblyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdezvt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdjfrl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdtvmd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsduhom\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclselofj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseshfx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseuzny\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexies\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexnyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfyvee\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfywzg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n scheduler\r\n JobCollections\r\n aztstjcjobcllnkvbcv\r\n 1.1\r\n 29d5806a-c1ae-417e-ba20-63953ec823d0\r\n Started\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n aztstjcjobclsgjxwz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsguzix\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshgdva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshhltr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsidgrg\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsilaic\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsixcht\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjmafh\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjvzbw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjxxrm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjyslm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclskebaj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslfwil\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslhnch\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsltxec\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsluoay\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmcgiy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmpvtc\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmwyjx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsndfra\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnedcm\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnffyk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnodpd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsntawk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsoazst\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsotqhy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspdklh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspobdn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspsziv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspupar\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqasdr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqbsjt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqemag\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqfyva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqitok\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqlkph\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqpsxk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqtewe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqvecg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqwgeh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqzptb\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrhlub\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjtnr\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjxsq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrredc\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstblsn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstcbjj\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstfpqz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstglen\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstkacb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstsrkv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstxeua\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsugcpk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuwnbq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuzvkn\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvkbrv\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvorjd\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvwiiv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswefsv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswnewk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswxpjf\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxgagp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxhzwt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxoyhe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzazs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzgco\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyalqw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsycujm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyibac\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsynyam\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsypule\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyvkyd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszbtxw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszelvz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszfowt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszjkzl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszmbfw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszncpv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszoeih\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszqnox\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Active\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 2\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n cloudserv\r\n \r\n hi there\r\n West US\r\n \r\n \r\n \r\n CS-NorthCentralUS-scheduler\r\n \r\n CS-NorthCentralUS-scheduler\r\n North Central US\r\n \r\n \r\n \r\n CS-SouthCentralUS-scheduler\r\n \r\n CS-SouthCentralUS-scheduler\r\n South Central US\r\n \r\n \r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n West Europe\r\n \r\n \r\n \r\n CS-WebJobs-WestUS-scheduler\r\n \r\n CS-WebJobs-WestUS-scheduler\r\n West US\r\n \r\n \r\n \r\n devSaopDS-cs1\r\n \r\n devSaopDS-cs1\r\n north europe\r\n \r\n \r\n \r\n name\r\n \r\n couves\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-P2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-east-asia\r\n \r\n 04301767-ecac-4e60-a412-d289bf890e93\r\n east asia\r\n \r\n \r\n WABackup\r\n BackupVault\r\n Test\r\n \r\n 1.1\r\n e25454eb-a351-4199-a6e5-1208207bf9cf\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n ResourceId\r\n 3888925532610829152\r\n \r\n \r\n BackendStampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", @@ -1222,8 +1222,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n \r\n aztstjcjobclsabrzy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsadcuu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsanbmb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaqjwu\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsaskes\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsatabp\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsavrzs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbfllr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbgnqk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbrhbj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbsefr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsbvuae\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdclk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscdjdp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclscrwsz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsczxzk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdblyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdezvt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdjfrl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsdtvmd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsduhom\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclselofj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseshfx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclseuzny\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexies\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsexnyf\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfyvee\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsfywzg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n scheduler\r\n JobCollections\r\n aztstjcjobcllnkvbcv\r\n 1.1\r\n 29d5806a-c1ae-417e-ba20-63953ec823d0\r\n Started\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n aztstjcjobclsgjxwz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsguzix\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshgdva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclshhltr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsidgrg\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsilaic\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsixcht\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjmafh\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjvzbw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjxxrm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsjyslm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclskebaj\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslfwil\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclslhnch\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsltxec\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsluoay\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmcgiy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmpvtc\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsmwyjx\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsndfra\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnedcm\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnffyk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsnodpd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsntawk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsoazst\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsotqhy\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspdklh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspobdn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspsziv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclspupar\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqasdr\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqbsjt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqemag\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqfyva\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqitok\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqlkph\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqpsxk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqtewe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqvecg\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqwgeh\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsqzptb\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrhlub\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjtnr\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrjxsq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsrredc\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstblsn\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstcbjj\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstfpqz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstglen\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstkacb\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstsrkv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclstxeua\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsugcpk\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuwnbq\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsuzvkn\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvkbrv\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvorjd\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsvwiiv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswefsv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswnewk\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclswxpjf\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxgagp\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxhzwt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxoyhe\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzazs\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsxzgco\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyalqw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsycujm\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyibac\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsynyam\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsypule\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclsyvkyd\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszbtxw\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszelvz\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszfowt\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszjkzl\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszmbfw\r\n \r\n aztstjcDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszncpv\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszoeih\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n aztstjcjobclszqnox\r\n \r\n aztstschDesc1\r\n West US\r\n \r\n \r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n \r\n CachingP2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-West-US\r\n West US\r\n \r\n \r\n cacheservice\r\n Caching\r\n onesdk2608\r\n 1.0\r\n de579dfd-1347-4f05-9110-cde88b579297\r\n Started\r\n Active\r\n \r\n \r\n \r\n Basic\r\n West US\r\n 2\r\n 1.2.0\r\n 1024\r\n \r\n \r\n default\r\n false\r\n false\r\n LeastRecentlyUsed\r\n \r\n \r\n \r\n \r\n \r\n \r\n CreationDate\r\n 7/6/2014 6:01:16 PM +00:00\r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n cloudserv\r\n \r\n hi there\r\n West US\r\n \r\n \r\n \r\n CS-NorthCentralUS-scheduler\r\n \r\n CS-NorthCentralUS-scheduler\r\n North Central US\r\n \r\n \r\n \r\n CS-SouthCentralUS-scheduler\r\n \r\n CS-SouthCentralUS-scheduler\r\n South Central US\r\n \r\n \r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n \r\n CS-WebJobs-WestEurope-scheduler\r\n West Europe\r\n \r\n \r\n \r\n CS-WebJobs-WestUS-scheduler\r\n \r\n CS-WebJobs-WestUS-scheduler\r\n West US\r\n \r\n \r\n \r\n devSaopDS-cs1\r\n \r\n devSaopDS-cs1\r\n north europe\r\n \r\n \r\n \r\n name\r\n \r\n couves\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-P2VBRNX3ZH3GXC5MWKW5VS3K5J4T7XSMRHBCI2OMUCUGDVAVQXXA-east-asia\r\n \r\n 04301767-ecac-4e60-a412-d289bf890e93\r\n east asia\r\n \r\n \r\n WABackup\r\n BackupVault\r\n Test\r\n \r\n 1.1\r\n e25454eb-a351-4199-a6e5-1208207bf9cf\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n ResourceId\r\n 3888925532610829152\r\n \r\n \r\n BackendStampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", @@ -1257,8 +1257,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ], "client-tracking-id": [ "20" @@ -1295,8 +1295,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ], "client-tracking-id": [ "20" @@ -1333,8 +1333,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n YWNzOmh0dHBzOi8vb25lc2RrMjYwODQ1ODEtY2FjaGUuYWNjZXNzY29udHJvbC53aW5kb3dzLm5ldC8vV1JBUHYwLjkvJm93bmVyJmk5cUEvcVp1eUpCRzZvT1gxY1k4NTAwWW4yUGNjVGROZFNianpMT29sY289Jmh0dHA6Ly9vbmVzZGsyNjA4LmNhY2hlLndpbmRvd3MubmV0Lw==\r\n YWNzOmh0dHBzOi8vb25lc2RrMjYwODQ1ODEtY2FjaGUuYWNjZXNzY29udHJvbC53aW5kb3dzLm5ldC8vV1JBUHYwLjkvJm93bmVyJkpmdHpnYS9pVjJjMzF4V0tiUWlBRi9qb043SHoybVBCaUczMlhjQmUwcDA9Jmh0dHA6Ly9vbmVzZGsyNjA4LmNhY2hlLndpbmRvd3MubmV0Lw==\r\n", @@ -1371,8 +1371,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ] }, "ResponseBody": "\r\n YWNzOmh0dHBzOi8vb25lc2RrMjYwODQ1ODEtY2FjaGUuYWNjZXNzY29udHJvbC53aW5kb3dzLm5ldC8vV1JBUHYwLjkvJm93bmVyJllLSmJFeTVvSEZvZkRmdmt6VTRqMTViWnlkNlEwbG1pUmFmZ2ZtQ2phVTQ9Jmh0dHA6Ly9vbmVzZGsyNjA4LmNhY2hlLndpbmRvd3MubmV0Lw==\r\n YWNzOmh0dHBzOi8vb25lc2RrMjYwODQ1ODEtY2FjaGUuYWNjZXNzY29udHJvbC53aW5kb3dzLm5ldC8vV1JBUHYwLjkvJm93bmVyJkpmdHpnYS9pVjJjMzF4V0tiUWlBRi9qb043SHoybVBCaUczMlhjQmUwcDA9Jmh0dHA6Ly9vbmVzZGsyNjA4LmNhY2hlLndpbmRvd3MubmV0Lw==\r\n", @@ -1409,8 +1409,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ], "client-tracking-id": [ "40" @@ -1447,8 +1447,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ], "client-tracking-id": [ "40" @@ -1485,8 +1485,8 @@ "2012-08-01" ], "User-Agent": [ - "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.13", - "AzurePowershell/v0.8.13" + "Microsoft.Azure.Management.ManagedCache.ManagedCacheClient/0.8.14", + "AzurePowershell/v0.8.14" ], "client-tracking-id": [ "40" diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/packages.config b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/packages.config index 7c4ab8c1b5b2..1b9cd1b4a9af 100644 --- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/packages.config +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/packages.config @@ -1,21 +1,21 @@  - - + + + - - - + + - + - + diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Commands.ManagedCache.csproj b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Commands.ManagedCache.csproj index 4625783942d3..3e049154720c 100644 --- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Commands.ManagedCache.csproj +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Commands.ManagedCache.csproj @@ -42,17 +42,17 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll False @@ -67,12 +67,12 @@ ..\..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -89,9 +89,9 @@ ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/ManagedCacheCmdletBase.cs b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/ManagedCacheCmdletBase.cs index 3c7827f65823..65039549c033 100644 --- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/ManagedCacheCmdletBase.cs +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/ManagedCacheCmdletBase.cs @@ -29,7 +29,7 @@ internal PSCacheClient CacheClient { if (cacheClient == null) { - cacheClient = new PSCacheClient(CurrentContext.Subscription); + cacheClient = new PSCacheClient(Profile, Profile.Context.Subscription); } return cacheClient; } diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/PSCacheClient.cs b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/PSCacheClient.cs index 643845b11c17..fcc90b488c34 100644 --- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/PSCacheClient.cs +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/PSCacheClient.cs @@ -24,9 +24,9 @@ using Microsoft.Azure.Management.ManagedCache.Models; using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Hyak.Common; namespace Microsoft.Azure.Commands.ManagedCache @@ -38,9 +38,9 @@ class PSCacheClient private const int MaxNamedCacheCount = 10; private ManagedCacheClient client; - public PSCacheClient(AzureSubscription currentSubscription) + public PSCacheClient(AzureProfile profile, AzureSubscription currentSubscription) { - client = AzureSession.ClientFactory.CreateClient(currentSubscription, AzureEnvironment.Endpoint.ServiceManagement); + client = AzureSession.ClientFactory.CreateClient(profile, currentSubscription, AzureEnvironment.Endpoint.ServiceManagement); } public PSCacheClient() { } diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Service/NewAzureManagedCache.cs b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Service/NewAzureManagedCache.cs index 1f52d75504de..1f9962fce47a 100644 --- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Service/NewAzureManagedCache.cs +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/Service/NewAzureManagedCache.cs @@ -44,7 +44,7 @@ public override void ExecuteCmdlet() string memory = memoryDynamicParameterSet.GetMemoryValue(Sku); PSCacheService cacheService = new PSCacheService(CacheClient.CreateCacheService( - CurrentContext.Subscription.Id.ToString(), + Profile.Context.Subscription.Id.ToString(), cacheServiceName, Location, Sku, diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/lib/ManagedCacheClient.cs b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/lib/ManagedCacheClient.cs index 4b34aedca965..8082c7b4fb28 100644 --- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache/lib/ManagedCacheClient.cs +++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache/lib/ManagedCacheClient.cs @@ -2571,6 +2571,7 @@ public async Task BeginCreatingCacheServiceAsync(string } requestContent = requestDoc.ToString(); + requestContent = System.Text.RegularExpressions.Regex.Replace(requestContent, "\\s* - - + + + - @@ -11,10 +11,10 @@ - + - + \ No newline at end of file diff --git a/src/ServiceManagement/Network/Commands.Network.Test/Commands.Network.Test.csproj b/src/ServiceManagement/Network/Commands.Network.Test/Commands.Network.Test.csproj index d15343e5befa..18a5dc038a82 100644 --- a/src/ServiceManagement/Network/Commands.Network.Test/Commands.Network.Test.csproj +++ b/src/ServiceManagement/Network/Commands.Network.Test/Commands.Network.Test.csproj @@ -39,26 +39,26 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5486.28526-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll + ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll - ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5486.28526-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll + ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll ..\..\..\packages\Microsoft.Data.Edm.5.6.0\lib\net40\Microsoft.Data.Edm.dll @@ -69,13 +69,13 @@ ..\..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -90,11 +90,13 @@ ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.6.1.2\lib\net40\Microsoft.WindowsAzure.Management.Network.dll False diff --git a/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroup/NSGScenarioTests.cs b/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroup/NSGScenarioTests.cs index e7575498cded..47bdc2d33c64 100644 --- a/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroup/NSGScenarioTests.cs +++ b/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkSecurityGroup/NSGScenarioTests.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Network.Test.ScenarioTests using Microsoft.WindowsAzure.Commands.Utilities.Common; using Xunit; using Microsoft.WindowsAzure.Management; - using Microsoft.Azure.Common.Extensions; + using Microsoft.Azure.Common.Authentication; using Microsoft.Azure.Test; public class NSGScenarioTests diff --git a/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkTestsBase.cs b/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkTestsBase.cs index 0088e69a4bcc..b265fcd800fb 100644 --- a/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkTestsBase.cs +++ b/src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/NetworkTestsBase.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Network.Test.ScenarioTests { - using Microsoft.Azure.Common.Extensions; + using Microsoft.Azure.Common.Authentication; using WindowsAzure.Management.Network; public abstract class NetworkTestsBase diff --git a/src/ServiceManagement/Network/Commands.Network.Test/packages.config b/src/ServiceManagement/Network/Commands.Network.Test/packages.config index 1f76bac24a52..f2828e36010e 100644 --- a/src/ServiceManagement/Network/Commands.Network.Test/packages.config +++ b/src/ServiceManagement/Network/Commands.Network.Test/packages.config @@ -1,22 +1,22 @@  - - + + + - - - + + - + - - + + diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/AddApplicationGatewaySslCertificate.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/AddApplicationGatewaySslCertificate.cs new file mode 100644 index 000000000000..f968440e2c3f --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/AddApplicationGatewaySslCertificate.cs @@ -0,0 +1,54 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.Azure.Commands.Network.Properties; +using Microsoft.WindowsAzure.Management.Network.Models; + +namespace Microsoft.Azure.Commands.Network.ApplicationGateway +{ + [Cmdlet(VerbsCommon.Add, "AzureApplicationGatewaySslCertificate"), OutputType(typeof(ApplicationGatewayOperationResponse))] + public class AddApplicationGatewayCertificateCommand : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Application Gateway Name representing the Application Gateway")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Certificate Name")] + [ValidateNotNullOrEmpty] + public string CertificateName { get; set; } + + [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Certificate Password")] + [ValidateNotNullOrEmpty] + public string Password { get; set; } + + [Parameter(Position = 3, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Path of Certificate File")] + [ValidateNotNullOrEmpty] + public string CertificateFile { get; set; } + public override void ExecuteCmdlet() + { + WriteVerboseWithTimestamp(string.Format(Resources.AddAzureApplicationGatewaySslCertificateBeginOperation, CommandRuntime.ToString())); + var responseObject = Client.AddApplicationGatewayCertificate(Name, CertificateName, Password, CertificateFile); + WriteVerboseWithTimestamp(string.Format(Resources.AddAzureApplicationGatewaySslCertificateCompletedOperation, CommandRuntime.ToString())); + + WriteObject(responseObject); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/GetApplicationGateway.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/GetApplicationGateway.cs new file mode 100644 index 000000000000..e31537fb849f --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/GetApplicationGateway.cs @@ -0,0 +1,61 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.Network.Properties; +using Microsoft.WindowsAzure.Management.Network.Models; +using PowerShellAppGwModel = Microsoft.Azure.Commands.Network.ApplicationGateway.Model; + +namespace Microsoft.Azure.Commands.Network.ApplicationGateway +{ + [Cmdlet(VerbsCommon.Get, "AzureApplicationGateway"), OutputType(typeof(PowerShellAppGwModel.ApplicationGateway), typeof(IEnumerable))] + public class GetApplicationGatewayCommand : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "Application Gateway Name representing the Application Gateway")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + public override void ExecuteCmdlet() + { + if (!string.IsNullOrEmpty(Name)) + { + GetByGatewayName(); + } + else + { + GetNoGatewayName(); + } + } + + private void GetByGatewayName() + { + WriteVerboseWithTimestamp(string.Format(Resources.GetAzureApplicationGatewayBeginOperation, CommandRuntime.ToString())); + var gateway = Client.GetApplicationGateway(Name); + WriteVerboseWithTimestamp(string.Format(Resources.GetAzureApplicationGatewayCompletedOperation, CommandRuntime.ToString())); + + WriteObject(gateway); + } + + private void GetNoGatewayName() + { + WriteVerboseWithTimestamp(string.Format(Resources.GetAzureApplicationGatewayBeginOperation, CommandRuntime.ToString())); + var gateways = Client.ListApplicationGateway(); + WriteVerboseWithTimestamp(string.Format(Resources.GetAzureApplicationGatewayCompletedOperation, CommandRuntime.ToString())); + + WriteObject(gateways, true); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/GetApplicationGatewayConfig.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/GetApplicationGatewayConfig.cs new file mode 100644 index 000000000000..53b1f0b54381 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/GetApplicationGatewayConfig.cs @@ -0,0 +1,50 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.Network.Properties; +using Microsoft.WindowsAzure.Management.Network.Models; +using PowerShellAppGwModel = Microsoft.Azure.Commands.Network.ApplicationGateway.Model; + +namespace Microsoft.Azure.Commands.Network.ApplicationGateway +{ + [Cmdlet(VerbsCommon.Get, "AzureApplicationGatewayConfig"), OutputType(typeof(PowerShellAppGwModel.ApplicationGatewayConfigContext))] + public class GetApplicationGatewayConfigCommand : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Application Gateway Name representing the Application Gateway")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Mandatory = false, HelpMessage = "The file path to save the application gateway configuration to.")] + [ValidateNotNullOrEmpty] + public string ExportToFile { get; set; } + + public override void ExecuteCmdlet() + { + WriteVerboseWithTimestamp(string.Format(Resources.GetAzureApplicationGatewayConfigBeginOperation, CommandRuntime.ToString())); + PowerShellAppGwModel.ApplicationGatewayConfigContext config = Client.GetApplicationGatewayConfig(Name); + + if (!string.IsNullOrEmpty(this.ExportToFile)) + { + config.ExportToFile(this.ExportToFile); + } + + WriteVerboseWithTimestamp(string.Format(Resources.GetAzureApplicationGatewayConfigCompletedOperation, CommandRuntime.ToString())); + + WriteObject(config); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/GetApplicationGatewaySslCertificate.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/GetApplicationGatewaySslCertificate.cs new file mode 100644 index 000000000000..6391325aaf99 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/GetApplicationGatewaySslCertificate.cs @@ -0,0 +1,67 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.Network.Properties; +using Microsoft.WindowsAzure.Management.Network.Models; +using PowerShellAppGwModel = Microsoft.Azure.Commands.Network.ApplicationGateway.Model; + +namespace Microsoft.Azure.Commands.Network.ApplicationGateway +{ + [Cmdlet(VerbsCommon.Get, "AzureApplicationGatewaySslCertificate"), + OutputType(typeof(PowerShellAppGwModel.ApplicationGatewayCertificate), typeof(List))] + public class GetApplicationGatewayCertificateCommand : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Application Gateway Name representing the Application Gateway")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Position = 1, Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "Certificate Name")] + [ValidateNotNullOrEmpty] + public string CertificateName { get; set; } + + public override void ExecuteCmdlet() + { + if (!string.IsNullOrEmpty(CertificateName)) + { + GetByCertificateName(); + } + else + { + GetNoCertificateName(); + } + } + + private void GetByCertificateName() + { + WriteVerboseWithTimestamp(string.Format(Resources.GetAzureApplicationGatewaySslCertificateBeginOperation, CommandRuntime.ToString())); + var certificate = Client.GetApplicationGatewayCertificate(Name, CertificateName); + WriteVerboseWithTimestamp(string.Format(Resources.GetAzureApplicationGatewaySslCertificateCompletedOperation, CommandRuntime.ToString())); + + WriteObject(certificate); + } + + private void GetNoCertificateName() + { + WriteVerboseWithTimestamp(string.Format(Resources.GetAzureApplicationGatewaySslCertificateBeginOperation, CommandRuntime.ToString())); + var certificates = Client.ListApplicationGatewayCertificate(Name); + WriteVerboseWithTimestamp(string.Format(Resources.GetAzureApplicationGatewaySslCertificateCompletedOperation, CommandRuntime.ToString())); + + WriteObject(certificates, true); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGateway.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGateway.cs new file mode 100644 index 000000000000..5611cf83a956 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGateway.cs @@ -0,0 +1,92 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.ApplicationGateway.Model +{ + using System; + using System.Linq; + using System.Globalization; + using System.Text; + using System.Collections.Generic; + using System.Runtime.Serialization; + + /// + /// This class represents the Application Gateway returned by Get/List APIs. + /// + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public class ApplicationGateway + { + [DataMember] + public string Name { get; set; } + + [DataMember] + public string Description { get; set; } + + [DataMember] + public string VnetName { get; set; } + + [DataMember] + public SubnetCollection Subnets { get; set; } + + [DataMember] + public uint InstanceCount { get; set; } + + [DataMember] + public string GatewaySize { get; set; } + + [DataMember] + public string State { get; set; } + + [DataMember] + public VirtualIpCollection VirtualIPs { get; set; } + + [DataMember] + public string DnsName { get; set; } + + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + + sb.AppendFormat(CultureInfo.InvariantCulture, "Name:{0} ", string.IsNullOrEmpty(Name) ? "null" : Name); + sb.AppendFormat(CultureInfo.InvariantCulture, "Description:{0} ", string.IsNullOrEmpty(Description) ? "null" : Description); + sb.AppendFormat(CultureInfo.InvariantCulture, "VnetName:{0} ", string.IsNullOrEmpty(VnetName) ? "null" : VnetName); + sb.AppendFormat(CultureInfo.InvariantCulture, "Subnets:{0} ", !Subnets.Any() ? "null" : Subnets.ToString()); + sb.AppendFormat(CultureInfo.InvariantCulture, "InstanceCount:{0} ", InstanceCount); + sb.AppendFormat(CultureInfo.InvariantCulture, "GatewaySize:{0} ", string.IsNullOrEmpty(GatewaySize) ? "null" : GatewaySize); + sb.AppendFormat(CultureInfo.InvariantCulture, "State:{0} ", string.IsNullOrEmpty(State) ? "null" : State); + sb.AppendFormat(CultureInfo.InvariantCulture, "VirtualIPs:{0} ", !VirtualIPs.Any() ? "null" : VirtualIPs.ToString()); + sb.AppendFormat(CultureInfo.InvariantCulture, "DnsName:{0} ", string.IsNullOrEmpty(DnsName) ? "null" : DnsName); + + return sb.ToString(); + } + + public static void ShowDetails(ApplicationGateway applicationGateway) + { + Console.WriteLine("Name:{0}", applicationGateway.Name); + Console.WriteLine("Description:{0}", applicationGateway.Description); + Console.WriteLine("VnetName:{0}", applicationGateway.VnetName); + Console.WriteLine("Subnets:{0}", applicationGateway.Subnets); + Console.WriteLine("InstanceCount:{0}", applicationGateway.InstanceCount); + Console.WriteLine("GatewaySize:{0}", applicationGateway.GatewaySize); + Console.WriteLine("State:{0}", applicationGateway.State); + Console.WriteLine("VirtualIPs:{0}", applicationGateway.VirtualIPs); + Console.WriteLine("DnsName:{0}", applicationGateway.DnsName); + } + } + + [CollectionDataContract(Name = "ApplicationGateways", Namespace = "http://schemas.microsoft.com/windowsazure")] + public class ApplicationGatewayCollection : List + { + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayCertificate.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayCertificate.cs new file mode 100644 index 000000000000..076e9a2503ca --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayCertificate.cs @@ -0,0 +1,75 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.ApplicationGateway.Model +{ + using System; + using System.Collections.Generic; + using System.Runtime.Serialization; + using System.Security.Cryptography.X509Certificates; + + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public class ApplicationGatewayCertificate + { + [DataMember(Order = 1, EmitDefaultValue = false)] + public string Name { get; set; } + + [DataMember(Order = 2, EmitDefaultValue = false)] + public string SubjectName { get; set; } + + [DataMember(Order = 3, EmitDefaultValue = false)] + public string Thumbprint { get; set; } + + [DataMember(Order = 4, EmitDefaultValue = false)] + public string ThumbprintAlgo { get; set; } + + [DataMember(Order = 5, EmitDefaultValue = false)] + public string State { get; set; } + + //public static void ShowDetails(ApplicationGatewayCertificate cert) + //{ + // X509Certificate2 certObject = new X509Certificate2(Convert.FromBase64String(cert.Data)); + + // Console.WriteLine("Name:{0}", cert.Name); + // Console.WriteLine("SubjectName:{0}", certObject.SubjectName.Name); + // Console.WriteLine("Thumbprint:{0}", certObject.Thumbprint); + // Console.WriteLine("ThumbprintAlgo:{0}", certObject.SignatureAlgorithm.FriendlyName); + // Console.WriteLine("State:{0}", cert.State); + //} + } + + [CollectionDataContract(Name = "ApplicationGatewayCertificates", Namespace = "http://schemas.microsoft.com/windowsazure")] + public class ApplicationGatewayCertificateCollection : List + { + } + + /// + /// Represents the provisioning state of an Application Gateway Certificate + /// + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public enum ApplicationGatewayCertificateState + { + [EnumMember] + Provisioning, + + [EnumMember] + Provisioned, + + [EnumMember] + Deleting, + + [EnumMember] + Unknown + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayConfigContext.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayConfigContext.cs new file mode 100644 index 000000000000..1c0fac53d94c --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayConfigContext.cs @@ -0,0 +1,44 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +namespace Microsoft.Azure.Commands.Network.ApplicationGateway.Model +{ + using System; + using System.IO; + using Microsoft.WindowsAzure.Commands.Utilities.Common; + + public class ApplicationGatewayConfigContext : ManagementOperationContext + { + public string XMLConfiguration { get; set; } + public ApplicationGatewayConfiguration Config { get; set; } + + public void ExportToFile(string filePath) + { + if (string.IsNullOrEmpty(filePath)) + { + throw new ArgumentNullException("filePath", "File path can not be null."); + } + + if (!Directory.Exists(Path.GetDirectoryName(filePath))) + { + throw new ArgumentException("File path does not exist.", "filePath"); + } + + using (StreamWriter outfile = new StreamWriter(filePath)) + { + outfile.Write(this.XMLConfiguration); + } + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayConfiguration.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayConfiguration.cs new file mode 100644 index 000000000000..ab20f06f0f66 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayConfiguration.cs @@ -0,0 +1,226 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.ApplicationGateway.Model +{ + using System; + using System.Linq; + using System.Xml; + using System.IO; + using System.Globalization; + using System.Text; + using System.Collections.Generic; + using System.Runtime.Serialization; + + /// + /// This class represents the Application Gateway configuration. The configuration includes the frontend points including the listeners on which the gateway + /// can receive traffic, the backend servers and the load balancing rules which forward the incoming traffic to the backend servers + /// + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public class ApplicationGatewayConfiguration : ConfigurationElement + { + [DataMember(Order = 1, EmitDefaultValue = false)] + public IEnumerable FrontendIPConfigurations { get; set; } + + [DataMember(Order = 2, IsRequired = true)] + public IEnumerable FrontendPorts { get; set; } + + /// + /// Collection of backend address pools. See backendAddressPools in the NRP spec + /// + [DataMember(Order = 3, IsRequired = true)] + public IEnumerable BackendAddressPools { get; set; } + + [DataMember(Order = 4, IsRequired = true)] + public IEnumerable BackendHttpSettingsList { get; set; } + + [DataMember(Order = 5, IsRequired = true)] + public IEnumerable HttpListeners { get; set; } + + [DataMember(Order = 6, IsRequired = true)] + public IEnumerable HttpLoadBalancingRules { get; set; } + + public ApplicationGatewayConfigurationContext ConfigurationContext { get; set; } + + public ApplicationGatewayConfiguration() + { + } + + public void ProcessConfiguration() + { + this.ConfigurationContext = new ApplicationGatewayConfigurationContext(this); + this.ConfigurationContext.ProcessConfigurationElements(); + } + + public override void Validate() + { + if (this.FrontendIPConfigurations != null && this.FrontendIPConfigurations.Count() > 1) + { + throw new ApplicationGatewayConfigurationValidationException( + "Only one FrontendIPConfiguration can be specified"); + } + + //Validate that atleast one of each configuration element is present + if (!this.FrontendPorts.Any()) + { + throw new ApplicationGatewayConfigurationValidationException( + "Atleast one FrontendPort must be specified"); + } + + if (!this.BackendAddressPools.Any()) + { + throw new ApplicationGatewayConfigurationValidationException( + "Atleast one BackendAddressPool must be specified"); + } + + if (!this.BackendHttpSettingsList.Any()) + { + throw new ApplicationGatewayConfigurationValidationException( + "Atleast one BackendHttpSettings must be specified"); + } + + if (!this.HttpListeners.Any()) + { + throw new ApplicationGatewayConfigurationValidationException( + "Atleast one HttpListener must be specified"); + } + + if (!this.HttpLoadBalancingRules.Any()) + { + throw new ApplicationGatewayConfigurationValidationException( + "Atleast one HttpLoadBalancingRule must be specified"); + } + } + + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + + sb.AppendFormat(CultureInfo.InvariantCulture, "FrontendIPConfigurations:"); + foreach (FrontendIPConfiguration frontendIP in FrontendIPConfigurations) + { + sb.AppendFormat("{0}", frontendIP == null ? "null" : frontendIP.ToString()); + } + + sb.AppendFormat(CultureInfo.InvariantCulture, "FrontEndPorts:"); + foreach (FrontendPort frontEndPort in FrontendPorts) + { + sb.AppendFormat("{0}", frontEndPort == null ? "null" : frontEndPort.ToString()); + } + + sb.AppendFormat(CultureInfo.InvariantCulture, "BackendAddressPools:"); + foreach (BackendAddressPool backendAddressPool in BackendAddressPools) + { + sb.AppendFormat("{0}", backendAddressPool == null ? "null" : backendAddressPool.ToString()); + } + + sb.AppendFormat(CultureInfo.InvariantCulture, "BackendHttpSettings:"); + foreach (BackendHttpSettings backendHttpSettings in BackendHttpSettingsList) + { + sb.AppendFormat("{0}", backendHttpSettings == null ? "null" : backendHttpSettings.ToString()); + } + + sb.AppendFormat(CultureInfo.InvariantCulture, "HttpListeners:"); + foreach (HttpListener httpListener in HttpListeners) + { + sb.AppendFormat("{0}", httpListener == null ? "null" : httpListener.ToString()); + } + + sb.AppendFormat(CultureInfo.InvariantCulture, "HttpLoadBalancingRules:"); + foreach (HttpLoadBalancingRule httpLoadBalancingRule in HttpLoadBalancingRules) + { + sb.AppendFormat("{0}", httpLoadBalancingRule == null ? "null" : httpLoadBalancingRule.ToString()); + } + + return sb.ToString(); + } + + public static ApplicationGatewayConfiguration Deserialize(string xmlConfig) + { + byte[] byteArray = Encoding.UTF8.GetBytes(xmlConfig); + MemoryStream stream = new MemoryStream(byteArray); + + DataContractSerializer serializer = new DataContractSerializer(typeof(ApplicationGatewayConfiguration)); + ApplicationGatewayConfiguration deserializedConfig = null; + try + { + deserializedConfig = (ApplicationGatewayConfiguration)serializer.ReadObject(stream); + } + catch (Exception e) + { + throw new ApplicationGatewayConfigurationException( + string.Format("Error deserializing config: {0}", xmlConfig), e); + } + + return deserializedConfig; + } + + public static string Print(ApplicationGatewayConfiguration config) + { + MemoryStream stream = new MemoryStream(); + + var settings = new XmlWriterSettings() + { + Indent = true, + IndentChars = " " + }; + + DataContractSerializer serializer = new DataContractSerializer(typeof(ApplicationGatewayConfiguration)); + + using (var writer = XmlWriter.Create(stream, settings)) + { + try + { + serializer.WriteObject(writer, config); + } + catch (Exception e) + { + throw new ApplicationGatewayConfigurationException( + string.Format("Error Serializing config: {0}", config.ToString()), e); + } + } + + stream.Position = 0; + var sr = new StreamReader(stream); + return sr.ReadToEnd(); + } + + public List GetSslCertNamesFromListeners() + { + List certnames = new List(); + + foreach (HttpListener httpListener in HttpListeners) + { + if (httpListener.Protocol == Protocol.Https) + { + certnames.Add(httpListener.SslCert); + } + } + return certnames; + } + + public bool IsCertInUse(string certName) + { + foreach (HttpListener httpListener in HttpListeners) + { + if ((httpListener.Protocol == Protocol.Https) && + string.Equals(certName, httpListener.SslCert, StringComparison.InvariantCultureIgnoreCase)) + { + return true; + } + } + return false; + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayConfigurationContext.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayConfigurationContext.cs new file mode 100644 index 000000000000..ca4f31e12f2a --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayConfigurationContext.cs @@ -0,0 +1,169 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.ApplicationGateway.Model +{ + using System.Collections.Generic; + + public class ApplicationGatewayConfigurationContext + { + public Dictionary FrontendIPConfigurations; + public Dictionary FrontendPorts; + public Dictionary BackendAddressPools; + public Dictionary BackendHttpSettingsList; + public Dictionary HttpListeners; + public Dictionary HttpLoadBalancingRules; + + ApplicationGatewayConfiguration Configuration { get; set; } + + public ApplicationGatewayConfigurationContext() + { + this.FrontendIPConfigurations = new Dictionary(); + this.FrontendPorts = new Dictionary(); + this.BackendAddressPools = new Dictionary(); + this.BackendHttpSettingsList = new Dictionary(); + this.HttpListeners = new Dictionary(); + this.HttpLoadBalancingRules = new Dictionary(); + } + + internal ApplicationGatewayConfigurationContext(ApplicationGatewayConfiguration configuration) + :this() + { + this.Configuration = configuration; + } + + internal void ProcessConfigurationElements() + { + FlattenConfigurationElementsAndValidateElementUniquesness(); + + ValidateConfigElements(); + } + + private void FlattenConfigurationElementsAndValidateElementUniquesness() + { + if (this.Configuration.FrontendIPConfigurations != null) + { + foreach (var ipConfiguration in this.Configuration.FrontendIPConfigurations) + { + if (FrontendIPConfigurations.ContainsKey(ipConfiguration.Name.ToLower())) + { + throw new ApplicationGatewayConfigurationValidationException( + string.Format("FrontendIPConfiguration with name: {0} already exists", ipConfiguration.Name)); + } + + ipConfiguration.ConfigurationContext = this; + FrontendIPConfigurations.Add(ipConfiguration.Name.ToLower(), ipConfiguration); + } + } + + foreach (var frontendPort in this.Configuration.FrontendPorts) + { + if (FrontendPorts.ContainsKey(frontendPort.Name.ToLower())) + { + throw new ApplicationGatewayConfigurationValidationException( + string.Format("FrontendPort with name: {0} already exists", frontendPort.Name)); + } + + frontendPort.ConfigurationContext = this; + FrontendPorts.Add(frontendPort.Name.ToLower(), frontendPort); + } + + foreach (var backendAddressPool in this.Configuration.BackendAddressPools) + { + if (BackendAddressPools.ContainsKey(backendAddressPool.Name.ToLower())) + { + throw new ApplicationGatewayConfigurationValidationException( + string.Format("BackendAddressPool with name: {0} already exists", backendAddressPool.Name)); + } + + backendAddressPool.ConfigurationContext = this; + BackendAddressPools.Add(backendAddressPool.Name.ToLower(), backendAddressPool); + } + + foreach (var backendHttpSettings in this.Configuration.BackendHttpSettingsList) + { + if (BackendHttpSettingsList.ContainsKey(backendHttpSettings.Name.ToLower())) + { + throw new ApplicationGatewayConfigurationValidationException( + string.Format("BackendHttpSettings with name: {0} already exists", backendHttpSettings.Name)); + } + + backendHttpSettings.ConfigurationContext = this; + BackendHttpSettingsList.Add(backendHttpSettings.Name.ToLower(), backendHttpSettings); + } + + foreach (var httpListener in this.Configuration.HttpListeners) + { + if (HttpListeners.ContainsKey(httpListener.Name.ToLower())) + { + throw new ApplicationGatewayConfigurationValidationException( + string.Format("httpListener with name: {0} already exists", httpListener.Name)); + } + + httpListener.ConfigurationContext = this; + HttpListeners.Add(httpListener.Name.ToLower(), httpListener); + } + + foreach (var httpLoadBalancingRule in this.Configuration.HttpLoadBalancingRules) + { + if (HttpLoadBalancingRules.ContainsKey(httpLoadBalancingRule.Name.ToLower())) + { + throw new ApplicationGatewayConfigurationValidationException( + string.Format("httpLoadBalancingRule with name: {0} already exists", httpLoadBalancingRule.Name)); + } + + httpLoadBalancingRule.ConfigurationContext = this; + HttpLoadBalancingRules.Add(httpLoadBalancingRule.Name.ToLower(), httpLoadBalancingRule); + } + } + + private void ValidateConfigElements() + { + this.Configuration.Validate(); + + if (this.FrontendIPConfigurations.Count > 0) + { + foreach (var ipConfig in this.Configuration.FrontendIPConfigurations) + { + ipConfig.Validate(); + } + } + + foreach (var frontendPort in this.Configuration.FrontendPorts) + { + frontendPort.Validate(); + } + + foreach (var backendAddressPool in this.Configuration.BackendAddressPools) + { + backendAddressPool.Validate(); + } + + foreach (var backendHttpSettings in this.Configuration.BackendHttpSettingsList) + { + backendHttpSettings.Validate(); + } + + foreach (var httpListener in this.Configuration.HttpListeners) + { + httpListener.Validate(); + } + + foreach (var httpLoadBalancingRule in this.Configuration.HttpLoadBalancingRules) + { + httpLoadBalancingRule.Validate(); + } + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayEntityInternal.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayEntityInternal.cs new file mode 100644 index 000000000000..f97cbe8a7366 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayEntityInternal.cs @@ -0,0 +1,113 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.ApplicationGateway.Model +{ + using System; + using System.Globalization; + using System.Text; + using System.Runtime.Serialization; + + /// + /// This class represents the Application Gateway internal returned by diagnostics APIs. + /// + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public class ApplicationGatewayEntityInternal : ApplicationGateway + { + [DataMember] + public string VnetId { get; set; } + + [DataMember] + public string DeploymentId { get; set; } + + [DataMember] + public string FabricGeoIdName { get; set; } + + [DataMember] + public string LocationConstraint { get; set; } + + [DataMember] + public string GatewayVersion { get; set; } + + [DataMember] + public string GatewaySubscriptionId { get; set; } + + [DataMember] + public string SubState { get; set; } + + [DataMember] + public string DeploymentName { get; set; } + + [DataMember] + public string SslCertificates { get; set; } + + [DataMember] + public string Config { get; set; } + + [DataMember] + public string ConfigTimestamp { get; set; } + + //Constructs partially populated ApplicationGatewayEntityInternal + //object from ApplicationGateway object + public ApplicationGatewayEntityInternal(ApplicationGateway appGw) + { + Name = appGw.Name; + Description = appGw.Description; + VnetName = appGw.VnetName; + Subnets = appGw.Subnets; + InstanceCount = appGw.InstanceCount; + GatewaySize = appGw.GatewaySize; + State = appGw.State; + VirtualIPs = appGw.VirtualIPs; + DnsName = appGw.DnsName; + } + + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + + sb.Append(base.ToString()); + sb.AppendFormat(CultureInfo.InvariantCulture, "VnetId:{0} ", string.IsNullOrEmpty(VnetId) ? "null" : VnetId); + sb.AppendFormat(CultureInfo.InvariantCulture, "DeploymentId:{0} ", string.IsNullOrEmpty(DeploymentId) ? "null" : DeploymentId); + sb.AppendFormat(CultureInfo.InvariantCulture, "FabricGeoIdName:{0} ", string.IsNullOrEmpty(FabricGeoIdName) ? "null" : FabricGeoIdName); + sb.AppendFormat(CultureInfo.InvariantCulture, "LocationConstraint:{0} ", string.IsNullOrEmpty(LocationConstraint) ? "null" : LocationConstraint); + sb.AppendFormat(CultureInfo.InvariantCulture, "GatewayVersion:{0} ", string.IsNullOrEmpty(GatewayVersion) ? "null" : GatewayVersion); + sb.AppendFormat(CultureInfo.InvariantCulture, "GatewaySubscriptionId:{0} ", string.IsNullOrEmpty(GatewaySubscriptionId) ? "null" : GatewaySubscriptionId); + sb.AppendFormat(CultureInfo.InvariantCulture, "SubState:{0} ", string.IsNullOrEmpty(SubState) ? "null" : SubState); + sb.AppendFormat(CultureInfo.InvariantCulture, "DeploymentName:{0} ", string.IsNullOrEmpty(DeploymentName) ? "null" : DeploymentName); + sb.AppendFormat(CultureInfo.InvariantCulture, "SslCertificates:{0} ", string.IsNullOrEmpty(SslCertificates) ? "null" : SslCertificates); + sb.AppendFormat(CultureInfo.InvariantCulture, "Config:{0} ", string.IsNullOrEmpty(Config) ? "null" : Config); + sb.AppendFormat(CultureInfo.InvariantCulture, "ConfigTimestamp:{0} ", string.IsNullOrEmpty(ConfigTimestamp) ? "null" : ConfigTimestamp); + + return sb.ToString(); + } + + public static void ShowDetails(ApplicationGatewayEntityInternal applicationGateway) + { + ApplicationGateway.ShowDetails(applicationGateway); + + Console.WriteLine("VnetId:{0}", applicationGateway.VnetId); + Console.WriteLine("DeploymentId:{0}", applicationGateway.DeploymentId); + Console.WriteLine("FabricGeoIdName:{0}", applicationGateway.FabricGeoIdName); + Console.WriteLine("LocationConstraint:{0}", applicationGateway.LocationConstraint); + Console.WriteLine("GatewayVersion:{0}", applicationGateway.GatewayVersion); + Console.WriteLine("GatewaySubscriptionId:{0}", applicationGateway.GatewaySubscriptionId); + Console.WriteLine("SubState:{0}", applicationGateway.SubState); + Console.WriteLine("DeploymentName:{0}", applicationGateway.DeploymentName); + Console.WriteLine("SslCertificates:{0}", applicationGateway.SslCertificates); + Console.WriteLine("Config:{0}", applicationGateway.Config); + Console.WriteLine("ConfigTimestamp:{0}", applicationGateway.ConfigTimestamp); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayExceptions.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayExceptions.cs new file mode 100644 index 000000000000..cedaea42cdf9 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayExceptions.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. +// ---------------------------------------------------------------------------------- + +namespace Microsoft.Azure.Commands.Network.ApplicationGateway.Model +{ + using System; + + public class ApplicationGatewayConfigurationValidationException : Exception + { + public ApplicationGatewayConfigurationValidationException(string message) + :base(message) + { + } + } + + public class ApplicationGatewayConfigurationException : Exception + { + public ApplicationGatewayConfigurationException(string message) + : base(message) + { + } + + public ApplicationGatewayConfigurationException(string message, Exception innerException) + : base(message, innerException) + { + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayInstanceInternal.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayInstanceInternal.cs new file mode 100644 index 000000000000..2ad2ab9bbb37 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayInstanceInternal.cs @@ -0,0 +1,85 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.ApplicationGateway.Model +{ + using System; + using System.Globalization; + using System.Text; + using System.Runtime.Serialization; + using System.Collections.Generic; + + /// + /// This class represents the Application Gateway instance returned by diagnostics APIs. + /// + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public class ApplicationGatewayInstanceInternal + { + [DataMember] + public string Name { get; set; } + + [DataMember] + public string SubscriptionId { get; set; } + + [DataMember] + public long BytesIn { get; set; } + + [DataMember] + public long BytesOut { get; set; } + + [DataMember] + public long Compute { get; set; } + + [DataMember] + public string Config { get; set; } + + [DataMember] + public string CurrentInstanceVersion { get; set; } + + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + + sb.AppendFormat(CultureInfo.InvariantCulture, "Name:{0} ", string.IsNullOrEmpty(Name) ? "null" : Name); + sb.AppendFormat(CultureInfo.InvariantCulture, "SubscriptionId:{0} ", string.IsNullOrEmpty(SubscriptionId) ? "null" : SubscriptionId); + sb.AppendFormat(CultureInfo.InvariantCulture, "BytesIn:{0} ", BytesIn); + sb.AppendFormat(CultureInfo.InvariantCulture, "BytesOut:{0} ", BytesOut); + sb.AppendFormat(CultureInfo.InvariantCulture, "Compute:{0} ", Compute); + sb.AppendFormat(CultureInfo.InvariantCulture, "CurrentInstanceVersion:{0} ", string.IsNullOrEmpty(CurrentInstanceVersion) ? "null" : CurrentInstanceVersion); + sb.AppendLine(); + sb.Append("Config:"); + sb.AppendLine(); + sb.AppendFormat(CultureInfo.InvariantCulture, "{0} ", string.IsNullOrEmpty(Config) ? "null" : Config); + + return sb.ToString(); + } + + public static void ShowDetails(ApplicationGatewayInstanceInternal applicationGatewayInstanceInternal) + { + Console.WriteLine("Name:{0}", applicationGatewayInstanceInternal.Name); + Console.WriteLine("SubscriptionId:{0}", applicationGatewayInstanceInternal.SubscriptionId); + Console.WriteLine("BytesIn:{0}", applicationGatewayInstanceInternal.BytesIn); + Console.WriteLine("BytesOut:{0}", applicationGatewayInstanceInternal.BytesOut); + Console.WriteLine("Compute:{0}", applicationGatewayInstanceInternal.Compute); + Console.WriteLine("CurrentInstanceVersion:{0}", applicationGatewayInstanceInternal.CurrentInstanceVersion); + Console.WriteLine("Config:"); + Console.WriteLine("{0}", applicationGatewayInstanceInternal.Config); + } + } + + [CollectionDataContract(Name = "ApplicationGatewayInstancesInternal", Namespace = "http://schemas.microsoft.com/windowsazure")] + public class ApplicationGatewayInstanceInternalCollection : List + { + } +} \ No newline at end of file diff --git a/src/Common/Azure.Common.Extensions/Authentication/ShowDialog.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayOperations.cs similarity index 71% rename from src/Common/Azure.Common.Extensions/Authentication/ShowDialog.cs rename to src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayOperations.cs index 280aa3d804da..71be6d006121 100644 --- a/src/Common/Azure.Common.Extensions/Authentication/ShowDialog.cs +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayOperations.cs @@ -12,12 +12,14 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -namespace Microsoft.Azure.Common.Extensions.Authentication +namespace Microsoft.Azure.Commands.Network.ApplicationGateway.Model { - public enum ShowDialog + using System.Runtime.Serialization; + + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public class ApplicationGatewayOperation { - Auto, - Always, - Never + [DataMember(IsRequired = true)] + public string OperationType; } -} \ No newline at end of file +} diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayParameters.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayParameters.cs new file mode 100644 index 000000000000..60f145dadd40 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayParameters.cs @@ -0,0 +1,87 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +namespace Microsoft.Azure.Commands.Network.ApplicationGateway.Model +{ + using System.Globalization; + using System.Text; + using System.Collections.Generic; + using System.Runtime.Serialization; + + /// + /// Represents the application gateway parameters. + /// + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public class CreateApplicationGatewayParameters + { + /// + /// Gateway Name. + /// + [DataMember(IsRequired = true)] + public string Name { get; set; } + + /// + /// Gateway Description. + /// + [DataMember(IsRequired = false)] + public string Description { get; set; } + + /// + /// The vnet to which the gateway belongs. + /// + [DataMember(IsRequired = true)] + public string VnetName { get; set; } + + /// + /// Subnets in the vnet to which the gateway belongs. + /// + [DataMember(IsRequired = true)] + public SubnetCollection Subnets { get; set; } + + /// + /// The number of instances to create for this gateway + /// + [DataMember(IsRequired = false)] + public uint InstanceCount { get; set; } + + /// + /// The size of each gateway instance. + /// + [DataMember(IsRequired = false)] + public string GatewaySize { get; set; } + + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + + sb.AppendFormat(CultureInfo.InvariantCulture, "Name:{0};", string.IsNullOrEmpty(Name) ? "null" : Name); + sb.AppendFormat(CultureInfo.InvariantCulture, "Description:{0};", string.IsNullOrEmpty(Description) ? "null" : Description); + sb.AppendFormat(CultureInfo.InvariantCulture, "VnetName:{0};", string.IsNullOrEmpty(VnetName) ? "null" : VnetName); + sb.AppendFormat(CultureInfo.InvariantCulture, "Subnets:"); + if (null != Subnets) + { + foreach (var subnet in Subnets) + { + sb.AppendFormat(CultureInfo.InvariantCulture, " {0},", subnet); + } + } + + sb.AppendFormat(CultureInfo.InvariantCulture, "InstanceCount:{0};", InstanceCount); + sb.AppendFormat(CultureInfo.InvariantCulture, "GatewaySize:{0}", string.IsNullOrEmpty(GatewaySize) ? "null" : GatewaySize); + + return sb.ToString(); + } + } + +} diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayState.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayState.cs new file mode 100644 index 000000000000..cb66d9509b90 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ApplicationGatewayState.cs @@ -0,0 +1,64 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +namespace Microsoft.Azure.Commands.Network.ApplicationGateway.Model +{ + using System.Runtime.Serialization; + + + /// + /// Represents the provisioning state of a Gateway Tenant + /// + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public enum ApplicationGatewayState + { + [EnumMember] + Unknown, + + [EnumMember] + Creating, + + [EnumMember] + Stopped, + + [EnumMember] + Starting, + + [EnumMember] + Running, + + [EnumMember] + Stopping, + + [EnumMember] + Deleting, + + [EnumMember] + Deleted + + } + + /// + /// Represents the provisioning state of a Gateway Tenant + /// + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public enum ApplicationGatewaySubState + { + [EnumMember] + Unknown, + + [EnumMember] + Updating + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/BackendAddressPool.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/BackendAddressPool.cs new file mode 100644 index 000000000000..d263522ba268 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/BackendAddressPool.cs @@ -0,0 +1,67 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Linq; + +namespace Microsoft.Azure.Commands.Network.ApplicationGateway.Model +{ + using System.Text; + using System.Collections.Generic; + using System.Globalization; + using System.Runtime.Serialization; + + + /// + /// This class represents the collection of backend servers. See backendAddressPools in the NRP spec + /// + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public class BackendAddressPool : NamedConfigurationElement + { + internal ApplicationGatewayConfigurationContext ConfigurationContext { get; set; } + + /// + /// IP address or DNS names corresponding to the backend servers + /// + [DataMember(Name = "IPAddresses", Order = 2, IsRequired = true)] + public BackendServerCollection BackendServers { get; set; } + + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + + sb.AppendFormat(CultureInfo.InvariantCulture, "Name: {0}", Name); + + sb.AppendFormat(CultureInfo.InvariantCulture, "BackendServers:"); + foreach (var backendServer in BackendServers) + { + sb.AppendFormat("{0}", string.IsNullOrEmpty(backendServer) ? "null" : backendServer); + } + + return sb.ToString(); + } + + public override void Validate() + { + if (!this.BackendServers.Any()) + { + throw new ApplicationGatewayConfigurationValidationException(string.Format("BackendAddressPool: {0} address pool cannot be empty", this.Name)); + } + } + } + + [CollectionDataContract(Name = "IPAddresses", ItemName = "IPAddress", Namespace = "http://schemas.microsoft.com/windowsazure")] + public class BackendServerCollection : List + { + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/BackendHttpSettings.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/BackendHttpSettings.cs new file mode 100644 index 000000000000..f46294068423 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/BackendHttpSettings.cs @@ -0,0 +1,55 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System.Runtime.Remoting.Channels; + +namespace Microsoft.Azure.Commands.Network.ApplicationGateway.Model +{ + using System; + using System.Collections.Generic; + using System.Linq; + using System.Runtime.Serialization; + using System.Text; + + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public class BackendHttpSettings : NamedConfigurationElement + { + internal ApplicationGatewayConfigurationContext ConfigurationContext { get; set; } + + [DataMember(Order = 2, IsRequired = true)] + public ushort Port { get; set; } + + [DataMember(Order = 3, IsRequired = true)] + public Protocol Protocol { get; set; } + + [DataMember(Order = 4, IsRequired = true)] + public string CookieBasedAffinity { get; set; } + + public override void Validate() + { + if (!string.Equals(this.Protocol.ToString(), "Http", StringComparison.InvariantCultureIgnoreCase)) + { + throw new ApplicationGatewayConfigurationValidationException( + string.Format("Only Http is allowed as Protocol of BackendHttpSettings {0}", this.Name)); + } + + if (!string.Equals(this.CookieBasedAffinity, "Enabled", StringComparison.InvariantCultureIgnoreCase) && + !string.Equals(this.CookieBasedAffinity, "Disabled", StringComparison.InvariantCultureIgnoreCase)) + { + throw new ApplicationGatewayConfigurationValidationException( + string.Format("Invalid value for CookieBasedAffinity in BackendHttpSettings {0}. Allowed values:[Enabled/Disabled]", this.Name)); + } + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ConfigurationElement.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ConfigurationElement.cs new file mode 100644 index 000000000000..766f58740d58 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/ConfigurationElement.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. +// ---------------------------------------------------------------------------------- + +namespace Microsoft.Azure.Commands.Network.ApplicationGateway.Model +{ + using System.Runtime.Serialization; + + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public abstract class ConfigValidation + { + public abstract void Validate(); + } + + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public abstract class ConfigurationElement : ConfigValidation + { + } + + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public abstract class NamedConfigurationElement : ConfigValidation + { + [DataMember(Order = 1, IsRequired = true)] + public string Name { get; set; } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/FrontendIPConfiguration.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/FrontendIPConfiguration.cs new file mode 100644 index 000000000000..6ef5050a5877 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/FrontendIPConfiguration.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. +// ---------------------------------------------------------------------------------- + +namespace Microsoft.Azure.Commands.Network.ApplicationGateway.Model +{ + using System; + using System.Collections.Generic; + using System.Linq; + using System.Runtime.Serialization; + using System.Text; + + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public class FrontendIPConfiguration: NamedConfigurationElement + { + internal ApplicationGatewayConfigurationContext ConfigurationContext { get; set; } + + public static readonly string Type_Private = "Private"; + + [DataMember(Order = 2, IsRequired = true)] + public string Type { get; set; } + + [DataMember(Order = 3, EmitDefaultValue = false)] + public string StaticIPAddress { get; set; } + + public override void Validate() + { + if (!string.Equals(this.Type.ToString(), Type_Private, StringComparison.InvariantCultureIgnoreCase)) + { + throw new ApplicationGatewayConfigurationValidationException( + string.Format("Only 'Private' is allowed as Type of FrontendIPConfiguration {0}", this.Name)); + } + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/FrontendPort.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/FrontendPort.cs new file mode 100644 index 000000000000..2ccafc672340 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/FrontendPort.cs @@ -0,0 +1,35 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.Serialization; +using System.Text; + +namespace Microsoft.Azure.Commands.Network.ApplicationGateway.Model +{ + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public class FrontendPort : NamedConfigurationElement + { + internal ApplicationGatewayConfigurationContext ConfigurationContext { get; set; } + + [DataMember(Order = 2, IsRequired = true)] + public ushort Port { get; set; } + + public override void Validate() + { + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/HttpListener.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/HttpListener.cs new file mode 100644 index 000000000000..cd2b6725d228 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/HttpListener.cs @@ -0,0 +1,58 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.ApplicationGateway.Model +{ + using System.Runtime.Serialization; + using System; + + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public class HttpListener : NamedConfigurationElement + { + internal ApplicationGatewayConfigurationContext ConfigurationContext { get; set; } + + [DataMember(Order = 2, EmitDefaultValue = false)] + public string FrontendIP { get; set; } + + [DataMember(Order = 3, IsRequired = true)] + public string FrontendPort { get; set; } + + [DataMember(Order = 4, IsRequired = true)] + public Protocol Protocol { get; set; } + + [DataMember(Order = 5, EmitDefaultValue = false)] + public string SslCert { get; set; } + + public override void Validate() + { + if (this.FrontendIP != null && !this.ConfigurationContext.FrontendIPConfigurations.ContainsKey(this.FrontendIP.ToLower())) + { + throw new ApplicationGatewayConfigurationValidationException(string.Format("FrontendIPConfiguration: {0} reference does not exist", this.FrontendIP)); + } + + if (!this.ConfigurationContext.FrontendPorts.ContainsKey(this.FrontendPort.ToLower())) + { + throw new ApplicationGatewayConfigurationValidationException(string.Format("FrontendPort: {0} reference does not exist", this.FrontendPort)); + } + + if (this.Protocol == Protocol.Https) + { + if (String.IsNullOrEmpty(this.SslCert) || String.IsNullOrWhiteSpace(this.SslCert)) + { + throw new ApplicationGatewayConfigurationValidationException(string.Format("SSL certificate not specified for listener: {0}", this.Name)); + } + } + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/HttpLoadBalancingRule.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/HttpLoadBalancingRule.cs new file mode 100644 index 000000000000..716c6a0d83cb --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/HttpLoadBalancingRule.cs @@ -0,0 +1,54 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Azure.Commands.Network.ApplicationGateway.Model +{ + using System.Runtime.Serialization; + + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public class HttpLoadBalancingRule : NamedConfigurationElement + { + internal ApplicationGatewayConfigurationContext ConfigurationContext { get; set; } + + [DataMember(Order = 2, IsRequired = true)] + public string Type; + + [DataMember(Order = 3, IsRequired = true)] + public string BackendHttpSettings; + + [DataMember(Order = 4, IsRequired = true)] + public string Listener { get; set; } + + [DataMember(Order = 5, IsRequired = true)] + public string BackendAddressPool { get; set; } + + public override void Validate() + { + if (!this.ConfigurationContext.BackendHttpSettingsList.ContainsKey(this.BackendHttpSettings.ToLower())) + { + throw new ApplicationGatewayConfigurationValidationException(string.Format("BackendHttpSettings: {0} reference does not exist", this.BackendHttpSettings)); + } + + if (!this.ConfigurationContext.HttpListeners.ContainsKey(this.Listener.ToLower())) + { + throw new ApplicationGatewayConfigurationValidationException(string.Format("HttpListener: {0} reference does not exist", this.Listener)); + } + + if (!this.ConfigurationContext.BackendAddressPools.ContainsKey(this.BackendAddressPool.ToLower())) + { + throw new ApplicationGatewayConfigurationValidationException(string.Format("BackendAddressPool: {0} reference does not exist", this.BackendAddressPool)); + } + } + } +} diff --git a/src/Common/Azure.Common.Extensions/Models/AzureContext.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/Protocol.cs similarity index 73% rename from src/Common/Azure.Common.Extensions/Models/AzureContext.cs rename to src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/Protocol.cs index 5c01b60312b3..153068c41f11 100644 --- a/src/Common/Azure.Common.Extensions/Models/AzureContext.cs +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/Protocol.cs @@ -12,14 +12,17 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -namespace Microsoft.Azure.Common.Extensions.Models +namespace Microsoft.Azure.Commands.Network.ApplicationGateway.Model { - public class AzureContext - { - public AzureAccount Account { get; set; } + using System.Runtime.Serialization; - public AzureSubscription Subscription { get; set; } + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public enum Protocol + { + [EnumMember] + Http, - public AzureEnvironment Environment { get; set; } + [EnumMember] + Https } } diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/Subnet.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/Subnet.cs new file mode 100644 index 000000000000..94d690aec7d0 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/Subnet.cs @@ -0,0 +1,44 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +namespace Microsoft.Azure.Commands.Network.ApplicationGateway.Model +{ + using System; + using System.Collections.Generic; + using System.Linq; + using System.Runtime.Serialization; + using System.Text; + using System.Globalization; + + [CollectionDataContract(Name = "Subnets", ItemName = "Subnet", Namespace = "http://schemas.microsoft.com/windowsazure")] + public class SubnetCollection : List + { + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + bool isFirst = true; + + this.ForEach(delegate(String name) + { + if (!isFirst) + { + sb.AppendFormat(", "); + } + isFirst = false; + sb.AppendFormat(CultureInfo.InvariantCulture, name); + }); + return sb.ToString(); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/UpdateApplicationGatewayParameters.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/UpdateApplicationGatewayParameters.cs new file mode 100644 index 000000000000..c2a69f10a5b3 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/UpdateApplicationGatewayParameters.cs @@ -0,0 +1,80 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +namespace Microsoft.Azure.Commands.Network.ApplicationGateway.Model +{ + using System.Globalization; + using System.Text; + using System.Collections.Generic; + using System.Runtime.Serialization; + + /// + /// Represents the application gateway parameters. + /// + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public class UpdateApplicationGatewayParameters + { + /// + /// Gateway Description. + /// + [DataMember(IsRequired = false)] + public string Description { get; set; } + + /// + /// The vnet to which the gateway belongs. + /// + [DataMember(IsRequired = false)] + public string VnetName { get; set; } + + /// + /// Subnets in the vnet to which the gateway belongs. + /// + [DataMember(IsRequired = false)] + public SubnetCollection Subnets { get; set; } + + /// + /// The number of instances to create for this gateway + /// + [DataMember(IsRequired = false)] + public uint InstanceCount { get; set; } + + /// + /// The size of each gateway instance. + /// + [DataMember(IsRequired = false)] + public string GatewaySize { get; set; } + + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + + sb.AppendFormat(CultureInfo.InvariantCulture, "Description:{0};", string.IsNullOrEmpty(Description) ? "null" : Description); + + sb.AppendFormat(CultureInfo.InvariantCulture, "VnetName:{0};", string.IsNullOrEmpty(VnetName) ? "null" : VnetName); + sb.AppendFormat(CultureInfo.InvariantCulture, "Subnets:"); + if (null != Subnets) + { + foreach (var subnet in Subnets) + { + sb.AppendFormat(CultureInfo.InvariantCulture, " {0},", subnet); + } + } + + sb.AppendFormat(CultureInfo.InvariantCulture, "InstanceCount:{0};", InstanceCount); + sb.AppendFormat(CultureInfo.InvariantCulture, "GatewaySize:{0}", string.IsNullOrEmpty(GatewaySize) ? "null" : GatewaySize); + + return sb.ToString(); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/VirtualIp.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/VirtualIp.cs new file mode 100644 index 000000000000..34f7bf7e45ae --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/Model/VirtualIp.cs @@ -0,0 +1,44 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +namespace Microsoft.Azure.Commands.Network.ApplicationGateway.Model +{ + using System; + using System.Collections.Generic; + using System.Linq; + using System.Runtime.Serialization; + using System.Text; + using System.Globalization; + + [CollectionDataContract(Name = "VirtualIPs", ItemName = "VirtualIP", Namespace = "http://schemas.microsoft.com/windowsazure")] + public class VirtualIpCollection : List + { + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + bool isFirst = true; + + this.ForEach(delegate(String name) + { + if (!isFirst) + { + sb.AppendFormat(", "); + } + isFirst = false; + sb.AppendFormat(CultureInfo.InvariantCulture, name); + }); + return sb.ToString(); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/NewApplicationGateway.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/NewApplicationGateway.cs new file mode 100644 index 000000000000..484a2cdb6425 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/NewApplicationGateway.cs @@ -0,0 +1,62 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.Network.Properties; +using Microsoft.WindowsAzure.Management.Network.Models; + +namespace Microsoft.Azure.Commands.Network.ApplicationGateway +{ + [Cmdlet(VerbsCommon.New, "AzureApplicationGateway"), OutputType(typeof(ApplicationGatewayOperationResponse))] + public class NewApplicationGatewayCommand : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Name of Application Gateway")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Name of of virtual network application gateway should be deployed in")] + [ValidateNotNullOrEmpty] + public string VnetName { get; set; } + + [Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Subnets")] + [ValidateNotNullOrEmpty] + public List Subnets { get; set; } + + [Parameter(Position = 3, Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "Number of instances")] + public uint InstanceCount { get; set; } + + [Parameter(Position = 4, Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "Size of application gateway Small/Medium/Large/ExtraLarge/A8")] + public string GatewaySize { get; set; } + + [Parameter(Position = 5, Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "Description of application gateway")] + public string Description { get; set; } + + public override void ExecuteCmdlet() + { + WriteVerboseWithTimestamp(string.Format(Resources.NewAzureApplicationGatewayBeginOperation, CommandRuntime.ToString())); + var responseObject = Client.CreateApplicationGateway(Name, VnetName, Subnets, Description, InstanceCount, GatewaySize); + WriteVerboseWithTimestamp(string.Format(Resources.NewAzureApplicationGatewayCompletedOperation, CommandRuntime.ToString())); + + WriteObject(responseObject); + } + } +} + \ No newline at end of file diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/RemoveApplicationGateway.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/RemoveApplicationGateway.cs new file mode 100644 index 000000000000..b1715c84949e --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/RemoveApplicationGateway.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.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.Network.Properties; +using Microsoft.WindowsAzure.Management.Network.Models; + +namespace Microsoft.Azure.Commands.Network.ApplicationGateway +{ + [Cmdlet(VerbsCommon.Remove, "AzureApplicationGateway"), OutputType(typeof(ApplicationGatewayOperationResponse))] + public class RemoveApplicationGatewayCommand : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Application Gateway Name representing the Application Gateway")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + public override void ExecuteCmdlet() + { + WriteVerboseWithTimestamp(string.Format(Resources.RemoveAzureApplicationGatewayBeginOperation, CommandRuntime.ToString())); + var responseObject = Client.RemoveApplicationGateway(Name); + WriteVerboseWithTimestamp(string.Format(Resources.RemoveAzureApplicationGatewayCompletedOperation, CommandRuntime.ToString())); + + WriteObject(responseObject); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/RemoveApplicationGatewaySslCertificate.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/RemoveApplicationGatewaySslCertificate.cs new file mode 100644 index 000000000000..6b77a38311d0 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/RemoveApplicationGatewaySslCertificate.cs @@ -0,0 +1,44 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.Network.Properties; +using Microsoft.WindowsAzure.Management.Network.Models; + +namespace Microsoft.Azure.Commands.Network.ApplicationGateway +{ + [Cmdlet(VerbsCommon.Remove, "AzureApplicationGatewaySslCertificate"), OutputType(typeof(ApplicationGatewayOperationResponse))] + public class RemoveApplicationGatewayCertificateCommand : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Application Gateway Name representing the Application Gateway")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Certificate Name")] + [ValidateNotNullOrEmpty] + public string CertificateName { get; set; } + + public override void ExecuteCmdlet() + { + WriteVerboseWithTimestamp(string.Format(Resources.RemoveAzureApplicationGatewaySslCertificateBeginOperation, CommandRuntime.ToString())); + var responseObject = Client.RemoveApplicationGatewayCertificate(Name, CertificateName); + WriteVerboseWithTimestamp(string.Format(Resources.RemoveAzureApplicationGatewaySslCertificateCompletedOperation, CommandRuntime.ToString())); + + WriteObject(responseObject); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/SetApplicationGatewayConfig.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/SetApplicationGatewayConfig.cs new file mode 100644 index 000000000000..2dc13b1a12da --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/SetApplicationGatewayConfig.cs @@ -0,0 +1,80 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.IO; +using System.Text; +//using System.Collections.Generic; +using System.Management.Automation; +//using System.Runtime.Serialization; +using Microsoft.Azure.Commands.Network.Properties; +using Microsoft.WindowsAzure.Management.Network.Models; +using PowerShellAppGwModel = Microsoft.Azure.Commands.Network.ApplicationGateway.Model; + +namespace Microsoft.Azure.Commands.Network.ApplicationGateway +{ + [Cmdlet(VerbsCommon.Set, "AzureApplicationGatewayConfig"), OutputType(typeof(ApplicationGatewayOperationResponse))] + public class SetApplicationGatewayConfigCommand : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Application Gateway Name representing the Application Gateway")] + [Parameter(Mandatory = true, ParameterSetName = "configFile")] + [Parameter(Mandatory = true, ParameterSetName = "configObject")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Application Gateway configuration", ParameterSetName = "configObject")] + [ValidateNotNullOrEmpty] + public PowerShellAppGwModel.ApplicationGatewayConfiguration Config { get; set; } + + [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Application Gateway configuration", ParameterSetName = "configFile")] + [ValidateNotNullOrEmpty] + public string ConfigFile { get; set; } + public override void ExecuteCmdlet() + { + WriteVerboseWithTimestamp(string.Format(Resources.SetAzureApplicationGatewayConfigBeginOperation, CommandRuntime.ToString())); + if (null == Config) + { + Config = PowerShellAppGwModel.ApplicationGatewayConfiguration.Deserialize(FileToString(ConfigFile)); + } + + var responseObject = Client.SetApplicationGatewayConfig(Name, Config); + + WriteVerboseWithTimestamp(string.Format(Resources.SetAzureApplicationGatewayConfigCompletedOperation, CommandRuntime.ToString())); + + WriteObject(responseObject); + } + + private string FileToString(string fileName) + { + String strContents = ""; + + try + { + using (StreamReader sr = new StreamReader(fileName)) + { + strContents = sr.ReadToEnd(); + } + } + catch (FileNotFoundException ex) + { + Console.WriteLine(ex); + } + + return strContents; + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/StartApplicationGateway.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/StartApplicationGateway.cs new file mode 100644 index 000000000000..8b94a6c56433 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/StartApplicationGateway.cs @@ -0,0 +1,38 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.Azure.Commands.Network.Properties; +using Microsoft.WindowsAzure.Management.Network.Models; + +namespace Microsoft.Azure.Commands.Network.ApplicationGateway +{ + [Cmdlet(VerbsLifecycle.Start, "AzureApplicationGateway"), OutputType(typeof(ApplicationGatewayOperationResponse))] + public class StartApplicationGatewayCommand : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Application Gateway Name representing the Application Gateway")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + public override void ExecuteCmdlet() + { + WriteVerboseWithTimestamp(string.Format(Resources.StartAzureApplicationGatewayBeginOperation, CommandRuntime.ToString())); + var responseObject = Client.ExecuteApplicationGatewayOperation(Name, "start"); + WriteVerboseWithTimestamp(string.Format(Resources.StartAzureApplicationGatewayCompletedOperation, CommandRuntime.ToString())); + + WriteObject(responseObject); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/StopApplicationGateway.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/StopApplicationGateway.cs new file mode 100644 index 000000000000..53ef6aefad28 --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/StopApplicationGateway.cs @@ -0,0 +1,38 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.Azure.Commands.Network.Properties; +using Microsoft.WindowsAzure.Management.Network.Models; + +namespace Microsoft.Azure.Commands.Network.ApplicationGateway +{ + [Cmdlet(VerbsLifecycle.Stop, "AzureApplicationGateway"), OutputType(typeof(ApplicationGatewayOperationResponse))] + public class StopApplicationGatewayCommand : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Application Gateway Name representing the Application Gateway")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + public override void ExecuteCmdlet() + { + WriteVerboseWithTimestamp(string.Format(Resources.StopAzureApplicationGatewayBeginOperation, CommandRuntime.ToString())); + var responseObject = Client.ExecuteApplicationGatewayOperation(Name, "stop"); + WriteVerboseWithTimestamp(string.Format(Resources.StopAzureApplicationGatewayCompletedOperation, CommandRuntime.ToString())); + + WriteObject(responseObject); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/UpdateApplicationGateway.cs b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/UpdateApplicationGateway.cs new file mode 100644 index 000000000000..3064e2f35c9d --- /dev/null +++ b/src/ServiceManagement/Network/Commands.Network/ApplicationGateway/UpdateApplicationGateway.cs @@ -0,0 +1,73 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.Network.Properties; +using Microsoft.WindowsAzure.Management.Network.Models; +using System; +namespace Microsoft.Azure.Commands.Network.ApplicationGateway +{ + [Cmdlet(VerbsData.Update, "AzureApplicationGateway"), OutputType(typeof(ApplicationGatewayOperationResponse))] + public class UpdateApplicationGatewayCommand : NetworkCmdletBase + { + [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, + HelpMessage = "Name of Application Gateway")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter(Position = 1, Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "Namof of virtual network application gateway should be deployed in")] + [ValidateNotNullOrEmpty] + public string VnetName { get; set; } + + [Parameter(Position = 2, Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "Subnets")] + [ValidateNotNullOrEmpty] + public List Subnets { get; set; } + + [Parameter(Position = 3, Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "Number of instances")] + [ValidateNotNullOrEmpty] + public uint InstanceCount { get; set; } + + [Parameter(Position = 4, Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "Size of application gateway Small/Medium/Large/ExtraLarge/A8")] + [ValidateNotNullOrEmpty] + public string GatewaySize { get; set; } + + [Parameter(Position = 5, Mandatory = false, ValueFromPipelineByPropertyName = true, + HelpMessage = "Description of application gateway")] + [ValidateNotNullOrEmpty] + public string Description { get; set; } + + public override void ExecuteCmdlet() + { + WriteVerboseWithTimestamp(string.Format(Resources.UpdateAzureApplicationGatewayBeginOperation, CommandRuntime.ToString())); + + if (String.IsNullOrEmpty(VnetName) && (Subnets==null || Subnets.Count == 0) && + InstanceCount == 0 && String.IsNullOrEmpty(GatewaySize) && String.IsNullOrEmpty(Description)) + { + WriteObject("Invalid Arguments: Pass at least one argument other than gateway name."); + WriteVerboseWithTimestamp(string.Format(Resources.UpdateAzureApplicationGatewayCompletedOperation, CommandRuntime.ToString())); + return; + } + + var responseObject = Client.UpdateApplicationGateway(Name, VnetName, Subnets, Description, InstanceCount, GatewaySize); + WriteVerboseWithTimestamp(string.Format(Resources.UpdateAzureApplicationGatewayCompletedOperation, CommandRuntime.ToString())); + + WriteObject(responseObject); + } + } +} diff --git a/src/ServiceManagement/Network/Commands.Network/Commands.Network.csproj b/src/ServiceManagement/Network/Commands.Network/Commands.Network.csproj index 14dbfcbac985..167e53d39b50 100644 --- a/src/ServiceManagement/Network/Commands.Network/Commands.Network.csproj +++ b/src/ServiceManagement/Network/Commands.Network/Commands.Network.csproj @@ -50,39 +50,39 @@ True - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll False ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.1.8.0.0\lib\net35-full\Microsoft.WindowsAzure.Configuration.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.6.1.2\lib\net40\Microsoft.WindowsAzure.Management.Network.dll False @@ -107,8 +107,43 @@ ..\..\..\packages\Microsoft.Net.Http.2.2.28\lib\net45\System.Net.Http.Primitives.dll + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -183,7 +218,12 @@ Designer - + + + Always + Designer + + diff --git a/src/ServiceManagement/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-help.xml b/src/ServiceManagement/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-help.xml index 01a0edff1ee1..3a62eb75aae8 100644 --- a/src/ServiceManagement/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-help.xml +++ b/src/ServiceManagement/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-help.xml @@ -3672,8 +3672,1558 @@ PfsGroup: (PFS1, None) - + + + + + + Add-AzureApplicationGatewaySslCertificate + + Adds ssl certificate to application gateway + + + + + Add + AzureApplicationGatewaySslCertificate + + + + + The Add-AzureApplicationGatewaySslCertificate cmdlet adds the ssl certificate to an application gateway + + + + Add-AzureApplicationGatewaySslCertificate + + Name + + Name of application gateway + + String + + + CertificateName + + Name of ssl certificate that is being added + + String + + + Password + + Password of ssl certificate + + String + + + CertificateFile + + Path of ssl certificate file + + String + + + + + + Name + + Name of application gateway + + String + + String + + + + + + CertificateName + + Name of ssl certificate that is being added + + String + + String + + + + + + Password + + Password of ssl certificate + + String + + String + + + + + + CertificateFile + + Path of ssl certificate file + + String + + String + + + + + + + + + System.String + + + + + + + + + + + + Microsoft.WindowsAzure.Management.ApplicationGateway.Models.ApplicationGatewayOperationResponse + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Add-AzureApplicationGatewaySslCertificate -Name "gatewayName" -CertificateName "sslCertificateName" -Password "xxxx" -CertificateFile "c:\Certs\sslCertificate.pfx" + + Adding certificate using named parameters + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> Add-AzureApplicationGatewaySslCertificate "gatewayName" "sslCertificateName" "xxxx" "c:\Certs\sslCertificate.pfx" + + Adding certificate using positional parameters + + + + + + + + + + + + + + + Get-AzureApplicationGateway + + Gets the existing application gateway + + + + + Get + AzureApplicationGateway + + + + + The Get-AzureApplicationGateway cmdlet gets the existing application gateway. + + + + Get-AzureApplicationGateway + + Name + + + + String + + + + + + Name + + + + String + + String + + + + + + + + + System.String + + + + + + + + + + + + + Microsoft.Azure.Networking.ApplicationGatewayObjectModel.ApplicationGateway + IEnumerable<Microsoft.Azure.Networking.ApplicationGatewayObjectModel.ApplicationGateway> + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Get-AzureApplicationGateway -Name <gateway name> + + Prints application gateway details + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> $applicationGateway = Get-AzureApplicationGateway -Name <gateway name> + + Get application gateway object which can be piped to other application gateway cmdlets. + + + + + + + + + -------------------------- Example 3 -------------------------- + + + + PS C:\> Get-AzureApplicationGateway + + Prints the complete list of application gateways under a subscription + + + + + + + + + + + + + + + Get-AzureApplicationGatewaySslCertificate + + Gets Application Gateway certificate + + + + + Get + AzureApplicationGatewaySslCertificate + + + + + The Get-AzureApplicationGatewaySslCertificate cmdlet returns ssl certificate + + + + Get-AzureApplicationGatewaySslCertificate + + Name + + Name of application gateway + + String + + + CertificateName + + SSL certificate name + + String + + + + + + Name + + Name of application gateway + + String + + String + + + + + + CertificateName + + SSL certificate name + + String + + String + + + + + + + + + System.String + + + + + + + + + + + + + Microsoft.Azure.Networking.ApplicationGatewayObjectModel.ApplicationGatewayCertificate + List<Microsoft.Azure.Networking.ApplicationGatewayObjectModel.ApplicationGatewayCertificate> + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Get-AzureApplicationGatewaySslCertificate -Name "gatewayName" -CertificateName "sslCertificate1" + + Get ssl certificate by name + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> Get-AzureApplicationGatewaySslCertificate -Name "gatewayName" + + Get the complete list of ssl certificates installed in application gateway + + + + + + + + + + + + + + + Get-AzureApplicationGatewayConfig + + Gets application gateway configuration + + + + + Get + AzureApplicationGatewayConfig + + + + + The Get-AzureApplicationGatewayConfig cmdlet returns application gateway configuration context which comprises of configuration object as well as XML configuration. + + + + Get-AzureApplicationGatewayConfig + + Name + + Name of application gateway + + String + + + ExportToFile + + Optional parameter to save the configuration in XML format at the input location + + String + + + + + + Name + + Name of application gateway + + String + + String + + + + + + ExportToFile + + Optional parameter to save the configuration in XML format at the input location + + String + + String + + + + + + + + + System.String + + + + + + + + + + + + Microsoft.Azure.Networking.ApplicationGatewayObjectModel.ApplicationGatewayConfigContext + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Get-AzureApplicationGatewayConfig -Name "gatewayName" -ExportToFile "D:\config.xml" + + + + + + + + + + + + + + + + + New-AzureApplicationGateway + + Creates new application gateway + + + + + New + AzureApplicationGateway + + + + + The New-AzureApplicationGateway creates new application gateway. + + + + New-AzureApplicationGateway + + Name + + Name of Application Gateway + + String + + + VnetName + + Name of virtual network application gateway should be deployed in + + String + + + Subnets + + List of subnets application gateway should be deployed in + + List`1[String] + + + InstanceCount + + Number of instances + + UInt32 + + + GatewaySize + + Size of application gateway Small/Medium/Large/ExtraLarge/A8 + + String + + + Description + + Description of application gateway + + String + + + + + + Name + + Name of Application Gateway + + String + + String + + + + + + VnetName + + Name of virtual network application gateway should be deployed in + + String + + String + + + + + + Subnets + + List of subnets application gateway should be deployed in + + List`1[String] + + List`1[String] + + + + + + InstanceCount + + Number of instances + + UInt32 + + UInt32 + + + + + + GatewaySize + + Size of application gateway Small/Medium/Large/ExtraLarge/A8 + + String + + String + + + + + + Description + + Description of application gateway + + String + + String + + + + + + + + + System.String + + + + + + + + + + + + Microsoft.WindowsAzure.Management.ApplicationGateway.Models.ApplicationGatewayOperationResponse + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> New-AzureApplicationGateway -Name "GatewayName" -VnetName "VnetName" -Subnets @("Subnet List") + + + + + + + + + + + + + + + + + Remove-AzureApplicationGateway + + Removes application gateway + + + + + Remove + AzureApplicationGateway + + + + + The Remove-AzureApplicationGateway cmdlet removes application gateway + + + + Remove-AzureApplicationGateway + + Name + + Name of Application Gateway + + String + + + + + + Name + + Name of Application Gateway + + String + + String + + + + + + + + + System.String + + + + + + + + + + + + Microsoft.WindowsAzure.Management.ApplicationGateway.Models.ApplicationGatewayOperationResponse + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Remove-AzureApplicationGateway -Name "gatewayName" + + + + + + + + + + + + + + + + + Remove-AzureApplicationGatewaySslCertificate + + Removes ssl certificate from application gateway + + + + + Remove + AzureApplicationGatewaySslCertificate + + + + + The Remove-AzureApplicationGatewaySslCertificate cmdlet removes ssl certificate from application gateway + + + + Remove-AzureApplicationGatewaySslCertificate + + Name + + Name of application gateway ssl certificate is being removed from + + String + + + CertificateName + + Name ssl certificate that is being removed + + String + + + + + + Name + + Name of application gateway ssl certificate is being removed from + + String + + String + + + + + + CertificateName + + Name ssl certificate that is being removed + + String + + String + + + + + + + + + System.String + + + + + + + + + + + + Microsoft.WindowsAzure.Management.ApplicationGateway.Models.ApplicationGatewayOperationResponse + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Remove-AzureApplicationGatewaySslCertificate -Name "gatewayName" -CertificateName "sslCertificate1" + + + + + + + + + + + + + + + + + Set-AzureApplicationGatewayConfig + + Sets application gateway configuration + + + + + Set + AzureApplicationGatewayConfig + + + + + The Set-AzureApplicationGatewayConfig sets the configuration of application gateway + + + + Set-AzureApplicationGatewayConfig + + Name + + Name of application gateway + + String + + + Config + + Application gateway configuration object + + ApplicationGatewayConfiguration + + + + Set-AzureApplicationGatewayConfig + + Name + + Name of application gateway + + String + + + ConfigFile + + Location of application gateway configuration file in XML format + + String + + + + + + Name + + Name of application gateway + + String + + String + + + + + + Config + + Application gateway configuration object + + ApplicationGatewayConfiguration + + ApplicationGatewayConfiguration + + + + + + ConfigFile + + Location of application gateway configuration file in XML format + + String + + String + + + + + + + + + + System.String + Microsoft.Azure.Networking.ApplicationGatewayObjectModel.ApplicationGatewayConfiguration + + + + + + + + + + + + + Microsoft.WindowsAzure.Management.ApplicationGateway.Models.ApplicationGatewayOperationResponse + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Set-AzureApplicationGatewayConfig -Name "gatewayName" -Config applicationGatewayConfigObject + + + Setting configuration using application gateway configuration object + + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> Set-AzureApplicationGatewayConfig -Name "gatewayName" -ConfigFile "D:\config.xml" + + Setting configuration using using configuration file + + + + + + + + + -------------------------- Example 3 -------------------------- + + + + + PS C:\> $configReturnObject = Get-AzureApplicationGatewayConfig -Name "gatewayName" + $configReturnObject.Config.FrontendPorts[0].Port = 443 + + $configReturnObject | Set-AzureApplicationGatewayConfig -Name "gatewayName" + + + Setting configuration using pipeline + + + + + + + + + + + + + + + Start-AzureApplicationGateway + + Starts application gateway + + + + + Start + AzureApplicationGateway + + + + + The Start-AzureApplicationGateway cmdlet starts application gateway + + + + Start-AzureApplicationGateway + + Name + + Name of application gateway to be stopped + + String + + + + + + Name + + Name of application gateway to be stopped + + String + + String + + + + + + + + + System.String + + + + + + + + + + + + Microsoft.WindowsAzure.Management.ApplicationGateway.Models.ApplicationGatewayOperationResponse + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Start-AzureApplicationGateway -Name "gatewayName" + + + + + + + + + + + + + + + + + Stop-AzureApplicationGateway + + Stops application gateway + + + + + Stop + AzureApplicationGateway + + + + + The Stop-AzureApplicationGateway cmdlet stops application gateway + + + + Stop-AzureApplicationGateway + + Name + + + + String + + + + + + Name + + + + String + + String + + + + + + + + + System.String + + + + + + + + + + + + Microsoft.WindowsAzure.Management.ApplicationGateway.Models.ApplicationGatewayOperationResponse + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Stop-AzureApplicationGateway -Name "gatewayName" + + + + + + + + + + + + + + + + + Update-AzureApplicationGateway + + Updates existing application gateway + + + + + Update + AzureApplicationGateway + + + + + The Update-AzureApplicationGateway updates existing application gateway + + + + Update-AzureApplicationGateway + + Name + + Name of Application Gateway + + String + + + VnetName + + Name of of virtual network application gateway should be deployed in + + String + + + Subnets + + List of subnets application gateway should be deployed in + + List`1[String] + + + InstanceCount + + Number of instances + + UInt32 + + + GatewaySize + + Size of application gateway Small/Medium/Large/ExtraLarge/A8 + + String + + + Description + + Description of application gateway + + String + + + + + + Name + + Name of Application Gateway + + String + + String + + + + + + VnetName + + Name of of virtual network application gateway should be deployed in + + String + + String + + + + + + Subnets + + List of subnets application gateway should be deployed in + + List`1[String] + + List`1[String] + + + + + + InstanceCount + + Number of instances + + UInt32 + + UInt32 + + + + + + GatewaySize + + Size of application gateway Small/Medium/Large/ExtraLarge/A8 + + String + + String + + + + + + Description + + Description of application gateway + + String + + String + + + + + + + + + System.String + + + + + + + + + + + + Microsoft.WindowsAzure.Management.ApplicationGateway.Models.ApplicationGatewayOperationResponse + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + + + PS C:\> Update-AzureApplicationGateway -Name <gateway name> -VnetName <Vnet Name> -Subnets @("subnet1", "subnet2") + + Updating application gateway with mandatory parameters + + + + + + + + + -------------------------- Example 2 -------------------------- + + + + PS C:\> Update-AzureApplicationGateway -Name <gateway name> -VnetName <Vnet Name> -Subnets @("subnet1", "subnet2") -InstanceCount 2 -GatewaySize small -Description "Updated application gateway" + + Updating application gateway with all mandatory and optional parameters + + + + + + + + + -------------------------- Example 3 -------------------------- + + + + + PS C:\> $applicationGateway = Get-AzureApplicationGateway -Name <gateway name> + $applicationGateway.GatewaySize = "Medium" + + $applicationGateway | Update-AzureApplicationGateway + + + Updating application gateway using pipeline + + + + + + + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/Network/Commands.Network/Microsoft.Azure.Commands.Network.format.ps1xml b/src/ServiceManagement/Network/Commands.Network/Microsoft.Azure.Commands.Network.format.ps1xml index 420a3c528d0e..5ca9e7a814de 100644 --- a/src/ServiceManagement/Network/Commands.Network/Microsoft.Azure.Commands.Network.format.ps1xml +++ b/src/ServiceManagement/Network/Commands.Network/Microsoft.Azure.Commands.Network.format.ps1xml @@ -98,5 +98,101 @@ + + + Microsoft.Azure.Commands.Network.ApplicationGateway.Model.ApplicationGatewayConfigContext + + Microsoft.Azure.Commands.Network.ApplicationGateway.Model.ApplicationGatewayConfigContext + + + + + 20 + + + 20 + + + 20 + + + 20 + + + 20 + + + + + + + XMLConfiguration + + + Config + + + OperationDescription + + + OperationId + + + OperationStatus + + + + + + + + + Microsoft.WindowsAzure.Management.Network.Models.ApplicationGatewayOperationResponse + + Microsoft.WindowsAzure.Management.Network.Models.ApplicationGatewayOperationResponse + + + + + + 10 + + + + 20 + + + + 40 + + + + 20 + + + + + + + + Status + + + HttpStatusCode + + + + ([GUID]($_.RequestId)).ToString("D") + + + + Error + + + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/Network/Commands.Network/NetworkClient.cs b/src/ServiceManagement/Network/Commands.Network/NetworkClient.cs index 4bcec69567c9..c0157204856b 100644 --- a/src/ServiceManagement/Network/Commands.Network/NetworkClient.cs +++ b/src/ServiceManagement/Network/Commands.Network/NetworkClient.cs @@ -12,14 +12,13 @@ // limitations under the License. // ---------------------------------------------------------------------------------- - namespace Microsoft.Azure.Commands.Network { using System; using System.Collections.Generic; using System.Linq; using System.Management.Automation; - using Gateway.Model; + using Gateway.Model; using NetworkSecurityGroup.Model; using Routes.Model; using WindowsAzure; @@ -31,19 +30,20 @@ namespace Microsoft.Azure.Commands.Network using WindowsAzure.Management.Network; using WindowsAzure.Management.Network.Models; using WindowsAzure.Storage.Auth; - using Microsoft.Azure.Common.Extensions.Models; - using Microsoft.Azure.Common.Extensions; + using Microsoft.Azure.Common.Authentication.Models; + using Microsoft.Azure.Common.Authentication; using Hyak.Common; - + using System.Security.Cryptography.X509Certificates; + using PowerShellAppGwModel = ApplicationGateway.Model; public class NetworkClient { private readonly NetworkManagementClient client; private readonly ManagementClient managementClient; private readonly ICommandRuntime commandRuntime; - public NetworkClient(AzureSubscription subscription, ICommandRuntime commandRuntime) - : this(CreateClient(subscription), - CreateClient(subscription), + public NetworkClient(AzureProfile profile, AzureSubscription subscription, ICommandRuntime commandRuntime) + : this(CreateClient(profile, subscription), + CreateClient(profile, subscription), commandRuntime) { } @@ -54,6 +54,379 @@ public NetworkClient(NetworkManagementClient client, ManagementClient management this.commandRuntime = commandRuntime; } + public PowerShellAppGwModel.ApplicationGateway GetApplicationGateway(string gatewayName) + { + ApplicationGatewayGetResponse parameters = client.ApplicationGateways.Get(gatewayName); + + PowerShellAppGwModel.SubnetCollection subnets = new PowerShellAppGwModel.SubnetCollection(); + foreach (string subnet in parameters.Subnets) + { + subnets.Add(subnet); + } + + PowerShellAppGwModel.VirtualIpCollection VirtualIPs = new PowerShellAppGwModel.VirtualIpCollection(); + foreach (string vip in parameters.VirtualIPs) + { + VirtualIPs.Add(vip); + } + + return (new ApplicationGateway.Model.ApplicationGateway + { + Name = parameters.Name, + Description = parameters.Description, + GatewaySize = parameters.GatewaySize, + InstanceCount = parameters.InstanceCount, + VnetName = parameters.VnetName, + Subnets = subnets, + State = parameters.State, + VirtualIPs = VirtualIPs, + DnsName = parameters.DnsName + }); + } + + public IEnumerable ListApplicationGateway() + { + ApplicationGatewayListResponse gatewayList = client.ApplicationGateways.List(); + + List psGatewayList = new List(); + foreach (ApplicationGatewayGetResponse gateway in gatewayList.ApplicationGateways) + { + PowerShellAppGwModel.SubnetCollection subnets = new PowerShellAppGwModel.SubnetCollection(); + foreach (string subnet in gateway.Subnets) + { + subnets.Add(subnet); + } + + PowerShellAppGwModel.VirtualIpCollection VirtualIPs = new PowerShellAppGwModel.VirtualIpCollection(); + foreach (string vip in gateway.VirtualIPs) + { + VirtualIPs.Add(vip); + } + + psGatewayList.Add(new PowerShellAppGwModel.ApplicationGateway + { + Name = gateway.Name, + Description = gateway.Description, + GatewaySize = gateway.GatewaySize, + InstanceCount = gateway.InstanceCount, + VnetName = gateway.VnetName, + Subnets = subnets, + State = gateway.State, + VirtualIPs = VirtualIPs, + DnsName = gateway.DnsName + }); + } + return psGatewayList; + } + + public ApplicationGatewayOperationResponse CreateApplicationGateway(string name, string vnetName, List subnets, string description, uint instanceCount, string gatewaySize) + { + return client.ApplicationGateways.Create(new CreateApplicationGatewayParameters + { + Name = name, + VnetName = vnetName, + Subnets = subnets, + Description = description, + InstanceCount = instanceCount, + GatewaySize = gatewaySize + }); + } + public ApplicationGatewayOperationResponse UpdateApplicationGateway(string name, string vnetName, List subnets, string description, uint instanceCount, string gatewaySize) + { + return client.ApplicationGateways.Update(name, + new UpdateApplicationGatewayParameters + { + Description = description, + GatewaySize = gatewaySize, + InstanceCount = instanceCount, + Subnets = (((subnets == null) || subnets.Count == 0) ? null : new List(subnets)), + VnetName = vnetName + }); + } + public ApplicationGatewayOperationResponse RemoveApplicationGateway(string gatewayName) + { + return client.ApplicationGateways.Delete(gatewayName); + } + + public ApplicationGatewayOperationResponse SetApplicationGatewayConfig(string gatewayName, PowerShellAppGwModel.ApplicationGatewayConfiguration config) + { + return client.ApplicationGateways.SetConfig(gatewayName, HydraConfigFromPowerShellConfig(config)); + } + + public PowerShellAppGwModel.ApplicationGatewayConfigContext GetApplicationGatewayConfig(string gatewayName) + { + ApplicationGatewayGetConfiguration hydraConfig = client.ApplicationGateways.GetConfig(gatewayName); + PowerShellAppGwModel.ApplicationGatewayConfiguration psConfig = PowerShellConfigFromHydraConfig(hydraConfig); + + return (new PowerShellAppGwModel.ApplicationGatewayConfigContext + { + OperationDescription = "Get-ApplicationGatewayConfig", + OperationId = hydraConfig.RequestId, + OperationStatus = hydraConfig.StatusCode.ToString(), + Config = psConfig, + XMLConfiguration = PowerShellAppGwModel.ApplicationGatewayConfiguration.Print(psConfig) + }); + } + + public ApplicationGatewayOperationResponse ExecuteApplicationGatewayOperation(string gatewayName, string opName) + { + ApplicationGatewayOperation op = new ApplicationGatewayOperation(); + op.OperationType = opName; + + return client.ApplicationGateways.ExecuteOperation(gatewayName, op); + } + + public ApplicationGatewayOperationResponse AddApplicationGatewayCertificate(string gatewayName, string certificateName, string password, string certificateFile) + { + X509Certificate2 cert = new X509Certificate2(certificateFile, password, X509KeyStorageFlags.Exportable); + + ApplicationGatewayCertificate appGwCert = new ApplicationGatewayCertificate() + { + Data = Convert.ToBase64String(cert.Export(X509ContentType.Pfx, password)), + //CertificateFormat = "pfx", + Password = password + }; + + return client.ApplicationGateways.AddCertificate(gatewayName, certificateName, appGwCert); + } + + public PowerShellAppGwModel.ApplicationGatewayCertificate GetApplicationGatewayCertificate(string gatewayName, string certificateName) + { + ApplicationGatewayGetCertificate certificate = client.ApplicationGateways.GetCertificate(gatewayName, certificateName); + X509Certificate2 certObject = new X509Certificate2(Convert.FromBase64String(certificate.Data)); + return (new PowerShellAppGwModel.ApplicationGatewayCertificate + { + Name = certificate.Name, + SubjectName = certObject.SubjectName.Name, + Thumbprint = certObject.Thumbprint, + ThumbprintAlgo = certObject.SignatureAlgorithm.FriendlyName, + State = certificate.State + }); + } + + public List ListApplicationGatewayCertificate(string gatewayName) + { + ApplicationGatewayListCertificate hydraCertList = client.ApplicationGateways.ListCertificate(gatewayName); + + List psCertList = new List(); + foreach (ApplicationGatewayGetCertificate certificate in hydraCertList.ApplicationGatewayCertificates) + { + X509Certificate2 certObject = new X509Certificate2(Convert.FromBase64String(certificate.Data)); + psCertList.Add(new PowerShellAppGwModel.ApplicationGatewayCertificate + { + Name = certificate.Name, + SubjectName = certObject.SubjectName.Name, + Thumbprint = certObject.Thumbprint, + ThumbprintAlgo = certObject.SignatureAlgorithm.FriendlyName, + State = certificate.State + }); + } + return psCertList; + } + + public ApplicationGatewayOperationResponse RemoveApplicationGatewayCertificate(string gatewayName, string certificateName) + { + return client.ApplicationGateways.DeleteCertificate(gatewayName, certificateName); + } + + private ApplicationGatewaySetConfiguration HydraConfigFromPowerShellConfig(PowerShellAppGwModel.ApplicationGatewayConfiguration config) + { + ApplicationGatewaySetConfiguration outConfig = new ApplicationGatewaySetConfiguration(); + + //Frontend IPs + outConfig.FrontendIPConfigurations = new List(); + + //Config without Frontend IPs is also valid + if (null != config.FrontendIPConfigurations) + { + foreach (PowerShellAppGwModel.FrontendIPConfiguration fip in config.FrontendIPConfigurations) + { + outConfig.FrontendIPConfigurations.Add(new FrontendIPConfiguration + { + Name = fip.Name, + Type = fip.Type, + StaticIPAddress = fip.StaticIPAddress + }); + } + } + + //Frontend Port + outConfig.FrontendPorts = new List(); + foreach (PowerShellAppGwModel.FrontendPort fp in config.FrontendPorts) + { + outConfig.FrontendPorts.Add(new FrontendPort + { + Name = fp.Name, + Port = fp.Port + }); + } + + //Backend Address Pools + outConfig.BackendAddressPools = new List(); + foreach (PowerShellAppGwModel.BackendAddressPool pool in config.BackendAddressPools) + { + List servers = new List(); + foreach (string server in pool.BackendServers) + { + servers.Add(new BackendServer + { + IPAddress = server + }); + } + + outConfig.BackendAddressPools.Add(new BackendAddressPool + { + Name = pool.Name, + BackendServers = servers + }); + } + + //Backend Http Settings List + outConfig.BackendHttpSettingsList = new List(); + foreach (PowerShellAppGwModel.BackendHttpSettings setting in config.BackendHttpSettingsList) + { + outConfig.BackendHttpSettingsList.Add(new BackendHttpSettings + { + Name = setting.Name, + Port = setting.Port, + Protocol = (Protocol)setting.Protocol, + CookieBasedAffinity = setting.CookieBasedAffinity + }); + } + + //Http Listeners + outConfig.HttpListeners = new List(); + foreach (PowerShellAppGwModel.HttpListener listener in config.HttpListeners) + { + outConfig.HttpListeners.Add(new AGHttpListener + { + Name = listener.Name, + FrontendIP = listener.FrontendIP, + FrontendPort = listener.FrontendPort, + Protocol = (Protocol)listener.Protocol, + SslCert = listener.SslCert + }); + } + + //Http Load Balancing Rules + outConfig.HttpLoadBalancingRules = new List(); + foreach (PowerShellAppGwModel.HttpLoadBalancingRule rule in config.HttpLoadBalancingRules) + { + outConfig.HttpLoadBalancingRules.Add(new HttpLoadBalancingRule + { + Name = rule.Name, + Type = rule.Type, + BackendHttpSettings = rule.BackendHttpSettings, + Listener = rule.Listener, + BackendAddressPool = rule.BackendAddressPool + }); + } + + return outConfig; + } + + private PowerShellAppGwModel.ApplicationGatewayConfiguration PowerShellConfigFromHydraConfig(ApplicationGatewayGetConfiguration config) + { + PowerShellAppGwModel.ApplicationGatewayConfiguration outConfig = new PowerShellAppGwModel.ApplicationGatewayConfiguration(); + + //Frontend IPs + List fips = new List(); + + //Config without Frontend IPs is also valid + if (null != config.FrontendIPConfigurations) + { + + foreach (FrontendIPConfiguration fip in config.FrontendIPConfigurations) + { + + fips.Add(new PowerShellAppGwModel.FrontendIPConfiguration + { + Name = fip.Name, + Type = fip.Type, + StaticIPAddress = fip.StaticIPAddress + }); + } + } + + //Frontend Port + List fps = new List(); + foreach (FrontendPort fp in config.FrontendPorts) + { + + fps.Add(new PowerShellAppGwModel.FrontendPort + { + Name = fp.Name, + Port = fp.Port + }); + } + + //Backend Address Pools + List pools = new List(); + foreach (BackendAddressPool pool in config.BackendAddressPools) + { + PowerShellAppGwModel.BackendServerCollection servers = new PowerShellAppGwModel.BackendServerCollection(); + foreach (BackendServer server in pool.BackendServers) + { + servers.Add(server.IPAddress); + } + + pools.Add(new PowerShellAppGwModel.BackendAddressPool + { + Name = pool.Name, + BackendServers = servers + }); + } + + //Backend Http Settings List + List settings = new List(); + foreach (BackendHttpSettings setting in config.BackendHttpSettingsList) + { + settings.Add(new PowerShellAppGwModel.BackendHttpSettings + { + Name = setting.Name, + Port = setting.Port, + Protocol = (PowerShellAppGwModel.Protocol)setting.Protocol, + CookieBasedAffinity = setting.CookieBasedAffinity + }); + } + + //Http Listeners + List listeners = new List(); + foreach (AGHttpListener listener in config.HttpListeners) + { + listeners.Add(new PowerShellAppGwModel.HttpListener + { + Name = listener.Name, + FrontendIP = listener.FrontendIP, + FrontendPort = listener.FrontendPort, + Protocol = (PowerShellAppGwModel.Protocol)listener.Protocol, + SslCert = listener.SslCert + }); + } + + //Http Load Balancing Rules + List rules = new List(); + foreach (HttpLoadBalancingRule rule in config.HttpLoadBalancingRules) + { + rules.Add(new PowerShellAppGwModel.HttpLoadBalancingRule + { + Name = rule.Name, + Type = rule.Type, + BackendHttpSettings = rule.BackendHttpSettings, + Listener = rule.Listener, + BackendAddressPool = rule.BackendAddressPool + }); + } + + outConfig.FrontendIPConfigurations = fips; + outConfig.FrontendPorts = fps; + outConfig.BackendAddressPools = pools; + outConfig.BackendHttpSettingsList = settings; + outConfig.HttpListeners = listeners; + outConfig.HttpLoadBalancingRules = rules; + + return outConfig; + } public VirtualNetworkGatewayContext GetGateway(string vnetName) { if (string.IsNullOrWhiteSpace(vnetName)) @@ -362,9 +735,9 @@ private void PopulateOperationContext(OperationStatusResponse operationStatus, M operationContext.OperationDescription = commandRuntime.ToString(); } - private static ClientType CreateClient(AzureSubscription subscription) where ClientType : ServiceClient + private static ClientType CreateClient(AzureProfile profile, AzureSubscription subscription) where ClientType : ServiceClient { - return AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + return AzureSession.ClientFactory.CreateClient(profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); } public void CreateNetworkSecurityGroup(string name, string location, string label) diff --git a/src/ServiceManagement/Network/Commands.Network/NetworkCmdletBase.cs b/src/ServiceManagement/Network/Commands.Network/NetworkCmdletBase.cs index 87c8b563ba2c..48d233165bc6 100644 --- a/src/ServiceManagement/Network/Commands.Network/NetworkCmdletBase.cs +++ b/src/ServiceManagement/Network/Commands.Network/NetworkCmdletBase.cs @@ -14,8 +14,8 @@ namespace Microsoft.Azure.Commands.Network { - using Microsoft.Azure.Common.Extensions; - using Microsoft.Azure.Common.Extensions.Models; + using Microsoft.Azure.Common.Authentication; + using Microsoft.Azure.Common.Authentication.Models; using WindowsAzure.Commands.Common; using WindowsAzure.Commands.Utilities.Common; using WindowsAzure.Commands.Utilities.Profile; @@ -29,7 +29,7 @@ public abstract class NetworkCmdletBase : AzurePSCmdlet protected AzureSubscription CurrentSubscription { - get { return AzureSession.CurrentContext.Subscription; } + get { return Profile.Context.Subscription; } } protected NetworkClient Client @@ -38,7 +38,7 @@ protected NetworkClient Client { if (client == null) { - client = new NetworkClient(CurrentSubscription, CommandRuntime); + client = new NetworkClient(Profile, CurrentSubscription, CommandRuntime); } return client; } diff --git a/src/ServiceManagement/Network/Commands.Network/Properties/Resources.Designer.cs b/src/ServiceManagement/Network/Commands.Network/Properties/Resources.Designer.cs index 665d302a70cb..6adcb13cd92c 100644 --- a/src/ServiceManagement/Network/Commands.Network/Properties/Resources.Designer.cs +++ b/src/ServiceManagement/Network/Commands.Network/Properties/Resources.Designer.cs @@ -60,6 +60,24 @@ internal Resources() { } } + /// + /// Looks up a localized string similar to Begin Operation: Add-AzureApplicationGatewaySslCertificate. + /// + internal static string AddAzureApplicationGatewaySslCertificateBeginOperation { + get { + return ResourceManager.GetString("AddAzureApplicationGatewaySslCertificateBeginOperation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Completed Operation: Add-AzureApplicationGatewaySslCertificate. + /// + internal static string AddAzureApplicationGatewaySslCertificateCompletedOperation { + get { + return ResourceManager.GetString("AddAzureApplicationGatewaySslCertificateCompletedOperation", resourceCulture); + } + } + /// /// Looks up a localized string similar to Not able to find the cache service just now created. /// @@ -132,6 +150,60 @@ internal static string CreatingPrerequisites { } } + /// + /// Looks up a localized string similar to Begin Operation: Get-AzureApplicationGateway. + /// + internal static string GetAzureApplicationGatewayBeginOperation { + get { + return ResourceManager.GetString("GetAzureApplicationGatewayBeginOperation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Completed Operation: Get-AzureApplicationGateway. + /// + internal static string GetAzureApplicationGatewayCompletedOperation { + get { + return ResourceManager.GetString("GetAzureApplicationGatewayCompletedOperation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Begin Operation: Get-AzureApplicationGatewayConfig. + /// + internal static string GetAzureApplicationGatewayConfigBeginOperation { + get { + return ResourceManager.GetString("GetAzureApplicationGatewayConfigBeginOperation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Completed Operation: Get-AzureApplicationGatewayConfig. + /// + internal static string GetAzureApplicationGatewayConfigCompletedOperation { + get { + return ResourceManager.GetString("GetAzureApplicationGatewayConfigCompletedOperation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Begin Operation: Get-AzureApplicationGatewaySslCertificate. + /// + internal static string GetAzureApplicationGatewaySslCertificateBeginOperation { + get { + return ResourceManager.GetString("GetAzureApplicationGatewaySslCertificateBeginOperation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Completed Operation: Get-AzureApplicationGatewaySslCertificate. + /// + internal static string GetAzureApplicationGatewaySslCertificateCompletedOperation { + get { + return ResourceManager.GetString("GetAzureApplicationGatewaySslCertificateCompletedOperation", resourceCulture); + } + } + /// /// Looks up a localized string similar to Intializing parameters.... /// @@ -177,6 +249,24 @@ internal static string NetworkSecurityGroupNotActiveInSubnet { } } + /// + /// Looks up a localized string similar to Begin Operation: New-AzureApplicationGateway. + /// + internal static string NewAzureApplicationGatewayBeginOperation { + get { + return ResourceManager.GetString("NewAzureApplicationGatewayBeginOperation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Completed Operation: New-AzureApplicationGateway. + /// + internal static string NewAzureApplicationGatewayCompletedOperation { + get { + return ResourceManager.GetString("NewAzureApplicationGatewayCompletedOperation", resourceCulture); + } + } + /// /// Looks up a localized string similar to Are you sure you want to reduce the cache memory? Cache data will be lost.. /// @@ -195,6 +285,42 @@ internal static string PromptOnCachePlanChange { } } + /// + /// Looks up a localized string similar to Begin Operation: Remove-AzureApplicationGateway. + /// + internal static string RemoveAzureApplicationGatewayBeginOperation { + get { + return ResourceManager.GetString("RemoveAzureApplicationGatewayBeginOperation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Completed Operation: Remove-AzureApplicationGateway. + /// + internal static string RemoveAzureApplicationGatewayCompletedOperation { + get { + return ResourceManager.GetString("RemoveAzureApplicationGatewayCompletedOperation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Begin Operation: Remove-AzureApplicationGatewaySslCertificate. + /// + internal static string RemoveAzureApplicationGatewaySslCertificateBeginOperation { + get { + return ResourceManager.GetString("RemoveAzureApplicationGatewaySslCertificateBeginOperation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Completed Operation: Remove-AzureApplicationGatewaySslCertificate. + /// + internal static string RemoveAzureApplicationGatewaySslCertificateCompletedOperation { + get { + return ResourceManager.GetString("RemoveAzureApplicationGatewaySslCertificateCompletedOperation", resourceCulture); + } + } + /// /// Looks up a localized string similar to Successfully removed Network Security Group with name "{0}" from Subnet "{1}" in Virtual Network "{2}".. /// @@ -276,6 +402,60 @@ internal static string ReplaceNetworkSecurityGroupInSubnetWarningSucceeded { } } + /// + /// Looks up a localized string similar to Begin Operation: Set-AzureApplicationGatewayConfig. + /// + internal static string SetAzureApplicationGatewayConfigBeginOperation { + get { + return ResourceManager.GetString("SetAzureApplicationGatewayConfigBeginOperation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Completed Operation: Set-AzureApplicationGatewayConfig. + /// + internal static string SetAzureApplicationGatewayConfigCompletedOperation { + get { + return ResourceManager.GetString("SetAzureApplicationGatewayConfigCompletedOperation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Begin Operation: Start-AzureApplicationGateway. + /// + internal static string StartAzureApplicationGatewayBeginOperation { + get { + return ResourceManager.GetString("StartAzureApplicationGatewayBeginOperation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Completed Operation: Start-AzureApplicationGateway. + /// + internal static string StartAzureApplicationGatewayCompletedOperation { + get { + return ResourceManager.GetString("StartAzureApplicationGatewayCompletedOperation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Begin Operation: Stop-AzureApplicationGateway. + /// + internal static string StopAzureApplicationGatewayBeginOperation { + get { + return ResourceManager.GetString("StopAzureApplicationGatewayBeginOperation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Completed Operation: Stop-AzureApplicationGateway. + /// + internal static string StopAzureApplicationGatewayCompletedOperation { + get { + return ResourceManager.GetString("StopAzureApplicationGatewayCompletedOperation", resourceCulture); + } + } + /// /// Looks up a localized string similar to Time out to wait for cache service ready. /// @@ -285,6 +465,24 @@ internal static string TimeoutWaitForCacheServiceReady { } } + /// + /// Looks up a localized string similar to Begin Operation: Update-AzureApplicationGateway. + /// + internal static string UpdateAzureApplicationGatewayBeginOperation { + get { + return ResourceManager.GetString("UpdateAzureApplicationGatewayBeginOperation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Completed Operation: Update-AzureApplicationGateway. + /// + internal static string UpdateAzureApplicationGatewayCompletedOperation { + get { + return ResourceManager.GetString("UpdateAzureApplicationGatewayCompletedOperation", resourceCulture); + } + } + /// /// Looks up a localized string similar to Updating cache service.... /// diff --git a/src/ServiceManagement/Network/Commands.Network/Properties/Resources.resx b/src/ServiceManagement/Network/Commands.Network/Properties/Resources.resx index 44b4f567a3d3..671e6a57f744 100644 --- a/src/ServiceManagement/Network/Commands.Network/Properties/Resources.resx +++ b/src/ServiceManagement/Network/Commands.Network/Properties/Resources.resx @@ -201,4 +201,70 @@ Are you sure you want to remove the Network Security Rule "{0}" from Network Security Group "{1}"? + + Begin Operation: Add-AzureApplicationGatewaySslCertificate + + + Completed Operation: Add-AzureApplicationGatewaySslCertificate + + + Begin Operation: Get-AzureApplicationGateway + + + Begin Operation: Get-AzureApplicationGatewaySslCertificate + + + Completed Operation: Get-AzureApplicationGatewaySslCertificate + + + Completed Operation: Get-AzureApplicationGateway + + + Begin Operation: Get-AzureApplicationGatewayConfig + + + Completed Operation: Get-AzureApplicationGatewayConfig + + + Begin Operation: New-AzureApplicationGateway + + + Completed Operation: New-AzureApplicationGateway + + + Begin Operation: Remove-AzureApplicationGateway + + + Begin Operation: Remove-AzureApplicationGatewaySslCertificate + + + Completed Operation: Remove-AzureApplicationGatewaySslCertificate + + + Completed Operation: Remove-AzureApplicationGateway + + + Begin Operation: Set-AzureApplicationGatewayConfig + + + Completed Operation: Set-AzureApplicationGatewayConfig + + + Begin Operation: Start-AzureApplicationGateway + + + Completed Operation: Start-AzureApplicationGateway + + + Begin Operation: Stop-AzureApplicationGateway + + + Completed Operation: Stop-AzureApplicationGateway + + + Begin Operation: Update-AzureApplicationGateway + + + Completed Operation: Update-AzureApplicationGateway + \ No newline at end of file diff --git a/src/ServiceManagement/Network/Commands.Network/packages.config b/src/ServiceManagement/Network/Commands.Network/packages.config index 71d16b28ebd6..154c8307565f 100644 --- a/src/ServiceManagement/Network/Commands.Network/packages.config +++ b/src/ServiceManagement/Network/Commands.Network/packages.config @@ -1,10 +1,10 @@  - - + + + - @@ -12,11 +12,11 @@ - + - - + + diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/Commands.RecoveryServices.Test.csproj b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/Commands.RecoveryServices.Test.csproj index 5cdf2dbce9cd..87d157764445 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/Commands.RecoveryServices.Test.csproj +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/Commands.RecoveryServices.Test.csproj @@ -1,5 +1,7 @@  + + Debug @@ -36,35 +38,37 @@ false + + - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5486.28526-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll + ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll - ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5486.28526-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll + ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll @@ -75,11 +79,17 @@ ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll - - ..\..\..\packages\Microsoft.Azure.Management.RecoveryServices.0.4.0-preview\lib\net40\Microsoft.WindowsAzure.Management.SiteRecovery.dll + + False + ..\..\..\packages\Microsoft.Azure.Management.RecoveryServices.0.5.1-preview\lib\net40\Microsoft.WindowsAzure.Management.SiteRecovery.dll + + + False + ..\..\..\packages\Hydra.SpecTestSupport.1.0.5417.13285-prerelease\lib\net45\Microsoft.WindowsAzure.Testing.dll ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll @@ -107,9 +117,14 @@ - - False - ..\..\..\packages\xunit.1.9.2\lib\net20\xunit.dll + + ..\..\..\packages\xunit.abstractions.2.0.0-beta5-build2785\lib\net35\xunit.abstractions.dll + + + ..\..\..\packages\xunit.assert.2.0.0-beta5-build2785\lib\portable-net45+aspnetcore50+win+wpa81+wp80+monoandroid+monotouch10\xunit.assert.dll + + + ..\..\..\packages\xunit.core.2.0.0-beta5-build2785\lib\portable-net45+aspnetcore50+win+wpa81+wp80+monotouch+monoandroid\xunit.core.dll @@ -125,10 +140,52 @@ PreserveNewest - + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + PreserveNewest - + PreserveNewest @@ -156,6 +213,8 @@ 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}. + + diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTests.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTests.cs index 44443cd896e1..94221b665aad 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTests.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTests.cs @@ -21,16 +21,165 @@ public class RecoveryServicesTests : RecoveryServicesTestsBase { [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] - public void RecoveryServicesEnumerationTests() + public void EnumerationTests() { this.RunPowerShellTest("Test-RecoveryServicesEnumerationTests -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); } - [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] - public void RecoveryServicesProtectionTests() + public void ProtectionTests() { this.RunPowerShellTest("Test-RecoveryServicesProtectionTests -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void StorageMappingTest() + { + this.RunPowerShellTest("Test-StorageMapping -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void StorageUnMappingTest() + { + this.RunPowerShellTest("Test-StorageUnMapping -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void NetworkMappingTest() + { + this.RunPowerShellTest("Test-NetworkMapping -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void NetworkUnMappingTest() + { + this.RunPowerShellTest("Test-NetworkUnMapping -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); + } + + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void AzureNetworkMappingTest() + { + this.RunPowerShellTest("Test-AzureNetworkMapping -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); + } + + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void AzureNetworkUnMappingTest() + { + this.RunPowerShellTest("Test-AzureNetworkUnMapping -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); + } + + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void FailbackTest() + { + this.RunPowerShellTest("Test-Failback -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); + } + + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void RRAfterFailoverTest() + { + this.RunPowerShellTest("Test-RRAfterFailover -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); + } + + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void RRAfterFailbackTest() + { + this.RunPowerShellTest("Test-RRAfterFailback -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); + } + + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CommitPFOTest() + { + this.RunPowerShellTest("Test-CommitPFO -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); + } + + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CommitAfterFailbackTest() + { + this.RunPowerShellTest("Test-CommitAfterFailback -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); + } + + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void PFOTest() + { + this.RunPowerShellTest("Test-PFO -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); + } + + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void UFOTest() + { + this.RunPowerShellTest("Test-UFO -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); + } + + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TFOTest() + { + this.RunPowerShellTest("Test-TFO -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); + } + + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void EnableProtectionTest() + { + this.RunPowerShellTest("Test-EnableProtection -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); + } + + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void DisableProtectionTest() + { + this.RunPowerShellTest("Test-DisableProtection -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void E2E_DeleteAndDissociateTest() + { + this.RunPowerShellTest("Test-E2E_DeleteAndDissociate -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void E2E_CreateAndAssociateTest() + { + this.RunPowerShellTest("Test-E2E_CreateAndAssociate -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); + } + + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void PFORPTest() + { + this.RunPowerShellTest("Test-PFORP -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); + } + + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TFORPTest() + { + this.RunPowerShellTest("Test-TFORP -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); + } + + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void UFORPTest() + { + this.RunPowerShellTest("Test-UFORP -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); + } + + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void FailbackRPTest() + { + this.RunPowerShellTest("Test-FailbackRP -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); + } + + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void RRRPTest() + { + this.RunPowerShellTest("Test-RRRP -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); + } + + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void CommitRPTest() + { + this.RunPowerShellTest("Test-CommitRP -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\""); + } } } diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTests.ps1 b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTests.ps1 index 2721086102b0..7dcb3c0c6f52 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTests.ps1 +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTests.ps1 @@ -14,6 +14,138 @@ ########################## Recovery Services Tests ############################# +# Followings are the switch to control validation which can be tuned from outside later to control the test result in case of some product misbehaviour. + +$Validate_EnableProtection_JobSucceeded = $true; +$Validate_DisableProtection_JobSucceeded = $true; + +$Validate_PFO_JobSucceeded = $true; +$Validate_Commit_PFO_JobSucceeded = $true; +$Validate_Commit_Failback_JobSucceeded = $true; +$Validate_EnableProtection_WaitForCanFailover = $true; +$Validate_RRAfterFailback_JobSucceeded = $true; +$Validate_Failback_JobSucceeded = $true; +$Validate_TFO_JobSucceeded = $true; +$Validate_TFO_JobSuspended = $true; +$Validate_UFO_JobSucceeded = $true; +$Validate_TFO_JobSuspended = $true; +$Validate_PFORP_JobSucceeded = $true; +$Validate_PFOFailbackRP_JobSucceeded = $true; +$Validate_ProfileDissociation_JobSucceeded = $true; +$Validate_ProfileAssociation_JobSucceeded = $true; + +#Test-EnableProtection 'E:\d\E2E_SKVault_Wednesday,January28,2015.VaultCredentials' + +<# +.SYNOPSIS +Recovery Services DeleteAndDissociate Tests +#> +function Test-E2E_DeleteAndDissociate +{ + param([string] $vaultSettingsFilePath) + #$vaultSettingsFilePath = $vaultFile; + + # Import Azure Site Recovery Vault Settings + Import-AzureSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + + $protectionContainers = Get-AzureSiteRecoveryProtectionContainer + Assert-True { $protectionContainers.Count -gt 0 } + Assert-NotNull($protectionContainers) + foreach($protectionContainer in $protectionContainers) + { + Assert-NotNull($protectionContainer.Name) + Assert-NotNull($protectionContainer.ID) + + # Enumerate Protection Entities under each configured Protection Containers + if ($protectionContainer.Role -eq "Primary") + { + foreach($profile in $protectionContainer.AvailableProtectionProfiles) + { + if ($profile.ReplicationProvider -eq "HyperVReplica") + { + if ($profile.HyperVReplicaProviderSettingsObject.CanDissociate -eq $false) + { + continue; + } + + foreach ($association in $profile.HyperVReplicaProviderSettingsObject.AssociationDetail) + { + if ($association.AssociationStatus -eq "Paired") + { + # We have got the paired profile. Fire delete and dissociate + $pcPri = Get-AzureSiteRecoveryProtectionContainer -Id $association.PrimaryProtectionContainerId + $pcRec = Get-AzureSiteRecoveryProtectionContainer -Id $association.RecoveryProtectionContainerId + $job = Start-AzureSiteRecoveryProtectionProfileDissociationJob -PrimaryProtectionContainer $pcPri -RecoveryProtectionContainer $pcRec -ProtectionProfile $profile + + # Validate_ProfileDissociation_JobSucceeded + if ($Validate_ProfileDissociation_JobSucceeded -eq $true) + { + WaitForJobCompletion -JobId $job.ID -NumOfSecondsToWait 600 + $job = Get-AzureSiteRecoveryJob -Id $job.ID + Assert-True { $job.State -eq "Succeeded" } + } + + return; + } + } + } + } + } + } + + Assert-NotNull($job) "No PC found for E2E_DeleteAndDissociate" +} + + +<# +.SYNOPSIS +Recovery Services E2E_CreateAndAssociate Tests +#> +function Test-E2E_CreateAndAssociate +{ + param([string] $vaultSettingsFilePath) + #$vaultSettingsFilePath = $vaultFile; + + # Import Azure Site Recovery Vault Settings + Import-AzureSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + + $protectionContainers = Get-AzureSiteRecoveryProtectionContainer + Assert-True { $protectionContainers.Count -gt 0 } + Assert-NotNull($protectionContainers) + $priPC = $null + foreach($protectionContainer in $protectionContainers) + { + Assert-NotNull($protectionContainer.Name) + Assert-NotNull($protectionContainer.ID) + # Enumerate Protection Entities under each configured Protection Containers + if ($protectionContainer.Role -eq "") + { + if ($priPC -eq $null) + { + $priPC = $protectionContainer; + continue; + } + + # we have got second pc as well create profile and associate + $pp = New-AzureSiteRecoveryProtectionProfileObject -ReplicationProvider HyperVReplica -ReplicationMethod Online -ReplicationFrequencyInSeconds 300 -RecoveryPoints 1 -ApplicationConsistentSnapshotFrequencyInHours 1 -CompressionEnabled -ReplicationPort 8083 -Authentication Kerberos -AllowReplicaDeletion + + $job = Start-AzureSiteRecoveryProtectionProfileAssociationJob -ProtectionProfile $pp -PrimaryProtectionContainer $priPC -RecoveryProtectionContainer $protectionContainer + + # Validate_ProfileAssociation_JobSucceeded + if ($Validate_ProfileAssociation_JobSucceeded -eq $true) + { + WaitForJobCompletion -JobId $job.ID -NumOfSecondsToWait 600 + $job = Get-AzureSiteRecoveryJob -Id $job.ID + Assert-True { $job.State -eq "Succeeded" } + } + + return; + } + } + + Assert-NotNull($job) "No PC found for E2E_CreateAndAssociate" +} + <# .SYNOPSIS Recovery Services Enumeration Tests @@ -91,6 +223,7 @@ function Test-RecoveryServicesProtectionTests if ($protectionEntity.Protected) { Set-AzureSiteRecoveryProtectionEntity -ProtectionEntity $protectionEntity -Protection "Enable" -Force + Update-AzureSiteRecoveryProtectionEntity -ProtectionEntity $protectionEntity } else { @@ -99,4 +232,1020 @@ function Test-RecoveryServicesProtectionTests } } } -} \ No newline at end of file +} + +<# +.SYNOPSIS +Recovery Services Storage mapping tests and validation +#> +function Test-StorageMapping +{ + param([string] $vaultSettingsFilePath) + + # Import Azure Site Recovery Vault Settings + Import-AzureSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + + # Enumerate Servers + $servers = Get-AzureSiteRecoveryServer + Assert-True { $servers.Count -gt 0 } + Assert-NotNull($servers) + foreach($server in $servers) + { + Assert-NotNull($server.Name) + Assert-NotNull($server.ID) + } + + # Enumerate Storages + $storages = Get-AzureSiteRecoveryStorage -Server $servers[0] + Assert-NotNull($storages) + Assert-True { $storages.Count -gt 0 } + foreach($storage in $storages) + { + Assert-NotNull($storage.Name) + Assert-NotNull($storage.ID) + } + + # Enumerate StorageMappings + $storageMappings = Get-AzureSiteRecoveryStorageMapping -PrimaryServer $servers[0] -RecoveryServer $servers[0] + Assert-True { $storageMappings.Count -eq 0 } + + # Create StorageMapping + $job = New-AzureSiteRecoveryStorageMapping -PrimaryStorage $storages[0] -RecoveryStorage $storages[1] + WaitForJobCompletion -JobId $job.ID + + # Enumerate StorageMappings + $storageMappings = Get-AzureSiteRecoveryStorageMapping -PrimaryServer $servers[0] -RecoveryServer $servers[0] + Assert-NotNull($storageMappings) + Assert-True { $storageMappings.Count -eq 1 } + Assert-NotNull($storageMappings[0].PrimaryServerId) + Assert-NotNull($storageMappings[0].PrimaryStorageId) + Assert-NotNull($storageMappings[0].RecoveryServerId) + Assert-NotNull($storageMappings[0].RecoveryStorageId) +} + +<# +.SYNOPSIS +Recovery Services Storage unmapping tests and validation +#> +function Test-StorageUnMapping +{ + param([string] $vaultSettingsFilePath) + + # Import Azure Site Recovery Vault Settings + Import-AzureSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + + # Enumerate Servers + $servers = Get-AzureSiteRecoveryServer + Assert-True { $servers.Count -gt 0 } + Assert-NotNull($servers) + foreach($server in $servers) + { + Assert-NotNull($server.Name) + Assert-NotNull($server.ID) + } + + # Enumerate StorageMappings + $storageMappings = Get-AzureSiteRecoveryStorageMapping -PrimaryServer $servers[0] -RecoveryServer $servers[0] + Assert-NotNull($storageMappings) + Assert-True { $storageMappings.Count -eq 1 } + Assert-NotNull($storageMappings[0].PrimaryServerId) + Assert-NotNull($storageMappings[0].PrimaryStorageId) + Assert-NotNull($storageMappings[0].RecoveryServerId) + Assert-NotNull($storageMappings[0].RecoveryStorageId) + + # Remove StorageMapping + $job = Remove-AzureSiteRecoveryStorageMapping -StorageMapping $storageMappings[0] + WaitForJobCompletion -JobId $job.ID + + # Enumerate StorageMappings + $storageMappings = Get-AzureSiteRecoveryStorageMapping -PrimaryServer $servers[0] -RecoveryServer $servers[0] + Assert-True { $storageMappings.Count -eq 0 } +} + +<# +.SYNOPSIS +Recovery Services Network mapping tests and validation +#> +function Test-NetworkMapping +{ + param([string] $vaultSettingsFilePath) + + # Import Azure Site Recovery Vault Settings + Import-AzureSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + + # Enumerate Servers + $servers = Get-AzureSiteRecoveryServer + Assert-True { $servers.Count -gt 0 } + Assert-NotNull($servers) + foreach($server in $servers) + { + Assert-NotNull($server.Name) + Assert-NotNull($server.ID) + } + + # Enumerate Networks + $networks = Get-AzureSiteRecoveryNetwork -Server $servers[0] + Assert-NotNull($networks) + Assert-True { $networks.Count -gt 0 } + foreach($network in $networks) + { + Assert-NotNull($network.Name) + Assert-NotNull($network.ID) + } + + # Enumerate NetworkMappings + $networkMappings = Get-AzureSiteRecoveryNetworkMapping -PrimaryServer $servers[0] -RecoveryServer $servers[0] + Assert-True { $networkMappings.Count -eq 0 } + + # Create NetworkMapping + $job = New-AzureSiteRecoveryNetworkMapping -PrimaryNetwork $networks[0] -RecoveryNetwork $networks[1] + WaitForJobCompletion -JobId $job.ID + + # Enumerate NetworkMappings + $networkMappings = Get-AzureSiteRecoveryNetworkMapping -PrimaryServer $servers[0] -RecoveryServer $servers[0] + Assert-NotNull($networkMappings) + Assert-True { $networkMappings.Count -eq 1 } + Assert-NotNull($networkMappings[0].PrimaryServerId) + Assert-NotNull($networkMappings[0].PrimaryNetworkId) + Assert-NotNull($networkMappings[0].PrimaryNetworkName) + Assert-NotNull($networkMappings[0].RecoveryServerId) + Assert-NotNull($networkMappings[0].RecoveryNetworkId) + Assert-NotNull($networkMappings[0].RecoveryNetworkName) +} + +<# +.SYNOPSIS +Recovery Services Azure Network mapping tests and validation +#> +function Test-AzureNetworkMapping +{ + param([string] $vaultSettingsFilePath) + + # Import Azure Site Recovery Vault Settings + Import-AzureSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + + # Enumerate Servers + $servers = Get-AzureSiteRecoveryServer + Assert-True { $servers.Count -gt 0 } + Assert-NotNull($servers) + foreach($server in $servers) + { + Assert-NotNull($server.Name) + Assert-NotNull($server.ID) + } + + # Enumerate Networks + $networks = Get-AzureSiteRecoveryNetwork -Server $servers[0] + Assert-NotNull($networks) + Assert-True { $networks.Count -gt 0 } + foreach($network in $networks) + { + Assert-NotNull($network.Name) + Assert-NotNull($network.ID) + } + + <# + # Enumerate Azure VM Networks + $azureVmNetworks = Get-AzureVNetSite + Assert-NotNull($azureVmNetworks) + Assert-True { $azureVmNetworks.Count -gt 0 } + #> + + # Enumerate AzureNetworkMappings + $networkMappings = Get-AzureSiteRecoveryNetworkMapping -PrimaryServer $servers[0] -Azure + Assert-True { $networkMappings.Count -eq 0 } + + # Create AzureNetworkMapping + # $subscription = Get-AzureSubscription -Current + + # TODO (sriramvu): There are few dependency issues on using Get-AzureVNetSite to get list of Azure VM Networks, will update the test. + # Should setup NetworkManagementClient along with our two mgmt clients in RecoveryServicesTestsBase.cs + # $job = New-AzureSiteRecoveryNetworkMapping -PrimaryNetwork $networks[0] -AzureSubscriptionId $subscription.SubscriptionId -AzureVMNetworkId $azureVmNetworks[0].Id + # $job = New-AzureSiteRecoveryNetworkMapping -PrimaryNetwork $networks[0] -AzureSubscriptionId 62633f66-ce59-4114-b65d-a50beb5bd8d8 -AzureVMNetworkId "1d0ecfad-ac09-4222-b46f-2ab74839fe7e" # OneBox details + $job = New-AzureSiteRecoveryNetworkMapping -PrimaryNetwork $networks[0] -AzureSubscriptionId a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba -AzureVMNetworkId ecb3a462-664f-4f57-873e-d09b5925e1a1 # POD details + WaitForJobCompletion -JobId $job.ID + + # Enumerate NetworkMappings + $networkMappings = Get-AzureSiteRecoveryNetworkMapping -PrimaryServer $servers[0] -Azure + Assert-NotNull($networkMappings) + Assert-True { $networkMappings.Count -eq 1 } + Assert-NotNull($networkMappings[0].PrimaryServerId) + Assert-NotNull($networkMappings[0].PrimaryNetworkId) + Assert-NotNull($networkMappings[0].PrimaryNetworkName) + Assert-NotNull($networkMappings[0].RecoveryServerId) + Assert-NotNull($networkMappings[0].RecoveryNetworkId) + Assert-NotNull($networkMappings[0].RecoveryNetworkName) +} + +<# +.SYNOPSIS +Recovery Services Network unmapping tests and validation +#> +function Test-NetworkUnMapping +{ + param([string] $vaultSettingsFilePath) + + # Import Azure Site Recovery Vault Settings + Import-AzureSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + + # Enumerate Servers + $servers = Get-AzureSiteRecoveryServer + Assert-True { $servers.Count -gt 0 } + Assert-NotNull($servers) + foreach($server in $servers) + { + Assert-NotNull($server.Name) + Assert-NotNull($server.ID) + } + + # Enumerate NetworkMappings + $networkMappings = Get-AzureSiteRecoveryNetworkMapping -PrimaryServer $servers[0] -RecoveryServer $servers[0] + Assert-NotNull($networkMappings) + Assert-True { $networkMappings.Count -eq 1 } + Assert-NotNull($networkMappings[0].PrimaryServerId) + Assert-NotNull($networkMappings[0].PrimaryNetworkId) + Assert-NotNull($networkMappings[0].PrimaryNetworkName) + Assert-NotNull($networkMappings[0].RecoveryServerId) + Assert-NotNull($networkMappings[0].RecoveryNetworkId) + Assert-NotNull($networkMappings[0].RecoveryNetworkName) + + # Remove NetworkMapping + $job = Remove-AzureSiteRecoveryNetworkMapping -NetworkMapping $networkMappings[0] + WaitForJobCompletion -JobId $job.ID + + # Enumerate NetworkMappings + $networkMappings = Get-AzureSiteRecoveryNetworkMapping -PrimaryServer $servers[0] -RecoveryServer $servers[0] + Assert-True { $networkMappings.Count -eq 0 } +} + +<# +.SYNOPSIS +Recovery Services Azure Network unmapping tests and validation +#> +function Test-AzureNetworkUnMapping +{ + param([string] $vaultSettingsFilePath) + + # Import Azure Site Recovery Vault Settings + Import-AzureSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + + # Enumerate Servers + $servers = Get-AzureSiteRecoveryServer + Assert-True { $servers.Count -gt 0 } + Assert-NotNull($servers) + foreach($server in $servers) + { + Assert-NotNull($server.Name) + Assert-NotNull($server.ID) + } + + # Enumerate Azure NetworkMappings + $networkMappings = Get-AzureSiteRecoveryNetworkMapping -PrimaryServer $servers[0] -Azure + Assert-NotNull($networkMappings) + Assert-True { $networkMappings.Count -eq 1 } + Assert-NotNull($networkMappings[0].PrimaryServerId) + Assert-NotNull($networkMappings[0].PrimaryNetworkId) + Assert-NotNull($networkMappings[0].PrimaryNetworkName) + Assert-NotNull($networkMappings[0].RecoveryServerId) + Assert-NotNull($networkMappings[0].RecoveryNetworkId) + Assert-NotNull($networkMappings[0].RecoveryNetworkName) + + # Remove Azure NetworkMapping + $job = Remove-AzureSiteRecoveryNetworkMapping -NetworkMapping $networkMappings[0] + WaitForJobCompletion -JobId $job.ID + + # Enumerate Azure NetworkMappings + $networkMappings = Get-AzureSiteRecoveryNetworkMapping -PrimaryServer $servers[0] -Azure + Assert-True { $networkMappings.Count -eq 0 } +} + +<# +.SYNOPSIS +Recovery Services Failback Tests +#> +function Test-Failback +{ + param([string] $vaultSettingsFilePath) + + # Import Azure Site Recovery Vault Settings + Import-AzureSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + + $protectionContainers = Get-AzureSiteRecoveryProtectionContainer + Assert-True { $protectionContainers.Count -gt 0 } + Assert-NotNull($protectionContainers) + foreach($protectionContainer in $protectionContainers) + { + Assert-NotNull($protectionContainer.Name) + Assert-NotNull($protectionContainer.ID) + + # Enumerate Protection Entities under each configured Protection Containers + if ($protectionContainer.Role -eq "Primary") + { + $protectionEntities = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $protectionContainer + Assert-NotNull($protectionEntities) + foreach($protectionEntity in $protectionEntities) + { + Assert-NotNull($protectionEntity.Name) + Assert-NotNull($protectionEntity.ID) + if ($protectionEntity.CanFailover -eq $true -and $protectionEntity.ActiveLocation -eq "Recovery") + { + $job = Start-AzureSiteRecoveryPlannedFailoverJob -Direction RecoveryToPrimary -ProtectionEntity $protectionEntity -WaitForCompletion + + # Validate_Failback_JobSucceeded + if ($Validate_Failback_JobSucceeded -eq $true) + { + $job = Get-AzureSiteRecoveryJob -Id $job.ID + Assert-True { $job.State -eq "Succeeded" } + } + + return; + } + } + } + } + + Assert-NotNull($job) "No VM found for failback" +} + + +<# +.SYNOPSIS +Recovery Services RRAfterFailback Tests +#> +function Test-RRAfterFailback +{ + param([string] $vaultSettingsFilePath) + + # Import Azure Site Recovery Vault Settings + Import-AzureSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + + $protectionContainers = Get-AzureSiteRecoveryProtectionContainer + Assert-True { $protectionContainers.Count -gt 0 } + Assert-NotNull($protectionContainers) + foreach($protectionContainer in $protectionContainers) + { + Assert-NotNull($protectionContainer.Name) + Assert-NotNull($protectionContainer.ID) + + # Enumerate Protection Entities under each configured Protection Containers + if ($protectionContainer.Role -eq "Primary") + { + $protectionEntities = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $protectionContainer + Assert-NotNull($protectionEntities) + foreach($protectionEntity in $protectionEntities) + { + Assert-NotNull($protectionEntity.Name) + Assert-NotNull($protectionEntity.ID) + if ($protectionEntity.CanReverseReplicate -eq $true -and $protectionEntity.ActiveLocation -eq "Recovery") + { + $job = Update-AzureSiteRecoveryProtectionDirection -ProtectionEntity $protectionEntity -Direction PrimaryToRecovery -WaitForCompletion + + # Validate_PFO_JobSucceeded + if ($Validate_RRAfterFailback_JobSucceeded -eq $true) + { + $job = Get-AzureSiteRecoveryJob -Id $job.ID + Assert-True { $job.State -eq "Succeeded" } + } + + return; + } + } + } + } + + Assert-NotNull($job) "No VM found for RRAfterFailback"; +} + + +<# +.SYNOPSIS +Recovery Services Commit_PFO Tests +#> +function Test-RRAfterFailover +{ + param([string] $vaultSettingsFilePath) + #$vaultSettingsFilePath = $vaultFile; + + # Import Azure Site Recovery Vault Settings + Import-AzureSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + + $protectionContainers = Get-AzureSiteRecoveryProtectionContainer + Assert-True { $protectionContainers.Count -gt 0 } + Assert-NotNull($protectionContainers) + foreach($protectionContainer in $protectionContainers) + { + Assert-NotNull($protectionContainer.Name) + Assert-NotNull($protectionContainer.ID) + + # Enumerate Protection Entities under each configured Protection Containers + if ($protectionContainer.Role -eq "Primary") + { + $protectionEntities = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $protectionContainer + Assert-NotNull($protectionEntities) + foreach($protectionEntity in $protectionEntities) + { + Assert-NotNull($protectionEntity.Name) + Assert-NotNull($protectionEntity.ID) + if ($protectionEntity.CanReverseReplicate -eq $true) + { + $job = Update-AzureSiteRecoveryProtectionDirection -ProtectionEntity $protectionEntity -Direction RecoveryToPrimary -WaitForCompletion + + # Validate_PFO_JobSucceeded + if ($Validate_Commit_PFO_JobSucceeded -eq $true) + { + $job = Get-AzureSiteRecoveryJob -Id $job.ID + Assert-True { $job.State -eq "Succeeded" } + } + + # Validate_EnableProtection_WaitForCanFailover + if ($Validate_EnableProtection_WaitForCanFailover -eq $true) + { + WaitForCanFailover $protectionEntity.ProtectionContainerId $protectionEntity.ID + } + + return; + } + } + } + } + + Assert("No VM found for RR"); +} + +<# +.SYNOPSIS +Recovery Services Commit_PFO Tests +#> +function Test-CommitPFO +{ + param([string] $vaultSettingsFilePath) + + # Import Azure Site Recovery Vault Settings + Import-AzureSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + + $protectionContainers = Get-AzureSiteRecoveryProtectionContainer + Assert-True { $protectionContainers.Count -gt 0 } + Assert-NotNull($protectionContainers) + foreach($protectionContainer in $protectionContainers) + { + Assert-NotNull($protectionContainer.Name) + Assert-NotNull($protectionContainer.ID) + + # Enumerate Protection Entities under each configured Protection Containers + if ($protectionContainer.Role -eq "Primary") + { + $protectionEntities = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $protectionContainer + Assert-NotNull($protectionEntities) + foreach($protectionEntity in $protectionEntities) + { + Assert-NotNull($protectionEntity.Name) + Assert-NotNull($protectionEntity.ID) + if ($protectionEntity.CanCommit -eq $true) + { + $job = Start-AzureSiteRecoveryCommitFailoverJob -ProtectionEntity $protectionEntity -Direction PrimaryToRecovery -WaitForCompletion + + # Validate_PFO_JobSucceeded + if ($Validate_Commit_PFO_JobSucceeded -eq $true) + { + $job = Get-AzureSiteRecoveryJob -Id $job.ID + Assert-True { $job.State -eq "Succeeded" } + } + + return; + } + } + } + } + + Assert-NotNull($job) "No VM found for Commit_PFO" +} + + +<# +.SYNOPSIS +Recovery Services PFO Tests +#> +function Test-PFO +{ + param([string] $vaultSettingsFilePath) + + # Import Azure Site Recovery Vault Settings + Import-AzureSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + + $protectionContainers = Get-AzureSiteRecoveryProtectionContainer + Assert-True { $protectionContainers.Count -gt 0 } + Assert-NotNull($protectionContainers) + foreach($protectionContainer in $protectionContainers) + { + Assert-NotNull($protectionContainer.Name) + Assert-NotNull($protectionContainer.ID) + + # Enumerate Protection Entities under each configured Protection Containers + if ($protectionContainer.Role -eq "Primary") + { + $protectionEntities = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $protectionContainer + Assert-NotNull($protectionEntities) + foreach($protectionEntity in $protectionEntities) + { + Assert-NotNull($protectionEntity.Name) + Assert-NotNull($protectionEntity.ID) + if ($protectionEntity.CanFailover -eq $true) + { + $job = Start-AzureSiteRecoveryPlannedFailoverJob -Direction PrimaryToRecovery -ProtectionEntity $protectionEntity -WaitForCompletion + + # Validate_PFO_JobSucceeded + if ($Validate_PFO_JobSucceeded -eq $true) + { + $job = Get-AzureSiteRecoveryJob -Id $job.ID + Assert-True { $job.State -eq "Succeeded" } + } + + return; + } + } + } + } + + Assert-NotNull($job) "No VM found for PFO" +} + +<# +.SYNOPSIS +Recovery Services PFORP Tests +#> +function Test-PFORP ($vaultSettingsFilePath) +{ + # Import Azure Site Recovery Vault Settings + Import-AzureSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + + $rps = Get-AzureSiteRecoveryRecoveryPlan ; $rps + Assert-NotNull($rps) + Assert-True { $rps.Count -gt 0 } + foreach($rp in $rps) + { + Assert-NotNull($rps.Name) + Assert-NotNull($rps.ID) + + $job = Start-AzureSiteRecoveryPlannedFailoverJob -Direction PrimaryToRecovery -RecoveryPlan $rp -WaitForCompletion + + # Validate_PFORP_JobSucceeded + if ($Validate_PFORP_JobSucceeded -eq $true) + { + $job = Get-AzureSiteRecoveryJob -Id $job.ID + Assert-True { $job.State -eq "Succeeded" } + } + + return; + } + + Assert("No RP found for PFO"); +} + + +<# +.SYNOPSIS +Recovery Services TFORP Tests +#> +function Test-TFORP ($vaultSettingsFilePath) +{ + # Import Azure Site Recovery Vault Settings + Import-AzureSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + + $rps = Get-AzureSiteRecoveryRecoveryPlan ; $rps + Assert-NotNull($rps) + Assert-True { $rps.Count -gt 0 } + foreach($rp in $rps) + { + Assert-NotNull($rps.Name) + Assert-NotNull($rps.ID) + + $job = Start-AzureSiteRecoveryTestFailoverJob -Direction PrimaryToRecovery -RecoveryPlan $rp -WaitForCompletion + + # Validate_PFORP_JobSucceeded + if ($Validate_PFORP_JobSucceeded -eq $true) + { + $job = Get-AzureSiteRecoveryJob -Id $job.ID + Assert-True { $job.State -eq "Succeeded" } + } + + return; + } + + Assert("No RP found for TFORP"); +} + +<# +.SYNOPSIS +Recovery Services UFORP Tests +#> +function Test-UFORP ($vaultSettingsFilePath) +{ + # Import Azure Site Recovery Vault Settings + Import-AzureSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + + $rps = Get-AzureSiteRecoveryRecoveryPlan ; $rps + Assert-NotNull($rps) + Assert-True { $rps.Count -gt 0 } + foreach($rp in $rps) + { + Assert-NotNull($rps.Name) + Assert-NotNull($rps.ID) + + $job = Start-AzureSiteRecoveryUnplannedFailoverJob -Direction PrimaryToRecovery -RecoveryPlan $rp -PrimaryAction $true -WaitForCompletion + + # Validate_UFORP_JobSucceeded + if ($Validate_PFORP_JobSucceeded -eq $true) + { + $job = Get-AzureSiteRecoveryJob -Id $job.ID + Assert-True { $job.State -eq "Succeeded" } + } + + return; + } + + Assert("No RP found for UFORP"); +} + +<# +.SYNOPSIS +Recovery Services FailbackRP Tests +#> +function Test-FailbackRP ($vaultSettingsFilePath) +{ + # Import Azure Site Recovery Vault Settings + Import-AzureSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + + $rps = Get-AzureSiteRecoveryRecoveryPlan ; $rps + Assert-NotNull($rps) + Assert-True { $rps.Count -gt 0 } + foreach($rp in $rps) + { + Assert-NotNull($rps.Name) + Assert-NotNull($rps.ID) + + $job = Start-AzureSiteRecoveryPlannedFailoverJob -Direction RecoveryToPrimary -RecoveryPlan $rp -WaitForCompletion + + # Validate_PFORP_JobSucceeded + if ($Validate_PFOFailbackRP_JobSucceeded -eq $true) + { + $job = Get-AzureSiteRecoveryJob -Id $job.ID + Assert-True { $job.State -eq "Succeeded" } + } + + return; + } + + Assert("No RP found for FailbackRP"); +} +<# +.SYNOPSIS +Recovery Services RRRP Tests +#> +function Test-RRRP ($vaultSettingsFilePath) +{ + # Import Azure Site Recovery Vault Settings + Import-AzureSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + + $rps = Get-AzureSiteRecoveryRecoveryPlan ; $rps + Assert-NotNull($rps) + Assert-True { $rps.Count -gt 0 } + foreach($rp in $rps) + { + Assert-NotNull($rps.Name) + Assert-NotNull($rps.ID) + + $job = Update-AzureSiteRecoveryProtectionDirection -RecoveryPlan $rp -Direction PrimaryToRecovery -WaitForCompletion + + # Validate_RRRP_JobSucceeded + if ($Validate_RRRP_JobSucceeded -eq $true) + { + $job = Get-AzureSiteRecoveryJob -Id $job.ID + Assert-True { $job.State -eq "Succeeded" } + } + + return; + } + + Assert("No RP found for RRRP"); +} + +<# +.SYNOPSIS +Recovery Services CommitRP Tests +#> +function Test-CommitRP ($vaultSettingsFilePath) +{ + # Import Azure Site Recovery Vault Settings + Import-AzureSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + + $rps = Get-AzureSiteRecoveryRecoveryPlan ; $rps + Assert-NotNull($rps) + Assert-True { $rps.Count -gt 0 } + foreach($rp in $rps) + { + Assert-NotNull($rps.Name) + Assert-NotNull($rps.ID) + + $job = Start-AzureSiteRecoveryCommitFailoverJob -RecoveryPlan $rp -Direction PrimaryToRecovery -WaitForCompletion + + # Validate_PFORP_JobSucceeded + if ($Validate_PFOFailbackRP_JobSucceeded -eq $true) + { + $job = Get-AzureSiteRecoveryJob -Id $job.ID + Assert-True { $job.State -eq "Succeeded" } + } + + return; + } + + Assert("No RP found for CommitRP"); +} + +<# +.SYNOPSIS +Recovery Services FailbackRP Tests +#> +function Test-FailbackRP ($vaultSettingsFilePath) +{ + # Import Azure Site Recovery Vault Settings + Import-AzureSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + + $rps = Get-AzureSiteRecoveryRecoveryPlan ; $rps + Assert-NotNull($rps) + Assert-True { $rps.Count -gt 0 } + foreach($rp in $rps) + { + Assert-NotNull($rps.Name) + Assert-NotNull($rps.ID) + + $job = Start-AzureSiteRecoveryPlannedFailoverJob -Direction RecoveryToPrimary -RecoveryPlan $rp -WaitForCompletion + + # Validate_PFORP_JobSucceeded + if ($Validate_PFOFailbackRP_JobSucceeded -eq $true) + { + $job = Get-AzureSiteRecoveryJob -Id $job.ID + Assert-True { $job.State -eq "Succeeded" } + } + + return; + } + + Assert("No RP found for PFO"); +} + +<# +.SYNOPSIS +Recovery Services PFO Tests +#> +function Test-UFO +{ + param([string] $vaultSettingsFilePath) + + # Import Azure Site Recovery Vault Settings + Import-AzureSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + + $protectionContainers = Get-AzureSiteRecoveryProtectionContainer + Assert-True { $protectionContainers.Count -gt 0 } + Assert-NotNull($protectionContainers) + foreach($protectionContainer in $protectionContainers) + { + Assert-NotNull($protectionContainer.Name) + Assert-NotNull($protectionContainer.ID) + + # Enumerate Protection Entities under each configured Protection Containers + if ($protectionContainer.Role -eq "Primary") + { + $protectionEntities = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $protectionContainer + Assert-NotNull($protectionEntities) + foreach($protectionEntity in $protectionEntities) + { + Assert-NotNull($protectionEntity.Name) + Assert-NotNull($protectionEntity.ID) + if ($protectionEntity.CanFailover -eq $true) + { + $job = Start-AzureSiteRecoveryUnplannedFailoverJob -Direction PrimaryToRecovery -ProtectionEntity $protectionEntity -WaitForCompletion + + # Validate_UFO_JobSucceeded + if ($Validate_UFO_JobSucceeded -eq $true) + { + $job = Get-AzureSiteRecoveryJob -Id $job.ID + Assert-True { $job.State -eq "Succeeded" } + } + + return; + } + } + } + } + + Assert-NotNull($job) "No VM found for UFO" +} + + +<# +.SYNOPSIS +Recovery Services TFO Tests +#> +function Test-TFO +{ + param([string] $vaultSettingsFilePath) + + # Import Azure Site Recovery Vault Settings + Import-AzureSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + + $protectionContainers = Get-AzureSiteRecoveryProtectionContainer + Assert-True { $protectionContainers.Count -gt 0 } + Assert-NotNull($protectionContainers) + foreach($protectionContainer in $protectionContainers) + { + Assert-NotNull($protectionContainer.Name) + Assert-NotNull($protectionContainer.ID) + + # Enumerate Protection Entities under each configured Protection Containers + if ($protectionContainer.Role -eq "Primary") + { + $protectionEntities = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $protectionContainer + Assert-NotNull($protectionEntities) + foreach($protectionEntity in $protectionEntities) + { + Assert-NotNull($protectionEntity.Name) + Assert-NotNull($protectionEntity.ID) + if ($protectionEntity.CanFailover -eq $true) + { + $job = Start-AzureSiteRecoveryTestFailoverJob -Direction PrimaryToRecovery -ProtectionEntity $protectionEntity -WaitForCompletion + + # Validate_TFO_JobSucceeded + if ($Validate_TFO_JobSuspended -eq $true) + { + $job = Get-AzureSiteRecoveryJob -Id $job.ID + Assert-True { $job.State -eq "Suspended" } + } + + # Resume Job + Resume-AzureSiteRecoveryJob -Id $job.ID + if ($Validate_TFO_JobSucceeded -eq $true) + { + $job = Get-AzureSiteRecoveryJob -Id $job.ID + Assert-True { $job.State -eq "Succeeded" } + } + + return; + } + } + } + } + + Assert-NotNull($job) "No VM found for TFO" +} + +<# +.SYNOPSIS +Recovery Services Enable Protection Tests +#> +function Test-EnableProtection +{ + param([string] $vaultSettingsFilePath) + + # Import Azure Site Recovery Vault Settings + Import-AzureSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + + $protectionContainers = Get-AzureSiteRecoveryProtectionContainer + Assert-True { $protectionContainers.Count -gt 0 } + Assert-NotNull($protectionContainers) + foreach($protectionContainer in $protectionContainers) + { + Assert-NotNull($protectionContainer.Name) + Assert-NotNull($protectionContainer.ID) + + # Enumerate Protection Entities under each configured Protection Containers + if ($protectionContainer.Role -eq "Primary") + { + $protectionEntities = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $protectionContainer + Assert-NotNull($protectionEntities) + foreach($protectionEntity in $protectionEntities) + { + Assert-NotNull($protectionEntity.Name) + Assert-NotNull($protectionEntity.ID) + if ($protectionEntity.Protected -eq $false) + { + $job = Set-AzureSiteRecoveryProtectionEntity -ProtectionEntity $protectionEntity -Protection "Enable" -Force -ProtectionProfile $protectionContainer.AvailableProtectionProfiles[0] -WaitForCompletion + Assert-NotNull($job.State) + Assert-NotNull($job.ID) + + # Validate_EnableProtection_JobSucceeded + if ($Validate_EnableProtection_JobSucceeded -eq $true) + { + $job = Get-AzureSiteRecoveryJob -Id $job.ID + Assert-True { $job.State -eq "Succeeded" } "Job state is not not Succeeded. $job.State " + } + + # Validate_EnableProtection_WaitForCanFailover + if ($Validate_EnableProtection_WaitForCanFailover -eq $true) + { + WaitForCanFailover $protectionEntity.ProtectionContainerId $protectionEntity.ID + } + + return; + } + } + } + } + + Assert-NotNull($job) "No VM found for Enable Protection" +} + +<# +.SYNOPSIS +Recovery Services Enable Protection Tests +#> +function Test-DisableProtection +{ + param([string] $vaultSettingsFilePath) + + # Import Azure Site Recovery Vault Settings + Import-AzureSiteRecoveryVaultSettingsFile $vaultSettingsFilePath + + $protectionContainers = Get-AzureSiteRecoveryProtectionContainer + Assert-True { $protectionContainers.Count -gt 0 } + Assert-NotNull($protectionContainers) + foreach($protectionContainer in $protectionContainers) + { + Assert-NotNull($protectionContainer.Name) + Assert-NotNull($protectionContainer.ID) + + # Enumerate Protection Entities under each configured Protection Containers + if ($protectionContainer.Role -eq "Primary") + { + $protectionEntities = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $protectionContainer + Assert-NotNull($protectionEntities) + foreach($protectionEntity in $protectionEntities) + { + Assert-NotNull($protectionEntity.Name) + Assert-NotNull($protectionEntity.ID) + Write-Output "Checking PE" + $protectionEntity + if ($protectionEntity.Protected -eq $true) + { + Write-Output "Disabling protection for PE: " + $protectionEntity.Name + " (" + $protectionEntity.ID + ")" + $job = Set-AzureSiteRecoveryProtectionEntity -ProtectionEntity $protectionEntity -Protection "Disable" -Force -WaitForCompletion + Assert-NotNull($job); + + # Validate_DisableProtection_JobSucceeded + if ($Validate_DisableProtection_JobSucceeded -eq $true) + { + $job = Get-AzureSiteRecoveryJob -Id $job.ID + Assert-True { $job.State -eq "Succeeded" } + } + + return; + } + } + } + } + + Assert-NotNull($job) "No VM found for Disable Protection" +} + +<# +.SYNOPSIS +Recovery Services Enable Protection Tests +#> +function WaitForCanFailover +{ + param([string] $pcId, [string] $peId) + $count = 20 + do + { + Start-Sleep 5 + $pes = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainerId $pcId; + + $count = $count -1; + + Assert-True { $count -gt 0 } "Job did not reached desired state within 5*$count seconds." + + } while(-not ($pes[0].CanFailover -eq $true)) +} + +<# +.SYNOPSIS +Wait for job completion +Usage: + WaitForJobCompletion -JobId $job.ID + WaitForJobCompletion -JobId $job.ID -NumOfSecondsToWait 10 +#> +function WaitForJobCompletion +{ + param([string] $JobId, [Int] $NumOfSecondsToWait = 120) + $endStateDescription = @('Succeeded','Failed','Cancelled','Suspended') + + $timeElapse = 0; + $interval = 5; + do + { + Start-Sleep $interval + $timeElapse = $timeElapse + $interval + $job = Get-AzureSiteRecoveryJob -Id $JobId; + } while((-not ($endStateDescription -ccontains $job.State)) -and ($timeElapse -lt $NumOfSecondsToWait)) + + Assert-True { $endStateDescription -ccontains $job.State } "Job did not reached desired state within $NumOfSecondsToWait seconds." +} diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTestsBase.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTestsBase.cs index bc43a76c1343..d4efb21383fa 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTestsBase.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTestsBase.cs @@ -27,8 +27,8 @@ using Microsoft.WindowsAzure.Management.SiteRecovery; using Microsoft.Azure.Test; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication.Models; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests { @@ -133,8 +133,8 @@ private SiteRecoveryManagementClient GetSiteRecoveryManagementClient() return new SiteRecoveryManagementClient( asrVaultCreds.CloudServiceName, asrVaultCreds.ResourceName, - (SubscriptionCloudCredentials)environment.Credentials, - AzureSession.CurrentContext.Environment.GetEndpointAsUri(AzureEnvironment.Endpoint.ServiceManagement)).WithHandler(HttpMockServer.CreateInstance()); + RecoveryServicesMgmtClient.Credentials, + RecoveryServicesMgmtClient.BaseUri).WithHandler(HttpMockServer.CreateInstance()); } private static bool IgnoreCertificateErrorHandler diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/vaultSettings.vaultcredentials b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/vaultSettings.vaultcredentials index d552da213c75..8cf54d72be01 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/vaultSettings.vaultcredentials +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/vaultSettings.vaultcredentials @@ -1,15 +1,17 @@ - 947a55d7-75e9-4a36-b156-305c6270f018 + a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba HyperVRecoveryManagerVault - rijethma-vault - MIIKkgIBAzCCClIGCSqGSIb3DQEHAaCCCkMEggo/MIIKOzCCBgwGCSqGSIb3DQEHAaCCBf0EggX5MIIF9TCCBfEGCyqGSIb3DQEMCgECoIIE/jCCBPowHAYKKoZIhvcNAQwBAzAOBAjivtKXFlcO0AICB9AEggTYSF0b5V0egu/RWRvOII70eUeOdQXWOoUmV51UHAsxewUZFhqXaaaRLiQTxKpaB4O6jzTYxb4fcgRMzxTD//J8ZchznLWEqc0N8mozihJbrOhPOTmG5bDtkf4K3ipcz+4OktVz5+HWcKJ69GchELKzhyoVlaDZNdjoBGkazThd3qNGhu4Om7sBVW08vf4TG/+vkvNBFGzte1BG1zjOQ5ZRJbaEbjt49dqKShYUoCEJaR/XRW8jfsnUCRpihuVCQuDF02RNpd0tk6koxbMs/qXmspWpKrGxDP3hFnPSXjpwhtPjwbUOgvMN1HBjIkerUoksY3lGtRG+DJ7ulVhszVzVzeC9VcRKOZkcDb9daVcVdr8tibR1yMLgZ/p+ixDOAkKuagpTovCnAk2Q0dFcccQIWKxbSH9Zme8yVOYHegLzvy33is9SXah84JPReQxYk/Lxhig7p3FbNaQB3kX+cRmT6CIl9UIlre986D8jz3eU9viwSRq99XJdDPnQf5hSrrSsyC5UM6ryK3DpTDYimGKXjRLlmiOn6ZRUJnSzNq4dvI8DfYWNKHueMydz6/geOLluSMbxMiyLTrnT6ArI38axIRdlo18MnEWeGRqUtHmKbni1I3KJrXrI3N+SnpBjAaO8FB0dtxl52fZi2D2SBY0J81BC2BkkpHs0nsAnwHMF9AZIx268I0Cj6ypiMyKoBaVPgennLEVzU13lJNZa+qxuCO1rQI0hxGR0pvx/DgGaHtThV3AqZWUafmeIAhs3a3U/6V/5FdX673iCT50jeYzP/2PLkTF1dU3SMCTqff0eVFxrp+izws/FK2mg2Wp+D46AkYBrBuV/7EudpWYldeQeMIIbX+oCMdZK3RSX1Ko9ghacUO/wgOzGXeAHlvTLiejclanUolxXedqxW9u6UOow+a9v8u3+lrVEQ0ti76nwMKhKR6HLU2RdxwgNh3/bdzAoV8vvcO6g4QdotTFj8LhIFIHc3vbpuXX53lQDsGqaK7EsOr40FTEvY+piV34dOFCLPrEOM1jgtsA1uY8CXWUVBb7WAwclOCe3dsM75+rtn0xH4sETz5n0dnKuInwIvmssZdLu6yq4BICaX2nauCg9Hb51vcN8XJ7I3WIeKc5B4PH6BywucSOjV7uW/FM01Mn1TumB5NPEyUY6yiZsgXjN4+QgVG2Zk2cBXk9Ug+TtrtK2Cu8Qtb7moi/4t+bL0MCWpwB2sLdxqCbvsAABOrS73w/q33ulsISluc2DEIFiTBLkjg2RAxEi7kbv3Az8FJrvojL+QO/JxbtT/dx1P3QP3C2kEV+KLQZzyLG1LFf5A/CvK3/TApghhrDc9qrjNtgT4n+sPV5HazDhtoXU0k6q6i/JNZ9GmNyE+c8g7ziGxcOqo6COObOp39Zdcd21LtTiZveqV46uiJmjp1tWlVK47muAaoYSvkNvhh6TtfCuGaDB/xExX3q0aXqHTWE1OVJk5b+Df9Wn1GSbHmxraEk2+ZNfke+SY3aUNHojbzB0QTMAOsjBfJEBX6aVQsmp3t2vjK+UfWhQC4vGmy9S1J+WTCyEIxCWeUE7Oo3mzwM56qRKzkR6pQXKg/wC3sUZU0277YtjR5R5t/XLy9QeHCWLU5/U7LXMWeMdyFCi/lRN/xbN2PfSJJbjkTGB3zATBgkqhkiG9w0BCRUxBgQEAQAAADBbBgkqhkiG9w0BCRQxTh5MAHsANQA1ADkAQwBEADcAMAA2AC0AOQBCADIAQwAtADQARABEADEALQA4ADMANAA0AC0AMgAzAEMAMQBBADgAQQA1ADUANABBADAAfTBrBgkrBgEEAYI3EQExXh5cAE0AaQBjAHIAbwBzAG8AZgB0ACAARQBuAGgAYQBuAGMAZQBkACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcgAgAHYAMQAuADAwggQnBgkqhkiG9w0BBwagggQYMIIEFAIBADCCBA0GCSqGSIb3DQEHATAcBgoqhkiG9w0BDAEGMA4ECBzFvJHmVDhPAgIH0ICCA+Daoyui9rlgyxQooyvXdJBmkaJ+7vK3WquK6EilT+q/ppzXh9EQwLpZO0PG35QJG0ukQJi/tL3u3rq8TwFL8G0KNj0DzjukDymJgknXUbh8RxyWO8I5DRoCnJBVuj7E8/vxylEfC80HTUkrQrHf/GtfCAxzK5zk9I4yRrwCuVApGBJT9P6rRJDt1QBelUEhfPyCGV2qL0YfN4XtgnrA9Y8j9C7/pk0XJrxp1nZ7CLee/vj380+4DZLdqqylotHXu3XOBfdN0XoMQliq6ETF1NWz5uCL74ZskWIQ28iYheCrNPcUiG1eaALGUGX1WLVYeqk2ZK+bLRJkV3QeVu42XPfAmtvcGSBCz//6H0s3jGF00HRLey1oRExdG1rJ2NYTaBZlMejDeCNuNz1/k1PS4klEr7z5tUV2jAHIX8waT6YHvxph8Roa8Vv7+nXv+ZjiQPxse1L/Xr9Ph39CKHL5wSrDt8C6gcZsYXpt2RWY9maFHTMngPC7DzIe9UQNUStOySMIgx9ARJdXw6yM5iWiyBiNnxhJopnbnplKNhNuglKkZBM2/NbInGMld34p/7/5n7acMYsZPBDyeHqpXi5sFAgAgo9JRU3TD0oaKdGY+Y6ikJD958T1Htn++UDR7BoGqrwE2xeEvchlqUcMFoT89GnApNsWRKaatnh9RnWcZV57iQ5L8MDTZTMHTmxKSQs7BG+CUgTZX3qnZEFZ3gnTxJ5BKeo4KG8L8q3yqiFXifEaOMe0ENoEGn55CODvEPoBQbfY5tMI8jR1lNcVDjnepWycsXxQK0HP036Zsk80hlUICjEHqOxaSRq6Ox6TQPuAg+vWxhHuUC+XJ6Ip4mX0pW8bFW0yxe5CvJriGEh2pzdwvSMIbBii6NHC/hlpfpRNniRS4QW4LLW3E7sbIt1JtVWAMe16MTTWUh4tK/Fi5Eif7c+IPbK9hrqsk68qdUZkmeDdPYVnce8XqwzsFRmQslhycsn8oD0ouoMpCuIJ9LDAwlxpPDedgmAhULnOtI/8l+fu/AAsXhWxSDUi6fvhJGGngrHq3ocCYvi+gQ2WygLG0N1dmFsEwrpfHacFAUiN9L4j8fIjoLKy1786RmGlvnU1jNqrJe2zGXGOcd3TK7qx7T9WEintpFPStOtlIh4CrpEmeonrEWNwCxANulQaGpVIvjPERzKJVzfmLBu6MLF70N8GWczAk/tkrgtCQfal6q1bSbqJOiEBnZAhyI5yrmarkBFCNXouCsHsNlCp/w5eUI9c6bmXqU6P8bbmWx5VgSJwoH2l7ApgjrnAZcJ/UPQ0bGXVpycuB/BF2AmhlctZZjA3MB8wBwYFKw4DAhoEFLMany4kyUvsnfDJQYEv1hTJk6vPBBSE1OCCh1pspUroTmnWdX6KbYTo+w== + Hosters-FC-BVT-Vault + MIIKogIBAzCCCmIGCSqGSIb3DQEHAaCCClMEggpPMIIKSzCCBgwGCSqGSIb3DQEHAaCCBf0EggX5MIIF9TCCBfEGCyqGSIb3DQEMCgECoIIE/jCCBPowHAYKKoZIhvcNAQwBAzAOBAjlStiPHQg9+QICB9AEggTYLwka9iU+N3DBRbOyHcxT4lZmynM2/H2xbBIMjOAJ51N5MdYd0utYYhRVn4zpY3UOMDyDvE0n35ed7LXHrjurMMGPc3bf7ToRHzd3HA//n+N4WmTbCsrFbbxljIdnlULEG/rfjMAPfJkIJOnDIj1kRgGSBf7LO0JM+gJri/cttZt026ld1eUeCxZOUgw+CGFl3skwhaqfPT1lFQpzOLOjY66C2ppLo9xbm+Z9j/3B4d54/PTXIFgFGZuYwHkouqTS19XuhmfuRXJPwPfEN/4w4tmmlamQG5B2n+Ug6xa6j9XFhGVj+w2kaBlxuQPlK8M1VJGNn9ZXXQeCVf4IoxqIaXZZ5TAwiEEeG3NGUhZauL6tmjjAbi6dAtYjzNBy8eqvvb/230M5C84LmwnGjWqCkmaDmv2yAb94mTbnzQIP6I2xon3UGPXpOdxY3CIo/kMFE+vOU560EBOPCLTYquRXs/JF+xKd7IUIauFCAamnJVTW8FCepQtyZw6GEBX345GIpnyJrCQ7zHW4rhiWtIrKgiJGT2JcveFbVoWAu1Gx6WTdRvpoTG4wsbhRxj4Ds1Tsvo4W9g7tBNGFptnPPyxRycH0BgCLxyne8Zfszxlw1w0BZrcOU2fLH+bWhxSd0ZyUd/xVgQzk08mJllV3RiWAdpB7+Y9ZYxgcnNgRVctr08ZMYhbF4eSzPK59EwoCeDlwlTQeNyD2Szk+6iuJ9Wft9D9zX3/YFZZxyo+SnW4cu9VqGY5ZjxnqW3RdxafBcL7mzm/fi7Kdld0bLdosb/WsJi9VtkHOrxSLnux1fG6ITG9EQIKLH98Fa2/DbB3QSycV3xWVt64ikTfKOiC0DfOvQplKHXdr8mDFvzPw4NW1ElJ/k5Twg/lF1yacfXxyw2YEOoSCwCBOWYtsh1+j5A2RWYrNs3Ov/zZw0IEoZDvhW5In6pa2Os9l/7hRNWuVEkfmnmn6LK6NDBdqvWiGEUUHxs23a3od3mOxI1VZVf7xahIHroQqZmIKDAZDaM6lBgTc6UaDl2lLQF21odXo5VN7p9maLYSgNa1mgDGfq6G+6PRIRB1cXJ5V+tn8823PbG9pMaqfY7rAgzy/rs2ombe15DyAamZ8qucdINJpB1Txi5Q7QbUU+TZeYKPUNbuxZKdWFkWIVO+gisApBi12UfDjvwcozqMtrq/d08nrXZ+XHIh+AWOvmw34dFOCNmqpo/G+RX4OEtVCwl7sIM4WfgY95Z/5Bwgv39MNRSPw3hx0lBm67dB8+NViflLg50LdADmmgcffwiK8/8INpyT1Cm3/pFt3HzsqE/hhvf+T8+b2wloTrXdTT2pr6zkmUni3dL7+e95FLcwYpyfSepdzeGPGe4f88M1cTc2GI5Magr4Su5NjkUzURW8xrdLxZR+7LNhDSYFp0pUktTS//61DewGW1u8jE6viGtwvhFSo4cGS5Bk849CLqox7hfDMGEihf7z20UPGxGC1SKDq+HlKKM3yWrkcVbfOQ4YswHYnoBONGAuRFSONRgNXnU0cj5w7M+44ZR877Ky1hpvqfh8+4UTb6q6qgVfCYYBXZcsCqkJHDYRs1zF99uQcMmEaY9ObvlcaiqPOUfl6mYxe+wkQRFKbVqmTYm7JGDVI7xYs7w81ybZ5fGUiiEZtfDGB3zATBgkqhkiG9w0BCRUxBgQEAQAAADBbBgkqhkiG9w0BCRQxTh5MAHsARQBCADAARQA2AEYAQgBBAC0AMgBDAEEAQQAtADQAMgA2AEYALQA5ADUAQgAwAC0AQQAwAEEARABCAEUARQBGAEIANQBDAEMAfTBrBgkrBgEEAYI3EQExXh5cAE0AaQBjAHIAbwBzAG8AZgB0ACAARQBuAGgAYQBuAGMAZQBkACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcgAgAHYAMQAuADAwggQ3BgkqhkiG9w0BBwagggQoMIIEJAIBADCCBB0GCSqGSIb3DQEHATAcBgoqhkiG9w0BDAEGMA4ECObDECIH2IrYAgIH0ICCA/C7ZOqutryXxufFIUfrhikHCOnA9pJEDyn/fp3/KJIrO8oW6a04seWGm8hxOl/lbe8fSpcTPJTaSaw3z5/ACSZQtZQGddjqGmvMVOFldPtyPIsbvZC8WJSQYC/3BrOTRA7dUzLoCHpTSvcQcoKOpvhnqeMqrSbklvFr9xXqPSVeY7tzEThDyEYzFwr9/NvDmizFIR11Bt6N/1Ql8Kc5wsJewYO6KJHhXX+gmf0FHVdRTBmANGmR+Z7XYV76Vu/NMHEQiRBlfhXuZ2JVfLkawB13fseskTyqJ3WXeddV37uCJEllDXvSZ2VjKAG6xYtKJajAoF1zlQ/zcug8q7c/CqXMPrFieGPTUFHO3ZH5qy9rcKn6sD7WiQgdc56IBBGjs+WEG+UZgAJ80QWjLDhOlPnBA3IFyEAqrbOqcxz8rzm94khd3lM0LMv6mn7920hI4w+33HE3995XMbV2EARgsl/hSj+4Z8qGJvA/OrNVnS4cj3KNaGtu3qWCmh1LoA5ddQT/ndihH0Ne939uld49UObFazVx72ZKfxDFIXprLS1ObVXYr0gl2JgBBLrvmJRTbHXpfObLqr7SFi3oNuvhHUDb9Vv82EeGlZg0Tyj0A8VPBNjFQug8LXQCeXeH94LWZxAa51T48kiCWPEc41jwCx6SZ5zD2eeZbn1gx0K6MXnd7AdKxDHQKqPd3O1L/hyhB6Y7hzTrR20EsA+YvgjtnG8GMPjG3RJ0nid92leP2/FUz5R39VhOzVLSfc3+cxQlifi0VI+IzPaDzm7NA4DnBajiWGQDq8TyX0V4z1tk5sKTvHEVrmVszfyaR+PFDclfsJIV8quNpltMiugw6c+ecfQl8FCR7mWdl5CfuRpe631yRov3s5InCjJ2rcUB0CZN5MTCi67JEJCbXToNVbaXp73YorZ36Gg2RdgGq4xfux+F/AlPHN3Z13ojsf/j7oPuyA0Eti/tr9WG5Gj/6Mzs83xRacPBUKdPIRFRx6PzLSVHBoS3tpkCu9V5zN5N1T2boX5nquWgLIgXUa+NxCg2mF9u8pV9jMJgq41OoWdcGkimxYEuC/8ftYO60W7SDukdnBlA87ZJdeDBUDB/cjyBdludrBWH0fy86fXrEGSK3Ydjm9TXKgiGdc7S5MXA8dTl/ToedoHF0BmTdMY+H65uc5h9KkJ41lxoawYClm5RhZR53j0FJJ36Y1gPzS2GZRqXR+FwuDZ0ODEvrLf9aRV6DgZd/xtTGLon13IlopAY/r+Xscu0/aMHzKdo9xtS2IPne4dmMNN/l5jpzeW/O4hYCnLG7uZFFfBfz3bLH1HZCYOQUjraQyQsN5phpUyDgl4IU7cwNzAfMAcGBSsOAwIaBBQ4lvc+o9joslOGjdNDPn06TYmo8gQUR5J5HwDviE87f215rUz3C7nExp8= accesscontrol.windows.net seabvtd2rp1users http://windowscloudbackup/m3 - fcWypqGV1kzbl0Znfy4HcQ== - RecoveryServices-BKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-west-us + mock#ACIK + RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US + + 1.0 \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/AzureNetworkMappingTest.json b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/AzureNetworkMappingTest.json new file mode 100644 index 000000000000..446b1c72d457 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/AzureNetworkMappingTest.json @@ -0,0 +1,358 @@ +{ + "Entries": [ + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "ce95360f80a3952393bf3c36498fe5f6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 20 Feb 2015 12:28:26 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "b1073b9c707c912cbd28d01f1adbac3b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 20 Feb 2015 12:28:27 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "add43703f1349b29a2a1c27069b5ef82" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 20 Feb 2015 12:28:31 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "6e7fbbb58dda9e9ab0e709c7b3739734" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 20 Feb 2015 12:28:33 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Servers?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1NlcnZlcnM/YXBpLXZlcnNpb249MjAxNS0wMi0xMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "6dd01400-d5fb-48bd-b767-6070f3faa343-2015-02-20 12:28:27Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n HRM-04-019.dratest.nttest.microsoft.com\r\n true\r\n 2015-02-20T12:27:29.7746047Z\r\n 3.5.708.0\r\n 3.2.7768.0\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n VMM\r\n \r\n \r\n dc1ed9b2-7b90-4534-9977-12881d278fb5\r\n HRM-04-021.dratest.nttest.microsoft.com\r\n true\r\n 2015-02-20T12:27:28.585565Z\r\n 3.5.708.0\r\n 3.2.7768.0\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5\r\n VMM\r\n VMM\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "928" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "6dd01400-d5fb-48bd-b767-6070f3faa343-2015-02-20 12:28:27Z-P" + ], + "x-ms-request-id": [ + "872aa1aa72339e489104d955fb3acd7f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 20 Feb 2015 12:28:30 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Networks?api-version=2015-02-10&ServerId=774859b0-1966-48cc-9df7-759c441b7a8c", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L05ldHdvcmtzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTAmU2VydmVySWQ9Nzc0ODU5YjAtMTk2Ni00OGNjLTlkZjctNzU5YzQ0MWI3YThj", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "97a7dcd0-e742-430d-87e5-a176ae0db847-2015-02-20 12:28:31Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 2fbfbdd9-5609-4625-ba7f-e478424e6445\r\n phase2PrimaryVMNetwork\r\n 2fbfbdd9-5609-4625-ba7f-e478424e6445\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n NoIsolation\r\n \r\n \r\n \r\n f3da261e-5114-4bdf-8d61-d65997950a4f\r\n phase2RecoveryVMNetwork\r\n f3da261e-5114-4bdf-8d61-d65997950a4f\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n NoIsolation\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "760" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "97a7dcd0-e742-430d-87e5-a176ae0db847-2015-02-20 12:28:31Z-P" + ], + "x-ms-request-id": [ + "5e717b6b166590ad8ed03776f68af811" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 20 Feb 2015 12:28:33 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/NetworkMappings?api-version=2015-02-10&PrimaryServerId=774859b0-1966-48cc-9df7-759c441b7a8c&RecoveryServerId=21a9403c-6ec1-44f2-b744-b4e50b792387", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L05ldHdvcmtNYXBwaW5ncz9hcGktdmVyc2lvbj0yMDE1LTAyLTEwJlByaW1hcnlTZXJ2ZXJJZD03NzQ4NTliMC0xOTY2LTQ4Y2MtOWRmNy03NTljNDQxYjdhOGMmUmVjb3ZlcnlTZXJ2ZXJJZD0yMWE5NDAzYy02ZWMxLTQ0ZjItYjc0NC1iNGU1MGI3OTIzODc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "88c2ca60-f0f9-4006-b1e6-4cc76c0f324f-2015-02-20 12:28:33Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "126" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "88c2ca60-f0f9-4006-b1e6-4cc76c0f324f-2015-02-20 12:28:33Z-P" + ], + "x-ms-request-id": [ + "9f7a9f2e91709d268b66897a45faa572" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 20 Feb 2015 12:28:34 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/CommitPFOTest.json b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/CommitPFOTest.json new file mode 100644 index 000000000000..10e5a5852074 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/CommitPFOTest.json @@ -0,0 +1,358 @@ +{ + "Entries": [ + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "8d4f95832bcdc1dfa9f428f559fcbb1e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:09:57 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "10bc6d368874c04f936b895a42c20da3" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:09:58 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "14b87a5bb93dce3c8134ce3632dad856" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:10:02 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "46736d89365dc52995a3bbdd404a711d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:10:05 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionContainers?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "9045c699-1f21-4d14-b84f-644fd9c0510c-2015-02-23 15:10:00Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n Primary\r\n \r\n \r\n 7580cb43-decf-4e66-aee3-40718d11fec8\r\n 7580cb43-decf-4e66-aee3-40718d11fec8\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n Paired\r\n \r\n \r\n true\r\n 0\r\n HyperVReplica\r\n <HyperVReplicaProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <AllowedAuthenticationType>1</AllowedAuthenticationType>\r\n <ApplicationConsistentSnapshotFrequencyInHours>1</ApplicationConsistentSnapshotFrequencyInHours>\r\n <CompressionEnabled>true</CompressionEnabled>\r\n <OfflineReplicationExportPath />\r\n <OfflineReplicationImportPath />\r\n <OnlineReplicationMethod>true</OnlineReplicationMethod>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPoints>1</RecoveryPoints>\r\n <ReplicaDeletionOption>SecondaryVMOnRecoveryCloud</ReplicaDeletionOption>\r\n <ReplicationPort>8083</ReplicationPort>\r\n <ReplicationFrequencyInSeconds>0</ReplicationFrequencyInSeconds>\r\n</HyperVReplicaProtectionProfileDetails>\r\n \r\n \r\n c58179df-ae75-4098-90e9-dcd8c7934784\r\n c58179df-ae75-4098-90e9-dcd8c7934784\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n Paired\r\n \r\n \r\n true\r\n 0\r\n HyperVReplica\r\n <HyperVReplicaProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <AllowedAuthenticationType>1</AllowedAuthenticationType>\r\n <ApplicationConsistentSnapshotFrequencyInHours>1</ApplicationConsistentSnapshotFrequencyInHours>\r\n <CompressionEnabled>true</CompressionEnabled>\r\n <OfflineReplicationExportPath />\r\n <OfflineReplicationImportPath />\r\n <OnlineReplicationMethod>true</OnlineReplicationMethod>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPoints>1</RecoveryPoints>\r\n <ReplicaDeletionOption>SecondaryVMOnRecoveryCloud</ReplicaDeletionOption>\r\n <ReplicationPort>8083</ReplicationPort>\r\n <ReplicationFrequencyInSeconds>300</ReplicationFrequencyInSeconds>\r\n</HyperVReplicaProtectionProfileDetails>\r\n \r\n \r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n Cloud_0_2bb286ca_78225OE72093\r\n Primary\r\n \r\n \r\n b6a2ef89-347c-48c5-b33b-5b8bd8ac8154\r\n b6a2ef89-347c-48c5-b33b-5b8bd8ac8154\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n Microsoft Azure\r\n PairingFailed\r\n \r\n \r\n true\r\n 0\r\n HyperVReplicaAzure\r\n <HyperVReplicaAzureProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ActiveStorageAccount>\r\n <StorageAccountName>hostersfcbvtvaulte423371</StorageAccountName>\r\n <SubscriptionId>e423371c-63cd-497e-b5b0-eb6d0b306d7e</SubscriptionId>\r\n </ActiveStorageAccount>\r\n <ApplicationConsistentSnapshotFrequencyInHours>0</ApplicationConsistentSnapshotFrequencyInHours>\r\n <EncryptionEnabled>false</EncryptionEnabled>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPointHistoryDuration>0</RecoveryPointHistoryDuration>\r\n <ReplicationInterval>300</ReplicationInterval>\r\n</HyperVReplicaAzureProtectionProfileDetails>\r\n \r\n \r\n 9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n \r\n \r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n cloudOn21\r\n Recovery\r\n \r\n 3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n VMM\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5\r\n VMM\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "6178" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "9045c699-1f21-4d14-b84f-644fd9c0510c-2015-02-23 15:10:00Z-P" + ], + "x-ms-request-id": [ + "5bcf60261a80c79ba83e93a378acb4f5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:10:01 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionContainers/774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3/ProtectionEntities?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzLzc3NDg1OWIwLTE5NjYtNDhjYy05ZGY3LTc1OWM0NDFiN2E4Y180OTRjMDk5My1jYzM1LTRkODQtYjM3My1iZjFhMjNiZTIxZDMvUHJvdGVjdGlvbkVudGl0aWVzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "bfaa3479-f218-48e0-90bd-d0023423fb05-2015-02-23 15:10:04Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 80c84984-5923-481d-9689-b86c6c82c595\r\n vmOn19\r\n \r\n false\r\n false\r\n false\r\n f8eaff17-9c08-4a81-92de-44d4a7123277\r\n false\r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n \r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n \r\n \r\n \r\n <AzureVmDiskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <Disks>\r\n <VirtualHardDisk>\r\n <Id>ff4d0f4f-1657-4667-b8b0-a68b19383a57</Id>\r\n <Name>vmOn19_disk_1</Name>\r\n </VirtualHardDisk>\r\n </Disks>\r\n <MaxSizeMB>40960</MaxSizeMB>\r\n <OsDisk>vmOn19_disk_1</OsDisk>\r\n <OsType>Windows</OsType>\r\n <VHDId>ff4d0f4f-1657-4667-b8b0-a68b19383a57</VHDId>\r\n</AzureVmDiskDetails>\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1480" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "bfaa3479-f218-48e0-90bd-d0023423fb05-2015-02-23 15:10:04Z-P" + ], + "x-ms-request-id": [ + "f660fec51368cc348e86d33cb93f46e6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:10:04 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionContainers/774859b0-1966-48cc-9df7-759c441b7a8c_9055598c-844b-4943-9f39-7e62bdd2cbcc/ProtectionEntities?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzLzc3NDg1OWIwLTE5NjYtNDhjYy05ZGY3LTc1OWM0NDFiN2E4Y185MDU1NTk4Yy04NDRiLTQ5NDMtOWYzOS03ZTYyYmRkMmNiY2MvUHJvdGVjdGlvbkVudGl0aWVzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "daa0c250-485b-4a39-a052-f5f3c1ab3cb3-2015-02-23 15:10:07Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "128" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "daa0c250-485b-4a39-a052-f5f3c1ab3cb3-2015-02-23 15:10:07Z-P" + ], + "x-ms-request-id": [ + "680ce7382743c51e8389d5c8f7462c93" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:10:08 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/DisableProtectionTest.json b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/DisableProtectionTest.json new file mode 100644 index 000000000000..f4ab0d747411 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/DisableProtectionTest.json @@ -0,0 +1,358 @@ +{ + "Entries": [ + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "2db5d8074abfcc76ba306a2726328ebb" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:13:48 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "727c05b5ffdbcc1e97eb9eeb96e297e0" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:13:50 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "3b3fe1fff59dc763a8ed4e51a611ce9e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:13:55 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "f6b047439817c3b0b60057afd510c4f0" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:13:57 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionContainers?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "2aea8259-870f-4270-846c-b4860c7b4d9b-2015-02-23 15:13:51Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n Primary\r\n \r\n \r\n 7580cb43-decf-4e66-aee3-40718d11fec8\r\n 7580cb43-decf-4e66-aee3-40718d11fec8\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n Paired\r\n \r\n \r\n true\r\n 0\r\n HyperVReplica\r\n <HyperVReplicaProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <AllowedAuthenticationType>1</AllowedAuthenticationType>\r\n <ApplicationConsistentSnapshotFrequencyInHours>1</ApplicationConsistentSnapshotFrequencyInHours>\r\n <CompressionEnabled>true</CompressionEnabled>\r\n <OfflineReplicationExportPath />\r\n <OfflineReplicationImportPath />\r\n <OnlineReplicationMethod>true</OnlineReplicationMethod>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPoints>1</RecoveryPoints>\r\n <ReplicaDeletionOption>SecondaryVMOnRecoveryCloud</ReplicaDeletionOption>\r\n <ReplicationPort>8083</ReplicationPort>\r\n <ReplicationFrequencyInSeconds>0</ReplicationFrequencyInSeconds>\r\n</HyperVReplicaProtectionProfileDetails>\r\n \r\n \r\n c58179df-ae75-4098-90e9-dcd8c7934784\r\n c58179df-ae75-4098-90e9-dcd8c7934784\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n Paired\r\n \r\n \r\n true\r\n 0\r\n HyperVReplica\r\n <HyperVReplicaProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <AllowedAuthenticationType>1</AllowedAuthenticationType>\r\n <ApplicationConsistentSnapshotFrequencyInHours>1</ApplicationConsistentSnapshotFrequencyInHours>\r\n <CompressionEnabled>true</CompressionEnabled>\r\n <OfflineReplicationExportPath />\r\n <OfflineReplicationImportPath />\r\n <OnlineReplicationMethod>true</OnlineReplicationMethod>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPoints>1</RecoveryPoints>\r\n <ReplicaDeletionOption>SecondaryVMOnRecoveryCloud</ReplicaDeletionOption>\r\n <ReplicationPort>8083</ReplicationPort>\r\n <ReplicationFrequencyInSeconds>300</ReplicationFrequencyInSeconds>\r\n</HyperVReplicaProtectionProfileDetails>\r\n \r\n \r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n Cloud_0_2bb286ca_78225OE72093\r\n Primary\r\n \r\n \r\n b6a2ef89-347c-48c5-b33b-5b8bd8ac8154\r\n b6a2ef89-347c-48c5-b33b-5b8bd8ac8154\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n Microsoft Azure\r\n PairingFailed\r\n \r\n \r\n true\r\n 0\r\n HyperVReplicaAzure\r\n <HyperVReplicaAzureProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ActiveStorageAccount>\r\n <StorageAccountName>hostersfcbvtvaulte423371</StorageAccountName>\r\n <SubscriptionId>e423371c-63cd-497e-b5b0-eb6d0b306d7e</SubscriptionId>\r\n </ActiveStorageAccount>\r\n <ApplicationConsistentSnapshotFrequencyInHours>0</ApplicationConsistentSnapshotFrequencyInHours>\r\n <EncryptionEnabled>false</EncryptionEnabled>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPointHistoryDuration>0</RecoveryPointHistoryDuration>\r\n <ReplicationInterval>300</ReplicationInterval>\r\n</HyperVReplicaAzureProtectionProfileDetails>\r\n \r\n \r\n 9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n \r\n \r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n cloudOn21\r\n Recovery\r\n \r\n 3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n VMM\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5\r\n VMM\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "6178" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "2aea8259-870f-4270-846c-b4860c7b4d9b-2015-02-23 15:13:51Z-P" + ], + "x-ms-request-id": [ + "f6efb3f45c15cdbb87cdcf8b09fee595" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:13:54 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionContainers/774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3/ProtectionEntities?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzLzc3NDg1OWIwLTE5NjYtNDhjYy05ZGY3LTc1OWM0NDFiN2E4Y180OTRjMDk5My1jYzM1LTRkODQtYjM3My1iZjFhMjNiZTIxZDMvUHJvdGVjdGlvbkVudGl0aWVzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "14f1523b-9d73-4e47-bbc3-d35db91c5d52-2015-02-23 15:13:56Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 80c84984-5923-481d-9689-b86c6c82c595\r\n vmOn19\r\n \r\n false\r\n false\r\n false\r\n f8eaff17-9c08-4a81-92de-44d4a7123277\r\n false\r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n \r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n \r\n \r\n \r\n <AzureVmDiskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <Disks>\r\n <VirtualHardDisk>\r\n <Id>ff4d0f4f-1657-4667-b8b0-a68b19383a57</Id>\r\n <Name>vmOn19_disk_1</Name>\r\n </VirtualHardDisk>\r\n </Disks>\r\n <MaxSizeMB>40960</MaxSizeMB>\r\n <OsDisk>vmOn19_disk_1</OsDisk>\r\n <OsType>Windows</OsType>\r\n <VHDId>ff4d0f4f-1657-4667-b8b0-a68b19383a57</VHDId>\r\n</AzureVmDiskDetails>\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1480" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "14f1523b-9d73-4e47-bbc3-d35db91c5d52-2015-02-23 15:13:56Z-P" + ], + "x-ms-request-id": [ + "43ed088482ddc5eabfe485b195c7c5d5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:13:56 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionContainers/774859b0-1966-48cc-9df7-759c441b7a8c_9055598c-844b-4943-9f39-7e62bdd2cbcc/ProtectionEntities?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzLzc3NDg1OWIwLTE5NjYtNDhjYy05ZGY3LTc1OWM0NDFiN2E4Y185MDU1NTk4Yy04NDRiLTQ5NDMtOWYzOS03ZTYyYmRkMmNiY2MvUHJvdGVjdGlvbkVudGl0aWVzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "9a4edab7-cdf6-4740-9c78-3e57e86a7eca-2015-02-23 15:13:59Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "128" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "9a4edab7-cdf6-4740-9c78-3e57e86a7eca-2015-02-23 15:13:59Z-P" + ], + "x-ms-request-id": [ + "4f64c2536746c90b910d5098cfecc416" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:13:59 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/E2E_CreateAndAssociateTest.json b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/E2E_CreateAndAssociateTest.json new file mode 100644 index 000000000000..53a8c4bb4fad --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/E2E_CreateAndAssociateTest.json @@ -0,0 +1,2221 @@ +{ + "Entries": [ + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "334fdf1ad69fceee879f79e713de00a5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:05:22 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "75dd6e349783c4fa94345c5f252fb0a2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:05:23 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "c9987cd9eaddcce8aaa6a5264cee9b2b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:05:29 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "03822990adc1c432af40232928c50e7a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:05:37 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "85b33729332ec141860fe4d44711a255" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:05:46 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "8713a2ba1506ce93a916abd9f5d46902" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:05:53 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "a06405d33d09cdc992cf9b5694c66091" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:06:01 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "e018563c9b62ce10902db65c70c41f5f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:06:08 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "b46d871773f2c696a512978bd611662f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:06:15 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "56d93bea6316c6fcbe3bc75897d10073" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:06:23 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "08b28dc62655c9f49559e55e029b43b5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:06:31 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "da0373bd6184cdb5974707bc6792bbac" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:06:38 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "a4403f11a2f9cacb96dfe23191d0c4ae" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:06:46 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "727a321b9a9dc7e3baadf46eb944425a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:06:53 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "747ca88866b6c620a8f6be6dd4f34b8f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:07:01 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "c4b140ea7ce7cf458af051ee5cbe7159" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:07:08 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "5e021593dbcdc383a71d599ea730e775" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:07:16 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "76304f1b345fc02cbc147a2ed775311e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:07:23 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "bbbc098700adcdb195e6ad123732a571" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:07:31 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "c4f4db536efecb338d1be8bad3afab63" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:07:38 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "33fa781ef23bcba3b3a3480eb9ef5ce3" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:07:45 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "2f8f523d48acc4bb86825bf0725eb327" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:07:48 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionContainers?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "fe3a8086-dbe4-4b89-aa41-b402c656bd89-2015-02-23 15:05:24Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n \r\n \r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n Cloud_0_2bb286ca_78225OE72093\r\n Primary\r\n \r\n \r\n b6a2ef89-347c-48c5-b33b-5b8bd8ac8154\r\n b6a2ef89-347c-48c5-b33b-5b8bd8ac8154\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n Microsoft Azure\r\n PairingFailed\r\n \r\n \r\n true\r\n 0\r\n HyperVReplicaAzure\r\n <HyperVReplicaAzureProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ActiveStorageAccount>\r\n <StorageAccountName>hostersfcbvtvaulte423371</StorageAccountName>\r\n <SubscriptionId>e423371c-63cd-497e-b5b0-eb6d0b306d7e</SubscriptionId>\r\n </ActiveStorageAccount>\r\n <ApplicationConsistentSnapshotFrequencyInHours>0</ApplicationConsistentSnapshotFrequencyInHours>\r\n <EncryptionEnabled>false</EncryptionEnabled>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPointHistoryDuration>0</RecoveryPointHistoryDuration>\r\n <ReplicationInterval>300</ReplicationInterval>\r\n</HyperVReplicaAzureProtectionProfileDetails>\r\n \r\n \r\n 9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n \r\n \r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n cloudOn21\r\n \r\n \r\n 3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n VMM\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5\r\n VMM\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "2814" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "fe3a8086-dbe4-4b89-aa41-b402c656bd89-2015-02-23 15:05:24Z-P" + ], + "x-ms-request-id": [ + "5f3e15546504c177bbedd9205ca7eb3e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:05:27 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionProfiles/CreateAndAssociate?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Qcm9maWxlcy9DcmVhdGVBbmRBc3NvY2lhdGU/YXBpLXZlcnNpb249MjAxNS0wMi0xMA==", + "RequestMethod": "POST", + "RequestBody": "\r\n \r\n cloudOn19\r\n HyperVReplica\r\n <HyperVReplicaProtectionProfileInput xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <AllowReplicaDeletion>true</AllowReplicaDeletion>\r\n <AllowedAuthenticationType>1</AllowedAuthenticationType>\r\n <ApplicationConsistentSnapshotFrequencyInHours>1</ApplicationConsistentSnapshotFrequencyInHours>\r\n <CompressionEnabled>true</CompressionEnabled>\r\n <OfflineReplicationExportPath i:nil=\"true\" />\r\n <OfflineReplicationImportPath i:nil=\"true\" />\r\n <OnlineReplicationMethod>true</OnlineReplicationMethod>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPoints>1</RecoveryPoints>\r\n <ReplicationPort>8083</ReplicationPort>\r\n <ReplicationFrequencyInSeconds>300</ReplicationFrequencyInSeconds>\r\n</HyperVReplicaProtectionProfileInput>\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n \r\n", + "RequestHeaders": { + "Content-Type": [ + "application/xml" + ], + "Content-Length": [ + "1598" + ], + "Accept": [ + "application/xml" + ], + "Agent-Authentication": [ + "{\"NotBeforeTimestamp\":\"\\/Date(1424700329880)\\/\",\"NotAfterTimestamp\":\"\\/Date(1424721929880)\\/\",\"ClientRequestId\":\"4dbbe24a-673b-4380-88a4-f1060d673ca4-2015-02-23 15:05:29Z-P\",\"HashFunction\":\"HMACSHA256\",\"Hmac\":\"NFrR9g+7oUyzw/GqjxaQW75rYnPsx7pfpflIt7eN8oA=\",\"Version\":{\"Major\":1,\"Minor\":2,\"Build\":-1,\"Revision\":-1,\"MajorRevision\":-1,\"MinorRevision\":-1},\"PropertyBag\":{}}" + ], + "x-ms-client-request-id": [ + "4dbbe24a-673b-4380-88a4-f1060d673ca4-2015-02-23 15:05:29Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n dba6e09f-21f4-441b-8108-22d07f96c9e8\r\n 4dbbe24a-673b-4380-88a4-f1060d673ca4-2015-02-23 15:05:29Z-P\r\n \r\n \r\n \r\n \r\n \r\n \r\n NotStarted\r\n NotStarted\r\n \r\n \r\n ProtectionEntity\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "629" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "4dbbe24a-673b-4380-88a4-f1060d673ca4-2015-02-23 15:05:29Z-P" + ], + "x-ms-request-id": [ + "4005aa7ab540c75e829b913267be9ff0" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:05:31 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/dba6e09f-21f4-441b-8108-22d07f96c9e8?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvZGJhNmUwOWYtMjFmNC00NDFiLTgxMDgtMjJkMDdmOTZjOWU4P2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "edf89d2f-54db-49f6-b76f-0ede68f223d1-2015-02-23 15:05:38Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n dba6e09f-21f4-441b-8108-22d07f96c9e8\r\n 4dbbe24a-673b-4380-88a4-f1060d673ca4-2015-02-23 15:05:29Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Protection configuration\r\n \r\n \r\n CloudPairing\r\n 2/23/2015 3:05:31 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Configuring Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\" />\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n</InlineWorkflowTaskDetails>\r\n 0001-01-01T00:00:00\r\n NotStarted\r\n NotStarted\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Configuring Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\" />\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n</InlineWorkflowTaskDetails>\r\n 0001-01-01T00:00:00\r\n NotStarted\r\n NotStarted\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "2501" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "edf89d2f-54db-49f6-b76f-0ede68f223d1-2015-02-23 15:05:38Z-P" + ], + "x-ms-request-id": [ + "88a9da25ad26cec6bf209034ca93c265" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:05:39 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/dba6e09f-21f4-441b-8108-22d07f96c9e8?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvZGJhNmUwOWYtMjFmNC00NDFiLTgxMDgtMjJkMDdmOTZjOWU4P2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "16586ff0-b917-4a4b-87c0-4f11a9bc1927-2015-02-23 15:05:46Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n dba6e09f-21f4-441b-8108-22d07f96c9e8\r\n 4dbbe24a-673b-4380-88a4-f1060d673ca4-2015-02-23 15:05:29Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Protection configuration\r\n \r\n \r\n CloudPairing\r\n 2/23/2015 3:05:31 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Configuring Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\" />\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n</InlineWorkflowTaskDetails>\r\n 0001-01-01T00:00:00\r\n NotStarted\r\n NotStarted\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Configuring Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\" />\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n</InlineWorkflowTaskDetails>\r\n 0001-01-01T00:00:00\r\n NotStarted\r\n NotStarted\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "2501" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "16586ff0-b917-4a4b-87c0-4f11a9bc1927-2015-02-23 15:05:46Z-P" + ], + "x-ms-request-id": [ + "6ca1e7d743bccd2f89d6655cd6e9bc43" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:05:48 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/dba6e09f-21f4-441b-8108-22d07f96c9e8?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvZGJhNmUwOWYtMjFmNC00NDFiLTgxMDgtMjJkMDdmOTZjOWU4P2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "1e1aa957-0d06-4abf-bb7f-eb73a4989f9c-2015-02-23 15:05:54Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n dba6e09f-21f4-441b-8108-22d07f96c9e8\r\n 4dbbe24a-673b-4380-88a4-f1060d673ca4-2015-02-23 15:05:29Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Protection configuration\r\n \r\n \r\n CloudPairing\r\n 2/23/2015 3:05:31 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Configuring Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>769b5eaf-0796-4517-a30c-109a6c24be75</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>aecd5f98-fa90-4771-8ef6-4081124d947c</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>0fc5163c-40ab-4f1c-a851-5c8591ba74f9</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>465df024-5392-49fe-ba47-949779ed2782</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>4331b379-8845-4bbb-9e22-2c6cf07db19d</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.2254338Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Configuring Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:05:49Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>0b2779e5-ca2c-46a2-bf8e-130299ae6f08</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:05:48.2564743Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:47.9752231Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>39e630fc-c0b0-4cf4-8547-d488bef9ec72</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:48.3189724Z</d2p1:StartTime>\r\n <d2p1:State>InProgress</d2p1:State>\r\n <d2p1:StateDescription>InProgress</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>8251a263-6829-4557-b8d9-9bfff35c237e</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>13b46992-46ef-4b58-b82a-e2d6c0bc417d</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>087511a3-98e5-4c2e-b12c-d5564765fc74</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.6158625Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14177" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "1e1aa957-0d06-4abf-bb7f-eb73a4989f9c-2015-02-23 15:05:54Z-P" + ], + "x-ms-request-id": [ + "67bd9d18c315cc0d9986c2b95ac7dc36" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:05:55 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/dba6e09f-21f4-441b-8108-22d07f96c9e8?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvZGJhNmUwOWYtMjFmNC00NDFiLTgxMDgtMjJkMDdmOTZjOWU4P2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "ffa5aabf-9666-4f96-ba61-da91baa4e266-2015-02-23 15:06:02Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n dba6e09f-21f4-441b-8108-22d07f96c9e8\r\n 4dbbe24a-673b-4380-88a4-f1060d673ca4-2015-02-23 15:05:29Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Protection configuration\r\n \r\n \r\n CloudPairing\r\n 2/23/2015 3:05:31 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Configuring Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>769b5eaf-0796-4517-a30c-109a6c24be75</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>aecd5f98-fa90-4771-8ef6-4081124d947c</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>0fc5163c-40ab-4f1c-a851-5c8591ba74f9</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>465df024-5392-49fe-ba47-949779ed2782</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>4331b379-8845-4bbb-9e22-2c6cf07db19d</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.2254338Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Configuring Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:05:49Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>0b2779e5-ca2c-46a2-bf8e-130299ae6f08</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:05:48.2564743Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:47.9752231Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>39e630fc-c0b0-4cf4-8547-d488bef9ec72</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:48.3189724Z</d2p1:StartTime>\r\n <d2p1:State>InProgress</d2p1:State>\r\n <d2p1:StateDescription>InProgress</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>8251a263-6829-4557-b8d9-9bfff35c237e</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>13b46992-46ef-4b58-b82a-e2d6c0bc417d</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>087511a3-98e5-4c2e-b12c-d5564765fc74</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.6158625Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14177" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "ffa5aabf-9666-4f96-ba61-da91baa4e266-2015-02-23 15:06:02Z-P" + ], + "x-ms-request-id": [ + "c479be42d7e0cf4ea18d7fd5e5d3eae1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:06:02 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/dba6e09f-21f4-441b-8108-22d07f96c9e8?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvZGJhNmUwOWYtMjFmNC00NDFiLTgxMDgtMjJkMDdmOTZjOWU4P2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "548f7515-8e97-41d0-88ec-6feb2446a35c-2015-02-23 15:06:09Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n dba6e09f-21f4-441b-8108-22d07f96c9e8\r\n 4dbbe24a-673b-4380-88a4-f1060d673ca4-2015-02-23 15:05:29Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Protection configuration\r\n \r\n \r\n CloudPairing\r\n 2/23/2015 3:05:31 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Configuring Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>769b5eaf-0796-4517-a30c-109a6c24be75</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>aecd5f98-fa90-4771-8ef6-4081124d947c</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>0fc5163c-40ab-4f1c-a851-5c8591ba74f9</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>465df024-5392-49fe-ba47-949779ed2782</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>4331b379-8845-4bbb-9e22-2c6cf07db19d</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.2254338Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Configuring Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:05:49Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>0b2779e5-ca2c-46a2-bf8e-130299ae6f08</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:05:48.2564743Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:47.9752231Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>39e630fc-c0b0-4cf4-8547-d488bef9ec72</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:48.3189724Z</d2p1:StartTime>\r\n <d2p1:State>InProgress</d2p1:State>\r\n <d2p1:StateDescription>InProgress</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>8251a263-6829-4557-b8d9-9bfff35c237e</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>13b46992-46ef-4b58-b82a-e2d6c0bc417d</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>087511a3-98e5-4c2e-b12c-d5564765fc74</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.6158625Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14177" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "548f7515-8e97-41d0-88ec-6feb2446a35c-2015-02-23 15:06:09Z-P" + ], + "x-ms-request-id": [ + "1729097f8485c71ba100f1a2b73b169c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:06:10 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/dba6e09f-21f4-441b-8108-22d07f96c9e8?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvZGJhNmUwOWYtMjFmNC00NDFiLTgxMDgtMjJkMDdmOTZjOWU4P2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "2a4423cc-489e-4385-a7b8-1fcbceee11fa-2015-02-23 15:06:17Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n dba6e09f-21f4-441b-8108-22d07f96c9e8\r\n 4dbbe24a-673b-4380-88a4-f1060d673ca4-2015-02-23 15:05:29Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Protection configuration\r\n \r\n \r\n CloudPairing\r\n 2/23/2015 3:05:31 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Configuring Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>769b5eaf-0796-4517-a30c-109a6c24be75</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>aecd5f98-fa90-4771-8ef6-4081124d947c</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>0fc5163c-40ab-4f1c-a851-5c8591ba74f9</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>465df024-5392-49fe-ba47-949779ed2782</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>4331b379-8845-4bbb-9e22-2c6cf07db19d</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.2254338Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Configuring Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:05:49Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>0b2779e5-ca2c-46a2-bf8e-130299ae6f08</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:05:48.2564743Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:47.9752231Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>39e630fc-c0b0-4cf4-8547-d488bef9ec72</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:48.3189724Z</d2p1:StartTime>\r\n <d2p1:State>InProgress</d2p1:State>\r\n <d2p1:StateDescription>InProgress</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>8251a263-6829-4557-b8d9-9bfff35c237e</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>13b46992-46ef-4b58-b82a-e2d6c0bc417d</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>087511a3-98e5-4c2e-b12c-d5564765fc74</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.6158625Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14177" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "2a4423cc-489e-4385-a7b8-1fcbceee11fa-2015-02-23 15:06:17Z-P" + ], + "x-ms-request-id": [ + "4bd544ed18abcb5aa3fe2d8c7f74c8ee" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:06:17 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/dba6e09f-21f4-441b-8108-22d07f96c9e8?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvZGJhNmUwOWYtMjFmNC00NDFiLTgxMDgtMjJkMDdmOTZjOWU4P2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "1851c8d3-1c60-4df8-a670-8bee11c0bce7-2015-02-23 15:06:25Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n dba6e09f-21f4-441b-8108-22d07f96c9e8\r\n 4dbbe24a-673b-4380-88a4-f1060d673ca4-2015-02-23 15:05:29Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Protection configuration\r\n \r\n \r\n CloudPairing\r\n 2/23/2015 3:05:31 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Configuring Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>769b5eaf-0796-4517-a30c-109a6c24be75</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>aecd5f98-fa90-4771-8ef6-4081124d947c</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>0fc5163c-40ab-4f1c-a851-5c8591ba74f9</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>465df024-5392-49fe-ba47-949779ed2782</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>4331b379-8845-4bbb-9e22-2c6cf07db19d</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.2254338Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Configuring Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:05:49Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>0b2779e5-ca2c-46a2-bf8e-130299ae6f08</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:05:48.2564743Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:47.9752231Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>39e630fc-c0b0-4cf4-8547-d488bef9ec72</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:48.3189724Z</d2p1:StartTime>\r\n <d2p1:State>InProgress</d2p1:State>\r\n <d2p1:StateDescription>InProgress</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>8251a263-6829-4557-b8d9-9bfff35c237e</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>13b46992-46ef-4b58-b82a-e2d6c0bc417d</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>087511a3-98e5-4c2e-b12c-d5564765fc74</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.6158625Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14177" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "1851c8d3-1c60-4df8-a670-8bee11c0bce7-2015-02-23 15:06:25Z-P" + ], + "x-ms-request-id": [ + "e521ad428324cd408165758cee48b7e6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:06:25 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/dba6e09f-21f4-441b-8108-22d07f96c9e8?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvZGJhNmUwOWYtMjFmNC00NDFiLTgxMDgtMjJkMDdmOTZjOWU4P2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "ef26c28a-005a-40c8-b561-fe5ac2b065a0-2015-02-23 15:06:32Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n dba6e09f-21f4-441b-8108-22d07f96c9e8\r\n 4dbbe24a-673b-4380-88a4-f1060d673ca4-2015-02-23 15:05:29Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Protection configuration\r\n \r\n \r\n CloudPairing\r\n 2/23/2015 3:05:31 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Configuring Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>769b5eaf-0796-4517-a30c-109a6c24be75</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>aecd5f98-fa90-4771-8ef6-4081124d947c</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>0fc5163c-40ab-4f1c-a851-5c8591ba74f9</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>465df024-5392-49fe-ba47-949779ed2782</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>4331b379-8845-4bbb-9e22-2c6cf07db19d</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.2254338Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Configuring Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:06:32Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>0b2779e5-ca2c-46a2-bf8e-130299ae6f08</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:05:48.2564743Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:47.9752231Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>39e630fc-c0b0-4cf4-8547-d488bef9ec72</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:31.8179586Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:48.3189724Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>8251a263-6829-4557-b8d9-9bfff35c237e</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:06:31.8960919Z</d2p1:StartTime>\r\n <d2p1:State>InProgress</d2p1:State>\r\n <d2p1:StateDescription>InProgress</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>13b46992-46ef-4b58-b82a-e2d6c0bc417d</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>087511a3-98e5-4c2e-b12c-d5564765fc74</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.6158625Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14193" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "ef26c28a-005a-40c8-b561-fe5ac2b065a0-2015-02-23 15:06:32Z-P" + ], + "x-ms-request-id": [ + "3fe8b46c1a96cc25b0a7006f0e1b71ac" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:06:32 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/dba6e09f-21f4-441b-8108-22d07f96c9e8?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvZGJhNmUwOWYtMjFmNC00NDFiLTgxMDgtMjJkMDdmOTZjOWU4P2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "aa877d7a-e2a3-483b-a844-3345ba2c93a5-2015-02-23 15:06:39Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n dba6e09f-21f4-441b-8108-22d07f96c9e8\r\n 4dbbe24a-673b-4380-88a4-f1060d673ca4-2015-02-23 15:05:29Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Protection configuration\r\n \r\n \r\n CloudPairing\r\n 2/23/2015 3:05:31 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Configuring Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>769b5eaf-0796-4517-a30c-109a6c24be75</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>aecd5f98-fa90-4771-8ef6-4081124d947c</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>0fc5163c-40ab-4f1c-a851-5c8591ba74f9</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>465df024-5392-49fe-ba47-949779ed2782</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>4331b379-8845-4bbb-9e22-2c6cf07db19d</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.2254338Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Configuring Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:06:32Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>0b2779e5-ca2c-46a2-bf8e-130299ae6f08</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:05:48.2564743Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:47.9752231Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>39e630fc-c0b0-4cf4-8547-d488bef9ec72</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:31.8179586Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:48.3189724Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>8251a263-6829-4557-b8d9-9bfff35c237e</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:06:31.8960919Z</d2p1:StartTime>\r\n <d2p1:State>InProgress</d2p1:State>\r\n <d2p1:StateDescription>InProgress</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>13b46992-46ef-4b58-b82a-e2d6c0bc417d</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>087511a3-98e5-4c2e-b12c-d5564765fc74</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.6158625Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14193" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "aa877d7a-e2a3-483b-a844-3345ba2c93a5-2015-02-23 15:06:39Z-P" + ], + "x-ms-request-id": [ + "e7e6814fa61dc69d9797e07b98255c3c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:06:40 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/dba6e09f-21f4-441b-8108-22d07f96c9e8?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvZGJhNmUwOWYtMjFmNC00NDFiLTgxMDgtMjJkMDdmOTZjOWU4P2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "333f15b0-2f30-4e34-8788-1cd032c32c17-2015-02-23 15:06:47Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n dba6e09f-21f4-441b-8108-22d07f96c9e8\r\n 4dbbe24a-673b-4380-88a4-f1060d673ca4-2015-02-23 15:05:29Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Protection configuration\r\n \r\n \r\n CloudPairing\r\n 2/23/2015 3:05:31 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Configuring Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>769b5eaf-0796-4517-a30c-109a6c24be75</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>aecd5f98-fa90-4771-8ef6-4081124d947c</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>0fc5163c-40ab-4f1c-a851-5c8591ba74f9</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>465df024-5392-49fe-ba47-949779ed2782</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>4331b379-8845-4bbb-9e22-2c6cf07db19d</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.2254338Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Configuring Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:06:32Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>0b2779e5-ca2c-46a2-bf8e-130299ae6f08</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:05:48.2564743Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:47.9752231Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>39e630fc-c0b0-4cf4-8547-d488bef9ec72</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:31.8179586Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:48.3189724Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>8251a263-6829-4557-b8d9-9bfff35c237e</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:06:31.8960919Z</d2p1:StartTime>\r\n <d2p1:State>InProgress</d2p1:State>\r\n <d2p1:StateDescription>InProgress</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>13b46992-46ef-4b58-b82a-e2d6c0bc417d</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>087511a3-98e5-4c2e-b12c-d5564765fc74</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.6158625Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14193" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "333f15b0-2f30-4e34-8788-1cd032c32c17-2015-02-23 15:06:47Z-P" + ], + "x-ms-request-id": [ + "3049ecfa9f03ce6a845aa15bfebd8c10" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:06:47 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/dba6e09f-21f4-441b-8108-22d07f96c9e8?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvZGJhNmUwOWYtMjFmNC00NDFiLTgxMDgtMjJkMDdmOTZjOWU4P2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "b381418e-552a-4b4d-9c3d-577480cb57e9-2015-02-23 15:06:54Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n dba6e09f-21f4-441b-8108-22d07f96c9e8\r\n 4dbbe24a-673b-4380-88a4-f1060d673ca4-2015-02-23 15:05:29Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Protection configuration\r\n \r\n \r\n CloudPairing\r\n 2/23/2015 3:05:31 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Configuring Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>769b5eaf-0796-4517-a30c-109a6c24be75</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>aecd5f98-fa90-4771-8ef6-4081124d947c</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>0fc5163c-40ab-4f1c-a851-5c8591ba74f9</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>465df024-5392-49fe-ba47-949779ed2782</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>4331b379-8845-4bbb-9e22-2c6cf07db19d</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.2254338Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Configuring Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:06:49Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>0b2779e5-ca2c-46a2-bf8e-130299ae6f08</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:05:48.2564743Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:47.9752231Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>39e630fc-c0b0-4cf4-8547-d488bef9ec72</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:31.8179586Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:48.3189724Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>8251a263-6829-4557-b8d9-9bfff35c237e</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:48.9003593Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:06:31.8960919Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>13b46992-46ef-4b58-b82a-e2d6c0bc417d</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:06:49.0097387Z</d2p1:StartTime>\r\n <d2p1:State>InProgress</d2p1:State>\r\n <d2p1:StateDescription>InProgress</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>087511a3-98e5-4c2e-b12c-d5564765fc74</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.6158625Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14209" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "b381418e-552a-4b4d-9c3d-577480cb57e9-2015-02-23 15:06:54Z-P" + ], + "x-ms-request-id": [ + "8b1cde7e6d72cb35832c9a87af82e410" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:06:54 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/dba6e09f-21f4-441b-8108-22d07f96c9e8?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvZGJhNmUwOWYtMjFmNC00NDFiLTgxMDgtMjJkMDdmOTZjOWU4P2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "735cd077-32a3-4306-bd95-107bdaa46d02-2015-02-23 15:07:02Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n dba6e09f-21f4-441b-8108-22d07f96c9e8\r\n 4dbbe24a-673b-4380-88a4-f1060d673ca4-2015-02-23 15:05:29Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Protection configuration\r\n \r\n \r\n CloudPairing\r\n 2/23/2015 3:05:31 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Configuring Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>769b5eaf-0796-4517-a30c-109a6c24be75</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>aecd5f98-fa90-4771-8ef6-4081124d947c</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>0fc5163c-40ab-4f1c-a851-5c8591ba74f9</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>465df024-5392-49fe-ba47-949779ed2782</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>4331b379-8845-4bbb-9e22-2c6cf07db19d</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.2254338Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Configuring Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:06:58Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>0b2779e5-ca2c-46a2-bf8e-130299ae6f08</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:05:48.2564743Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:47.9752231Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>39e630fc-c0b0-4cf4-8547-d488bef9ec72</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:31.8179586Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:48.3189724Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>8251a263-6829-4557-b8d9-9bfff35c237e</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:48.9003593Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:06:31.8960919Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>13b46992-46ef-4b58-b82a-e2d6c0bc417d</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:59.5177643Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:06:49.0097387Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>087511a3-98e5-4c2e-b12c-d5564765fc74</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.6158625Z\r\n Succeeded\r\n Completed\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14214" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "735cd077-32a3-4306-bd95-107bdaa46d02-2015-02-23 15:07:02Z-P" + ], + "x-ms-request-id": [ + "6ef9058cb6a7c4a788b7b078a693a833" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:07:03 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/dba6e09f-21f4-441b-8108-22d07f96c9e8?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvZGJhNmUwOWYtMjFmNC00NDFiLTgxMDgtMjJkMDdmOTZjOWU4P2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "a3a63011-5fe2-48b1-a39b-609483a1b753-2015-02-23 15:07:09Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n dba6e09f-21f4-441b-8108-22d07f96c9e8\r\n 4dbbe24a-673b-4380-88a4-f1060d673ca4-2015-02-23 15:05:29Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Protection configuration\r\n \r\n \r\n CloudPairing\r\n 2/23/2015 3:05:31 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Configuring Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>769b5eaf-0796-4517-a30c-109a6c24be75</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>aecd5f98-fa90-4771-8ef6-4081124d947c</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>0fc5163c-40ab-4f1c-a851-5c8591ba74f9</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>465df024-5392-49fe-ba47-949779ed2782</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>4331b379-8845-4bbb-9e22-2c6cf07db19d</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.2254338Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Configuring Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:06:58Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>0b2779e5-ca2c-46a2-bf8e-130299ae6f08</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:05:48.2564743Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:47.9752231Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>39e630fc-c0b0-4cf4-8547-d488bef9ec72</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:31.8179586Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:48.3189724Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>8251a263-6829-4557-b8d9-9bfff35c237e</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:48.9003593Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:06:31.8960919Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>13b46992-46ef-4b58-b82a-e2d6c0bc417d</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:59.5177643Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:06:49.0097387Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>087511a3-98e5-4c2e-b12c-d5564765fc74</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.6158625Z\r\n Succeeded\r\n Completed\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14214" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "a3a63011-5fe2-48b1-a39b-609483a1b753-2015-02-23 15:07:09Z-P" + ], + "x-ms-request-id": [ + "5f293a9e110accb0b12000ea351924f8" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:07:10 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/dba6e09f-21f4-441b-8108-22d07f96c9e8?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvZGJhNmUwOWYtMjFmNC00NDFiLTgxMDgtMjJkMDdmOTZjOWU4P2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "c3d4a611-182a-430b-93ea-0c8d6acd3613-2015-02-23 15:07:16Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n dba6e09f-21f4-441b-8108-22d07f96c9e8\r\n 4dbbe24a-673b-4380-88a4-f1060d673ca4-2015-02-23 15:05:29Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Protection configuration\r\n \r\n \r\n CloudPairing\r\n 2/23/2015 3:05:31 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Configuring Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>769b5eaf-0796-4517-a30c-109a6c24be75</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>aecd5f98-fa90-4771-8ef6-4081124d947c</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>0fc5163c-40ab-4f1c-a851-5c8591ba74f9</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>465df024-5392-49fe-ba47-949779ed2782</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>4331b379-8845-4bbb-9e22-2c6cf07db19d</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.2254338Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Configuring Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:06:58Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>0b2779e5-ca2c-46a2-bf8e-130299ae6f08</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:05:48.2564743Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:47.9752231Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>39e630fc-c0b0-4cf4-8547-d488bef9ec72</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:31.8179586Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:48.3189724Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>8251a263-6829-4557-b8d9-9bfff35c237e</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:48.9003593Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:06:31.8960919Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>13b46992-46ef-4b58-b82a-e2d6c0bc417d</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:59.5177643Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:06:49.0097387Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>087511a3-98e5-4c2e-b12c-d5564765fc74</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.6158625Z\r\n Succeeded\r\n Completed\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14214" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "c3d4a611-182a-430b-93ea-0c8d6acd3613-2015-02-23 15:07:16Z-P" + ], + "x-ms-request-id": [ + "6ac8bf9a1106cfddb7c6748aab2fde71" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:07:17 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/dba6e09f-21f4-441b-8108-22d07f96c9e8?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvZGJhNmUwOWYtMjFmNC00NDFiLTgxMDgtMjJkMDdmOTZjOWU4P2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "1cfa23bf-2b55-4de3-b237-ef7e3b7e5078-2015-02-23 15:07:24Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n dba6e09f-21f4-441b-8108-22d07f96c9e8\r\n 4dbbe24a-673b-4380-88a4-f1060d673ca4-2015-02-23 15:05:29Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Protection configuration\r\n \r\n \r\n CloudPairing\r\n 2/23/2015 3:05:31 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Configuring Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:07:21Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>769b5eaf-0796-4517-a30c-109a6c24be75</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:07:21.4226174Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:07:21.1882398Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>aecd5f98-fa90-4771-8ef6-4081124d947c</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:07:21.4851145Z</d2p1:StartTime>\r\n <d2p1:State>InProgress</d2p1:State>\r\n <d2p1:StateDescription>InProgress</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>0fc5163c-40ab-4f1c-a851-5c8591ba74f9</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>465df024-5392-49fe-ba47-949779ed2782</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>4331b379-8845-4bbb-9e22-2c6cf07db19d</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.6471204Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Configuring Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:07:18Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>0b2779e5-ca2c-46a2-bf8e-130299ae6f08</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:05:48.2564743Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:47.9752231Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>39e630fc-c0b0-4cf4-8547-d488bef9ec72</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:31.8179586Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:48.3189724Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>8251a263-6829-4557-b8d9-9bfff35c237e</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:48.9003593Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:06:31.8960919Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>13b46992-46ef-4b58-b82a-e2d6c0bc417d</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:59.5177643Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:06:49.0097387Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>087511a3-98e5-4c2e-b12c-d5564765fc74</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.6158625Z\r\n Succeeded\r\n Completed\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14240" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "1cfa23bf-2b55-4de3-b237-ef7e3b7e5078-2015-02-23 15:07:24Z-P" + ], + "x-ms-request-id": [ + "8fb0ee1373a3c0e783ce51e56e05de86" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:07:24 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/dba6e09f-21f4-441b-8108-22d07f96c9e8?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvZGJhNmUwOWYtMjFmNC00NDFiLTgxMDgtMjJkMDdmOTZjOWU4P2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "fe84b2cd-dba6-4bee-ac52-fda7f07a3f2b-2015-02-23 15:07:31Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n dba6e09f-21f4-441b-8108-22d07f96c9e8\r\n 4dbbe24a-673b-4380-88a4-f1060d673ca4-2015-02-23 15:05:29Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Protection configuration\r\n \r\n \r\n CloudPairing\r\n 2/23/2015 3:05:31 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Configuring Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:07:27Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>769b5eaf-0796-4517-a30c-109a6c24be75</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:07:21.4226174Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:07:21.1882398Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>aecd5f98-fa90-4771-8ef6-4081124d947c</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:07:27.6521016Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:07:21.4851145Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>0fc5163c-40ab-4f1c-a851-5c8591ba74f9</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:07:27.7217067Z</d2p1:StartTime>\r\n <d2p1:State>InProgress</d2p1:State>\r\n <d2p1:StateDescription>InProgress</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>465df024-5392-49fe-ba47-949779ed2782</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>4331b379-8845-4bbb-9e22-2c6cf07db19d</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.6471204Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Configuring Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:07:29Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>0b2779e5-ca2c-46a2-bf8e-130299ae6f08</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:05:48.2564743Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:47.9752231Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>39e630fc-c0b0-4cf4-8547-d488bef9ec72</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:31.8179586Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:48.3189724Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>8251a263-6829-4557-b8d9-9bfff35c237e</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:48.9003593Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:06:31.8960919Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>13b46992-46ef-4b58-b82a-e2d6c0bc417d</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:59.5177643Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:06:49.0097387Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>087511a3-98e5-4c2e-b12c-d5564765fc74</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.6158625Z\r\n Succeeded\r\n Completed\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14256" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "fe84b2cd-dba6-4bee-ac52-fda7f07a3f2b-2015-02-23 15:07:31Z-P" + ], + "x-ms-request-id": [ + "0b8b83ebffe1c1df959af35faadc15f6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:07:31 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/dba6e09f-21f4-441b-8108-22d07f96c9e8?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvZGJhNmUwOWYtMjFmNC00NDFiLTgxMDgtMjJkMDdmOTZjOWU4P2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "280cf55f-4ef1-4cdd-8361-5727497d621f-2015-02-23 15:07:39Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n dba6e09f-21f4-441b-8108-22d07f96c9e8\r\n 4dbbe24a-673b-4380-88a4-f1060d673ca4-2015-02-23 15:05:29Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Protection configuration\r\n \r\n \r\n CloudPairing\r\n 2/23/2015 3:05:31 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Configuring Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:07:36Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>769b5eaf-0796-4517-a30c-109a6c24be75</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:07:21.4226174Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:07:21.1882398Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>aecd5f98-fa90-4771-8ef6-4081124d947c</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:07:27.6521016Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:07:21.4851145Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>0fc5163c-40ab-4f1c-a851-5c8591ba74f9</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:07:36.154866Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:07:27.7217067Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>465df024-5392-49fe-ba47-949779ed2782</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:07:36.2329888Z</d2p1:StartTime>\r\n <d2p1:State>InProgress</d2p1:State>\r\n <d2p1:StateDescription>InProgress</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>4331b379-8845-4bbb-9e22-2c6cf07db19d</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.6471204Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Configuring Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:07:29Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>0b2779e5-ca2c-46a2-bf8e-130299ae6f08</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:05:48.2564743Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:47.9752231Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>39e630fc-c0b0-4cf4-8547-d488bef9ec72</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:31.8179586Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:48.3189724Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>8251a263-6829-4557-b8d9-9bfff35c237e</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:48.9003593Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:06:31.8960919Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>13b46992-46ef-4b58-b82a-e2d6c0bc417d</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:59.5177643Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:06:49.0097387Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>087511a3-98e5-4c2e-b12c-d5564765fc74</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.6158625Z\r\n Succeeded\r\n Completed\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14271" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "280cf55f-4ef1-4cdd-8361-5727497d621f-2015-02-23 15:07:39Z-P" + ], + "x-ms-request-id": [ + "01c3742c8bdac323a1a7b84276562a2e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:07:40 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/dba6e09f-21f4-441b-8108-22d07f96c9e8?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvZGJhNmUwOWYtMjFmNC00NDFiLTgxMDgtMjJkMDdmOTZjOWU4P2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "bd27590b-1edf-4f97-a569-f38e24325b8a-2015-02-23 15:07:47Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n dba6e09f-21f4-441b-8108-22d07f96c9e8\r\n 4dbbe24a-673b-4380-88a4-f1060d673ca4-2015-02-23 15:05:29Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Protection configuration\r\n 2/23/2015 3:07:42 PM\r\n \r\n CloudPairing\r\n 2/23/2015 3:05:31 PM\r\n Succeeded\r\n Completed\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Configuring Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:07:41Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>769b5eaf-0796-4517-a30c-109a6c24be75</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:07:21.4226174Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:07:21.1882398Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>aecd5f98-fa90-4771-8ef6-4081124d947c</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:07:27.6521016Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:07:21.4851145Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>0fc5163c-40ab-4f1c-a851-5c8591ba74f9</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:07:36.154866Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:07:27.7217067Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>465df024-5392-49fe-ba47-949779ed2782</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:07:41.9629965Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:07:36.2329888Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>4331b379-8845-4bbb-9e22-2c6cf07db19d</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.6471204Z\r\n Succeeded\r\n Completed\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Configuring Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:07:29Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>0b2779e5-ca2c-46a2-bf8e-130299ae6f08</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:05:48.2564743Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:47.9752231Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>39e630fc-c0b0-4cf4-8547-d488bef9ec72</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:31.8179586Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:48.3189724Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>8251a263-6829-4557-b8d9-9bfff35c237e</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:48.9003593Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:06:31.8960919Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>13b46992-46ef-4b58-b82a-e2d6c0bc417d</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:59.5177643Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:06:49.0097387Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>087511a3-98e5-4c2e-b12c-d5564765fc74</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.6158625Z\r\n Succeeded\r\n Completed\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14290" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "bd27590b-1edf-4f97-a569-f38e24325b8a-2015-02-23 15:07:47Z-P" + ], + "x-ms-request-id": [ + "d537db9df140c732b85a2e31670df81f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:07:48 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/dba6e09f-21f4-441b-8108-22d07f96c9e8?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvZGJhNmUwOWYtMjFmNC00NDFiLTgxMDgtMjJkMDdmOTZjOWU4P2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "4c2d94f3-8ca1-47d7-89ce-bbfc9cfb74c1-2015-02-23 15:07:49Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n dba6e09f-21f4-441b-8108-22d07f96c9e8\r\n 4dbbe24a-673b-4380-88a4-f1060d673ca4-2015-02-23 15:05:29Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Protection configuration\r\n 2/23/2015 3:07:42 PM\r\n \r\n CloudPairing\r\n 2/23/2015 3:05:31 PM\r\n Succeeded\r\n Completed\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Configuring Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:07:41Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>769b5eaf-0796-4517-a30c-109a6c24be75</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:07:21.4226174Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:07:21.1882398Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>aecd5f98-fa90-4771-8ef6-4081124d947c</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:07:27.6521016Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:07:21.4851145Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>0fc5163c-40ab-4f1c-a851-5c8591ba74f9</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:07:36.154866Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:07:27.7217067Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>465df024-5392-49fe-ba47-949779ed2782</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:07:41.9629965Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:07:36.2329888Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>4331b379-8845-4bbb-9e22-2c6cf07db19d</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.6471204Z\r\n Succeeded\r\n Completed\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Configuring Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:07:29Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>0b2779e5-ca2c-46a2-bf8e-130299ae6f08</d2p1:ID>\r\n <d2p1:Name>Check protection prerequisites</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:05:48.2564743Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:47.9752231Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>39e630fc-c0b0-4cf4-8547-d488bef9ec72</d2p1:ID>\r\n <d2p1:Name>Prepare the server</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:31.8179586Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:05:48.3189724Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>8251a263-6829-4557-b8d9-9bfff35c237e</d2p1:ID>\r\n <d2p1:Name>Prepare for configuring protection</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:48.9003593Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:06:31.8960919Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>13b46992-46ef-4b58-b82a-e2d6c0bc417d</d2p1:ID>\r\n <d2p1:Name>Configure the protection settings</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:06:59.5177643Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:06:49.0097387Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>087511a3-98e5-4c2e-b12c-d5564765fc74</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:05:47.6158625Z\r\n Succeeded\r\n Completed\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14290" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "4c2d94f3-8ca1-47d7-89ce-bbfc9cfb74c1-2015-02-23 15:07:49Z-P" + ], + "x-ms-request-id": [ + "7b0b2be6e69bce7fa790135ee31d7dc8" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:07:50 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/E2E_DeleteAndDissociateTest.json b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/E2E_DeleteAndDissociateTest.json new file mode 100644 index 000000000000..5eaede5d1d9e --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/E2E_DeleteAndDissociateTest.json @@ -0,0 +1,1912 @@ +{ + "Entries": [ + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "9a70757f6ca8c7c4acfedd3aad5189ff" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:14:33 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "2fa5494425ddcf7f81701efd94d99983" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:14:35 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "556d67d7ec4ac8b8b2de981a53b76c45" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:14:40 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "67157058d486c0fa98a02a8077f76d62" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:14:43 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "8a640dbf7405c4e685da7d15243bc80f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:14:46 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "228af3737b10c409a294811f9dc2903d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:14:54 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "b528e467da35c953beaa8652da90ee0c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:15:02 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "59382b413e43c1c8a43a0c338809dcfc" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:15:10 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "b08e17d1ca93c93a9dcce5272b5389ca" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:15:19 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "cc2925d570dac1a6ac0d17543416bb51" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:15:26 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "798a17cbbcc6c7fb801668905ed0838b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:15:34 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "d3bec877b341c26d86434d7c0c2eecef" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:15:42 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "2eb3b446489dc0329e61f7285a7b21ed" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:15:50 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "3101a057b25ec28093b9a1e5b53f58fb" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:15:58 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "a1d471335b5bcf45ba06d35a7eaacba0" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:16:06 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "fa0a64874af5c8a78b736611cf760488" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:16:13 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "db76b9f73405c0c3aef0b7ef0f697340" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:16:21 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "ce398f2370d1c0c8bfc985123fcb91f6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:16:28 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "c49ff4bbad2fc829abf87f54c0d881d2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:16:30 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionContainers?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "2f46f78f-8b00-404c-a3c4-8165b0cde7cb-2015-02-23 15:14:36Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n Primary\r\n \r\n \r\n 7580cb43-decf-4e66-aee3-40718d11fec8\r\n 7580cb43-decf-4e66-aee3-40718d11fec8\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n Paired\r\n \r\n \r\n true\r\n 0\r\n HyperVReplica\r\n <HyperVReplicaProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <AllowedAuthenticationType>1</AllowedAuthenticationType>\r\n <ApplicationConsistentSnapshotFrequencyInHours>1</ApplicationConsistentSnapshotFrequencyInHours>\r\n <CompressionEnabled>true</CompressionEnabled>\r\n <OfflineReplicationExportPath />\r\n <OfflineReplicationImportPath />\r\n <OnlineReplicationMethod>true</OnlineReplicationMethod>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPoints>1</RecoveryPoints>\r\n <ReplicaDeletionOption>SecondaryVMOnRecoveryCloud</ReplicaDeletionOption>\r\n <ReplicationPort>8083</ReplicationPort>\r\n <ReplicationFrequencyInSeconds>0</ReplicationFrequencyInSeconds>\r\n</HyperVReplicaProtectionProfileDetails>\r\n \r\n \r\n c58179df-ae75-4098-90e9-dcd8c7934784\r\n c58179df-ae75-4098-90e9-dcd8c7934784\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n Paired\r\n \r\n \r\n true\r\n 0\r\n HyperVReplica\r\n <HyperVReplicaProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <AllowedAuthenticationType>1</AllowedAuthenticationType>\r\n <ApplicationConsistentSnapshotFrequencyInHours>1</ApplicationConsistentSnapshotFrequencyInHours>\r\n <CompressionEnabled>true</CompressionEnabled>\r\n <OfflineReplicationExportPath />\r\n <OfflineReplicationImportPath />\r\n <OnlineReplicationMethod>true</OnlineReplicationMethod>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPoints>1</RecoveryPoints>\r\n <ReplicaDeletionOption>SecondaryVMOnRecoveryCloud</ReplicaDeletionOption>\r\n <ReplicationPort>8083</ReplicationPort>\r\n <ReplicationFrequencyInSeconds>300</ReplicationFrequencyInSeconds>\r\n</HyperVReplicaProtectionProfileDetails>\r\n \r\n \r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n Cloud_0_2bb286ca_78225OE72093\r\n Primary\r\n \r\n \r\n b6a2ef89-347c-48c5-b33b-5b8bd8ac8154\r\n b6a2ef89-347c-48c5-b33b-5b8bd8ac8154\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n Microsoft Azure\r\n PairingFailed\r\n \r\n \r\n true\r\n 0\r\n HyperVReplicaAzure\r\n <HyperVReplicaAzureProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ActiveStorageAccount>\r\n <StorageAccountName>hostersfcbvtvaulte423371</StorageAccountName>\r\n <SubscriptionId>e423371c-63cd-497e-b5b0-eb6d0b306d7e</SubscriptionId>\r\n </ActiveStorageAccount>\r\n <ApplicationConsistentSnapshotFrequencyInHours>0</ApplicationConsistentSnapshotFrequencyInHours>\r\n <EncryptionEnabled>false</EncryptionEnabled>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPointHistoryDuration>0</RecoveryPointHistoryDuration>\r\n <ReplicationInterval>300</ReplicationInterval>\r\n</HyperVReplicaAzureProtectionProfileDetails>\r\n \r\n \r\n 9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n \r\n \r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n cloudOn21\r\n Recovery\r\n \r\n 3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n VMM\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5\r\n VMM\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "6178" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "2f46f78f-8b00-404c-a3c4-8165b0cde7cb-2015-02-23 15:14:36Z-P" + ], + "x-ms-request-id": [ + "7c8fd1191a66c7ac83aac8f30c2f4cbc" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:14:39 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionContainers/774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzLzc3NDg1OWIwLTE5NjYtNDhjYy05ZGY3LTc1OWM0NDFiN2E4Y180OTRjMDk5My1jYzM1LTRkODQtYjM3My1iZjFhMjNiZTIxZDM/YXBpLXZlcnNpb249MjAxNS0wMi0xMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "a9e6bf63-f1fb-4b33-a2db-3637bad89494-2015-02-23 15:14:41Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n Primary\r\n \r\n \r\n 7580cb43-decf-4e66-aee3-40718d11fec8\r\n 7580cb43-decf-4e66-aee3-40718d11fec8\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n Paired\r\n \r\n \r\n true\r\n 0\r\n HyperVReplica\r\n <HyperVReplicaProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <AllowedAuthenticationType>1</AllowedAuthenticationType>\r\n <ApplicationConsistentSnapshotFrequencyInHours>1</ApplicationConsistentSnapshotFrequencyInHours>\r\n <CompressionEnabled>true</CompressionEnabled>\r\n <OfflineReplicationExportPath />\r\n <OfflineReplicationImportPath />\r\n <OnlineReplicationMethod>true</OnlineReplicationMethod>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPoints>1</RecoveryPoints>\r\n <ReplicaDeletionOption>SecondaryVMOnRecoveryCloud</ReplicaDeletionOption>\r\n <ReplicationPort>8083</ReplicationPort>\r\n <ReplicationFrequencyInSeconds>0</ReplicationFrequencyInSeconds>\r\n</HyperVReplicaProtectionProfileDetails>\r\n \r\n \r\n c58179df-ae75-4098-90e9-dcd8c7934784\r\n c58179df-ae75-4098-90e9-dcd8c7934784\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n Paired\r\n \r\n \r\n true\r\n 0\r\n HyperVReplica\r\n <HyperVReplicaProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <AllowedAuthenticationType>1</AllowedAuthenticationType>\r\n <ApplicationConsistentSnapshotFrequencyInHours>1</ApplicationConsistentSnapshotFrequencyInHours>\r\n <CompressionEnabled>true</CompressionEnabled>\r\n <OfflineReplicationExportPath />\r\n <OfflineReplicationImportPath />\r\n <OnlineReplicationMethod>true</OnlineReplicationMethod>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPoints>1</RecoveryPoints>\r\n <ReplicaDeletionOption>SecondaryVMOnRecoveryCloud</ReplicaDeletionOption>\r\n <ReplicationPort>8083</ReplicationPort>\r\n <ReplicationFrequencyInSeconds>300</ReplicationFrequencyInSeconds>\r\n</HyperVReplicaProtectionProfileDetails>\r\n \r\n \r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n", + "ResponseHeaders": { + "Content-Length": [ + "3832" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "a9e6bf63-f1fb-4b33-a2db-3637bad89494-2015-02-23 15:14:41Z-P" + ], + "x-ms-request-id": [ + "f3cd7bc1d27ccb2aad9b4f169c7f91b6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:14:42 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionContainers/dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzL2RjMWVkOWIyLTdiOTAtNDUzNC05OTc3LTEyODgxZDI3OGZiNV8zYjUwMDVlNS0wYWVjLTQ1MWMtOWZiOC1iZGEwMmNiZjE1MTU/YXBpLXZlcnNpb249MjAxNS0wMi0xMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "d4a6e035-4fc6-477e-b7f1-ca2cfe65a65e-2015-02-23 15:14:44Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n cloudOn21\r\n Recovery\r\n \r\n 3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n VMM\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5\r\n VMM\r\n", + "ResponseHeaders": { + "Content-Length": [ + "470" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "d4a6e035-4fc6-477e-b7f1-ca2cfe65a65e-2015-02-23 15:14:44Z-P" + ], + "x-ms-request-id": [ + "e239887f3a52c4eb8a2271f6b5a1c693" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:14:44 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionProfiles/7580cb43-decf-4e66-aee3-40718d11fec8/DissociateAndDelete?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Qcm9maWxlcy83NTgwY2I0My1kZWNmLTRlNjYtYWVlMy00MDcxOGQxMWZlYzgvRGlzc29jaWF0ZUFuZERlbGV0ZT9hcGktdmVyc2lvbj0yMDE1LTAyLTEw", + "RequestMethod": "POST", + "RequestBody": "\r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n", + "RequestHeaders": { + "Content-Type": [ + "application/xml" + ], + "Content-Length": [ + "401" + ], + "Accept": [ + "application/xml" + ], + "Agent-Authentication": [ + "{\"NotBeforeTimestamp\":\"\\/Date(1424700887000)\\/\",\"NotAfterTimestamp\":\"\\/Date(1424722487000)\\/\",\"ClientRequestId\":\"647b6334-ab3e-4ebb-bd71-7df83dd85df2-2015-02-23 15:14:47Z-P\",\"HashFunction\":\"HMACSHA256\",\"Hmac\":\"5n7FfsSRpmHt6/jqAQxXQLtsDBLQFF9YmYv2IwDAGkI=\",\"Version\":{\"Major\":1,\"Minor\":2,\"Build\":-1,\"Revision\":-1,\"MajorRevision\":-1,\"MinorRevision\":-1},\"PropertyBag\":{}}" + ], + "x-ms-client-request-id": [ + "647b6334-ab3e-4ebb-bd71-7df83dd85df2-2015-02-23 15:14:47Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n 6b58b2c4-0969-48ff-800b-6f44480b2852\r\n 647b6334-ab3e-4ebb-bd71-7df83dd85df2-2015-02-23 15:14:47Z-P\r\n \r\n \r\n \r\n \r\n \r\n \r\n NotStarted\r\n NotStarted\r\n \r\n \r\n ProtectionEntity\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "629" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "647b6334-ab3e-4ebb-bd71-7df83dd85df2-2015-02-23 15:14:47Z-P" + ], + "x-ms-request-id": [ + "fd1293751fb4cf7ab3b7fec1bc8f1333" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:14:48 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/6b58b2c4-0969-48ff-800b-6f44480b2852?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvNmI1OGIyYzQtMDk2OS00OGZmLTgwMGItNmY0NDQ4MGIyODUyP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "c3f656e5-0f4d-4bca-82ac-131899dbbd76-2015-02-23 15:14:55Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n 6b58b2c4-0969-48ff-800b-6f44480b2852\r\n 647b6334-ab3e-4ebb-bd71-7df83dd85df2-2015-02-23 15:14:47Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Remove protection\r\n \r\n \r\n CloudUnPairing\r\n 2/23/2015 3:14:48 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Removing the configuration for Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:14:50Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>a9e7e635-7609-4375-9b3d-0c9ff8ab584a</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:14:50.8563334Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.6473436Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>ecd0eefd-de10-4a13-b0a3-9cff782966ef</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.9344379Z</d2p1:StartTime>\r\n <d2p1:State>InProgress</d2p1:State>\r\n <d2p1:StateDescription>InProgress</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>d0095db4-38e1-41a0-a50e-73c45beb115d</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>67b85855-70bf-430e-9a4d-87a99ed3315d</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>82d5b08c-688f-4bde-b8bb-0a63a830e111</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.9213442Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Removing the configuration for Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>9ce03124-ffe2-4be9-bc6c-fccfb6b26ab8</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>5c39b694-741c-49b7-b858-34b8734321f4</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>1593bf26-aedf-4dd1-ad91-610f57ef4d7c</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>f76954dd-eddb-4fb9-9181-d08d6fe1b9ae</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>2851344e-fba4-4b9b-a865-a7a3c0b1ebb6</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.7025885Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14283" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "c3f656e5-0f4d-4bca-82ac-131899dbbd76-2015-02-23 15:14:55Z-P" + ], + "x-ms-request-id": [ + "ab0d35533f5ac5fe84e539c6129385b2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:14:56 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/6b58b2c4-0969-48ff-800b-6f44480b2852?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvNmI1OGIyYzQtMDk2OS00OGZmLTgwMGItNmY0NDQ4MGIyODUyP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "de58f35f-f240-4561-85e6-d7b66e886afa-2015-02-23 15:15:03Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n 6b58b2c4-0969-48ff-800b-6f44480b2852\r\n 647b6334-ab3e-4ebb-bd71-7df83dd85df2-2015-02-23 15:14:47Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Remove protection\r\n \r\n \r\n CloudUnPairing\r\n 2/23/2015 3:14:48 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Removing the configuration for Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:14:50Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>a9e7e635-7609-4375-9b3d-0c9ff8ab584a</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:14:50.8563334Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.6473436Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>ecd0eefd-de10-4a13-b0a3-9cff782966ef</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.9344379Z</d2p1:StartTime>\r\n <d2p1:State>InProgress</d2p1:State>\r\n <d2p1:StateDescription>InProgress</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>d0095db4-38e1-41a0-a50e-73c45beb115d</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>67b85855-70bf-430e-9a4d-87a99ed3315d</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>82d5b08c-688f-4bde-b8bb-0a63a830e111</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.9213442Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Removing the configuration for Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>9ce03124-ffe2-4be9-bc6c-fccfb6b26ab8</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>5c39b694-741c-49b7-b858-34b8734321f4</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>1593bf26-aedf-4dd1-ad91-610f57ef4d7c</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>f76954dd-eddb-4fb9-9181-d08d6fe1b9ae</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>2851344e-fba4-4b9b-a865-a7a3c0b1ebb6</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.7025885Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14283" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "de58f35f-f240-4561-85e6-d7b66e886afa-2015-02-23 15:15:03Z-P" + ], + "x-ms-request-id": [ + "697130b507d3c12d81ede9e5987a4100" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:15:03 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/6b58b2c4-0969-48ff-800b-6f44480b2852?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvNmI1OGIyYzQtMDk2OS00OGZmLTgwMGItNmY0NDQ4MGIyODUyP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "7e509b57-d85d-47c4-bcb0-246e4f9f9a44-2015-02-23 15:15:10Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n 6b58b2c4-0969-48ff-800b-6f44480b2852\r\n 647b6334-ab3e-4ebb-bd71-7df83dd85df2-2015-02-23 15:14:47Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Remove protection\r\n \r\n \r\n CloudUnPairing\r\n 2/23/2015 3:14:48 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Removing the configuration for Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:14:50Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>a9e7e635-7609-4375-9b3d-0c9ff8ab584a</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:14:50.8563334Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.6473436Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>ecd0eefd-de10-4a13-b0a3-9cff782966ef</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.9344379Z</d2p1:StartTime>\r\n <d2p1:State>InProgress</d2p1:State>\r\n <d2p1:StateDescription>InProgress</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>d0095db4-38e1-41a0-a50e-73c45beb115d</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>67b85855-70bf-430e-9a4d-87a99ed3315d</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>82d5b08c-688f-4bde-b8bb-0a63a830e111</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.9213442Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Removing the configuration for Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>9ce03124-ffe2-4be9-bc6c-fccfb6b26ab8</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>5c39b694-741c-49b7-b858-34b8734321f4</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>1593bf26-aedf-4dd1-ad91-610f57ef4d7c</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>f76954dd-eddb-4fb9-9181-d08d6fe1b9ae</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>2851344e-fba4-4b9b-a865-a7a3c0b1ebb6</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.7025885Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14283" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "7e509b57-d85d-47c4-bcb0-246e4f9f9a44-2015-02-23 15:15:10Z-P" + ], + "x-ms-request-id": [ + "e1babdc7a595c7ac998366b2e1ce05e2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:15:12 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/6b58b2c4-0969-48ff-800b-6f44480b2852?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvNmI1OGIyYzQtMDk2OS00OGZmLTgwMGItNmY0NDQ4MGIyODUyP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "58078d79-30c8-43b2-878b-5d97956f8267-2015-02-23 15:15:20Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n 6b58b2c4-0969-48ff-800b-6f44480b2852\r\n 647b6334-ab3e-4ebb-bd71-7df83dd85df2-2015-02-23 15:14:47Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Remove protection\r\n \r\n \r\n CloudUnPairing\r\n 2/23/2015 3:14:48 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Removing the configuration for Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:15:18Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>a9e7e635-7609-4375-9b3d-0c9ff8ab584a</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:14:50.8563334Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.6473436Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>ecd0eefd-de10-4a13-b0a3-9cff782966ef</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:13.3684848Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.9344379Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>d0095db4-38e1-41a0-a50e-73c45beb115d</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:18.6309715Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:13.4484212Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>67b85855-70bf-430e-9a4d-87a99ed3315d</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:18.7090851Z</d2p1:StartTime>\r\n <d2p1:State>InProgress</d2p1:State>\r\n <d2p1:StateDescription>InProgress</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>82d5b08c-688f-4bde-b8bb-0a63a830e111</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.9213442Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Removing the configuration for Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>9ce03124-ffe2-4be9-bc6c-fccfb6b26ab8</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>5c39b694-741c-49b7-b858-34b8734321f4</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>1593bf26-aedf-4dd1-ad91-610f57ef4d7c</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>f76954dd-eddb-4fb9-9181-d08d6fe1b9ae</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>2851344e-fba4-4b9b-a865-a7a3c0b1ebb6</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.7025885Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14315" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "58078d79-30c8-43b2-878b-5d97956f8267-2015-02-23 15:15:20Z-P" + ], + "x-ms-request-id": [ + "43d2c9c4df6ecfbcae6081996bc4b04c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:15:21 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/6b58b2c4-0969-48ff-800b-6f44480b2852?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvNmI1OGIyYzQtMDk2OS00OGZmLTgwMGItNmY0NDQ4MGIyODUyP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "26353524-4bc4-446d-a6aa-22c44abfffc9-2015-02-23 15:15:27Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n 6b58b2c4-0969-48ff-800b-6f44480b2852\r\n 647b6334-ab3e-4ebb-bd71-7df83dd85df2-2015-02-23 15:14:47Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Remove protection\r\n \r\n \r\n CloudUnPairing\r\n 2/23/2015 3:14:48 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Removing the configuration for Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:15:27Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>a9e7e635-7609-4375-9b3d-0c9ff8ab584a</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:14:50.8563334Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.6473436Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>ecd0eefd-de10-4a13-b0a3-9cff782966ef</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:13.3684848Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.9344379Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>d0095db4-38e1-41a0-a50e-73c45beb115d</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:18.6309715Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:13.4484212Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>67b85855-70bf-430e-9a4d-87a99ed3315d</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:28.0373616Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:18.7090851Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>82d5b08c-688f-4bde-b8bb-0a63a830e111</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.9213442Z\r\n Succeeded\r\n Completed\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Removing the configuration for Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>9ce03124-ffe2-4be9-bc6c-fccfb6b26ab8</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>5c39b694-741c-49b7-b858-34b8734321f4</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>1593bf26-aedf-4dd1-ad91-610f57ef4d7c</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>f76954dd-eddb-4fb9-9181-d08d6fe1b9ae</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>2851344e-fba4-4b9b-a865-a7a3c0b1ebb6</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.7025885Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14320" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "26353524-4bc4-446d-a6aa-22c44abfffc9-2015-02-23 15:15:27Z-P" + ], + "x-ms-request-id": [ + "c15df717df5cc0838df828433d143390" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:15:28 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/6b58b2c4-0969-48ff-800b-6f44480b2852?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvNmI1OGIyYzQtMDk2OS00OGZmLTgwMGItNmY0NDQ4MGIyODUyP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "e69c5d08-751b-4c5d-9b80-762a74dd08a2-2015-02-23 15:15:35Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n 6b58b2c4-0969-48ff-800b-6f44480b2852\r\n 647b6334-ab3e-4ebb-bd71-7df83dd85df2-2015-02-23 15:14:47Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Remove protection\r\n \r\n \r\n CloudUnPairing\r\n 2/23/2015 3:14:48 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Removing the configuration for Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:15:27Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>a9e7e635-7609-4375-9b3d-0c9ff8ab584a</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:14:50.8563334Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.6473436Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>ecd0eefd-de10-4a13-b0a3-9cff782966ef</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:13.3684848Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.9344379Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>d0095db4-38e1-41a0-a50e-73c45beb115d</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:18.6309715Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:13.4484212Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>67b85855-70bf-430e-9a4d-87a99ed3315d</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:28.0373616Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:18.7090851Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>82d5b08c-688f-4bde-b8bb-0a63a830e111</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.9213442Z\r\n Succeeded\r\n Completed\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Removing the configuration for Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:15:30Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>9ce03124-ffe2-4be9-bc6c-fccfb6b26ab8</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:30.2237425Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:30.0831022Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>5c39b694-741c-49b7-b858-34b8734321f4</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:30.3018489Z</d2p1:StartTime>\r\n <d2p1:State>InProgress</d2p1:State>\r\n <d2p1:StateDescription>InProgress</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>1593bf26-aedf-4dd1-ad91-610f57ef4d7c</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>f76954dd-eddb-4fb9-9181-d08d6fe1b9ae</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>2851344e-fba4-4b9b-a865-a7a3c0b1ebb6</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.9525881Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14346" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "e69c5d08-751b-4c5d-9b80-762a74dd08a2-2015-02-23 15:15:35Z-P" + ], + "x-ms-request-id": [ + "de966d49efb2c822b1c66a3d5bb905cd" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:15:36 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/6b58b2c4-0969-48ff-800b-6f44480b2852?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvNmI1OGIyYzQtMDk2OS00OGZmLTgwMGItNmY0NDQ4MGIyODUyP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "7ddb1fe7-8f01-4187-85d2-7ebcc13d26d5-2015-02-23 15:15:43Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n 6b58b2c4-0969-48ff-800b-6f44480b2852\r\n 647b6334-ab3e-4ebb-bd71-7df83dd85df2-2015-02-23 15:14:47Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Remove protection\r\n \r\n \r\n CloudUnPairing\r\n 2/23/2015 3:14:48 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Removing the configuration for Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:15:43Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>a9e7e635-7609-4375-9b3d-0c9ff8ab584a</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:14:50.8563334Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.6473436Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>ecd0eefd-de10-4a13-b0a3-9cff782966ef</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:13.3684848Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.9344379Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>d0095db4-38e1-41a0-a50e-73c45beb115d</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:18.6309715Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:13.4484212Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>67b85855-70bf-430e-9a4d-87a99ed3315d</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:28.0373616Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:18.7090851Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>82d5b08c-688f-4bde-b8bb-0a63a830e111</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.9213442Z\r\n Succeeded\r\n Completed\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Removing the configuration for Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:15:30Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>9ce03124-ffe2-4be9-bc6c-fccfb6b26ab8</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:30.2237425Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:30.0831022Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>5c39b694-741c-49b7-b858-34b8734321f4</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:30.3018489Z</d2p1:StartTime>\r\n <d2p1:State>InProgress</d2p1:State>\r\n <d2p1:StateDescription>InProgress</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>1593bf26-aedf-4dd1-ad91-610f57ef4d7c</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>f76954dd-eddb-4fb9-9181-d08d6fe1b9ae</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>2851344e-fba4-4b9b-a865-a7a3c0b1ebb6</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.9525881Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14346" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "7ddb1fe7-8f01-4187-85d2-7ebcc13d26d5-2015-02-23 15:15:43Z-P" + ], + "x-ms-request-id": [ + "80a19cee31d0cd2fab71304d47aee392" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:15:44 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/6b58b2c4-0969-48ff-800b-6f44480b2852?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvNmI1OGIyYzQtMDk2OS00OGZmLTgwMGItNmY0NDQ4MGIyODUyP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "269417c2-dba5-43a5-af52-c13d9841774a-2015-02-23 15:15:51Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n 6b58b2c4-0969-48ff-800b-6f44480b2852\r\n 647b6334-ab3e-4ebb-bd71-7df83dd85df2-2015-02-23 15:14:47Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Remove protection\r\n \r\n \r\n CloudUnPairing\r\n 2/23/2015 3:14:48 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Removing the configuration for Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:15:50Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>a9e7e635-7609-4375-9b3d-0c9ff8ab584a</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:14:50.8563334Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.6473436Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>ecd0eefd-de10-4a13-b0a3-9cff782966ef</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:13.3684848Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.9344379Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>d0095db4-38e1-41a0-a50e-73c45beb115d</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:18.6309715Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:13.4484212Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>67b85855-70bf-430e-9a4d-87a99ed3315d</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:28.0373616Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:18.7090851Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>82d5b08c-688f-4bde-b8bb-0a63a830e111</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.9213442Z\r\n Succeeded\r\n Completed\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Removing the configuration for Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:15:45Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>9ce03124-ffe2-4be9-bc6c-fccfb6b26ab8</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:30.2237425Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:30.0831022Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>5c39b694-741c-49b7-b858-34b8734321f4</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:45.5924195Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:30.3018489Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>1593bf26-aedf-4dd1-ad91-610f57ef4d7c</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:45.6705511Z</d2p1:StartTime>\r\n <d2p1:State>InProgress</d2p1:State>\r\n <d2p1:StateDescription>InProgress</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>f76954dd-eddb-4fb9-9181-d08d6fe1b9ae</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>0001-01-01T00:00:00</d2p1:StartTime>\r\n <d2p1:State>NotStarted</d2p1:State>\r\n <d2p1:StateDescription>NotStarted</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>2851344e-fba4-4b9b-a865-a7a3c0b1ebb6</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.9525881Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14362" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "269417c2-dba5-43a5-af52-c13d9841774a-2015-02-23 15:15:51Z-P" + ], + "x-ms-request-id": [ + "0d40e74543d4c816b373af57414d059f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:15:51 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/6b58b2c4-0969-48ff-800b-6f44480b2852?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvNmI1OGIyYzQtMDk2OS00OGZmLTgwMGItNmY0NDQ4MGIyODUyP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "c4473072-b870-455a-9c6e-78d468b38533-2015-02-23 15:15:59Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n 6b58b2c4-0969-48ff-800b-6f44480b2852\r\n 647b6334-ab3e-4ebb-bd71-7df83dd85df2-2015-02-23 15:14:47Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Remove protection\r\n \r\n \r\n CloudUnPairing\r\n 2/23/2015 3:14:48 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Removing the configuration for Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:15:50Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>a9e7e635-7609-4375-9b3d-0c9ff8ab584a</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:14:50.8563334Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.6473436Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>ecd0eefd-de10-4a13-b0a3-9cff782966ef</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:13.3684848Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.9344379Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>d0095db4-38e1-41a0-a50e-73c45beb115d</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:18.6309715Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:13.4484212Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>67b85855-70bf-430e-9a4d-87a99ed3315d</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:28.0373616Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:18.7090851Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>82d5b08c-688f-4bde-b8bb-0a63a830e111</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.9213442Z\r\n Succeeded\r\n Completed\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Removing the configuration for Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:15:54Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>9ce03124-ffe2-4be9-bc6c-fccfb6b26ab8</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:30.2237425Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:30.0831022Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>5c39b694-741c-49b7-b858-34b8734321f4</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:45.5924195Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:30.3018489Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>1593bf26-aedf-4dd1-ad91-610f57ef4d7c</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:53.9829602Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:45.6705511Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>f76954dd-eddb-4fb9-9181-d08d6fe1b9ae</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>0001-01-01T00:00:00</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:54.0454776Z</d2p1:StartTime>\r\n <d2p1:State>InProgress</d2p1:State>\r\n <d2p1:StateDescription>InProgress</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>2851344e-fba4-4b9b-a865-a7a3c0b1ebb6</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.9525881Z\r\n InProgress\r\n InProgress\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14378" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "c4473072-b870-455a-9c6e-78d468b38533-2015-02-23 15:15:59Z-P" + ], + "x-ms-request-id": [ + "e1d5925f987ec478822220486c7f7a6e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:15:59 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/6b58b2c4-0969-48ff-800b-6f44480b2852?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvNmI1OGIyYzQtMDk2OS00OGZmLTgwMGItNmY0NDQ4MGIyODUyP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "ad2d2eb2-930d-4d6a-87be-9ff56ed8c366-2015-02-23 15:16:06Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n 6b58b2c4-0969-48ff-800b-6f44480b2852\r\n 647b6334-ab3e-4ebb-bd71-7df83dd85df2-2015-02-23 15:14:47Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Remove protection\r\n \r\n \r\n CloudUnPairing\r\n 2/23/2015 3:14:48 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Removing the configuration for Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:15:50Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>a9e7e635-7609-4375-9b3d-0c9ff8ab584a</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:14:50.8563334Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.6473436Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>ecd0eefd-de10-4a13-b0a3-9cff782966ef</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:13.3684848Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.9344379Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>d0095db4-38e1-41a0-a50e-73c45beb115d</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:18.6309715Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:13.4484212Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>67b85855-70bf-430e-9a4d-87a99ed3315d</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:28.0373616Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:18.7090851Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>82d5b08c-688f-4bde-b8bb-0a63a830e111</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.9213442Z\r\n Succeeded\r\n Completed\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Removing the configuration for Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:16:02Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>9ce03124-ffe2-4be9-bc6c-fccfb6b26ab8</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:30.2237425Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:30.0831022Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>5c39b694-741c-49b7-b858-34b8734321f4</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:45.5924195Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:30.3018489Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>1593bf26-aedf-4dd1-ad91-610f57ef4d7c</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:53.9829602Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:45.6705511Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>f76954dd-eddb-4fb9-9181-d08d6fe1b9ae</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:16:02.3054246Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:54.0454776Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>2851344e-fba4-4b9b-a865-a7a3c0b1ebb6</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.9525881Z\r\n Succeeded\r\n Completed\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14383" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "ad2d2eb2-930d-4d6a-87be-9ff56ed8c366-2015-02-23 15:16:06Z-P" + ], + "x-ms-request-id": [ + "4350ad4bd5aec77e93a90a9a7e82084f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:16:06 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/6b58b2c4-0969-48ff-800b-6f44480b2852?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvNmI1OGIyYzQtMDk2OS00OGZmLTgwMGItNmY0NDQ4MGIyODUyP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "c23bc00f-2e0a-4e33-9242-2eef7c672804-2015-02-23 15:16:14Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n 6b58b2c4-0969-48ff-800b-6f44480b2852\r\n 647b6334-ab3e-4ebb-bd71-7df83dd85df2-2015-02-23 15:14:47Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Remove protection\r\n \r\n \r\n CloudUnPairing\r\n 2/23/2015 3:14:48 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Removing the configuration for Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:15:50Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>a9e7e635-7609-4375-9b3d-0c9ff8ab584a</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:14:50.8563334Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.6473436Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>ecd0eefd-de10-4a13-b0a3-9cff782966ef</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:13.3684848Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.9344379Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>d0095db4-38e1-41a0-a50e-73c45beb115d</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:18.6309715Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:13.4484212Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>67b85855-70bf-430e-9a4d-87a99ed3315d</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:28.0373616Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:18.7090851Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>82d5b08c-688f-4bde-b8bb-0a63a830e111</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.9213442Z\r\n Succeeded\r\n Completed\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Removing the configuration for Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:16:02Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>9ce03124-ffe2-4be9-bc6c-fccfb6b26ab8</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:30.2237425Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:30.0831022Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>5c39b694-741c-49b7-b858-34b8734321f4</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:45.5924195Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:30.3018489Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>1593bf26-aedf-4dd1-ad91-610f57ef4d7c</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:53.9829602Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:45.6705511Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>f76954dd-eddb-4fb9-9181-d08d6fe1b9ae</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:16:02.3054246Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:54.0454776Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>2851344e-fba4-4b9b-a865-a7a3c0b1ebb6</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.9525881Z\r\n Succeeded\r\n Completed\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14383" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "c23bc00f-2e0a-4e33-9242-2eef7c672804-2015-02-23 15:16:14Z-P" + ], + "x-ms-request-id": [ + "d8b8ebd87255c596831a26f661bb9fb6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:16:14 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/6b58b2c4-0969-48ff-800b-6f44480b2852?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvNmI1OGIyYzQtMDk2OS00OGZmLTgwMGItNmY0NDQ4MGIyODUyP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "f276dbc7-c853-4ba2-be35-fa3cae57edf4-2015-02-23 15:16:21Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n 6b58b2c4-0969-48ff-800b-6f44480b2852\r\n 647b6334-ab3e-4ebb-bd71-7df83dd85df2-2015-02-23 15:14:47Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Remove protection\r\n \r\n \r\n CloudUnPairing\r\n 2/23/2015 3:14:48 PM\r\n InProgress\r\n InProgress\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Removing the configuration for Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:15:50Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>a9e7e635-7609-4375-9b3d-0c9ff8ab584a</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:14:50.8563334Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.6473436Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>ecd0eefd-de10-4a13-b0a3-9cff782966ef</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:13.3684848Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.9344379Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>d0095db4-38e1-41a0-a50e-73c45beb115d</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:18.6309715Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:13.4484212Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>67b85855-70bf-430e-9a4d-87a99ed3315d</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:28.0373616Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:18.7090851Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>82d5b08c-688f-4bde-b8bb-0a63a830e111</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.9213442Z\r\n Succeeded\r\n Completed\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Removing the configuration for Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:16:15Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>9ce03124-ffe2-4be9-bc6c-fccfb6b26ab8</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:30.2237425Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:30.0831022Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>5c39b694-741c-49b7-b858-34b8734321f4</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:45.5924195Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:30.3018489Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>1593bf26-aedf-4dd1-ad91-610f57ef4d7c</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:53.9829602Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:45.6705511Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>f76954dd-eddb-4fb9-9181-d08d6fe1b9ae</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:16:02.3054246Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:54.0454776Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>2851344e-fba4-4b9b-a865-a7a3c0b1ebb6</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.9525881Z\r\n Succeeded\r\n Completed\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14383" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "f276dbc7-c853-4ba2-be35-fa3cae57edf4-2015-02-23 15:16:21Z-P" + ], + "x-ms-request-id": [ + "342e7c149ddfce348a5b1aa895af40a8" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:16:22 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/6b58b2c4-0969-48ff-800b-6f44480b2852?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvNmI1OGIyYzQtMDk2OS00OGZmLTgwMGItNmY0NDQ4MGIyODUyP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "e73006d8-7ca2-4f0e-948d-3e3b3962e8fd-2015-02-23 15:16:29Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n 6b58b2c4-0969-48ff-800b-6f44480b2852\r\n 647b6334-ab3e-4ebb-bd71-7df83dd85df2-2015-02-23 15:14:47Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Remove protection\r\n 2/23/2015 3:16:26 PM\r\n \r\n CloudUnPairing\r\n 2/23/2015 3:14:48 PM\r\n Succeeded\r\n Completed\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Removing the configuration for Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:15:50Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>a9e7e635-7609-4375-9b3d-0c9ff8ab584a</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:14:50.8563334Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.6473436Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>ecd0eefd-de10-4a13-b0a3-9cff782966ef</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:13.3684848Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.9344379Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>d0095db4-38e1-41a0-a50e-73c45beb115d</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:18.6309715Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:13.4484212Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>67b85855-70bf-430e-9a4d-87a99ed3315d</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:28.0373616Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:18.7090851Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>82d5b08c-688f-4bde-b8bb-0a63a830e111</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.9213442Z\r\n Succeeded\r\n Completed\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Removing the configuration for Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:16:25Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>9ce03124-ffe2-4be9-bc6c-fccfb6b26ab8</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:30.2237425Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:30.0831022Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>5c39b694-741c-49b7-b858-34b8734321f4</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:45.5924195Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:30.3018489Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>1593bf26-aedf-4dd1-ad91-610f57ef4d7c</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:53.9829602Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:45.6705511Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>f76954dd-eddb-4fb9-9181-d08d6fe1b9ae</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:16:02.3054246Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:54.0454776Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>2851344e-fba4-4b9b-a865-a7a3c0b1ebb6</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.9525881Z\r\n Succeeded\r\n Completed\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14397" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "e73006d8-7ca2-4f0e-948d-3e3b3962e8fd-2015-02-23 15:16:29Z-P" + ], + "x-ms-request-id": [ + "b7dff51592d7c6f68f4ee167dec8a209" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:16:30 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/6b58b2c4-0969-48ff-800b-6f44480b2852?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvNmI1OGIyYzQtMDk2OS00OGZmLTgwMGItNmY0NDQ4MGIyODUyP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "8b4d2c19-3e32-4ddf-aa45-1f7dccf96ee7-2015-02-23 15:16:31Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n 6b58b2c4-0969-48ff-800b-6f44480b2852\r\n 647b6334-ab3e-4ebb-bd71-7df83dd85df2-2015-02-23 15:14:47Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Remove protection\r\n 2/23/2015 3:16:26 PM\r\n \r\n CloudUnPairing\r\n 2/23/2015 3:14:48 PM\r\n Succeeded\r\n Completed\r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n ProtectionContainer\r\n \r\n \r\n 6c11a271-07bc-4ec4-bf1b-82b2189f980f\r\n Removing the configuration for Windows Server 2012 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:15:50Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>a9e7e635-7609-4375-9b3d-0c9ff8ab584a</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:14:50.8563334Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.6473436Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>ecd0eefd-de10-4a13-b0a3-9cff782966ef</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:13.3684848Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:14:50.9344379Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>d0095db4-38e1-41a0-a50e-73c45beb115d</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:18.6309715Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:13.4484212Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>67b85855-70bf-430e-9a4d-87a99ed3315d</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:28.0373616Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:18.7090851Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>82d5b08c-688f-4bde-b8bb-0a63a830e111</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.9213442Z\r\n Succeeded\r\n Completed\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n 9208701f-5eaa-45c9-ad8a-0d8d097264ef\r\n Removing the configuration for Windows Server 2012 R2 Hyper-V hosts\r\n \r\n \r\n 2015-02-23T15:16:25Z\r\n <InlineWorkflowTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\">\r\n <d2p1:Task>\r\n <d2p1:ID>9ce03124-ffe2-4be9-bc6c-fccfb6b26ab8</d2p1:ID>\r\n <d2p1:Name>Prerequisites check for deleting the protection group</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:30.2237425Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:30.0831022Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>5c39b694-741c-49b7-b858-34b8734321f4</d2p1:ID>\r\n <d2p1:Name>Remove the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:45.5924195Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:30.3018489Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>1593bf26-aedf-4dd1-ad91-610f57ef4d7c</d2p1:ID>\r\n <d2p1:Name>Clean up the protection configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:15:53.9829602Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:45.6705511Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n <d2p1:Task>\r\n <d2p1:ID>f76954dd-eddb-4fb9-9181-d08d6fe1b9ae</d2p1:ID>\r\n <d2p1:Name>Clean up the configuration</d2p1:Name>\r\n <d2p1:Actions xmlns:d4p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" />\r\n <d2p1:ChildJobId i:nil=\"true\" />\r\n <d2p1:EndTime>2015-02-23T15:16:02.3054246Z</d2p1:EndTime>\r\n <d2p1:ExtendedDetails>&lt;Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\"&gt;\r\n &lt;ID i:nil=\"true\" /&gt;\r\n &lt;Name i:nil=\"true\" /&gt;\r\n &lt;Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" /&gt;\r\n &lt;ChildJobId i:nil=\"true\" /&gt;\r\n &lt;EndTime&gt;0001-01-01T00:00:00&lt;/EndTime&gt;\r\n &lt;ExtendedDetails i:nil=\"true\" /&gt;\r\n &lt;StartTime&gt;0001-01-01T00:00:00&lt;/StartTime&gt;\r\n &lt;State i:nil=\"true\" /&gt;\r\n &lt;StateDescription i:nil=\"true\" /&gt;\r\n &lt;TaskType i:nil=\"true\" /&gt;\r\n&lt;/Task&gt;</d2p1:ExtendedDetails>\r\n <d2p1:StartTime>2015-02-23T15:15:54.0454776Z</d2p1:StartTime>\r\n <d2p1:State>Succeeded</d2p1:State>\r\n <d2p1:StateDescription>Completed</d2p1:StateDescription>\r\n <d2p1:TaskType>TaskDetails</d2p1:TaskType>\r\n </d2p1:Task>\r\n </ChildTasks>\r\n <WorkflowIds xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\">\r\n <d2p1:string>2851344e-fba4-4b9b-a865-a7a3c0b1ebb6</d2p1:string>\r\n </WorkflowIds>\r\n</InlineWorkflowTaskDetails>\r\n 2015-02-23T15:14:49.9525881Z\r\n Succeeded\r\n Completed\r\n InlineWorkflowTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "14397" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "8b4d2c19-3e32-4ddf-aa45-1f7dccf96ee7-2015-02-23 15:16:31Z-P" + ], + "x-ms-request-id": [ + "8de72ecd4f05c2139850eef7ed914e73" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:16:32 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/EnableProtectionTest.json b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/EnableProtectionTest.json new file mode 100644 index 000000000000..a73190cec321 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/EnableProtectionTest.json @@ -0,0 +1,341 @@ +{ + "Entries": [ + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "74456e6d73d3c12ebe50bef14d0fc287" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:08:25 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "f6636c436520c5df8e4f77e54df450c2" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:08:26 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "2303b507a958c8e4a2dc7ffe83e4b8db" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:08:31 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "d1285e8ab014ce92ad600b98080fedd4" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:08:34 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionContainers?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "d4fb375c-df1f-4cb4-b29c-b31aa4d23a3c-2015-02-23 15:08:27Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n Primary\r\n \r\n \r\n 7580cb43-decf-4e66-aee3-40718d11fec8\r\n 7580cb43-decf-4e66-aee3-40718d11fec8\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n Paired\r\n \r\n \r\n true\r\n 0\r\n HyperVReplica\r\n <HyperVReplicaProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <AllowedAuthenticationType>1</AllowedAuthenticationType>\r\n <ApplicationConsistentSnapshotFrequencyInHours>1</ApplicationConsistentSnapshotFrequencyInHours>\r\n <CompressionEnabled>true</CompressionEnabled>\r\n <OfflineReplicationExportPath />\r\n <OfflineReplicationImportPath />\r\n <OnlineReplicationMethod>true</OnlineReplicationMethod>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPoints>1</RecoveryPoints>\r\n <ReplicaDeletionOption>SecondaryVMOnRecoveryCloud</ReplicaDeletionOption>\r\n <ReplicationPort>8083</ReplicationPort>\r\n <ReplicationFrequencyInSeconds>0</ReplicationFrequencyInSeconds>\r\n</HyperVReplicaProtectionProfileDetails>\r\n \r\n \r\n c58179df-ae75-4098-90e9-dcd8c7934784\r\n c58179df-ae75-4098-90e9-dcd8c7934784\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n Paired\r\n \r\n \r\n true\r\n 0\r\n HyperVReplica\r\n <HyperVReplicaProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <AllowedAuthenticationType>1</AllowedAuthenticationType>\r\n <ApplicationConsistentSnapshotFrequencyInHours>1</ApplicationConsistentSnapshotFrequencyInHours>\r\n <CompressionEnabled>true</CompressionEnabled>\r\n <OfflineReplicationExportPath />\r\n <OfflineReplicationImportPath />\r\n <OnlineReplicationMethod>true</OnlineReplicationMethod>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPoints>1</RecoveryPoints>\r\n <ReplicaDeletionOption>SecondaryVMOnRecoveryCloud</ReplicaDeletionOption>\r\n <ReplicationPort>8083</ReplicationPort>\r\n <ReplicationFrequencyInSeconds>300</ReplicationFrequencyInSeconds>\r\n</HyperVReplicaProtectionProfileDetails>\r\n \r\n \r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n Cloud_0_2bb286ca_78225OE72093\r\n Primary\r\n \r\n \r\n b6a2ef89-347c-48c5-b33b-5b8bd8ac8154\r\n b6a2ef89-347c-48c5-b33b-5b8bd8ac8154\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n Microsoft Azure\r\n PairingFailed\r\n \r\n \r\n true\r\n 0\r\n HyperVReplicaAzure\r\n <HyperVReplicaAzureProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ActiveStorageAccount>\r\n <StorageAccountName>hostersfcbvtvaulte423371</StorageAccountName>\r\n <SubscriptionId>e423371c-63cd-497e-b5b0-eb6d0b306d7e</SubscriptionId>\r\n </ActiveStorageAccount>\r\n <ApplicationConsistentSnapshotFrequencyInHours>0</ApplicationConsistentSnapshotFrequencyInHours>\r\n <EncryptionEnabled>false</EncryptionEnabled>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPointHistoryDuration>0</RecoveryPointHistoryDuration>\r\n <ReplicationInterval>300</ReplicationInterval>\r\n</HyperVReplicaAzureProtectionProfileDetails>\r\n \r\n \r\n 9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n \r\n \r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n cloudOn21\r\n Recovery\r\n \r\n 3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n VMM\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5\r\n VMM\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "6178" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "d4fb375c-df1f-4cb4-b29c-b31aa4d23a3c-2015-02-23 15:08:27Z-P" + ], + "x-ms-request-id": [ + "8a48837a911aca869847c97823f6b644" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:08:29 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionContainers/774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3/ProtectionEntities?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzLzc3NDg1OWIwLTE5NjYtNDhjYy05ZGY3LTc1OWM0NDFiN2E4Y180OTRjMDk5My1jYzM1LTRkODQtYjM3My1iZjFhMjNiZTIxZDMvUHJvdGVjdGlvbkVudGl0aWVzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "9e7accf0-e8c8-48e3-b56b-90fc1f1cb3d0-2015-02-23 15:08:32Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 80c84984-5923-481d-9689-b86c6c82c595\r\n vmOn19\r\n \r\n false\r\n false\r\n false\r\n f8eaff17-9c08-4a81-92de-44d4a7123277\r\n false\r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n \r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n \r\n \r\n \r\n <AzureVmDiskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <Disks>\r\n <VirtualHardDisk>\r\n <Id>ff4d0f4f-1657-4667-b8b0-a68b19383a57</Id>\r\n <Name>vmOn19_disk_1</Name>\r\n </VirtualHardDisk>\r\n </Disks>\r\n <MaxSizeMB>40960</MaxSizeMB>\r\n <OsDisk>vmOn19_disk_1</OsDisk>\r\n <OsType>Windows</OsType>\r\n <VHDId>ff4d0f4f-1657-4667-b8b0-a68b19383a57</VHDId>\r\n</AzureVmDiskDetails>\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1480" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "9e7accf0-e8c8-48e3-b56b-90fc1f1cb3d0-2015-02-23 15:08:32Z-P" + ], + "x-ms-request-id": [ + "e1126a1d6567c4e0bdda95f4f8d2ac4f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:08:31 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionContainers/774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3/ProtectionEntities/80c84984-5923-481d-9689-b86c6c82c595/EnableProtection?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzLzc3NDg1OWIwLTE5NjYtNDhjYy05ZGY3LTc1OWM0NDFiN2E4Y180OTRjMDk5My1jYzM1LTRkODQtYjM3My1iZjFhMjNiZTIxZDMvUHJvdGVjdGlvbkVudGl0aWVzLzgwYzg0OTg0LTU5MjMtNDgxZC05Njg5LWI4NmM2YzgyYzU5NS9FbmFibGVQcm90ZWN0aW9uP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "POST", + "RequestBody": "\r\n 7580cb43-decf-4e66-aee3-40718d11fec8\r\n \r\n", + "RequestHeaders": { + "Content-Type": [ + "application/xml" + ], + "Content-Length": [ + "239" + ], + "Accept": [ + "application/xml" + ], + "Agent-Authentication": [ + "{\"NotBeforeTimestamp\":\"\\/Date(1424700514798)\\/\",\"NotAfterTimestamp\":\"\\/Date(1424722114798)\\/\",\"ClientRequestId\":\"8f1d3d8e-5723-4357-914d-d0a229b38493-2015-02-23 15:08:34Z-P\",\"HashFunction\":\"HMACSHA256\",\"Hmac\":\"ssgXR6yvRaW0xfzAi6yM/64/KMjaDPDBerOYlPKBb2w=\",\"Version\":{\"Major\":1,\"Minor\":2,\"Build\":-1,\"Revision\":-1,\"MajorRevision\":-1,\"MinorRevision\":-1},\"PropertyBag\":{}}" + ], + "x-ms-client-request-id": [ + "8f1d3d8e-5723-4357-914d-d0a229b38493-2015-02-23 15:08:34Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n 00000000-0000-0000-0000-000000000000\r\n E2EHvrVmProtectionNotSupported\r\n <Error xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery\">\r\n <ActivityId>00000000-0000-0000-0000-000000000000</ActivityId>\r\n <Code>E2EHvrVmProtectionNotSupported</Code>\r\n <Message>Protection couldn't be enabled for the virtual machine.</Message>\r\n <PossibleCauses>The host operating system of the virtual machine isn't supported. The operation system must be Windows Server 2012 and later versions.</PossibleCauses>\r\n <RecommendedAction>Migrate the virtual machine to a Hyper-V host running a supported operating system.</RecommendedAction>\r\n</Error>\r\n The host operating system of the virtual machine isn't supported. The operation system must be Windows Server 2012 and later versions.\r\n Migrate the virtual machine to a Hyper-V host running a supported operating system.\r\n", + "ResponseHeaders": { + "Content-Length": [ + "1255" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Date": [ + "Mon, 23 Feb 2015 15:08:35 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 400 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/EnumerationTests.json b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/EnumerationTests.json new file mode 100644 index 000000000000..0bca95e6abff --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/EnumerationTests.json @@ -0,0 +1,255 @@ +{ + "Entries": [ + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "1d1019c17253c99f930f98a5ebdee220" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 14:59:34 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "f3673093ad3ccd0da603fb74e93cddfc" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 14:59:37 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "f0d5b33b4d2ec0d5961df25336e4626c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 14:59:41 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Servers?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1NlcnZlcnM/YXBpLXZlcnNpb249MjAxNS0wMi0xMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "b4c71df3-4bbb-4c8a-be79-cf1d1988f4fa-2015-02-23 14:59:38Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n HRM-04-019.dratest.nttest.microsoft.com\r\n true\r\n 2015-02-23T14:58:32.3262491Z\r\n 3.5.708.0\r\n 3.2.7768.0\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n VMM\r\n \r\n \r\n dc1ed9b2-7b90-4534-9977-12881d278fb5\r\n HRM-04-021.dratest.nttest.microsoft.com\r\n true\r\n 2015-02-23T14:58:58.4089848Z\r\n 3.5.708.0\r\n 3.2.7768.0\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5\r\n VMM\r\n VMM\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "929" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "b4c71df3-4bbb-4c8a-be79-cf1d1988f4fa-2015-02-23 14:59:38Z-P" + ], + "x-ms-request-id": [ + "2665cd63b6efcd65b081c6afa7fe2297" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 14:59:41 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionContainers?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "214e92eb-c0db-43a9-8a68-fe70cac119f6-2015-02-23 14:59:43Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n \r\n \r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n Cloud_0_2bb286ca_78225OE72093\r\n Primary\r\n \r\n \r\n b6a2ef89-347c-48c5-b33b-5b8bd8ac8154\r\n b6a2ef89-347c-48c5-b33b-5b8bd8ac8154\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n Microsoft Azure\r\n PairingFailed\r\n \r\n \r\n true\r\n 0\r\n HyperVReplicaAzure\r\n <HyperVReplicaAzureProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ActiveStorageAccount>\r\n <StorageAccountName>hostersfcbvtvaulte423371</StorageAccountName>\r\n <SubscriptionId>e423371c-63cd-497e-b5b0-eb6d0b306d7e</SubscriptionId>\r\n </ActiveStorageAccount>\r\n <ApplicationConsistentSnapshotFrequencyInHours>0</ApplicationConsistentSnapshotFrequencyInHours>\r\n <EncryptionEnabled>false</EncryptionEnabled>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPointHistoryDuration>0</RecoveryPointHistoryDuration>\r\n <ReplicationInterval>300</ReplicationInterval>\r\n</HyperVReplicaAzureProtectionProfileDetails>\r\n \r\n \r\n 9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n \r\n \r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n cloudOn21\r\n \r\n \r\n 3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n VMM\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5\r\n VMM\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "2814" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "214e92eb-c0db-43a9-8a68-fe70cac119f6-2015-02-23 14:59:43Z-P" + ], + "x-ms-request-id": [ + "8361915f4af8c08e9c21787ec37db8e3" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 14:59:44 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/FailbackTest.json b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/FailbackTest.json new file mode 100644 index 000000000000..57660fd05692 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/FailbackTest.json @@ -0,0 +1,358 @@ +{ + "Entries": [ + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "474709753fe3cff08c811335c8c7ab28" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:11:39 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "557ed1d698d2c9958489fb3aa47d4d26" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:11:41 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "ec44dee6d5facac592d2b4e011cd3ca1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:11:45 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "638a86c377c1c620a0ffc8338e145bb9" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:11:48 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionContainers?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "b9732aee-b091-47f1-81f8-f96696798659-2015-02-23 15:11:41Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n Primary\r\n \r\n \r\n 7580cb43-decf-4e66-aee3-40718d11fec8\r\n 7580cb43-decf-4e66-aee3-40718d11fec8\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n Paired\r\n \r\n \r\n true\r\n 0\r\n HyperVReplica\r\n <HyperVReplicaProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <AllowedAuthenticationType>1</AllowedAuthenticationType>\r\n <ApplicationConsistentSnapshotFrequencyInHours>1</ApplicationConsistentSnapshotFrequencyInHours>\r\n <CompressionEnabled>true</CompressionEnabled>\r\n <OfflineReplicationExportPath />\r\n <OfflineReplicationImportPath />\r\n <OnlineReplicationMethod>true</OnlineReplicationMethod>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPoints>1</RecoveryPoints>\r\n <ReplicaDeletionOption>SecondaryVMOnRecoveryCloud</ReplicaDeletionOption>\r\n <ReplicationPort>8083</ReplicationPort>\r\n <ReplicationFrequencyInSeconds>0</ReplicationFrequencyInSeconds>\r\n</HyperVReplicaProtectionProfileDetails>\r\n \r\n \r\n c58179df-ae75-4098-90e9-dcd8c7934784\r\n c58179df-ae75-4098-90e9-dcd8c7934784\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n Paired\r\n \r\n \r\n true\r\n 0\r\n HyperVReplica\r\n <HyperVReplicaProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <AllowedAuthenticationType>1</AllowedAuthenticationType>\r\n <ApplicationConsistentSnapshotFrequencyInHours>1</ApplicationConsistentSnapshotFrequencyInHours>\r\n <CompressionEnabled>true</CompressionEnabled>\r\n <OfflineReplicationExportPath />\r\n <OfflineReplicationImportPath />\r\n <OnlineReplicationMethod>true</OnlineReplicationMethod>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPoints>1</RecoveryPoints>\r\n <ReplicaDeletionOption>SecondaryVMOnRecoveryCloud</ReplicaDeletionOption>\r\n <ReplicationPort>8083</ReplicationPort>\r\n <ReplicationFrequencyInSeconds>300</ReplicationFrequencyInSeconds>\r\n</HyperVReplicaProtectionProfileDetails>\r\n \r\n \r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n Cloud_0_2bb286ca_78225OE72093\r\n Primary\r\n \r\n \r\n b6a2ef89-347c-48c5-b33b-5b8bd8ac8154\r\n b6a2ef89-347c-48c5-b33b-5b8bd8ac8154\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n Microsoft Azure\r\n PairingFailed\r\n \r\n \r\n true\r\n 0\r\n HyperVReplicaAzure\r\n <HyperVReplicaAzureProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ActiveStorageAccount>\r\n <StorageAccountName>hostersfcbvtvaulte423371</StorageAccountName>\r\n <SubscriptionId>e423371c-63cd-497e-b5b0-eb6d0b306d7e</SubscriptionId>\r\n </ActiveStorageAccount>\r\n <ApplicationConsistentSnapshotFrequencyInHours>0</ApplicationConsistentSnapshotFrequencyInHours>\r\n <EncryptionEnabled>false</EncryptionEnabled>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPointHistoryDuration>0</RecoveryPointHistoryDuration>\r\n <ReplicationInterval>300</ReplicationInterval>\r\n</HyperVReplicaAzureProtectionProfileDetails>\r\n \r\n \r\n 9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n \r\n \r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n cloudOn21\r\n Recovery\r\n \r\n 3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n VMM\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5\r\n VMM\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "6178" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "b9732aee-b091-47f1-81f8-f96696798659-2015-02-23 15:11:41Z-P" + ], + "x-ms-request-id": [ + "f913aea8d63fcef7b4f88f2c07d56c53" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:11:44 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionContainers/774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3/ProtectionEntities?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzLzc3NDg1OWIwLTE5NjYtNDhjYy05ZGY3LTc1OWM0NDFiN2E4Y180OTRjMDk5My1jYzM1LTRkODQtYjM3My1iZjFhMjNiZTIxZDMvUHJvdGVjdGlvbkVudGl0aWVzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "7aafc3f3-c40f-4e42-ab39-4b360904c7aa-2015-02-23 15:11:46Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 80c84984-5923-481d-9689-b86c6c82c595\r\n vmOn19\r\n \r\n false\r\n false\r\n false\r\n f8eaff17-9c08-4a81-92de-44d4a7123277\r\n false\r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n \r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n \r\n \r\n \r\n <AzureVmDiskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <Disks>\r\n <VirtualHardDisk>\r\n <Id>ff4d0f4f-1657-4667-b8b0-a68b19383a57</Id>\r\n <Name>vmOn19_disk_1</Name>\r\n </VirtualHardDisk>\r\n </Disks>\r\n <MaxSizeMB>40960</MaxSizeMB>\r\n <OsDisk>vmOn19_disk_1</OsDisk>\r\n <OsType>Windows</OsType>\r\n <VHDId>ff4d0f4f-1657-4667-b8b0-a68b19383a57</VHDId>\r\n</AzureVmDiskDetails>\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1480" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "7aafc3f3-c40f-4e42-ab39-4b360904c7aa-2015-02-23 15:11:46Z-P" + ], + "x-ms-request-id": [ + "2bf867a6d40ec2879f659577f55b2b5d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:11:46 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionContainers/774859b0-1966-48cc-9df7-759c441b7a8c_9055598c-844b-4943-9f39-7e62bdd2cbcc/ProtectionEntities?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzLzc3NDg1OWIwLTE5NjYtNDhjYy05ZGY3LTc1OWM0NDFiN2E4Y185MDU1NTk4Yy04NDRiLTQ5NDMtOWYzOS03ZTYyYmRkMmNiY2MvUHJvdGVjdGlvbkVudGl0aWVzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "3e58b270-598f-4c35-89a4-8d3af5ce48ab-2015-02-23 15:11:49Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "128" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "3e58b270-598f-4c35-89a4-8d3af5ce48ab-2015-02-23 15:11:49Z-P" + ], + "x-ms-request-id": [ + "e3a5f0760aadc1e9bd6baff0528fdbd0" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:11:50 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/NetworkMappingTest.json b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/NetworkMappingTest.json new file mode 100644 index 000000000000..2b91f0dd2fe7 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/NetworkMappingTest.json @@ -0,0 +1,676 @@ +{ + "Entries": [ + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "bed1e29f43efc01e902e597a5ed76b44" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:02:52 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "eefa17d596f5c249824c3b48b0bd1829" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:02:53 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "e8c485a901d7c516b6d618b6d3bcaac9" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:02:58 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "979023e66a16c6d7ad0906fb836187ef" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:03:00 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "2a830a0dfe41cc1bacd10c89ca20e54e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:03:03 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "0aace19fe72dcf9ab5f724dc8ae7a31c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:03:11 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "1790896318bcc93e911c4d3b6121475c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:03:14 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Servers?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1NlcnZlcnM/YXBpLXZlcnNpb249MjAxNS0wMi0xMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "885c7b27-553b-4d06-ad76-8954543fd419-2015-02-23 15:02:55Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n HRM-04-019.dratest.nttest.microsoft.com\r\n true\r\n 2015-02-23T15:01:32.4456534Z\r\n 3.5.708.0\r\n 3.2.7768.0\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n VMM\r\n \r\n \r\n dc1ed9b2-7b90-4534-9977-12881d278fb5\r\n HRM-04-021.dratest.nttest.microsoft.com\r\n true\r\n 2015-02-23T15:01:57.8805747Z\r\n 3.5.708.0\r\n 3.2.7768.0\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5\r\n VMM\r\n VMM\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "929" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "885c7b27-553b-4d06-ad76-8954543fd419-2015-02-23 15:02:55Z-P" + ], + "x-ms-request-id": [ + "7f3807286690c37fa2a131ac652d02c5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:02:57 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Networks?api-version=2015-02-10&ServerId=774859b0-1966-48cc-9df7-759c441b7a8c", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L05ldHdvcmtzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTAmU2VydmVySWQ9Nzc0ODU5YjAtMTk2Ni00OGNjLTlkZjctNzU5YzQ0MWI3YThj", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "34558b4f-f3b1-407b-a0d1-9ba92ba53246-2015-02-23 15:02:59Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 037a6701-37be-406a-ace7-d6e80aaaf1f4\r\n phase2PrimaryVMNetwork\r\n 037a6701-37be-406a-ace7-d6e80aaaf1f4\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n NoIsolation\r\n \r\n \r\n \r\n b6177888-5bf1-4f3e-bf5d-84402e0e0229\r\n phase2RecoveryVMNetwork\r\n b6177888-5bf1-4f3e-bf5d-84402e0e0229\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n NoIsolation\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "760" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "34558b4f-f3b1-407b-a0d1-9ba92ba53246-2015-02-23 15:02:59Z-P" + ], + "x-ms-request-id": [ + "78a1d5fca77ac9b6b79887afd3cec23f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:03:00 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/NetworkMappings?api-version=2015-02-10&PrimaryServerId=774859b0-1966-48cc-9df7-759c441b7a8c&RecoveryServerId=774859b0-1966-48cc-9df7-759c441b7a8c", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L05ldHdvcmtNYXBwaW5ncz9hcGktdmVyc2lvbj0yMDE1LTAyLTEwJlByaW1hcnlTZXJ2ZXJJZD03NzQ4NTliMC0xOTY2LTQ4Y2MtOWRmNy03NTljNDQxYjdhOGMmUmVjb3ZlcnlTZXJ2ZXJJZD03NzQ4NTliMC0xOTY2LTQ4Y2MtOWRmNy03NTljNDQxYjdhOGM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "420f6719-76ea-46a9-be0b-3fce956c0062-2015-02-23 15:03:02Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "126" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "420f6719-76ea-46a9-be0b-3fce956c0062-2015-02-23 15:03:02Z-P" + ], + "x-ms-request-id": [ + "0206442e7db3c1c9a09dc9838ead65b7" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:03:01 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/NetworkMappings?api-version=2015-02-10&PrimaryServerId=774859b0-1966-48cc-9df7-759c441b7a8c&RecoveryServerId=774859b0-1966-48cc-9df7-759c441b7a8c", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L05ldHdvcmtNYXBwaW5ncz9hcGktdmVyc2lvbj0yMDE1LTAyLTEwJlByaW1hcnlTZXJ2ZXJJZD03NzQ4NTliMC0xOTY2LTQ4Y2MtOWRmNy03NTljNDQxYjdhOGMmUmVjb3ZlcnlTZXJ2ZXJJZD03NzQ4NTliMC0xOTY2LTQ4Y2MtOWRmNy03NTljNDQxYjdhOGM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "7c3767c4-389d-4e2f-b7f0-1e2697fbd1dd-2015-02-23 15:03:15Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n OK\r\n 037a6701-37be-406a-ace7-d6e80aaaf1f4\r\n phase2PrimaryVMNetwork\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n b6177888-5bf1-4f3e-bf5d-84402e0e0229\r\n phase2RecoveryVMNetwork\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "636" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "7c3767c4-389d-4e2f-b7f0-1e2697fbd1dd-2015-02-23 15:03:15Z-P" + ], + "x-ms-request-id": [ + "e142680245e9c639b0b79e3fcd31ead6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:03:15 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/NetworkMappings?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L05ldHdvcmtNYXBwaW5ncz9hcGktdmVyc2lvbj0yMDE1LTAyLTEw", + "RequestMethod": "POST", + "RequestBody": "\r\n SCVMM\r\n <CreateNetworkMappingInput xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <PrimaryServerId>774859b0-1966-48cc-9df7-759c441b7a8c</PrimaryServerId>\r\n <PrimaryNetworkId>037a6701-37be-406a-ace7-d6e80aaaf1f4</PrimaryNetworkId>\r\n <RecoveryServerId>774859b0-1966-48cc-9df7-759c441b7a8c</RecoveryServerId>\r\n <RecoveryNetworkId>b6177888-5bf1-4f3e-bf5d-84402e0e0229</RecoveryNetworkId>\r\n</CreateNetworkMappingInput>\r\n", + "RequestHeaders": { + "Content-Type": [ + "application/xml" + ], + "Content-Length": [ + "729" + ], + "Accept": [ + "application/xml" + ], + "Agent-Authentication": [ + "{\"NotBeforeTimestamp\":\"\\/Date(1424700184592)\\/\",\"NotAfterTimestamp\":\"\\/Date(1424721784592)\\/\",\"ClientRequestId\":\"4c5f59ab-3b97-4bb2-af68-002410f649f1-2015-02-23 15:03:04Z-P\",\"HashFunction\":\"HMACSHA256\",\"Hmac\":\"CjNTqDUVz+Y5/s3AH0Cfms7pORkhikfiKIPUk00jsdk=\",\"Version\":{\"Major\":1,\"Minor\":2,\"Build\":-1,\"Revision\":-1,\"MajorRevision\":-1,\"MinorRevision\":-1},\"PropertyBag\":{}}" + ], + "x-ms-client-request-id": [ + "4c5f59ab-3b97-4bb2-af68-002410f649f1-2015-02-23 15:03:04Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n 14a3e70b-c738-4f35-98b5-b918205a250d\r\n 4c5f59ab-3b97-4bb2-af68-002410f649f1-2015-02-23 15:03:04Z-P\r\n \r\n \r\n \r\n \r\n \r\n \r\n NotStarted\r\n NotStarted\r\n \r\n \r\n ProtectionEntity\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "629" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "4c5f59ab-3b97-4bb2-af68-002410f649f1-2015-02-23 15:03:04Z-P" + ], + "x-ms-request-id": [ + "10fa70dd4b69c93ebd6f4aa768511e94" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:03:05 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/14a3e70b-c738-4f35-98b5-b918205a250d?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvMTRhM2U3MGItYzczOC00ZjM1LTk4YjUtYjkxODIwNWEyNTBkP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "ed91ac3a-49a6-4df4-9801-d90c607b39d1-2015-02-23 15:03:12Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n 14a3e70b-c738-4f35-98b5-b918205a250d\r\n 4c5f59ab-3b97-4bb2-af68-002410f649f1-2015-02-23 15:03:04Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Map\r\n 2/23/2015 3:03:09 PM\r\n \r\n NetworkPairing\r\n 2/23/2015 3:03:06 PM\r\n Succeeded\r\n Completed\r\n 037a6701-37be-406a-ace7-d6e80aaaf1f4\r\n phase2PrimaryVMNetwork\r\n Network\r\n \r\n \r\n 1847303e-4ef4-4a43-9c77-5e5edb69bcb1\r\n Map network\r\n \r\n \r\n 2015-02-23T15:03:08.5347986Z\r\n <Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ID i:nil=\"true\" />\r\n <Name i:nil=\"true\" />\r\n <Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" />\r\n <ChildJobId i:nil=\"true\" />\r\n <EndTime>0001-01-01T00:00:00</EndTime>\r\n <ExtendedDetails i:nil=\"true\" />\r\n <StartTime>0001-01-01T00:00:00</StartTime>\r\n <State i:nil=\"true\" />\r\n <StateDescription i:nil=\"true\" />\r\n <TaskType i:nil=\"true\" />\r\n</Task>\r\n 2015-02-23T15:03:06.4119513Z\r\n Succeeded\r\n Completed\r\n TaskDetails\r\n \r\n \r\n 231483a2-a9e0-45c8-9ae9-8cf328853c61\r\n Attach network (0)\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <GroupTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\" />\r\n</GroupTaskDetails>\r\n 0001-01-01T00:00:00\r\n Succeeded\r\n Skipped\r\n GroupTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "2511" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "ed91ac3a-49a6-4df4-9801-d90c607b39d1-2015-02-23 15:03:12Z-P" + ], + "x-ms-request-id": [ + "c49157b86ec5c242ad05513294bbfed8" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:03:13 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/NetworkUnMappingTest.json b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/NetworkUnMappingTest.json new file mode 100644 index 000000000000..2c7b940b79f8 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/NetworkUnMappingTest.json @@ -0,0 +1,985 @@ +{ + "Entries": [ + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "5950981ace69c748af318ac21ad99576" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:03:51 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "32e2eb0a6261c5e8bf8f5e3d5e075a86" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:03:52 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "b1c3994fb8ccc815bf210fe7a7e6a06e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:03:57 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "3a70e36e9385c4a6b182204bb4ca100e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:04:01 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "2732a269a526c7f086fe311aec2a9157" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:04:10 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "07f14804b9bbcece9c3c034e6963a804" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:04:18 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "c2773b21088bcf20ac239a99652d233a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:04:25 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "9ad88b5bd666c2fa873b98f2254d62ec" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:04:33 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "b1cf945e7caac481acd33ca0d0624072" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:04:42 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "2862144e5703c9059cac3c4455dcaf93" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:04:45 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Servers?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1NlcnZlcnM/YXBpLXZlcnNpb249MjAxNS0wMi0xMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "a8683284-7e0f-48fa-912c-e62bbe7142fa-2015-02-23 15:03:54Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n HRM-04-019.dratest.nttest.microsoft.com\r\n true\r\n 2015-02-23T15:03:02.4535127Z\r\n 3.5.708.0\r\n 3.2.7768.0\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n VMM\r\n \r\n \r\n dc1ed9b2-7b90-4534-9977-12881d278fb5\r\n HRM-04-021.dratest.nttest.microsoft.com\r\n true\r\n 2015-02-23T15:03:27.8919357Z\r\n 3.5.708.0\r\n 3.2.7768.0\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5\r\n VMM\r\n VMM\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "929" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "a8683284-7e0f-48fa-912c-e62bbe7142fa-2015-02-23 15:03:54Z-P" + ], + "x-ms-request-id": [ + "857029ecfd32c588839592b685b5c581" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:03:56 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/NetworkMappings?api-version=2015-02-10&PrimaryServerId=774859b0-1966-48cc-9df7-759c441b7a8c&RecoveryServerId=774859b0-1966-48cc-9df7-759c441b7a8c", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L05ldHdvcmtNYXBwaW5ncz9hcGktdmVyc2lvbj0yMDE1LTAyLTEwJlByaW1hcnlTZXJ2ZXJJZD03NzQ4NTliMC0xOTY2LTQ4Y2MtOWRmNy03NTljNDQxYjdhOGMmUmVjb3ZlcnlTZXJ2ZXJJZD03NzQ4NTliMC0xOTY2LTQ4Y2MtOWRmNy03NTljNDQxYjdhOGM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "ce1bbe29-f099-4f69-b654-3459f0fd8400-2015-02-23 15:03:59Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n OK\r\n 037a6701-37be-406a-ace7-d6e80aaaf1f4\r\n phase2PrimaryVMNetwork\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n b6177888-5bf1-4f3e-bf5d-84402e0e0229\r\n phase2RecoveryVMNetwork\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "636" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "ce1bbe29-f099-4f69-b654-3459f0fd8400-2015-02-23 15:03:59Z-P" + ], + "x-ms-request-id": [ + "8f357d53481cc46195d9bfbd90478386" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:04:00 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/NetworkMappings?api-version=2015-02-10&PrimaryServerId=774859b0-1966-48cc-9df7-759c441b7a8c&RecoveryServerId=774859b0-1966-48cc-9df7-759c441b7a8c", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L05ldHdvcmtNYXBwaW5ncz9hcGktdmVyc2lvbj0yMDE1LTAyLTEwJlByaW1hcnlTZXJ2ZXJJZD03NzQ4NTliMC0xOTY2LTQ4Y2MtOWRmNy03NTljNDQxYjdhOGMmUmVjb3ZlcnlTZXJ2ZXJJZD03NzQ4NTliMC0xOTY2LTQ4Y2MtOWRmNy03NTljNDQxYjdhOGM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "bdb07eae-7cbd-4a70-8e12-99b8abfbe67e-2015-02-23 15:04:46Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "126" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "bdb07eae-7cbd-4a70-8e12-99b8abfbe67e-2015-02-23 15:04:46Z-P" + ], + "x-ms-request-id": [ + "0f5adb15898fc59ea5d8906ef4f04e0f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:04:46 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/NetworkMappings?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L05ldHdvcmtNYXBwaW5ncz9hcGktdmVyc2lvbj0yMDE1LTAyLTEw", + "RequestMethod": "DELETE", + "RequestBody": "\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n 037a6701-37be-406a-ace7-d6e80aaaf1f4\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n", + "RequestHeaders": { + "Content-Type": [ + "application/xml" + ], + "Content-Length": [ + "328" + ], + "Accept": [ + "application/xml" + ], + "Agent-Authentication": [ + "{\"NotBeforeTimestamp\":\"\\/Date(1424700242078)\\/\",\"NotAfterTimestamp\":\"\\/Date(1424721842078)\\/\",\"ClientRequestId\":\"c7ddcd0c-6067-4fb4-bb35-f417086baf6d-2015-02-23 15:04:02Z-P\",\"HashFunction\":\"HMACSHA256\",\"Hmac\":\"vDeoo71UotLIVLBkcBMaZsMbyQu3/I6AZqKSScVd3tA=\",\"Version\":{\"Major\":1,\"Minor\":2,\"Build\":-1,\"Revision\":-1,\"MajorRevision\":-1,\"MinorRevision\":-1},\"PropertyBag\":{}}" + ], + "x-ms-client-request-id": [ + "c7ddcd0c-6067-4fb4-bb35-f417086baf6d-2015-02-23 15:04:02Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n a49c3dac-1536-48f0-a771-df713501e6a6\r\n c7ddcd0c-6067-4fb4-bb35-f417086baf6d-2015-02-23 15:04:02Z-P\r\n \r\n \r\n \r\n \r\n \r\n \r\n NotStarted\r\n NotStarted\r\n \r\n \r\n ProtectionEntity\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "629" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "c7ddcd0c-6067-4fb4-bb35-f417086baf6d-2015-02-23 15:04:02Z-P" + ], + "x-ms-request-id": [ + "5e8f54834823cfbda24117693fd44e32" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:04:03 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/a49c3dac-1536-48f0-a771-df713501e6a6?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvYTQ5YzNkYWMtMTUzNi00OGYwLWE3NzEtZGY3MTM1MDFlNmE2P2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "3306e0b0-952d-4618-8c1b-670fa164edeb-2015-02-23 15:04:10Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n a49c3dac-1536-48f0-a771-df713501e6a6\r\n c7ddcd0c-6067-4fb4-bb35-f417086baf6d-2015-02-23 15:04:02Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Remove map\r\n \r\n \r\n NetworkUnPairing\r\n 2/23/2015 3:04:04 PM\r\n InProgress\r\n InProgress\r\n 037a6701-37be-406a-ace7-d6e80aaaf1f4\r\n phase2PrimaryVMNetwork\r\n Network\r\n \r\n \r\n b2fc0bc3-e768-40e1-a753-6aa5bf7fd006\r\n Unmap network\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ID i:nil=\"true\" />\r\n <Name i:nil=\"true\" />\r\n <Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" />\r\n <ChildJobId i:nil=\"true\" />\r\n <EndTime>0001-01-01T00:00:00</EndTime>\r\n <ExtendedDetails i:nil=\"true\" />\r\n <StartTime>0001-01-01T00:00:00</StartTime>\r\n <State i:nil=\"true\" />\r\n <StateDescription i:nil=\"true\" />\r\n <TaskType i:nil=\"true\" />\r\n</Task>\r\n 2015-02-23T15:04:05.083186Z\r\n InProgress\r\n InProgress\r\n TaskDetails\r\n \r\n \r\n f04a3ad4-be66-4ae7-8c3f-711bc43a4bb6\r\n Detach network (0)\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <GroupTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\" />\r\n</GroupTaskDetails>\r\n 0001-01-01T00:00:00\r\n NotStarted\r\n NotStarted\r\n GroupTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "2504" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "3306e0b0-952d-4618-8c1b-670fa164edeb-2015-02-23 15:04:10Z-P" + ], + "x-ms-request-id": [ + "786a3a924e7acd6895d0e11fff13be9a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:04:11 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/a49c3dac-1536-48f0-a771-df713501e6a6?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvYTQ5YzNkYWMtMTUzNi00OGYwLWE3NzEtZGY3MTM1MDFlNmE2P2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "b361d0c9-a8d4-4ce2-acea-a7d84203a10d-2015-02-23 15:04:19Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n a49c3dac-1536-48f0-a771-df713501e6a6\r\n c7ddcd0c-6067-4fb4-bb35-f417086baf6d-2015-02-23 15:04:02Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Remove map\r\n \r\n \r\n NetworkUnPairing\r\n 2/23/2015 3:04:04 PM\r\n InProgress\r\n InProgress\r\n 037a6701-37be-406a-ace7-d6e80aaaf1f4\r\n phase2PrimaryVMNetwork\r\n Network\r\n \r\n \r\n b2fc0bc3-e768-40e1-a753-6aa5bf7fd006\r\n Unmap network\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ID i:nil=\"true\" />\r\n <Name i:nil=\"true\" />\r\n <Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" />\r\n <ChildJobId i:nil=\"true\" />\r\n <EndTime>0001-01-01T00:00:00</EndTime>\r\n <ExtendedDetails i:nil=\"true\" />\r\n <StartTime>0001-01-01T00:00:00</StartTime>\r\n <State i:nil=\"true\" />\r\n <StateDescription i:nil=\"true\" />\r\n <TaskType i:nil=\"true\" />\r\n</Task>\r\n 2015-02-23T15:04:05.083186Z\r\n InProgress\r\n InProgress\r\n TaskDetails\r\n \r\n \r\n f04a3ad4-be66-4ae7-8c3f-711bc43a4bb6\r\n Detach network (0)\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <GroupTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\" />\r\n</GroupTaskDetails>\r\n 0001-01-01T00:00:00\r\n NotStarted\r\n NotStarted\r\n GroupTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "2504" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "b361d0c9-a8d4-4ce2-acea-a7d84203a10d-2015-02-23 15:04:19Z-P" + ], + "x-ms-request-id": [ + "48585220decccd3c8131554bea73dab6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:04:20 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/a49c3dac-1536-48f0-a771-df713501e6a6?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvYTQ5YzNkYWMtMTUzNi00OGYwLWE3NzEtZGY3MTM1MDFlNmE2P2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "d269f243-de12-46a5-b086-a57b305ad135-2015-02-23 15:04:27Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n a49c3dac-1536-48f0-a771-df713501e6a6\r\n c7ddcd0c-6067-4fb4-bb35-f417086baf6d-2015-02-23 15:04:02Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Remove map\r\n \r\n \r\n NetworkUnPairing\r\n 2/23/2015 3:04:04 PM\r\n InProgress\r\n InProgress\r\n 037a6701-37be-406a-ace7-d6e80aaaf1f4\r\n phase2PrimaryVMNetwork\r\n Network\r\n \r\n \r\n b2fc0bc3-e768-40e1-a753-6aa5bf7fd006\r\n Unmap network\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ID i:nil=\"true\" />\r\n <Name i:nil=\"true\" />\r\n <Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" />\r\n <ChildJobId i:nil=\"true\" />\r\n <EndTime>0001-01-01T00:00:00</EndTime>\r\n <ExtendedDetails i:nil=\"true\" />\r\n <StartTime>0001-01-01T00:00:00</StartTime>\r\n <State i:nil=\"true\" />\r\n <StateDescription i:nil=\"true\" />\r\n <TaskType i:nil=\"true\" />\r\n</Task>\r\n 2015-02-23T15:04:05.083186Z\r\n InProgress\r\n InProgress\r\n TaskDetails\r\n \r\n \r\n f04a3ad4-be66-4ae7-8c3f-711bc43a4bb6\r\n Detach network (0)\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <GroupTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\" />\r\n</GroupTaskDetails>\r\n 0001-01-01T00:00:00\r\n NotStarted\r\n NotStarted\r\n GroupTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "2504" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "d269f243-de12-46a5-b086-a57b305ad135-2015-02-23 15:04:27Z-P" + ], + "x-ms-request-id": [ + "c55725e37c1bc0538f9c1f40088745e6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:04:28 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/a49c3dac-1536-48f0-a771-df713501e6a6?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvYTQ5YzNkYWMtMTUzNi00OGYwLWE3NzEtZGY3MTM1MDFlNmE2P2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "4d280da9-8d32-4444-9efd-f05af114921a-2015-02-23 15:04:35Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n a49c3dac-1536-48f0-a771-df713501e6a6\r\n c7ddcd0c-6067-4fb4-bb35-f417086baf6d-2015-02-23 15:04:02Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Remove map\r\n \r\n \r\n NetworkUnPairing\r\n 2/23/2015 3:04:04 PM\r\n InProgress\r\n InProgress\r\n 037a6701-37be-406a-ace7-d6e80aaaf1f4\r\n phase2PrimaryVMNetwork\r\n Network\r\n \r\n \r\n b2fc0bc3-e768-40e1-a753-6aa5bf7fd006\r\n Unmap network\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ID i:nil=\"true\" />\r\n <Name i:nil=\"true\" />\r\n <Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" />\r\n <ChildJobId i:nil=\"true\" />\r\n <EndTime>0001-01-01T00:00:00</EndTime>\r\n <ExtendedDetails i:nil=\"true\" />\r\n <StartTime>0001-01-01T00:00:00</StartTime>\r\n <State i:nil=\"true\" />\r\n <StateDescription i:nil=\"true\" />\r\n <TaskType i:nil=\"true\" />\r\n</Task>\r\n 2015-02-23T15:04:05.083186Z\r\n InProgress\r\n InProgress\r\n TaskDetails\r\n \r\n \r\n f04a3ad4-be66-4ae7-8c3f-711bc43a4bb6\r\n Detach network (0)\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <GroupTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\" />\r\n</GroupTaskDetails>\r\n 0001-01-01T00:00:00\r\n NotStarted\r\n NotStarted\r\n GroupTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "2504" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "4d280da9-8d32-4444-9efd-f05af114921a-2015-02-23 15:04:35Z-P" + ], + "x-ms-request-id": [ + "77ff8d3f862bc87eb7a37915f0eeb25a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:04:36 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/a49c3dac-1536-48f0-a771-df713501e6a6?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvYTQ5YzNkYWMtMTUzNi00OGYwLWE3NzEtZGY3MTM1MDFlNmE2P2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "33de4088-e876-47f3-997f-82da36a7f5ae-2015-02-23 15:04:43Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n a49c3dac-1536-48f0-a771-df713501e6a6\r\n c7ddcd0c-6067-4fb4-bb35-f417086baf6d-2015-02-23 15:04:02Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Remove map\r\n 2/23/2015 3:04:40 PM\r\n \r\n NetworkUnPairing\r\n 2/23/2015 3:04:04 PM\r\n Succeeded\r\n Completed\r\n 037a6701-37be-406a-ace7-d6e80aaaf1f4\r\n phase2PrimaryVMNetwork\r\n Network\r\n \r\n \r\n b2fc0bc3-e768-40e1-a753-6aa5bf7fd006\r\n Unmap network\r\n \r\n \r\n 2015-02-23T15:04:38.8890688Z\r\n <Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ID i:nil=\"true\" />\r\n <Name i:nil=\"true\" />\r\n <Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" />\r\n <ChildJobId i:nil=\"true\" />\r\n <EndTime>0001-01-01T00:00:00</EndTime>\r\n <ExtendedDetails i:nil=\"true\" />\r\n <StartTime>0001-01-01T00:00:00</StartTime>\r\n <State i:nil=\"true\" />\r\n <StateDescription i:nil=\"true\" />\r\n <TaskType i:nil=\"true\" />\r\n</Task>\r\n 2015-02-23T15:04:05.083186Z\r\n Succeeded\r\n Completed\r\n TaskDetails\r\n \r\n \r\n f04a3ad4-be66-4ae7-8c3f-711bc43a4bb6\r\n Detach network (0)\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <GroupTaskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.Azure.SiteRecovery.V2014_10_27\">\r\n <ChildTasks xmlns:d2p1=\"http://schemas.microsoft.com/windowsazure\" />\r\n</GroupTaskDetails>\r\n 0001-01-01T00:00:00\r\n Succeeded\r\n Skipped\r\n GroupTaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "2521" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "33de4088-e876-47f3-997f-82da36a7f5ae-2015-02-23 15:04:43Z-P" + ], + "x-ms-request-id": [ + "84c31df35788c464a630613e1c63047f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:04:44 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/PFOTest.json b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/PFOTest.json new file mode 100644 index 000000000000..9bde3eb28958 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/PFOTest.json @@ -0,0 +1,358 @@ +{ + "Entries": [ + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "15ebb00c5c6ac248877483dc4e70ccca" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:09:11 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "2ef6750b7d80cfea8f404d45037f1086" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:09:12 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "2560b64caed9c8c399a91307af1d7f58" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:09:17 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "42a973c5cc43c1b3aa87a3243ae41107" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:09:20 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionContainers?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "9cfb0617-d3dc-4cba-b808-2961ea3fe9ad-2015-02-23 15:09:13Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n Primary\r\n \r\n \r\n 7580cb43-decf-4e66-aee3-40718d11fec8\r\n 7580cb43-decf-4e66-aee3-40718d11fec8\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n Paired\r\n \r\n \r\n true\r\n 0\r\n HyperVReplica\r\n <HyperVReplicaProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <AllowedAuthenticationType>1</AllowedAuthenticationType>\r\n <ApplicationConsistentSnapshotFrequencyInHours>1</ApplicationConsistentSnapshotFrequencyInHours>\r\n <CompressionEnabled>true</CompressionEnabled>\r\n <OfflineReplicationExportPath />\r\n <OfflineReplicationImportPath />\r\n <OnlineReplicationMethod>true</OnlineReplicationMethod>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPoints>1</RecoveryPoints>\r\n <ReplicaDeletionOption>SecondaryVMOnRecoveryCloud</ReplicaDeletionOption>\r\n <ReplicationPort>8083</ReplicationPort>\r\n <ReplicationFrequencyInSeconds>0</ReplicationFrequencyInSeconds>\r\n</HyperVReplicaProtectionProfileDetails>\r\n \r\n \r\n c58179df-ae75-4098-90e9-dcd8c7934784\r\n c58179df-ae75-4098-90e9-dcd8c7934784\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n Paired\r\n \r\n \r\n true\r\n 0\r\n HyperVReplica\r\n <HyperVReplicaProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <AllowedAuthenticationType>1</AllowedAuthenticationType>\r\n <ApplicationConsistentSnapshotFrequencyInHours>1</ApplicationConsistentSnapshotFrequencyInHours>\r\n <CompressionEnabled>true</CompressionEnabled>\r\n <OfflineReplicationExportPath />\r\n <OfflineReplicationImportPath />\r\n <OnlineReplicationMethod>true</OnlineReplicationMethod>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPoints>1</RecoveryPoints>\r\n <ReplicaDeletionOption>SecondaryVMOnRecoveryCloud</ReplicaDeletionOption>\r\n <ReplicationPort>8083</ReplicationPort>\r\n <ReplicationFrequencyInSeconds>300</ReplicationFrequencyInSeconds>\r\n</HyperVReplicaProtectionProfileDetails>\r\n \r\n \r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n Cloud_0_2bb286ca_78225OE72093\r\n Primary\r\n \r\n \r\n b6a2ef89-347c-48c5-b33b-5b8bd8ac8154\r\n b6a2ef89-347c-48c5-b33b-5b8bd8ac8154\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n Microsoft Azure\r\n PairingFailed\r\n \r\n \r\n true\r\n 0\r\n HyperVReplicaAzure\r\n <HyperVReplicaAzureProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ActiveStorageAccount>\r\n <StorageAccountName>hostersfcbvtvaulte423371</StorageAccountName>\r\n <SubscriptionId>e423371c-63cd-497e-b5b0-eb6d0b306d7e</SubscriptionId>\r\n </ActiveStorageAccount>\r\n <ApplicationConsistentSnapshotFrequencyInHours>0</ApplicationConsistentSnapshotFrequencyInHours>\r\n <EncryptionEnabled>false</EncryptionEnabled>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPointHistoryDuration>0</RecoveryPointHistoryDuration>\r\n <ReplicationInterval>300</ReplicationInterval>\r\n</HyperVReplicaAzureProtectionProfileDetails>\r\n \r\n \r\n 9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n \r\n \r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n cloudOn21\r\n Recovery\r\n \r\n 3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n VMM\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5\r\n VMM\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "6178" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "9cfb0617-d3dc-4cba-b808-2961ea3fe9ad-2015-02-23 15:09:13Z-P" + ], + "x-ms-request-id": [ + "d98e3ace965dc8af9c97f8233bb123c6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:09:17 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionContainers/774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3/ProtectionEntities?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzLzc3NDg1OWIwLTE5NjYtNDhjYy05ZGY3LTc1OWM0NDFiN2E4Y180OTRjMDk5My1jYzM1LTRkODQtYjM3My1iZjFhMjNiZTIxZDMvUHJvdGVjdGlvbkVudGl0aWVzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "305a5430-509c-4ffc-b073-ec3f4faeae3e-2015-02-23 15:09:18Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 80c84984-5923-481d-9689-b86c6c82c595\r\n vmOn19\r\n \r\n false\r\n false\r\n false\r\n f8eaff17-9c08-4a81-92de-44d4a7123277\r\n false\r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n \r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n \r\n \r\n \r\n <AzureVmDiskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <Disks>\r\n <VirtualHardDisk>\r\n <Id>ff4d0f4f-1657-4667-b8b0-a68b19383a57</Id>\r\n <Name>vmOn19_disk_1</Name>\r\n </VirtualHardDisk>\r\n </Disks>\r\n <MaxSizeMB>40960</MaxSizeMB>\r\n <OsDisk>vmOn19_disk_1</OsDisk>\r\n <OsType>Windows</OsType>\r\n <VHDId>ff4d0f4f-1657-4667-b8b0-a68b19383a57</VHDId>\r\n</AzureVmDiskDetails>\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1480" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "305a5430-509c-4ffc-b073-ec3f4faeae3e-2015-02-23 15:09:18Z-P" + ], + "x-ms-request-id": [ + "64d9255ca75cc7dbb0fda4874267ec95" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:09:19 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionContainers/774859b0-1966-48cc-9df7-759c441b7a8c_9055598c-844b-4943-9f39-7e62bdd2cbcc/ProtectionEntities?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzLzc3NDg1OWIwLTE5NjYtNDhjYy05ZGY3LTc1OWM0NDFiN2E4Y185MDU1NTk4Yy04NDRiLTQ5NDMtOWYzOS03ZTYyYmRkMmNiY2MvUHJvdGVjdGlvbkVudGl0aWVzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "84a7a04f-6849-4755-90a6-72a56c03bc19-2015-02-23 15:09:21Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "128" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "84a7a04f-6849-4755-90a6-72a56c03bc19-2015-02-23 15:09:21Z-P" + ], + "x-ms-request-id": [ + "761732827ea7c2628c82fd90f1ea1636" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:09:22 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/RecoveryServicesProtectionTests.json b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/ProtectionTests.json similarity index 100% rename from src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/RecoveryServicesProtectionTests.json rename to src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/ProtectionTests.json diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/RRAfterFailbackTest.json b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/RRAfterFailbackTest.json new file mode 100644 index 000000000000..7a17446c7041 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/RRAfterFailbackTest.json @@ -0,0 +1,358 @@ +{ + "Entries": [ + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "7adec97e66abc57dbd9f2401c1407688" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:13:04 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "57fc24f65bebc66aacadbe2248811b22" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:13:05 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "a55fa742d318c1a2929f8a78d408a766" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:13:08 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "880dd560c49ecc47921b8d32884d44a4" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:13:11 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionContainers?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "e036d8bd-dcf6-4d14-ae86-5dece2ec7e3a-2015-02-23 15:13:06Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n Primary\r\n \r\n \r\n 7580cb43-decf-4e66-aee3-40718d11fec8\r\n 7580cb43-decf-4e66-aee3-40718d11fec8\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n Paired\r\n \r\n \r\n true\r\n 0\r\n HyperVReplica\r\n <HyperVReplicaProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <AllowedAuthenticationType>1</AllowedAuthenticationType>\r\n <ApplicationConsistentSnapshotFrequencyInHours>1</ApplicationConsistentSnapshotFrequencyInHours>\r\n <CompressionEnabled>true</CompressionEnabled>\r\n <OfflineReplicationExportPath />\r\n <OfflineReplicationImportPath />\r\n <OnlineReplicationMethod>true</OnlineReplicationMethod>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPoints>1</RecoveryPoints>\r\n <ReplicaDeletionOption>SecondaryVMOnRecoveryCloud</ReplicaDeletionOption>\r\n <ReplicationPort>8083</ReplicationPort>\r\n <ReplicationFrequencyInSeconds>0</ReplicationFrequencyInSeconds>\r\n</HyperVReplicaProtectionProfileDetails>\r\n \r\n \r\n c58179df-ae75-4098-90e9-dcd8c7934784\r\n c58179df-ae75-4098-90e9-dcd8c7934784\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n Paired\r\n \r\n \r\n true\r\n 0\r\n HyperVReplica\r\n <HyperVReplicaProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <AllowedAuthenticationType>1</AllowedAuthenticationType>\r\n <ApplicationConsistentSnapshotFrequencyInHours>1</ApplicationConsistentSnapshotFrequencyInHours>\r\n <CompressionEnabled>true</CompressionEnabled>\r\n <OfflineReplicationExportPath />\r\n <OfflineReplicationImportPath />\r\n <OnlineReplicationMethod>true</OnlineReplicationMethod>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPoints>1</RecoveryPoints>\r\n <ReplicaDeletionOption>SecondaryVMOnRecoveryCloud</ReplicaDeletionOption>\r\n <ReplicationPort>8083</ReplicationPort>\r\n <ReplicationFrequencyInSeconds>300</ReplicationFrequencyInSeconds>\r\n</HyperVReplicaProtectionProfileDetails>\r\n \r\n \r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n Cloud_0_2bb286ca_78225OE72093\r\n Primary\r\n \r\n \r\n b6a2ef89-347c-48c5-b33b-5b8bd8ac8154\r\n b6a2ef89-347c-48c5-b33b-5b8bd8ac8154\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n Microsoft Azure\r\n PairingFailed\r\n \r\n \r\n true\r\n 0\r\n HyperVReplicaAzure\r\n <HyperVReplicaAzureProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ActiveStorageAccount>\r\n <StorageAccountName>hostersfcbvtvaulte423371</StorageAccountName>\r\n <SubscriptionId>e423371c-63cd-497e-b5b0-eb6d0b306d7e</SubscriptionId>\r\n </ActiveStorageAccount>\r\n <ApplicationConsistentSnapshotFrequencyInHours>0</ApplicationConsistentSnapshotFrequencyInHours>\r\n <EncryptionEnabled>false</EncryptionEnabled>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPointHistoryDuration>0</RecoveryPointHistoryDuration>\r\n <ReplicationInterval>300</ReplicationInterval>\r\n</HyperVReplicaAzureProtectionProfileDetails>\r\n \r\n \r\n 9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n \r\n \r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n cloudOn21\r\n Recovery\r\n \r\n 3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n VMM\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5\r\n VMM\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "6178" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "e036d8bd-dcf6-4d14-ae86-5dece2ec7e3a-2015-02-23 15:13:06Z-P" + ], + "x-ms-request-id": [ + "bb3bec545c85c604a2380fa412f52cdb" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:13:09 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionContainers/774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3/ProtectionEntities?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzLzc3NDg1OWIwLTE5NjYtNDhjYy05ZGY3LTc1OWM0NDFiN2E4Y180OTRjMDk5My1jYzM1LTRkODQtYjM3My1iZjFhMjNiZTIxZDMvUHJvdGVjdGlvbkVudGl0aWVzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "089690d5-6809-48fc-aa15-bf44c68bb41d-2015-02-23 15:13:10Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 80c84984-5923-481d-9689-b86c6c82c595\r\n vmOn19\r\n \r\n false\r\n false\r\n false\r\n f8eaff17-9c08-4a81-92de-44d4a7123277\r\n false\r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n \r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n \r\n \r\n \r\n <AzureVmDiskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <Disks>\r\n <VirtualHardDisk>\r\n <Id>ff4d0f4f-1657-4667-b8b0-a68b19383a57</Id>\r\n <Name>vmOn19_disk_1</Name>\r\n </VirtualHardDisk>\r\n </Disks>\r\n <MaxSizeMB>40960</MaxSizeMB>\r\n <OsDisk>vmOn19_disk_1</OsDisk>\r\n <OsType>Windows</OsType>\r\n <VHDId>ff4d0f4f-1657-4667-b8b0-a68b19383a57</VHDId>\r\n</AzureVmDiskDetails>\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1480" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "089690d5-6809-48fc-aa15-bf44c68bb41d-2015-02-23 15:13:10Z-P" + ], + "x-ms-request-id": [ + "a67d1f4b383ac406bbf53c0c0c1cee8a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:13:11 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionContainers/774859b0-1966-48cc-9df7-759c441b7a8c_9055598c-844b-4943-9f39-7e62bdd2cbcc/ProtectionEntities?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzLzc3NDg1OWIwLTE5NjYtNDhjYy05ZGY3LTc1OWM0NDFiN2E4Y185MDU1NTk4Yy04NDRiLTQ5NDMtOWYzOS03ZTYyYmRkMmNiY2MvUHJvdGVjdGlvbkVudGl0aWVzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "b07dc6b8-ee97-4370-b905-e9ae438bf024-2015-02-23 15:13:13Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "128" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "b07dc6b8-ee97-4370-b905-e9ae438bf024-2015-02-23 15:13:13Z-P" + ], + "x-ms-request-id": [ + "455391aebcfec5e683febf74d7725cd4" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:13:14 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/RRAfterFailoverTest.json b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/RRAfterFailoverTest.json new file mode 100644 index 000000000000..3c07d465006d --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/RRAfterFailoverTest.json @@ -0,0 +1,358 @@ +{ + "Entries": [ + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "1102bdb648d9cc74b58d74a6bac7dffe" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:10:47 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "ba4c6e0c19fecf8ea13aec02bc700909" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:10:48 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "3ee4a3ec8504ceaf80ffc45bcd664a82" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:10:52 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "aa614d7178c6cc7295bce8b6697aaa78" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:10:55 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionContainers?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "7e06a562-4fd3-482d-a58f-5f6a286c4df1-2015-02-23 15:10:49Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n cloudOn19\r\n Primary\r\n \r\n \r\n 7580cb43-decf-4e66-aee3-40718d11fec8\r\n 7580cb43-decf-4e66-aee3-40718d11fec8\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n Paired\r\n \r\n \r\n true\r\n 0\r\n HyperVReplica\r\n <HyperVReplicaProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <AllowedAuthenticationType>1</AllowedAuthenticationType>\r\n <ApplicationConsistentSnapshotFrequencyInHours>1</ApplicationConsistentSnapshotFrequencyInHours>\r\n <CompressionEnabled>true</CompressionEnabled>\r\n <OfflineReplicationExportPath />\r\n <OfflineReplicationImportPath />\r\n <OnlineReplicationMethod>true</OnlineReplicationMethod>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPoints>1</RecoveryPoints>\r\n <ReplicaDeletionOption>SecondaryVMOnRecoveryCloud</ReplicaDeletionOption>\r\n <ReplicationPort>8083</ReplicationPort>\r\n <ReplicationFrequencyInSeconds>0</ReplicationFrequencyInSeconds>\r\n</HyperVReplicaProtectionProfileDetails>\r\n \r\n \r\n c58179df-ae75-4098-90e9-dcd8c7934784\r\n c58179df-ae75-4098-90e9-dcd8c7934784\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n Paired\r\n \r\n \r\n true\r\n 0\r\n HyperVReplica\r\n <HyperVReplicaProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <AllowedAuthenticationType>1</AllowedAuthenticationType>\r\n <ApplicationConsistentSnapshotFrequencyInHours>1</ApplicationConsistentSnapshotFrequencyInHours>\r\n <CompressionEnabled>true</CompressionEnabled>\r\n <OfflineReplicationExportPath />\r\n <OfflineReplicationImportPath />\r\n <OnlineReplicationMethod>true</OnlineReplicationMethod>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPoints>1</RecoveryPoints>\r\n <ReplicaDeletionOption>SecondaryVMOnRecoveryCloud</ReplicaDeletionOption>\r\n <ReplicationPort>8083</ReplicationPort>\r\n <ReplicationFrequencyInSeconds>300</ReplicationFrequencyInSeconds>\r\n</HyperVReplicaProtectionProfileDetails>\r\n \r\n \r\n 494c0993-cc35-4d84-b373-bf1a23be21d3\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n Cloud_0_2bb286ca_78225OE72093\r\n Primary\r\n \r\n \r\n b6a2ef89-347c-48c5-b33b-5b8bd8ac8154\r\n b6a2ef89-347c-48c5-b33b-5b8bd8ac8154\r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c_9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n Microsoft Azure\r\n PairingFailed\r\n \r\n \r\n true\r\n 0\r\n HyperVReplicaAzure\r\n <HyperVReplicaAzureProtectionProfileDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ActiveStorageAccount>\r\n <StorageAccountName>hostersfcbvtvaulte423371</StorageAccountName>\r\n <SubscriptionId>e423371c-63cd-497e-b5b0-eb6d0b306d7e</SubscriptionId>\r\n </ActiveStorageAccount>\r\n <ApplicationConsistentSnapshotFrequencyInHours>0</ApplicationConsistentSnapshotFrequencyInHours>\r\n <EncryptionEnabled>false</EncryptionEnabled>\r\n <OnlineReplicationStartTime i:nil=\"true\" />\r\n <RecoveryPointHistoryDuration>0</RecoveryPointHistoryDuration>\r\n <ReplicationInterval>300</ReplicationInterval>\r\n</HyperVReplicaAzureProtectionProfileDetails>\r\n \r\n \r\n 9055598c-844b-4943-9f39-7e62bdd2cbcc\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n \r\n \r\n dc1ed9b2-7b90-4534-9977-12881d278fb5_3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n cloudOn21\r\n Recovery\r\n \r\n 3b5005e5-0aec-451c-9fb8-bda02cbf1515\r\n VMM\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5\r\n VMM\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "6178" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "7e06a562-4fd3-482d-a58f-5f6a286c4df1-2015-02-23 15:10:49Z-P" + ], + "x-ms-request-id": [ + "48c2fad43cbacc6e8e7342a1f6be5f60" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:10:51 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionContainers/774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3/ProtectionEntities?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzLzc3NDg1OWIwLTE5NjYtNDhjYy05ZGY3LTc1OWM0NDFiN2E4Y180OTRjMDk5My1jYzM1LTRkODQtYjM3My1iZjFhMjNiZTIxZDMvUHJvdGVjdGlvbkVudGl0aWVzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "d657699b-0b9a-48df-afc4-8b75896f59b2-2015-02-23 15:10:53Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 80c84984-5923-481d-9689-b86c6c82c595\r\n vmOn19\r\n \r\n false\r\n false\r\n false\r\n f8eaff17-9c08-4a81-92de-44d4a7123277\r\n false\r\n 774859b0-1966-48cc-9df7-759c441b7a8c_494c0993-cc35-4d84-b373-bf1a23be21d3\r\n \r\n \r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n \r\n \r\n \r\n <AzureVmDiskDetails xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <Disks>\r\n <VirtualHardDisk>\r\n <Id>ff4d0f4f-1657-4667-b8b0-a68b19383a57</Id>\r\n <Name>vmOn19_disk_1</Name>\r\n </VirtualHardDisk>\r\n </Disks>\r\n <MaxSizeMB>40960</MaxSizeMB>\r\n <OsDisk>vmOn19_disk_1</OsDisk>\r\n <OsType>Windows</OsType>\r\n <VHDId>ff4d0f4f-1657-4667-b8b0-a68b19383a57</VHDId>\r\n</AzureVmDiskDetails>\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1480" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "d657699b-0b9a-48df-afc4-8b75896f59b2-2015-02-23 15:10:53Z-P" + ], + "x-ms-request-id": [ + "c28010ddc9c8c5f3a91b045f238cd7f5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:10:54 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/ProtectionContainers/774859b0-1966-48cc-9df7-759c441b7a8c_9055598c-844b-4943-9f39-7e62bdd2cbcc/ProtectionEntities?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzLzc3NDg1OWIwLTE5NjYtNDhjYy05ZGY3LTc1OWM0NDFiN2E4Y185MDU1NTk4Yy04NDRiLTQ5NDMtOWYzOS03ZTYyYmRkMmNiY2MvUHJvdGVjdGlvbkVudGl0aWVzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "e86f0ceb-2bd9-4d60-b97e-1a2620725a2f-2015-02-23 15:10:56Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "128" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "e86f0ceb-2bd9-4d60-b97e-1a2620725a2f-2015-02-23 15:10:56Z-P" + ], + "x-ms-request-id": [ + "7b7ae63093b4c34fba3b5bbe1e0bf672" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:10:56 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/RecoveryServicesEnumerationTests.json b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/RecoveryServicesEnumerationTests.json deleted file mode 100644 index d9be7b4a6e93..000000000000 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/RecoveryServicesEnumerationTests.json +++ /dev/null @@ -1,256 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/947a55d7-75e9-4a36-b156-305c6270f018/cloudservices?api-version=2014-10-27", - "EncodedRequestUri": "Lzk0N2E1NWQ3LTc1ZTktNGEzNi1iMTU2LTMwNWM2MjcwZjAxOC9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMjc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/xml" - ], - "x-ms-version": [ - "2013-03-01" - ], - "User-Agent": [ - "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" - ] - }, - "ResponseBody": "\r\n \r\n cdsBKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-North-Central-US\r\n \r\n cdsBKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-North-Central-US in North Central US\r\n North Central US\r\n \r\n \r\n \r\n RecoveryServices-BKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-west-us\r\n \r\n a510ea8f-1b1e-465b-927e-2caf10786579\r\n west us\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n rijethma-vault\r\n \r\n 1.1\r\n 25e8dd1c-44c6-49f1-aa50-aac068c55b96\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 8856597376086032764\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-aaddisable-Group\r\n \r\n VS-aaddisable-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-ac1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-acc-Group\r\n \r\n VS-acc-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-acc1-Group\r\n \r\n VS-acc1-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-compact-Group\r\n \r\n Resource group based cloud service.\r\n East US\r\n \r\n \r\n visualstudio\r\n account\r\n compact\r\n None\r\n 1.0\r\n 24b0ccad-e127-4389-a56c-a3e5d510ee0c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://compact.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n compact\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat-Group\r\n \r\n VS-compat-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n compat\r\n None\r\n 1.0\r\n 5c087e25-f539-43d6-bf9f-768797f6287c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://compat.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n compat\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat101-Group\r\n \r\n VS-compat101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-compat102-Group\r\n \r\n VS-compat102-Group in West US\r\n West US\r\n \r\n \r\n visualstudio\r\n account\r\n compat102\r\n None\r\n 1.0\r\n 4c907789-db73-4d38-8c81-1cdb093da81b\r\n Started\r\n Failed\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n Build\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat201-Group\r\n \r\n VS-compat201-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n compat201\r\n None\r\n 1.0\r\n c35a685d-f549-4ca3-acd6-7c758b644e4f\r\n Started\r\n Failed\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n Build\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat301-Group\r\n \r\n VS-compat301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-compt40-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n compt40\r\n None\r\n 1.0\r\n ba986567-5a53-4baf-9e9c-7b7ade784b5c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://compt40.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n compt40\r\n \r\n \r\n IdentityDomain\r\n Windows Live ID\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Update\r\n Failed\r\n \r\n 403\r\n <WrappedException xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" z:Id=\"i1\" xmlns:z=\"http://schemas.microsoft.com/2003/10/Serialization/\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.VisualStudio.Services.WebApi\"><Error.Code>0</Error.Code><EventId>3000</EventId><InnerException i:nil=\"true\" /><Message>User \"admin@aad140.ccsctp.net\" is not the account owner of \"\".</Message><TypeKey>UserIsNotAccountOwnerException</TypeKey><TypeName>Microsoft.VisualStudio.Services.Commerce.UserIsNotAccountOwnerException, Microsoft.VisualStudio.Services.Commerce, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</TypeName></WrappedException>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-createacc002-Group\r\n \r\n VS-createacc002-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-createTFS1-Group\r\n \r\n VS-createTFS1-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-createtfs2-Group\r\n \r\n VS-createtfs2-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-dbupgradetfs202-Group\r\n \r\n VS-dbupgradetfs202-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-dtestacc1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-finalenable-Group\r\n \r\n VS-finalenable-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finaltfacc01-Group\r\n \r\n VS-finaltfacc01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalupdate-Group\r\n \r\n VS-finalupdate-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalupdate401-Group\r\n \r\n VS-finalupdate401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalUpdate401Changed-Group\r\n \r\n VS-finalUpdate401Changed-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalupdatetfs402-Group\r\n \r\n VS-finalupdatetfs402-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-fresh-Group\r\n \r\n VS-fresh-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-freshsoftdelete-Group\r\n \r\n VS-freshsoftdelete-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-gfsfg-Group\r\n \r\n VS-gfsfg-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-ghhd-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n ghhd\r\n None\r\n 1.0\r\n d4a68495-4de3-46ba-9084-a7fa951ac29e\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://ghhd.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n ghhd\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-ghjfdjdf-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-glkdhghjgk-Group\r\n \r\n VS-glkdhghjgk-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-hh-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ia1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ia2-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizaa1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizaa2-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizaacc01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizacc01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ijkljkl-Group\r\n \r\n VS-ijkljkl-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-klgfuiadlfu-Group\r\n \r\n VS-klgfuiadlfu-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-newsignout-Group\r\n \r\n VS-newsignout-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-quickcheck-Group\r\n \r\n VS-quickcheck-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-qwerty-Group\r\n \r\n VS-qwerty-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-r717auxacc2-Group\r\n \r\n VS-r717auxacc2-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-rdfrrrrrrrrrrrrr-Group\r\n \r\n VS-rdfrrrrrrrrrrrrr-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-RGless-Group\r\n \r\n VS-RGless-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity-Group\r\n \r\n VS-sanity-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity101-Group\r\n \r\n VS-sanity101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity102-Group\r\n \r\n VS-sanity102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity103-Group\r\n \r\n VS-sanity103-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity103ibiza-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity104-Group\r\n \r\n VS-sanity104-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity201-Group\r\n \r\n VS-sanity201-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity202-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity301-Group\r\n \r\n VS-sanity301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity40-Group\r\n \r\n VS-sanity40-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity401-Group\r\n \r\n VS-sanity401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity402-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity403-Group\r\n \r\n VS-sanity403-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity601-Group\r\n \r\n VS-sanity601-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity603-Group\r\n \r\n VS-sanity603-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity604-Group\r\n \r\n VS-sanity604-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity605-Group\r\n \r\n VS-sanity605-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity701-Group\r\n \r\n VS-sanity701-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity702-Group\r\n \r\n VS-sanity702-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity706-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean101-Group\r\n \r\n VS-sanityclean101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean101r-Group\r\n \r\n VS-sanityclean101r-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean102-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean103-Group\r\n \r\n VS-sanityclean103-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityr-Group\r\n \r\n VS-sanityr-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete-Group\r\n \r\n VS-softdelete-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete401-Group\r\n \r\n VS-softdelete401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete402-Group\r\n \r\n VS-softdelete402-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete403-Group\r\n \r\n VS-softdelete403-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete405-Group\r\n \r\n VS-softdelete405-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete405changed-Group\r\n \r\n VS-softdelete405changed-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdeleteacc01-Group\r\n \r\n VS-softdeleteacc01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsdbupgrade201-Group\r\n \r\n VS-spsdbupgrade201-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgrade101-Group\r\n \r\n VS-spsupgrade101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgradenone-Group\r\n \r\n VS-spsupgradenone-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgradetesting101-Group\r\n \r\n VS-spsupgradetesting101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgradetfs102-Group\r\n \r\n VS-spsupgradetfs102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-test123-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testacc6191-Group\r\n \r\n VS-testacc6191-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccaux01-Group\r\n \r\n VS-testaccaux01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccaux02-Group\r\n \r\n VS-testaccaux02-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccc-Group\r\n \r\n VS-testaccc-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccibiza01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testing-Group\r\n \r\n VS-testing-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n testing\r\n None\r\n 1.0\r\n 477546e4-2b3f-4a9e-ba9d-1c818a58fa3c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://testing.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n testing\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-testing01-Group\r\n \r\n VS-testing01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing102-Group\r\n \r\n VS-testing102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing3-Group\r\n \r\n VS-testing3-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing401-Group\r\n \r\n VS-testing401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing402-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testing701-Group\r\n \r\n VS-testing701-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing702-Group\r\n \r\n VS-testing702-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing704-Group\r\n \r\n VS-testing704-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing705-Group\r\n \r\n VS-testing705-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing901-Group\r\n \r\n VS-testing901-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing902-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testing905-Group\r\n \r\n VS-testing905-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaadbacked901-Group\r\n \r\n VS-testingaadbacked901-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaux-Group\r\n \r\n VS-testingaux-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaux101-Group\r\n \r\n VS-testingaux101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaux102-Group\r\n \r\n VS-testingaux102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingmbsabacked-Group\r\n \r\n VS-testingmbsabacked-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingss-Group\r\n \r\n VS-testingss-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingtfs101-Group\r\n \r\n VS-testingtfs101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingtfs2-Group\r\n \r\n VS-testingtfs2-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testting-Group\r\n \r\n VS-testting-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testtingtfs-Group\r\n \r\n VS-testtingtfs-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-TFS918-Group\r\n \r\n VS-TFS918-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-TFS918WEU-Group\r\n \r\n VS-TFS918WEU-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsacc301-Group\r\n \r\n VS-tfsacc301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsaccount-Group\r\n \r\n VS-tfsaccount-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsaccount01-Group\r\n \r\n VS-tfsaccount01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsconp101-Group\r\n \r\n VS-tfsconp101-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n tfsconp101\r\n None\r\n 1.0\r\n 3bd7ff2f-c8b1-4e7a-b07c-fedf55bd03eb\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://tfsconp101.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n tfsconp101\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-TFSNCUS918-Group\r\n \r\n VS-TFSNCUS918-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsupdate301-Group\r\n \r\n VS-tfsupdate301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsupdatetfsacc302-Group\r\n \r\n VS-tfsupdatetfsacc302-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-today-Group\r\n \r\n VS-today-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-todaysaux01-Group\r\n \r\n VS-todaysaux01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-todaysauxtest101-Group\r\n \r\n VS-todaysauxtest101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-todaysibiza01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-trialacc-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-trialaccount-Group\r\n \r\n VS-trialaccount-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-trialaccount102-Group\r\n \r\n VS-trialaccount102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-trrykweoykweoykweo-Group\r\n \r\n VS-trrykweoykweoykweo-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tuejulyauxacc01-Group\r\n \r\n VS-tuejulyauxacc01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tuejulyibiza01acc-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-westeuropeacc-Group\r\n \r\n VS-westeuropeacc-Group in North Central US\r\n North Central US\r\n \r\n \r\n", - "ResponseHeaders": { - "Content-Length": [ - "54717" - ], - "Content-Type": [ - "application/xml; charset=utf-8" - ], - "x-ms-request-id": [ - "186f75351be9863b8911c0175fb4828b" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Fri, 10 Oct 2014 06:15:14 GMT" - ], - "Server": [ - "1.0.6198.130", - "(rd_rdfe_stable.140925-2236)", - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/947a55d7-75e9-4a36-b156-305c6270f018/cloudservices?api-version=2014-10-27", - "EncodedRequestUri": "Lzk0N2E1NWQ3LTc1ZTktNGEzNi1iMTU2LTMwNWM2MjcwZjAxOC9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMjc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/xml" - ], - "x-ms-version": [ - "2013-03-01" - ], - "User-Agent": [ - "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" - ] - }, - "ResponseBody": "\r\n \r\n cdsBKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-North-Central-US\r\n \r\n cdsBKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-North-Central-US in North Central US\r\n North Central US\r\n \r\n \r\n \r\n RecoveryServices-BKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-west-us\r\n \r\n a510ea8f-1b1e-465b-927e-2caf10786579\r\n west us\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n rijethma-vault\r\n \r\n 1.1\r\n 25e8dd1c-44c6-49f1-aa50-aac068c55b96\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 8856597376086032764\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-aaddisable-Group\r\n \r\n VS-aaddisable-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-ac1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-acc-Group\r\n \r\n VS-acc-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-acc1-Group\r\n \r\n VS-acc1-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-compact-Group\r\n \r\n Resource group based cloud service.\r\n East US\r\n \r\n \r\n visualstudio\r\n account\r\n compact\r\n None\r\n 1.0\r\n 24b0ccad-e127-4389-a56c-a3e5d510ee0c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://compact.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n compact\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat-Group\r\n \r\n VS-compat-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n compat\r\n None\r\n 1.0\r\n 5c087e25-f539-43d6-bf9f-768797f6287c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://compat.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n compat\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat101-Group\r\n \r\n VS-compat101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-compat102-Group\r\n \r\n VS-compat102-Group in West US\r\n West US\r\n \r\n \r\n visualstudio\r\n account\r\n compat102\r\n None\r\n 1.0\r\n 4c907789-db73-4d38-8c81-1cdb093da81b\r\n Started\r\n Failed\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n Build\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat201-Group\r\n \r\n VS-compat201-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n compat201\r\n None\r\n 1.0\r\n c35a685d-f549-4ca3-acd6-7c758b644e4f\r\n Started\r\n Failed\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n Build\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat301-Group\r\n \r\n VS-compat301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-compt40-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n compt40\r\n None\r\n 1.0\r\n ba986567-5a53-4baf-9e9c-7b7ade784b5c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://compt40.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n compt40\r\n \r\n \r\n IdentityDomain\r\n Windows Live ID\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Update\r\n Failed\r\n \r\n 403\r\n <WrappedException xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" z:Id=\"i1\" xmlns:z=\"http://schemas.microsoft.com/2003/10/Serialization/\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.VisualStudio.Services.WebApi\"><Error.Code>0</Error.Code><EventId>3000</EventId><InnerException i:nil=\"true\" /><Message>User \"admin@aad140.ccsctp.net\" is not the account owner of \"\".</Message><TypeKey>UserIsNotAccountOwnerException</TypeKey><TypeName>Microsoft.VisualStudio.Services.Commerce.UserIsNotAccountOwnerException, Microsoft.VisualStudio.Services.Commerce, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</TypeName></WrappedException>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-createacc002-Group\r\n \r\n VS-createacc002-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-createTFS1-Group\r\n \r\n VS-createTFS1-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-createtfs2-Group\r\n \r\n VS-createtfs2-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-dbupgradetfs202-Group\r\n \r\n VS-dbupgradetfs202-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-dtestacc1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-finalenable-Group\r\n \r\n VS-finalenable-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finaltfacc01-Group\r\n \r\n VS-finaltfacc01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalupdate-Group\r\n \r\n VS-finalupdate-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalupdate401-Group\r\n \r\n VS-finalupdate401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalUpdate401Changed-Group\r\n \r\n VS-finalUpdate401Changed-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalupdatetfs402-Group\r\n \r\n VS-finalupdatetfs402-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-fresh-Group\r\n \r\n VS-fresh-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-freshsoftdelete-Group\r\n \r\n VS-freshsoftdelete-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-gfsfg-Group\r\n \r\n VS-gfsfg-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-ghhd-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n ghhd\r\n None\r\n 1.0\r\n d4a68495-4de3-46ba-9084-a7fa951ac29e\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://ghhd.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n ghhd\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-ghjfdjdf-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-glkdhghjgk-Group\r\n \r\n VS-glkdhghjgk-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-hh-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ia1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ia2-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizaa1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizaa2-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizaacc01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizacc01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ijkljkl-Group\r\n \r\n VS-ijkljkl-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-klgfuiadlfu-Group\r\n \r\n VS-klgfuiadlfu-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-newsignout-Group\r\n \r\n VS-newsignout-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-quickcheck-Group\r\n \r\n VS-quickcheck-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-qwerty-Group\r\n \r\n VS-qwerty-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-r717auxacc2-Group\r\n \r\n VS-r717auxacc2-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-rdfrrrrrrrrrrrrr-Group\r\n \r\n VS-rdfrrrrrrrrrrrrr-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-RGless-Group\r\n \r\n VS-RGless-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity-Group\r\n \r\n VS-sanity-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity101-Group\r\n \r\n VS-sanity101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity102-Group\r\n \r\n VS-sanity102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity103-Group\r\n \r\n VS-sanity103-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity103ibiza-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity104-Group\r\n \r\n VS-sanity104-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity201-Group\r\n \r\n VS-sanity201-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity202-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity301-Group\r\n \r\n VS-sanity301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity40-Group\r\n \r\n VS-sanity40-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity401-Group\r\n \r\n VS-sanity401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity402-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity403-Group\r\n \r\n VS-sanity403-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity601-Group\r\n \r\n VS-sanity601-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity603-Group\r\n \r\n VS-sanity603-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity604-Group\r\n \r\n VS-sanity604-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity605-Group\r\n \r\n VS-sanity605-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity701-Group\r\n \r\n VS-sanity701-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity702-Group\r\n \r\n VS-sanity702-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity706-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean101-Group\r\n \r\n VS-sanityclean101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean101r-Group\r\n \r\n VS-sanityclean101r-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean102-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean103-Group\r\n \r\n VS-sanityclean103-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityr-Group\r\n \r\n VS-sanityr-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete-Group\r\n \r\n VS-softdelete-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete401-Group\r\n \r\n VS-softdelete401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete402-Group\r\n \r\n VS-softdelete402-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete403-Group\r\n \r\n VS-softdelete403-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete405-Group\r\n \r\n VS-softdelete405-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete405changed-Group\r\n \r\n VS-softdelete405changed-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdeleteacc01-Group\r\n \r\n VS-softdeleteacc01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsdbupgrade201-Group\r\n \r\n VS-spsdbupgrade201-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgrade101-Group\r\n \r\n VS-spsupgrade101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgradenone-Group\r\n \r\n VS-spsupgradenone-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgradetesting101-Group\r\n \r\n VS-spsupgradetesting101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgradetfs102-Group\r\n \r\n VS-spsupgradetfs102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-test123-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testacc6191-Group\r\n \r\n VS-testacc6191-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccaux01-Group\r\n \r\n VS-testaccaux01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccaux02-Group\r\n \r\n VS-testaccaux02-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccc-Group\r\n \r\n VS-testaccc-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccibiza01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testing-Group\r\n \r\n VS-testing-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n testing\r\n None\r\n 1.0\r\n 477546e4-2b3f-4a9e-ba9d-1c818a58fa3c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://testing.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n testing\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-testing01-Group\r\n \r\n VS-testing01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing102-Group\r\n \r\n VS-testing102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing3-Group\r\n \r\n VS-testing3-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing401-Group\r\n \r\n VS-testing401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing402-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testing701-Group\r\n \r\n VS-testing701-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing702-Group\r\n \r\n VS-testing702-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing704-Group\r\n \r\n VS-testing704-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing705-Group\r\n \r\n VS-testing705-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing901-Group\r\n \r\n VS-testing901-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing902-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testing905-Group\r\n \r\n VS-testing905-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaadbacked901-Group\r\n \r\n VS-testingaadbacked901-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaux-Group\r\n \r\n VS-testingaux-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaux101-Group\r\n \r\n VS-testingaux101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaux102-Group\r\n \r\n VS-testingaux102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingmbsabacked-Group\r\n \r\n VS-testingmbsabacked-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingss-Group\r\n \r\n VS-testingss-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingtfs101-Group\r\n \r\n VS-testingtfs101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingtfs2-Group\r\n \r\n VS-testingtfs2-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testting-Group\r\n \r\n VS-testting-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testtingtfs-Group\r\n \r\n VS-testtingtfs-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-TFS918-Group\r\n \r\n VS-TFS918-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-TFS918WEU-Group\r\n \r\n VS-TFS918WEU-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsacc301-Group\r\n \r\n VS-tfsacc301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsaccount-Group\r\n \r\n VS-tfsaccount-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsaccount01-Group\r\n \r\n VS-tfsaccount01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsconp101-Group\r\n \r\n VS-tfsconp101-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n tfsconp101\r\n None\r\n 1.0\r\n 3bd7ff2f-c8b1-4e7a-b07c-fedf55bd03eb\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://tfsconp101.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n tfsconp101\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-TFSNCUS918-Group\r\n \r\n VS-TFSNCUS918-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsupdate301-Group\r\n \r\n VS-tfsupdate301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsupdatetfsacc302-Group\r\n \r\n VS-tfsupdatetfsacc302-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-today-Group\r\n \r\n VS-today-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-todaysaux01-Group\r\n \r\n VS-todaysaux01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-todaysauxtest101-Group\r\n \r\n VS-todaysauxtest101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-todaysibiza01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-trialacc-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-trialaccount-Group\r\n \r\n VS-trialaccount-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-trialaccount102-Group\r\n \r\n VS-trialaccount102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-trrykweoykweoykweo-Group\r\n \r\n VS-trrykweoykweoykweo-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tuejulyauxacc01-Group\r\n \r\n VS-tuejulyauxacc01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tuejulyibiza01acc-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-westeuropeacc-Group\r\n \r\n VS-westeuropeacc-Group in North Central US\r\n North Central US\r\n \r\n \r\n", - "ResponseHeaders": { - "Content-Length": [ - "54717" - ], - "Content-Type": [ - "application/xml; charset=utf-8" - ], - "x-ms-request-id": [ - "eb04da3ccb30842f91d9ec5ed589cf28" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Fri, 10 Oct 2014 06:15:20 GMT" - ], - "Server": [ - "1.0.6198.130", - "(rd_rdfe_stable.140925-2236)", - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/947a55d7-75e9-4a36-b156-305c6270f018/cloudservices?api-version=2014-10-27", - "EncodedRequestUri": "Lzk0N2E1NWQ3LTc1ZTktNGEzNi1iMTU2LTMwNWM2MjcwZjAxOC9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMjc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/xml" - ], - "x-ms-version": [ - "2013-03-01" - ], - "User-Agent": [ - "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" - ] - }, - "ResponseBody": "\r\n \r\n cdsBKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-North-Central-US\r\n \r\n cdsBKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-North-Central-US in North Central US\r\n North Central US\r\n \r\n \r\n \r\n RecoveryServices-BKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-west-us\r\n \r\n a510ea8f-1b1e-465b-927e-2caf10786579\r\n west us\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n rijethma-vault\r\n \r\n 1.1\r\n 25e8dd1c-44c6-49f1-aa50-aac068c55b96\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 8856597376086032764\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-aaddisable-Group\r\n \r\n VS-aaddisable-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-ac1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-acc-Group\r\n \r\n VS-acc-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-acc1-Group\r\n \r\n VS-acc1-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-compact-Group\r\n \r\n Resource group based cloud service.\r\n East US\r\n \r\n \r\n visualstudio\r\n account\r\n compact\r\n None\r\n 1.0\r\n 24b0ccad-e127-4389-a56c-a3e5d510ee0c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://compact.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n compact\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat-Group\r\n \r\n VS-compat-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n compat\r\n None\r\n 1.0\r\n 5c087e25-f539-43d6-bf9f-768797f6287c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://compat.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n compat\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat101-Group\r\n \r\n VS-compat101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-compat102-Group\r\n \r\n VS-compat102-Group in West US\r\n West US\r\n \r\n \r\n visualstudio\r\n account\r\n compat102\r\n None\r\n 1.0\r\n 4c907789-db73-4d38-8c81-1cdb093da81b\r\n Started\r\n Failed\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n Build\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat201-Group\r\n \r\n VS-compat201-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n compat201\r\n None\r\n 1.0\r\n c35a685d-f549-4ca3-acd6-7c758b644e4f\r\n Started\r\n Failed\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n Build\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 5\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-compat301-Group\r\n \r\n VS-compat301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-compt40-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n compt40\r\n None\r\n 1.0\r\n ba986567-5a53-4baf-9e9c-7b7ade784b5c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://compt40.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n compt40\r\n \r\n \r\n IdentityDomain\r\n Windows Live ID\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Update\r\n Failed\r\n \r\n 403\r\n <WrappedException xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" z:Id=\"i1\" xmlns:z=\"http://schemas.microsoft.com/2003/10/Serialization/\" xmlns=\"http://schemas.datacontract.org/2004/07/Microsoft.VisualStudio.Services.WebApi\"><Error.Code>0</Error.Code><EventId>3000</EventId><InnerException i:nil=\"true\" /><Message>User \"admin@aad140.ccsctp.net\" is not the account owner of \"\".</Message><TypeKey>UserIsNotAccountOwnerException</TypeKey><TypeName>Microsoft.VisualStudio.Services.Commerce.UserIsNotAccountOwnerException, Microsoft.VisualStudio.Services.Commerce, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</TypeName></WrappedException>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-createacc002-Group\r\n \r\n VS-createacc002-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-createTFS1-Group\r\n \r\n VS-createTFS1-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-createtfs2-Group\r\n \r\n VS-createtfs2-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-dbupgradetfs202-Group\r\n \r\n VS-dbupgradetfs202-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-dtestacc1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-finalenable-Group\r\n \r\n VS-finalenable-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finaltfacc01-Group\r\n \r\n VS-finaltfacc01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalupdate-Group\r\n \r\n VS-finalupdate-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalupdate401-Group\r\n \r\n VS-finalupdate401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalUpdate401Changed-Group\r\n \r\n VS-finalUpdate401Changed-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-finalupdatetfs402-Group\r\n \r\n VS-finalupdatetfs402-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-fresh-Group\r\n \r\n VS-fresh-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-freshsoftdelete-Group\r\n \r\n VS-freshsoftdelete-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-gfsfg-Group\r\n \r\n VS-gfsfg-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-ghhd-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n ghhd\r\n None\r\n 1.0\r\n d4a68495-4de3-46ba-9084-a7fa951ac29e\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://ghhd.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n ghhd\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-ghjfdjdf-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-glkdhghjgk-Group\r\n \r\n VS-glkdhghjgk-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-hh-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ia1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ia2-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizaa1-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizaa2-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizaacc01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ibizacc01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-ijkljkl-Group\r\n \r\n VS-ijkljkl-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-klgfuiadlfu-Group\r\n \r\n VS-klgfuiadlfu-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-newsignout-Group\r\n \r\n VS-newsignout-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-quickcheck-Group\r\n \r\n VS-quickcheck-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-qwerty-Group\r\n \r\n VS-qwerty-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-r717auxacc2-Group\r\n \r\n VS-r717auxacc2-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-rdfrrrrrrrrrrrrr-Group\r\n \r\n VS-rdfrrrrrrrrrrrrr-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-RGless-Group\r\n \r\n VS-RGless-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity-Group\r\n \r\n VS-sanity-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity101-Group\r\n \r\n VS-sanity101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity102-Group\r\n \r\n VS-sanity102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity103-Group\r\n \r\n VS-sanity103-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity103ibiza-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity104-Group\r\n \r\n VS-sanity104-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity201-Group\r\n \r\n VS-sanity201-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity202-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity301-Group\r\n \r\n VS-sanity301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity40-Group\r\n \r\n VS-sanity40-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity401-Group\r\n \r\n VS-sanity401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity402-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity403-Group\r\n \r\n VS-sanity403-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity601-Group\r\n \r\n VS-sanity601-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity603-Group\r\n \r\n VS-sanity603-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity604-Group\r\n \r\n VS-sanity604-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity605-Group\r\n \r\n VS-sanity605-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity701-Group\r\n \r\n VS-sanity701-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity702-Group\r\n \r\n VS-sanity702-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanity706-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean101-Group\r\n \r\n VS-sanityclean101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean101r-Group\r\n \r\n VS-sanityclean101r-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean102-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityclean103-Group\r\n \r\n VS-sanityclean103-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-sanityr-Group\r\n \r\n VS-sanityr-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete-Group\r\n \r\n VS-softdelete-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete401-Group\r\n \r\n VS-softdelete401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete402-Group\r\n \r\n VS-softdelete402-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete403-Group\r\n \r\n VS-softdelete403-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete405-Group\r\n \r\n VS-softdelete405-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdelete405changed-Group\r\n \r\n VS-softdelete405changed-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-softdeleteacc01-Group\r\n \r\n VS-softdeleteacc01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsdbupgrade201-Group\r\n \r\n VS-spsdbupgrade201-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgrade101-Group\r\n \r\n VS-spsupgrade101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgradenone-Group\r\n \r\n VS-spsupgradenone-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgradetesting101-Group\r\n \r\n VS-spsupgradetesting101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-spsupgradetfs102-Group\r\n \r\n VS-spsupgradetfs102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-test123-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testacc6191-Group\r\n \r\n VS-testacc6191-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccaux01-Group\r\n \r\n VS-testaccaux01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccaux02-Group\r\n \r\n VS-testaccaux02-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccc-Group\r\n \r\n VS-testaccc-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testaccibiza01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testing-Group\r\n \r\n VS-testing-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n testing\r\n None\r\n 1.0\r\n 477546e4-2b3f-4a9e-ba9d-1c818a58fa3c\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://testing.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n testing\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-testing01-Group\r\n \r\n VS-testing01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing102-Group\r\n \r\n VS-testing102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing3-Group\r\n \r\n VS-testing3-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing401-Group\r\n \r\n VS-testing401-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing402-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testing701-Group\r\n \r\n VS-testing701-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing702-Group\r\n \r\n VS-testing702-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing704-Group\r\n \r\n VS-testing704-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing705-Group\r\n \r\n VS-testing705-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing901-Group\r\n \r\n VS-testing901-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testing902-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-testing905-Group\r\n \r\n VS-testing905-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaadbacked901-Group\r\n \r\n VS-testingaadbacked901-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaux-Group\r\n \r\n VS-testingaux-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaux101-Group\r\n \r\n VS-testingaux101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingaux102-Group\r\n \r\n VS-testingaux102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingmbsabacked-Group\r\n \r\n VS-testingmbsabacked-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingss-Group\r\n \r\n VS-testingss-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingtfs101-Group\r\n \r\n VS-testingtfs101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testingtfs2-Group\r\n \r\n VS-testingtfs2-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testting-Group\r\n \r\n VS-testting-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-testtingtfs-Group\r\n \r\n VS-testtingtfs-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-TFS918-Group\r\n \r\n VS-TFS918-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-TFS918WEU-Group\r\n \r\n VS-TFS918WEU-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsacc301-Group\r\n \r\n VS-tfsacc301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsaccount-Group\r\n \r\n VS-tfsaccount-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsaccount01-Group\r\n \r\n VS-tfsaccount01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsconp101-Group\r\n \r\n VS-tfsconp101-Group in North Central US\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n tfsconp101\r\n None\r\n 1.0\r\n 3bd7ff2f-c8b1-4e7a-b07c-fedf55bd03eb\r\n Started\r\n Succeeded\r\n \r\n \r\n AdvancedLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n ProfessionalLicense\r\n Seats\r\n 0\r\n 0\r\n \r\n \r\n StandardLicense\r\n Seats\r\n 5\r\n 5\r\n \r\n \r\n Build\r\n Seats\r\n 60\r\n 0\r\n \r\n \r\n LoadTest\r\n Seats\r\n 15000\r\n 0\r\n \r\n \r\n \r\n \r\n \r\n \r\n AdditionalMeterData\r\n PEFycmF5T2ZBcnJheU9mS2V5VmFsdWVQYWlyIHhtbG5zOmk9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4bWxucz0iaHR0cDovL3NjaGVtYXMuZGF0YWNvbnRyYWN0Lm9yZy8yMDA0LzA3L01pY3Jvc29mdC5WaXN1YWxTdHVkaW8uU2VydmljZXMuQ29tbWVyY2UiPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkFkdmFuY2VkTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDA8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5Jc1BhaWRCaWxsaW5nRW5hYmxlZDwvS2V5PjxWYWx1ZT5UcnVlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PEFycmF5T2ZLZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk5hbWU8L0tleT48VmFsdWU+UHJvZmVzc2lvbmFsTGljZW5zZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPlRydWU8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5TdGFuZGFyZExpY2Vuc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5NYXhpbXVtUXVhbnRpdHk8L0tleT48VmFsdWU+MTA1PC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+VHJ1ZTwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PC9BcnJheU9mS2V5VmFsdWVQYWlyPjxBcnJheU9mS2V5VmFsdWVQYWlyPjxLZXlWYWx1ZVBhaXI+PEtleT5OYW1lPC9LZXk+PFZhbHVlPkJ1aWxkPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TWF4aW11bVF1YW50aXR5PC9LZXk+PFZhbHVlPjUwMDAwPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+SXNQYWlkQmlsbGluZ0VuYWJsZWQ8L0tleT48VmFsdWU+RmFsc2U8L1ZhbHVlPjwvS2V5VmFsdWVQYWlyPjwvQXJyYXlPZktleVZhbHVlUGFpcj48QXJyYXlPZktleVZhbHVlUGFpcj48S2V5VmFsdWVQYWlyPjxLZXk+TmFtZTwvS2V5PjxWYWx1ZT5Mb2FkVGVzdDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5Pk1heGltdW1RdWFudGl0eTwvS2V5PjxWYWx1ZT4xMDAwMDAwMDwvVmFsdWU+PC9LZXlWYWx1ZVBhaXI+PEtleVZhbHVlUGFpcj48S2V5PklzUGFpZEJpbGxpbmdFbmFibGVkPC9LZXk+PFZhbHVlPkZhbHNlPC9WYWx1ZT48L0tleVZhbHVlUGFpcj48L0FycmF5T2ZLZXlWYWx1ZVBhaXI+PC9BcnJheU9mQXJyYXlPZktleVZhbHVlUGFpcj4=\r\n \r\n \r\n AccountURL\r\n https://tfsconp101.billing-current.tfsallin.net/\r\n \r\n \r\n DisplayName\r\n tfsconp101\r\n \r\n \r\n IdentityDomain\r\n de86f3e7-1fe3-414c-812a-817ab249ad9b\r\n \r\n \r\n TfsRegion\r\n North Central US\r\n \r\n \r\n \r\n \r\n \r\n \r\n Update\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n \r\n VS-TFSNCUS918-Group\r\n \r\n VS-TFSNCUS918-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsupdate301-Group\r\n \r\n VS-tfsupdate301-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tfsupdatetfsacc302-Group\r\n \r\n VS-tfsupdatetfsacc302-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-today-Group\r\n \r\n VS-today-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-todaysaux01-Group\r\n \r\n VS-todaysaux01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-todaysauxtest101-Group\r\n \r\n VS-todaysauxtest101-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-todaysibiza01-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-trialacc-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-trialaccount-Group\r\n \r\n VS-trialaccount-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-trialaccount102-Group\r\n \r\n VS-trialaccount102-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-trrykweoykweoykweo-Group\r\n \r\n VS-trrykweoykweoykweo-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tuejulyauxacc01-Group\r\n \r\n VS-tuejulyauxacc01-Group in North Central US\r\n North Central US\r\n \r\n \r\n \r\n VS-tuejulyibiza01acc-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n \r\n VS-westeuropeacc-Group\r\n \r\n VS-westeuropeacc-Group in North Central US\r\n North Central US\r\n \r\n \r\n", - "ResponseHeaders": { - "Content-Length": [ - "54717" - ], - "Content-Type": [ - "application/xml; charset=utf-8" - ], - "x-ms-request-id": [ - "1e1889a821208fcfbeacaa1e0df1865a" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Fri, 10 Oct 2014 06:15:29 GMT" - ], - "Server": [ - "1.0.6198.130", - "(rd_rdfe_stable.140925-2236)", - "Microsoft-HTTPAPI/2.0" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/947a55d7-75e9-4a36-b156-305c6270f018/cloudservices/RecoveryServices-BKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-west-us/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/rijethma-vault/Servers?api-version=2014-10-27", - "EncodedRequestUri": "Lzk0N2E1NWQ3LTc1ZTktNGEzNi1iMTU2LTMwNWM2MjcwZjAxOC9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtQktTSVBFS1NLVU9ENkJSQTNQWk9QSU9VU0VCNlBCTFVQSElLN1ozVTdPVk5CRE9BMjU3US13ZXN0LXVzL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L3JpamV0aG1hLXZhdWx0L1NlcnZlcnM/YXBpLXZlcnNpb249MjAxNC0xMC0yNw==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/xml" - ], - "x-ms-client-request-id": [ - "09043800-3e96-4983-bd3c-b15f737669b3-2014-45-10 11:45:20Z-P" - ], - "x-ms-version": [ - "2013-03-01" - ], - "User-Agent": [ - "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" - ] - }, - "ResponseBody": "\r\n \r\n 58dc1662-e746-4510-9e8e-a2e03e10b867\r\n rijethma-server.fareast.corp.microsoft.com\r\n false\r\n 2014-09-21T20:50:16.035652Z\r\n 3.5.484.0\r\n 3.2.7510.0\r\n \r\n", - "ResponseHeaders": { - "Content-Length": [ - "494" - ], - "Content-Type": [ - "application/xml" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" - ], - "x-ms-client-request-id": [ - "09043800-3e96-4983-bd3c-b15f737669b3-2014-45-10 11:45:20Z-P" - ], - "x-ms-request-id": [ - "5ce635be1e068fa9ade58b33667ee3f0" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Fri, 10 Oct 2014 06:15:24 GMT" - ], - "Server": [ - "1.0.6198.130", - "(rd_rdfe_stable.140925-2236)", - "Microsoft-HTTPAPI/2.0" - ], - "X-AspNet-Version": [ - "4.0.30319" - ], - "X-Powered-By": [ - "ASP.NET" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/947a55d7-75e9-4a36-b156-305c6270f018/cloudservices/RecoveryServices-BKSIPEKSKUOD6BRA3PZOPIOUSEB6PBLUPHIK7Z3U7OVNBDOA257Q-west-us/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/rijethma-vault/ProtectionContainers?api-version=2014-10-27", - "EncodedRequestUri": "Lzk0N2E1NWQ3LTc1ZTktNGEzNi1iMTU2LTMwNWM2MjcwZjAxOC9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtQktTSVBFS1NLVU9ENkJSQTNQWk9QSU9VU0VCNlBCTFVQSElLN1ozVTdPVk5CRE9BMjU3US13ZXN0LXVzL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L3JpamV0aG1hLXZhdWx0L1Byb3RlY3Rpb25Db250YWluZXJzP2FwaS12ZXJzaW9uPTIwMTQtMTAtMjc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "Accept": [ - "application/xml" - ], - "x-ms-client-request-id": [ - "bb080f5b-1d96-4432-9d70-364dcf5231be-2014-45-10 11:45:29Z-P" - ], - "x-ms-version": [ - "2013-03-01" - ], - "User-Agent": [ - "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" - ] - }, - "ResponseBody": "\r\n \r\n 58dc1662-e746-4510-9e8e-a2e03e10b867_cf754905-fe70-4e68-9884-80c2643a6664\r\n rijethma-c2\r\n NotConfigured\r\n cf754905-fe70-4e68-9884-80c2643a6664\r\n _\r\n \r\n 58dc1662-e746-4510-9e8e-a2e03e10b867\r\n \r\n \r\n 58dc1662-e746-4510-9e8e-a2e03e10b867_dec364d8-d4a8-46f9-9607-586a3171d069\r\n rijethma-c1\r\n NotConfigured\r\n dec364d8-d4a8-46f9-9607-586a3171d069\r\n _\r\n \r\n 58dc1662-e746-4510-9e8e-a2e03e10b867\r\n \r\n", - "ResponseHeaders": { - "Content-Length": [ - "964" - ], - "Content-Type": [ - "application/xml" - ], - "Expires": [ - "-1" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" - ], - "x-ms-client-request-id": [ - "bb080f5b-1d96-4432-9d70-364dcf5231be-2014-45-10 11:45:29Z-P" - ], - "x-ms-request-id": [ - "24354db582d38c6c91ac40b79c0682b0" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Fri, 10 Oct 2014 06:15:31 GMT" - ], - "Server": [ - "1.0.6198.130", - "(rd_rdfe_stable.140925-2236)", - "Microsoft-HTTPAPI/2.0" - ], - "X-AspNet-Version": [ - "4.0.30319" - ], - "X-Powered-By": [ - "ASP.NET" - ] - }, - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": { - "SubscriptionId": "947a55d7-75e9-4a36-b156-305c6270f018", - "UserId": "admin@aad140.ccsctp.net" - } -} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/StorageMappingTest.json b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/StorageMappingTest.json new file mode 100644 index 000000000000..0db889df9c70 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/StorageMappingTest.json @@ -0,0 +1,1088 @@ +{ + "Entries": [ + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "7f5efd3075aace14afe78ac445d330be" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:00:18 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "9f425bdb3b49c0d5aa76aa568df38642" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:00:20 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "a33f193f4a62c531968880d5f4cb5cdd" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:00:25 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "d463ac152407cb11be6f820948e296c6" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:00:28 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "7e683aab1ca2c853939fcb078687992c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:00:31 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "02fbbba99899c3b2aaffe98f210e6793" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:00:39 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "8383bcae912ac5688d533d51ab46933e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:00:47 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "10157021b0c5cb3795a055d0d17f22b4" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:00:56 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "e7dd2430f041c3f8b07c46cb6cce34bd" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:01:03 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "7b2ff9fb40bec7d79f727f7b29ce545d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:01:11 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "1404ecfa2df2cb55887497f1f7071591" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:01:15 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Servers?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1NlcnZlcnM/YXBpLXZlcnNpb249MjAxNS0wMi0xMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "236ce266-9ff1-4c75-ad66-c5a127dd7e93-2015-02-23 15:00:21Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n HRM-04-019.dratest.nttest.microsoft.com\r\n true\r\n 2015-02-23T15:00:02.3888329Z\r\n 3.5.708.0\r\n 3.2.7768.0\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n VMM\r\n \r\n \r\n dc1ed9b2-7b90-4534-9977-12881d278fb5\r\n HRM-04-021.dratest.nttest.microsoft.com\r\n true\r\n 2015-02-23T14:58:58.4089848Z\r\n 3.5.708.0\r\n 3.2.7768.0\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5\r\n VMM\r\n VMM\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "929" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "236ce266-9ff1-4c75-ad66-c5a127dd7e93-2015-02-23 15:00:21Z-P" + ], + "x-ms-request-id": [ + "0ed3a2b059f6cf95887c2e02edba03e0" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:00:23 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Storages?api-version=2015-02-10&ServerId=774859b0-1966-48cc-9df7-759c441b7a8c", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1N0b3JhZ2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTAmU2VydmVySWQ9Nzc0ODU5YjAtMTk2Ni00OGNjLTlkZjctNzU5YzQ0MWI3YThj", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "6fde27e9-499a-4251-98fc-bc6f84f17ed8-2015-02-23 15:00:26Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 12204d6a-3119-4404-ac54-464cab6c6810\r\n phase2RecoveryStorageClassification\r\n 12204d6a-3119-4404-ac54-464cab6c6810\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n Classification\r\n \r\n \r\n 3fed928c-2988-47a1-b212-4a0037bb4040\r\n phase2PrimaryStorageClassification\r\n 3fed928c-2988-47a1-b212-4a0037bb4040\r\n VMM\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n Classification\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "720" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "6fde27e9-499a-4251-98fc-bc6f84f17ed8-2015-02-23 15:00:26Z-P" + ], + "x-ms-request-id": [ + "390a4c26f0d5cd4cbff22ded93140041" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:00:27 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/StorageMappings?api-version=2015-02-10&PrimaryServerId=774859b0-1966-48cc-9df7-759c441b7a8c&RecoveryServerId=774859b0-1966-48cc-9df7-759c441b7a8c", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1N0b3JhZ2VNYXBwaW5ncz9hcGktdmVyc2lvbj0yMDE1LTAyLTEwJlByaW1hcnlTZXJ2ZXJJZD03NzQ4NTliMC0xOTY2LTQ4Y2MtOWRmNy03NTljNDQxYjdhOGMmUmVjb3ZlcnlTZXJ2ZXJJZD03NzQ4NTliMC0xOTY2LTQ4Y2MtOWRmNy03NTljNDQxYjdhOGM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "e2f1e299-ff11-4e3a-9a48-580481032149-2015-02-23 15:00:28Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "126" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "e2f1e299-ff11-4e3a-9a48-580481032149-2015-02-23 15:00:28Z-P" + ], + "x-ms-request-id": [ + "1950e74131f8c35f9cdeb2468c4d874e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:00:29 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/StorageMappings?api-version=2015-02-10&PrimaryServerId=774859b0-1966-48cc-9df7-759c441b7a8c&RecoveryServerId=774859b0-1966-48cc-9df7-759c441b7a8c", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1N0b3JhZ2VNYXBwaW5ncz9hcGktdmVyc2lvbj0yMDE1LTAyLTEwJlByaW1hcnlTZXJ2ZXJJZD03NzQ4NTliMC0xOTY2LTQ4Y2MtOWRmNy03NTljNDQxYjdhOGMmUmVjb3ZlcnlTZXJ2ZXJJZD03NzQ4NTliMC0xOTY2LTQ4Y2MtOWRmNy03NTljNDQxYjdhOGM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "537330b4-357d-42f5-b7bb-57d762b4259e-2015-02-23 15:01:16Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n 12204d6a-3119-4404-ac54-464cab6c6810\r\n phase2RecoveryStorageClassification\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n 3fed928c-2988-47a1-b212-4a0037bb4040\r\n phase2PrimaryStorageClassification\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "627" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "537330b4-357d-42f5-b7bb-57d762b4259e-2015-02-23 15:01:16Z-P" + ], + "x-ms-request-id": [ + "a63ac1053847c5b8a1862952f0652c92" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:01:17 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/StorageMappings?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1N0b3JhZ2VNYXBwaW5ncz9hcGktdmVyc2lvbj0yMDE1LTAyLTEw", + "RequestMethod": "POST", + "RequestBody": "\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n 12204d6a-3119-4404-ac54-464cab6c6810\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n 3fed928c-2988-47a1-b212-4a0037bb4040\r\n", + "RequestHeaders": { + "Content-Type": [ + "application/xml" + ], + "Content-Length": [ + "403" + ], + "Accept": [ + "application/xml" + ], + "Agent-Authentication": [ + "{\"NotBeforeTimestamp\":\"\\/Date(1424700031280)\\/\",\"NotAfterTimestamp\":\"\\/Date(1424721631280)\\/\",\"ClientRequestId\":\"5c5fb455-9d4e-44f8-b824-c1829520bef2-2015-02-23 15:00:31Z-P\",\"HashFunction\":\"HMACSHA256\",\"Hmac\":\"ECadxxV9pheVDByCX61AhdS0HSsGuRjcCUiT2oup/o0=\",\"Version\":{\"Major\":1,\"Minor\":2,\"Build\":-1,\"Revision\":-1,\"MajorRevision\":-1,\"MinorRevision\":-1},\"PropertyBag\":{}}" + ], + "x-ms-client-request-id": [ + "5c5fb455-9d4e-44f8-b824-c1829520bef2-2015-02-23 15:00:31Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n d731cb6a-bd1c-40e0-8fc8-51fa3cb93111\r\n 5c5fb455-9d4e-44f8-b824-c1829520bef2-2015-02-23 15:00:31Z-P\r\n \r\n \r\n \r\n \r\n \r\n \r\n NotStarted\r\n NotStarted\r\n \r\n \r\n ProtectionEntity\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "629" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "5c5fb455-9d4e-44f8-b824-c1829520bef2-2015-02-23 15:00:31Z-P" + ], + "x-ms-request-id": [ + "595130f7582cc14b8faf9fa2f72859b5" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:00:33 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/d731cb6a-bd1c-40e0-8fc8-51fa3cb93111?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvZDczMWNiNmEtYmQxYy00MGUwLThmYzgtNTFmYTNjYjkzMTExP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "7b3106ff-b0e3-4d43-aef5-6565de5b3d7e-2015-02-23 15:00:40Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n d731cb6a-bd1c-40e0-8fc8-51fa3cb93111\r\n 5c5fb455-9d4e-44f8-b824-c1829520bef2-2015-02-23 15:00:31Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Classification mapping\r\n \r\n \r\n ClassificationPairing\r\n 2/23/2015 3:00:33 PM\r\n InProgress\r\n InProgress\r\n 12204d6a-3119-4404-ac54-464cab6c6810\r\n phase2RecoveryStorageClassification\r\n Storage\r\n \r\n \r\n PairClassificationsPreflightChecksTask\r\n Prerequisites check for mapping classifications\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ID i:nil=\"true\" />\r\n <Name i:nil=\"true\" />\r\n <Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" />\r\n <ChildJobId i:nil=\"true\" />\r\n <EndTime>0001-01-01T00:00:00</EndTime>\r\n <ExtendedDetails i:nil=\"true\" />\r\n <StartTime>0001-01-01T00:00:00</StartTime>\r\n <State i:nil=\"true\" />\r\n <StateDescription i:nil=\"true\" />\r\n <TaskType i:nil=\"true\" />\r\n</Task>\r\n 0001-01-01T00:00:00\r\n NotStarted\r\n NotStarted\r\n TaskDetails\r\n \r\n \r\n PairClassificationsTask\r\n Mapping classifications\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ID i:nil=\"true\" />\r\n <Name i:nil=\"true\" />\r\n <Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" />\r\n <ChildJobId i:nil=\"true\" />\r\n <EndTime>0001-01-01T00:00:00</EndTime>\r\n <ExtendedDetails i:nil=\"true\" />\r\n <StartTime>0001-01-01T00:00:00</StartTime>\r\n <State i:nil=\"true\" />\r\n <StateDescription i:nil=\"true\" />\r\n <TaskType i:nil=\"true\" />\r\n</Task>\r\n 0001-01-01T00:00:00\r\n NotStarted\r\n NotStarted\r\n TaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "2864" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "7b3106ff-b0e3-4d43-aef5-6565de5b3d7e-2015-02-23 15:00:40Z-P" + ], + "x-ms-request-id": [ + "7a381aa43188c91c91f25b5a8782824c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:00:40 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/d731cb6a-bd1c-40e0-8fc8-51fa3cb93111?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvZDczMWNiNmEtYmQxYy00MGUwLThmYzgtNTFmYTNjYjkzMTExP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "bfdf095b-8227-4f07-b3b4-cba9646e12c4-2015-02-23 15:00:48Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n d731cb6a-bd1c-40e0-8fc8-51fa3cb93111\r\n 5c5fb455-9d4e-44f8-b824-c1829520bef2-2015-02-23 15:00:31Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Classification mapping\r\n \r\n \r\n ClassificationPairing\r\n 2/23/2015 3:00:33 PM\r\n InProgress\r\n InProgress\r\n 12204d6a-3119-4404-ac54-464cab6c6810\r\n phase2RecoveryStorageClassification\r\n Storage\r\n \r\n \r\n PairClassificationsPreflightChecksTask\r\n Prerequisites check for mapping classifications\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ID i:nil=\"true\" />\r\n <Name i:nil=\"true\" />\r\n <Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" />\r\n <ChildJobId i:nil=\"true\" />\r\n <EndTime>0001-01-01T00:00:00</EndTime>\r\n <ExtendedDetails i:nil=\"true\" />\r\n <StartTime>0001-01-01T00:00:00</StartTime>\r\n <State i:nil=\"true\" />\r\n <StateDescription i:nil=\"true\" />\r\n <TaskType i:nil=\"true\" />\r\n</Task>\r\n 0001-01-01T00:00:00\r\n NotStarted\r\n NotStarted\r\n TaskDetails\r\n \r\n \r\n PairClassificationsTask\r\n Mapping classifications\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ID i:nil=\"true\" />\r\n <Name i:nil=\"true\" />\r\n <Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" />\r\n <ChildJobId i:nil=\"true\" />\r\n <EndTime>0001-01-01T00:00:00</EndTime>\r\n <ExtendedDetails i:nil=\"true\" />\r\n <StartTime>0001-01-01T00:00:00</StartTime>\r\n <State i:nil=\"true\" />\r\n <StateDescription i:nil=\"true\" />\r\n <TaskType i:nil=\"true\" />\r\n</Task>\r\n 0001-01-01T00:00:00\r\n NotStarted\r\n NotStarted\r\n TaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "2864" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "bfdf095b-8227-4f07-b3b4-cba9646e12c4-2015-02-23 15:00:48Z-P" + ], + "x-ms-request-id": [ + "90402d39b1fec5929238ff8c0f78516a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:00:49 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/d731cb6a-bd1c-40e0-8fc8-51fa3cb93111?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvZDczMWNiNmEtYmQxYy00MGUwLThmYzgtNTFmYTNjYjkzMTExP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "34541976-748f-4a2a-840a-dade904df9ef-2015-02-23 15:00:56Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n d731cb6a-bd1c-40e0-8fc8-51fa3cb93111\r\n 5c5fb455-9d4e-44f8-b824-c1829520bef2-2015-02-23 15:00:31Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Classification mapping\r\n \r\n \r\n ClassificationPairing\r\n 2/23/2015 3:00:33 PM\r\n InProgress\r\n InProgress\r\n 12204d6a-3119-4404-ac54-464cab6c6810\r\n phase2RecoveryStorageClassification\r\n Storage\r\n \r\n \r\n PairClassificationsPreflightChecksTask\r\n Prerequisites check for mapping classifications\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ID i:nil=\"true\" />\r\n <Name i:nil=\"true\" />\r\n <Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" />\r\n <ChildJobId i:nil=\"true\" />\r\n <EndTime>0001-01-01T00:00:00</EndTime>\r\n <ExtendedDetails i:nil=\"true\" />\r\n <StartTime>0001-01-01T00:00:00</StartTime>\r\n <State i:nil=\"true\" />\r\n <StateDescription i:nil=\"true\" />\r\n <TaskType i:nil=\"true\" />\r\n</Task>\r\n 0001-01-01T00:00:00\r\n NotStarted\r\n NotStarted\r\n TaskDetails\r\n \r\n \r\n PairClassificationsTask\r\n Mapping classifications\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ID i:nil=\"true\" />\r\n <Name i:nil=\"true\" />\r\n <Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" />\r\n <ChildJobId i:nil=\"true\" />\r\n <EndTime>0001-01-01T00:00:00</EndTime>\r\n <ExtendedDetails i:nil=\"true\" />\r\n <StartTime>0001-01-01T00:00:00</StartTime>\r\n <State i:nil=\"true\" />\r\n <StateDescription i:nil=\"true\" />\r\n <TaskType i:nil=\"true\" />\r\n</Task>\r\n 0001-01-01T00:00:00\r\n NotStarted\r\n NotStarted\r\n TaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "2864" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "34541976-748f-4a2a-840a-dade904df9ef-2015-02-23 15:00:56Z-P" + ], + "x-ms-request-id": [ + "356b8f98f834ca3282ac906084f06bcf" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:00:57 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/d731cb6a-bd1c-40e0-8fc8-51fa3cb93111?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvZDczMWNiNmEtYmQxYy00MGUwLThmYzgtNTFmYTNjYjkzMTExP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "6fad9fbc-5eeb-4fcd-88f7-222a0a706966-2015-02-23 15:01:04Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n d731cb6a-bd1c-40e0-8fc8-51fa3cb93111\r\n 5c5fb455-9d4e-44f8-b824-c1829520bef2-2015-02-23 15:00:31Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Classification mapping\r\n \r\n \r\n ClassificationPairing\r\n 2/23/2015 3:00:33 PM\r\n InProgress\r\n InProgress\r\n 12204d6a-3119-4404-ac54-464cab6c6810\r\n phase2RecoveryStorageClassification\r\n Storage\r\n \r\n \r\n PairClassificationsPreflightChecksTask\r\n Prerequisites check for mapping classifications\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ID i:nil=\"true\" />\r\n <Name i:nil=\"true\" />\r\n <Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" />\r\n <ChildJobId i:nil=\"true\" />\r\n <EndTime>0001-01-01T00:00:00</EndTime>\r\n <ExtendedDetails i:nil=\"true\" />\r\n <StartTime>0001-01-01T00:00:00</StartTime>\r\n <State i:nil=\"true\" />\r\n <StateDescription i:nil=\"true\" />\r\n <TaskType i:nil=\"true\" />\r\n</Task>\r\n 0001-01-01T00:00:00\r\n NotStarted\r\n NotStarted\r\n TaskDetails\r\n \r\n \r\n PairClassificationsTask\r\n Mapping classifications\r\n \r\n \r\n 0001-01-01T00:00:00\r\n <Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ID i:nil=\"true\" />\r\n <Name i:nil=\"true\" />\r\n <Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" />\r\n <ChildJobId i:nil=\"true\" />\r\n <EndTime>0001-01-01T00:00:00</EndTime>\r\n <ExtendedDetails i:nil=\"true\" />\r\n <StartTime>0001-01-01T00:00:00</StartTime>\r\n <State i:nil=\"true\" />\r\n <StateDescription i:nil=\"true\" />\r\n <TaskType i:nil=\"true\" />\r\n</Task>\r\n 0001-01-01T00:00:00\r\n NotStarted\r\n NotStarted\r\n TaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "2864" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "6fad9fbc-5eeb-4fcd-88f7-222a0a706966-2015-02-23 15:01:04Z-P" + ], + "x-ms-request-id": [ + "b4580805468acb36bab1afe5ea28580b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:01:04 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/d731cb6a-bd1c-40e0-8fc8-51fa3cb93111?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvZDczMWNiNmEtYmQxYy00MGUwLThmYzgtNTFmYTNjYjkzMTExP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "bc17cf04-f302-40f3-81ae-a90868c076fa-2015-02-23 15:01:12Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n d731cb6a-bd1c-40e0-8fc8-51fa3cb93111\r\n 5c5fb455-9d4e-44f8-b824-c1829520bef2-2015-02-23 15:00:31Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Classification mapping\r\n 2/23/2015 3:01:08 PM\r\n \r\n ClassificationPairing\r\n 2/23/2015 3:00:33 PM\r\n Succeeded\r\n Completed\r\n 12204d6a-3119-4404-ac54-464cab6c6810\r\n phase2RecoveryStorageClassification\r\n Storage\r\n \r\n \r\n PairClassificationsPreflightChecksTask\r\n Prerequisites check for mapping classifications\r\n \r\n \r\n 2015-02-23T15:01:08.6821198Z\r\n <Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ID i:nil=\"true\" />\r\n <Name i:nil=\"true\" />\r\n <Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" />\r\n <ChildJobId i:nil=\"true\" />\r\n <EndTime>0001-01-01T00:00:00</EndTime>\r\n <ExtendedDetails i:nil=\"true\" />\r\n <StartTime>0001-01-01T00:00:00</StartTime>\r\n <State i:nil=\"true\" />\r\n <StateDescription i:nil=\"true\" />\r\n <TaskType i:nil=\"true\" />\r\n</Task>\r\n 2015-02-23T15:01:08.4321314Z\r\n Succeeded\r\n Completed\r\n TaskDetails\r\n \r\n \r\n PairClassificationsTask\r\n Mapping classifications\r\n \r\n \r\n 2015-02-23T15:01:08.7446203Z\r\n <Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ID i:nil=\"true\" />\r\n <Name i:nil=\"true\" />\r\n <Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" />\r\n <ChildJobId i:nil=\"true\" />\r\n <EndTime>0001-01-01T00:00:00</EndTime>\r\n <ExtendedDetails i:nil=\"true\" />\r\n <StartTime>0001-01-01T00:00:00</StartTime>\r\n <State i:nil=\"true\" />\r\n <StateDescription i:nil=\"true\" />\r\n <TaskType i:nil=\"true\" />\r\n</Task>\r\n 2015-02-23T15:01:08.6821198Z\r\n Succeeded\r\n Completed\r\n TaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "2910" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "bc17cf04-f302-40f3-81ae-a90868c076fa-2015-02-23 15:01:12Z-P" + ], + "x-ms-request-id": [ + "f4f73c140963c6a49c1a69e571359f19" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:01:13 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/StorageUnMappingTest.json b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/StorageUnMappingTest.json new file mode 100644 index 000000000000..5eb7d1512b48 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Test.ScenarioTests.RecoveryServicesTests/StorageUnMappingTest.json @@ -0,0 +1,573 @@ +{ + "Entries": [ + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "0d6a5f449ea4c702a944d4135076873b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:01:53 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "a922f6a331c8cb87906e44790c30ba0f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:01:55 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "dedcece47528c79589fdbc829de8774b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:01:59 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "6ee6c318f374c2628b4bea0f8e40e765" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:02:03 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "a7a613d2a540c8a88a4640340255b96b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:02:10 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.RecoveryServices.RecoveryServicesManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n CS-West-US-RecoveryServices\r\n \r\n Q1MtV2VzdC1VUy1SZWNvdmVyeVNlcnZpY2Vz\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US\r\n \r\n 10f2b605-0935-49d2-89dc-e1befc67e406\r\n West US\r\n \r\n \r\n WAHyperVRecoveryManager\r\n HyperVRecoveryManagerVault\r\n Hosters-FC-BVT-Vault\r\n \r\n 1.1\r\n 04d7d387-7bc1-4b85-902d-42c7913f9c68\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n abeb635b-e186-4605-b464-c7c9e55b226a\r\n \r\n \r\n ResourceId\r\n 6776506762078999256\r\n \r\n \r\n BackendStampId\r\n 75d5c811-a801-4332-8f96-43640cad60e9\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n VS-iamanewaccount-Group\r\n \r\n Resource group based cloud service.\r\n North Central US\r\n \r\n \r\n visualstudio\r\n account\r\n iamanewaccount\r\n 6a05b50f-981c-4bda-8cb7-7dc1675b17ae\r\n NotFound\r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "1868" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-request-id": [ + "6f5f4fa7fd6ec099a7addea9e910bd5f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:02:13 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Servers?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1NlcnZlcnM/YXBpLXZlcnNpb249MjAxNS0wMi0xMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "e5b91bdd-4125-40ca-b541-8c1a5a6c6cfd-2015-02-23 15:01:56Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n HRM-04-019.dratest.nttest.microsoft.com\r\n true\r\n 2015-02-23T15:01:32.4456534Z\r\n 3.5.708.0\r\n 3.2.7768.0\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n VMM\r\n VMM\r\n \r\n \r\n dc1ed9b2-7b90-4534-9977-12881d278fb5\r\n HRM-04-021.dratest.nttest.microsoft.com\r\n true\r\n 2015-02-23T15:01:57.8805747Z\r\n 3.5.708.0\r\n 3.2.7768.0\r\n dc1ed9b2-7b90-4534-9977-12881d278fb5\r\n VMM\r\n VMM\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "929" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "e5b91bdd-4125-40ca-b541-8c1a5a6c6cfd-2015-02-23 15:01:56Z-P" + ], + "x-ms-request-id": [ + "5c9028081490c164b548d0715fb07d8c" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:01:58 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/StorageMappings?api-version=2015-02-10&PrimaryServerId=774859b0-1966-48cc-9df7-759c441b7a8c&RecoveryServerId=774859b0-1966-48cc-9df7-759c441b7a8c", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1N0b3JhZ2VNYXBwaW5ncz9hcGktdmVyc2lvbj0yMDE1LTAyLTEwJlByaW1hcnlTZXJ2ZXJJZD03NzQ4NTliMC0xOTY2LTQ4Y2MtOWRmNy03NTljNDQxYjdhOGMmUmVjb3ZlcnlTZXJ2ZXJJZD03NzQ4NTliMC0xOTY2LTQ4Y2MtOWRmNy03NTljNDQxYjdhOGM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "9cbe32c9-5b14-44a5-bc54-ac26f61114c9-2015-02-23 15:02:00Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n 12204d6a-3119-4404-ac54-464cab6c6810\r\n phase2RecoveryStorageClassification\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n 3fed928c-2988-47a1-b212-4a0037bb4040\r\n phase2PrimaryStorageClassification\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "627" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "9cbe32c9-5b14-44a5-bc54-ac26f61114c9-2015-02-23 15:02:00Z-P" + ], + "x-ms-request-id": [ + "972f709d1d1ac022b7399eccde151a57" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:02:01 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/StorageMappings?api-version=2015-02-10&PrimaryServerId=774859b0-1966-48cc-9df7-759c441b7a8c&RecoveryServerId=774859b0-1966-48cc-9df7-759c441b7a8c", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1N0b3JhZ2VNYXBwaW5ncz9hcGktdmVyc2lvbj0yMDE1LTAyLTEwJlByaW1hcnlTZXJ2ZXJJZD03NzQ4NTliMC0xOTY2LTQ4Y2MtOWRmNy03NTljNDQxYjdhOGMmUmVjb3ZlcnlTZXJ2ZXJJZD03NzQ4NTliMC0xOTY2LTQ4Y2MtOWRmNy03NTljNDQxYjdhOGM=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "e5cc6e4a-85bd-4fbe-865b-e442c17c6520-2015-02-23 15:02:14Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "126" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "e5cc6e4a-85bd-4fbe-865b-e442c17c6520-2015-02-23 15:02:14Z-P" + ], + "x-ms-request-id": [ + "4cd59cd92e95cbe689c72c329461a3fc" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:02:15 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/StorageMappings?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L1N0b3JhZ2VNYXBwaW5ncz9hcGktdmVyc2lvbj0yMDE1LTAyLTEw", + "RequestMethod": "DELETE", + "RequestBody": "\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n 12204d6a-3119-4404-ac54-464cab6c6810\r\n 774859b0-1966-48cc-9df7-759c441b7a8c\r\n 3fed928c-2988-47a1-b212-4a0037bb4040\r\n", + "RequestHeaders": { + "Content-Type": [ + "application/xml" + ], + "Content-Length": [ + "403" + ], + "Accept": [ + "application/xml" + ], + "Agent-Authentication": [ + "{\"NotBeforeTimestamp\":\"\\/Date(1424700123929)\\/\",\"NotAfterTimestamp\":\"\\/Date(1424721723929)\\/\",\"ClientRequestId\":\"df4584fe-82b9-4b3f-82b1-7ea7e40217c2-2015-02-23 15:02:03Z-P\",\"HashFunction\":\"HMACSHA256\",\"Hmac\":\"ip2a65KSYWL84ygC8oaDFwaFfuS+0iqqrKHuokeN+GA=\",\"Version\":{\"Major\":1,\"Minor\":2,\"Build\":-1,\"Revision\":-1,\"MajorRevision\":-1,\"MinorRevision\":-1},\"PropertyBag\":{}}" + ], + "x-ms-client-request-id": [ + "df4584fe-82b9-4b3f-82b1-7ea7e40217c2-2015-02-23 15:02:03Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n 31ccbff0-3303-49bd-8106-3b3bc7f6407b\r\n df4584fe-82b9-4b3f-82b1-7ea7e40217c2-2015-02-23 15:02:03Z-P\r\n \r\n \r\n \r\n \r\n \r\n \r\n NotStarted\r\n NotStarted\r\n \r\n \r\n ProtectionEntity\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "629" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "df4584fe-82b9-4b3f-82b1-7ea7e40217c2-2015-02-23 15:02:03Z-P" + ], + "x-ms-request-id": [ + "c845d706802bc79a9749136086349c70" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:02:04 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba/cloudservices/RecoveryServices-T2RMT6H7QF7AENS66ZV7KS2QZA2BXRAUPOECQXGXX2Q4V3VQ6MUQ-West-US/resources/WAHyperVRecoveryManager/~/HyperVRecoveryManagerVault/Hosters-FC-BVT-Vault/Jobs/31ccbff0-3303-49bd-8106-3b3bc7f6407b?api-version=2015-02-10", + "EncodedRequestUri": "L2E1YWE1OTk3LTMzZTUtNDZjYy04YWI4LThiZDg5Yjc2YjdiYS9jbG91ZHNlcnZpY2VzL1JlY292ZXJ5U2VydmljZXMtVDJSTVQ2SDdRRjdBRU5TNjZaVjdLUzJRWkEyQlhSQVVQT0VDUVhHWFgyUTRWM1ZRNk1VUS1XZXN0LVVTL3Jlc291cmNlcy9XQUh5cGVyVlJlY292ZXJ5TWFuYWdlci9+L0h5cGVyVlJlY292ZXJ5TWFuYWdlclZhdWx0L0hvc3RlcnMtRkMtQlZULVZhdWx0L0pvYnMvMzFjY2JmZjAtMzMwMy00OWJkLTgxMDYtM2IzYmM3ZjY0MDdiP2FwaS12ZXJzaW9uPTIwMTUtMDItMTA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "x-ms-client-request-id": [ + "42764da0-e31f-4c26-af15-1985fc6ecc1a-2015-02-23 15:02:11Z-P" + ], + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.SiteRecovery.SiteRecoveryManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "\r\n 31ccbff0-3303-49bd-8106-3b3bc7f6407b\r\n df4584fe-82b9-4b3f-82b1-7ea7e40217c2-2015-02-23 15:02:03Z-P\r\n \r\n Cancel\r\n Restart\r\n \r\n Remove classification mapping\r\n 2/23/2015 3:02:06 PM\r\n \r\n ClassificationUnpairing\r\n 2/23/2015 3:02:05 PM\r\n Succeeded\r\n Completed\r\n 12204d6a-3119-4404-ac54-464cab6c6810\r\n phase2RecoveryStorageClassification\r\n Storage\r\n \r\n \r\n UnpairClassificationsPreflightChecksTask\r\n Prerequisites check for unmapping classifications\r\n \r\n \r\n 2015-02-23T15:02:06.3074297Z\r\n <Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ID i:nil=\"true\" />\r\n <Name i:nil=\"true\" />\r\n <Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" />\r\n <ChildJobId i:nil=\"true\" />\r\n <EndTime>0001-01-01T00:00:00</EndTime>\r\n <ExtendedDetails i:nil=\"true\" />\r\n <StartTime>0001-01-01T00:00:00</StartTime>\r\n <State i:nil=\"true\" />\r\n <StateDescription i:nil=\"true\" />\r\n <TaskType i:nil=\"true\" />\r\n</Task>\r\n 2015-02-23T15:02:06.1340112Z\r\n Succeeded\r\n Completed\r\n TaskDetails\r\n \r\n \r\n UnpairClassificationsTask\r\n Unmapping classifications\r\n \r\n \r\n 2015-02-23T15:02:06.3553235Z\r\n <Task xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/windowsazure\">\r\n <ID i:nil=\"true\" />\r\n <Name i:nil=\"true\" />\r\n <Actions xmlns:d2p1=\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\" i:nil=\"true\" />\r\n <ChildJobId i:nil=\"true\" />\r\n <EndTime>0001-01-01T00:00:00</EndTime>\r\n <ExtendedDetails i:nil=\"true\" />\r\n <StartTime>0001-01-01T00:00:00</StartTime>\r\n <State i:nil=\"true\" />\r\n <StateDescription i:nil=\"true\" />\r\n <TaskType i:nil=\"true\" />\r\n</Task>\r\n 2015-02-23T15:02:06.3074297Z\r\n Succeeded\r\n Completed\r\n TaskDetails\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "2927" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-client-request-id": [ + "42764da0-e31f-4c26-af15-1985fc6ecc1a-2015-02-23 15:02:11Z-P" + ], + "x-ms-request-id": [ + "f458ca104bf3ccb4b7aec3184554038a" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 23 Feb 2015 15:02:12 GMT" + ], + "Server": [ + "1.0.6196.1444", + "(rd_rdfe.150212-0800)", + "Microsoft-HTTPAPI/2.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/packages.config b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/packages.config index 5fadfe479b3c..f028024402ea 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/packages.config +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/packages.config @@ -1,19 +1,26 @@  - - + + + - - + + - - + + - + - + + + - + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj index ca94ee3d9d82..4f225b3ea0bf 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Commands.RecoveryServices.csproj @@ -14,6 +14,8 @@ ..\..\..\ true + Settings.StyleCop + 4.7.44.0 true @@ -28,10 +30,12 @@ true true MinimumRecommendedRules.ruleset + True + false ..\..\..\Package\Release\ServiceManagement\Azure\RecoveryServices - TRACE;SIGN + TRACE;SIGN;CODE_ANALYSIS true pdbonly AnyCPU @@ -44,28 +48,28 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll False ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -79,18 +83,26 @@ False ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Common.1.4.1\lib\net45\Microsoft.WindowsAzure.Common.NetFramework.dll False - ..\..\..\packages\Microsoft.Azure.Management.RecoveryServices.0.4.0-preview\lib\net40\Microsoft.WindowsAzure.Management.SiteRecovery.dll + ..\..\..\packages\Microsoft.Azure.Management.RecoveryServices.0.5.1-preview\lib\net40\Microsoft.WindowsAzure.Management.SiteRecovery.dll + + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.5.0.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll False ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll + + False + lib\Security.Cryptography.dll + @@ -117,15 +129,29 @@ + + + + True True Resources.resx + + + + + + + + + + @@ -138,8 +164,24 @@ + + + + + + + + + + + + + + + + @@ -147,6 +189,7 @@ + @@ -159,6 +202,7 @@ + @@ -167,6 +211,9 @@ + + PreserveNewest + PreserveNewest @@ -182,6 +229,9 @@ + + + @@ -195,6 +245,10 @@ + + + + - - - - Get-AzureSiteRecoveryServer - - - Get information about Azure Site Recovery Server for current Azure Site Recovery vault - - - - - Get - AzureSiteRecoveryServer - - - - Get information about Azure Site recovery server for current Azure Site Recovery vault - - - - - Get-AzureSiteRecoveryServer - - - Get-AzureSiteRecoveryServer - - Id - - Id of the Server - - string - - - - Get-AzureSiteRecoveryServer - - Name - - Name of the Server - - string - - - - - - - Id - - Id of the Server - - - string - - string - - - - - - Name - - Name of the Server - - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - Get-AzureSiteRecoveryServer - - ID : cd7dec80-1144-4531-9ab3-888b8ab39bee - Name : server1.contoso.com - LastHeartbeat : 9/23/2014 3:51:22 PM - ProviderVersion : 3.5.520.0 - ServerVersion : 3.2.7634.0 - - ID : f5e713fe-5b6d-4641-9690-6fe74c976b8e - Name : Server2.contoso.com - LastHeartbeat : 8/13/2014 2:28:58 PM - ProviderVersion : 3.5 - ServerVersion : 3.2.7510.0 - - - Description - ----------- - - - - - - - - - - - - - - - - - - - - - - - - + + - Get-AzureSiteRecoveryRecoveryPlanFile + Get-AzureSiteRecoveryServer - Get-AzureSiteRecoveryRecoveryPlanFile download the recovery plan in an XML format. This file can be updated and used to upload the updated Recovery Plan. + Get information about Azure Site Recovery Server for current Azure Site Recovery vault Get - AzureSiteRecoveryRecoveryPlanFile + AzureSiteRecoveryServer - Get-AzureSiteRecoveryRecoveryPlanFile download the recovery plan in an XML format. This file can be updated and used to upload the updated Recovery Plan. A recovery plan gathers virtual machines in a group for the purposes of failover and recovery + Get information about Azure Site recovery server for current Azure Site Recovery vault - Get-AzureSiteRecoveryRecoveryPlanFile + Get-AzureSiteRecoveryServer + + + Get-AzureSiteRecoveryServer Id - Id of the recovery Plan - - string - - - Path - - Path to store the recovery plan xml file + Id of the Server string - Get-AzureSiteRecoveryRecoveryPlanFile - - RecoveryPlan - - Recovery Plan object - - ASRRecoveryPlan - + Get-AzureSiteRecoveryServer - Path + Name - Path to store the recovery plan xml file + Name of the Server string @@ -233,7 +52,7 @@ Id - Id of the recovery Plan + Id of the Server string @@ -244,9 +63,9 @@ - Path + Name - Path to store the recovery plan xml file + Name of the Server string @@ -256,19 +75,6 @@ - - RecoveryPlan - - Recovery Plan object - - - ASRRecoveryPlan - - ASRRecoveryPlan - - - - @@ -318,6 +124,7 @@ + -------------------------- EXAMPLE 1 -------------------------- @@ -326,7 +133,19 @@ C:\PS> - $Rp = Get-AzureSiteRecoveryRecoveryPlan; Get-AzureSiteRecoveryRecoveryPlanFile -RecoveryPlan $Rp -Path C:\Users\Contoso\Desktop\RP.xml + Get-AzureSiteRecoveryServer + + ID : cd7dec80-1144-4531-9ab3-888b8ab39bee + Name : server1.contoso.com + LastHeartbeat : 9/23/2014 3:51:22 PM + ProviderVersion : 3.5.520.0 + ServerVersion : 3.2.7634.0 + + ID : f5e713fe-5b6d-4641-9690-6fe74c976b8e + Name : Server2.contoso.com + LastHeartbeat : 8/13/2014 2:28:58 PM + ProviderVersion : 3.5 + ServerVersion : 3.2.7510.0 Description @@ -353,298 +172,103 @@ - - - - - Get-AzureSiteRecoveryVM - - - Get information about Virtual Machines managed in Azure Site Recovery - - - - - Get - AzureSiteRecoveryVM - - - - Get information about Virtual Machines managed in Azure site Recovery - - - - - Get-AzureSiteRecoveryVM - - ProtectionContainer - - Protection Container object - - ASRProtectionContainer - - - - Get-AzureSiteRecoveryVM - - Id - - Id of the Virtual Machine - - string - - - ProtectionContainer - - Protection Container object - - ASRProtectionContainer - - - - Get-AzureSiteRecoveryVM - - Name - - Name of the Virtual Machine - - string - - - ProtectionContainer - - Protection Container object - - ASRProtectionContainer - - - - Get-AzureSiteRecoveryVM - - ProtectionContianerId - - ID of the Protection Container - - string - - - - Get-AzureSiteRecoveryVM - - Id - - Id of the Virtual Machine - - string - - - ProtectionContianerId - - ID of the Protection Container - - string - - - - Get-AzureSiteRecoveryVM - - Name - - Name of the Virtual Machine - - string - - - ProtectionContianerId - - ID of the Protection Container - - string - - - - - - - Id - - Id of the Virtual Machine - - - string - - string - - - - - - Name - - Name of the Virtual Machine - - - string - - string - - - - - - ProtectionContainer - - Protection Container object - - - ASRProtectionContainer - - ASRProtectionContainer - - - - - - ProtectionContianerId - - ID of the Protection Container - - - string - - string - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - $protectionContainer = Get-AzureSiteRecoveryProtectionContainer; Get-AzureSiteRecoveryVM -ProtectionContainer $protectionContainer - - ID : a205fd17-3848-4896-bab6-9dbccc3cd8ed - ServerId : 4a94c4a9-c856-4577-afbd-367fe9b3ce9c - ProtectionContainerId : 4a94c4a9-c856-4577-afbd-367fe9b3ce9c_1c513d45-645d-4ed0-b9ae-e7b869a1f7fc - Name : vm1 - Type : VirtualMachine - FabricObjectId : 86447b9e-d877-4e9a-8302-adcd6bbf18c0 - Protected : False - CanCommit : False - CanFailover : True - CanReverseReplicate : False - ActiveLocation : Primary - ProtectionState : Enabled - ReplicationHealth : Healthy - TestFailoverState : None - ReplicationProvider : HyperVReplica - - - Description - ----------- - - - - - - - - - - - - - - - - - - - - - - - - + + - Get-AzureSiteRecoveryVaultSettings + Get-AzureSiteRecoveryRecoveryPlanFile - Gets Azure Site Recovery Vault settings information + Get-AzureSiteRecoveryRecoveryPlanFile download the recovery plan in an XML format. This file can be updated and used to upload the updated Recovery Plan. Get - AzureSiteRecoveryVaultSettings + AzureSiteRecoveryRecoveryPlanFile - Gets Azure Site Recovery Vault settings information + Get-AzureSiteRecoveryRecoveryPlanFile download the recovery plan in an XML format. This file can be updated and used to upload the updated Recovery Plan. A recovery plan gathers virtual machines in a group for the purposes of failover and recovery - Get-AzureSiteRecoveryVaultSettings + Get-AzureSiteRecoveryRecoveryPlanFile + + Id + + Id of the recovery Plan + + string + + + Path + + Path to store the recovery plan xml file + + string + + + + Get-AzureSiteRecoveryRecoveryPlanFile + + Path + + Path to store the recovery plan xml file + + string + + + RecoveryPlan + + Recovery Plan object + + ASRRecoveryPlan + + + Id + + Id of the recovery Plan + + + string + + string + + + + + + Path + + Path to store the recovery plan xml file + + + string + + string + + + + + + RecoveryPlan + + Recovery Plan object + + + ASRRecoveryPlan + + ASRRecoveryPlan + + + + @@ -703,11 +327,7 @@ C:\PS> - Get-AzureSiteRecoveryVaultSettings - - ResourceName CloudServiceName - ------------ ---------------- - ContosoVault RecoveryServices-6JP23WE3SKKOM5AFQG2YQAI22MNOWK52QDKWMUP... + $Rp = Get-AzureSiteRecoveryRecoveryPlan; Get-AzureSiteRecoveryRecoveryPlanFile -RecoveryPlan $Rp -Path C:\Users\Contoso\Desktop\RP.xml Description @@ -734,46 +354,111 @@ - - + + - Get-AzureSiteRecoveryProtectionContainer + Get-AzureSiteRecoveryVM - Get information about Azure site recovery Protection container under current Azure Site Vault + Get information about Virtual Machines managed in Azure Site Recovery Get - AzureSiteRecoveryProtectionContainer + AzureSiteRecoveryVM - Get information about Azure site recovery Protection container under current Azure Site Vault. A protection container is the logical container for protection entities on which replication settings can be configured + Get information about Virtual Machines managed in Azure site Recovery - Get-AzureSiteRecoveryProtectionContainer + Get-AzureSiteRecoveryVM + + ProtectionContainer + + Protection Container object + + ASRProtectionContainer + - Get-AzureSiteRecoveryProtectionContainer + Get-AzureSiteRecoveryVM Id - Id of the Protection Container + Id of the Virtual Machine string + + ProtectionContainer + + Protection Container object + + ASRProtectionContainer + - Get-AzureSiteRecoveryProtectionContainer + Get-AzureSiteRecoveryVM Name - Name of the Protection Container + Name of the Virtual Machine + + string + + + ProtectionContainer + + Protection Container object + + ASRProtectionContainer + + + + Get-AzureSiteRecoveryVM + + ProtectionContianerId + + ID of the Protection Container + + string + + + + Get-AzureSiteRecoveryVM + + Id + + Id of the Virtual Machine + + string + + + ProtectionContianerId + + ID of the Protection Container + + string + + + + Get-AzureSiteRecoveryVM + + Name + + Name of the Virtual Machine + + string + + + ProtectionContianerId + + ID of the Protection Container string @@ -784,7 +469,7 @@ Id - Id of the Protection Container + Id of the Virtual Machine string @@ -797,7 +482,33 @@ Name - Name of the Protection Container + Name of the Virtual Machine + + + string + + string + + + + + + ProtectionContainer + + Protection Container object + + + ASRProtectionContainer + + ASRProtectionContainer + + + + + + ProtectionContianerId + + ID of the Protection Container string @@ -865,24 +576,23 @@ C:\PS> - Get-AzureSiteRecoveryProtectionContainer + $protectionContainer = Get-AzureSiteRecoveryProtectionContainer; Get-AzureSiteRecoveryVM -ProtectionContainer $protectionContainer - ID : 4a94c4a9-c856-4577-afbd-367fe9b3ce9c_1c513d45-645d-4ed0-b9ae-e7b869a1f7fc - Name : SourceCloud - ConfigurationStatus : Configured - PairedTo : 78facf56-b273-4941-82fd-ccb0b7597b30_5ed455e4-4933-4cff-b9dd-1b628068d972 - Role : Primary + ID : a205fd17-3848-4896-bab6-9dbccc3cd8ed ServerId : 4a94c4a9-c856-4577-afbd-367fe9b3ce9c - FabricObjectId : f0982c81-dfb1-4bfa-ba0d-a7d941f6e8c7 - - - ID : 78facf56-b273-4941-82fd-ccb0b7597b30_5ed455e4-4933-4cff-b9dd-1b628068d972 - Name : TargetCloud - ConfigurationStatus : Configured - PairedTo : 4a94c4a9-c856-4577-afbd-367fe9b3ce9c_1c513d45-645d-4ed0-b9ae-e7b869a1f7fc - Role : Recovery - ServerId : 78facf56-b273-4941-82fd-ccb0b7597b30 - FabricObjectId : f0982c81-dfb1-4bfa-ba0d-a7d941f6e8c7 + ProtectionContainerId : 4a94c4a9-c856-4577-afbd-367fe9b3ce9c_1c513d45-645d-4ed0-b9ae-e7b869a1f7fc + Name : vm1 + Type : VirtualMachine + FabricObjectId : 86447b9e-d877-4e9a-8302-adcd6bbf18c0 + Protected : False + CanCommit : False + CanFailover : True + CanReverseReplicate : False + ActiveLocation : Primary + ProtectionState : Enabled + ReplicationHealth : Healthy + TestFailoverState : None + ReplicationProvider : HyperVReplica Description @@ -909,119 +619,33 @@ - - + + - Get-AzureSiteRecoveryJob + Get-AzureSiteRecoveryVaultSettings - Get the information of the operation for current Azure Site Recovery Vault + Gets Azure Site Recovery Vault settings information Get - AzureSiteRecoveryJob + AzureSiteRecoveryVaultSettings - Get the information of the operation for current Azure Site Recovery Vault + Gets Azure Site Recovery Vault settings information - Get-AzureSiteRecoveryJob - - Id - - Id of job - - string - - - - Get-AzureSiteRecoveryJob - - Job - - Job object - - ASRJob - - - - Get-AzureSiteRecoveryJob - - StartTime - - Takes datetime as input. Allows to filter the list of jobs started after the given starttime - - datetime - - - State - - Take string input for possible states of ASR Job. Use this parameter to get filtered view of Jobs. Possible states include: Aborted, Cancelled, Cancelling, Completed, Failed, InProgress, PartiallySucceeded, CompletedWithInformation, RolledBack, Skipped, Waiting, WaitingForFinalizeProtection, WaitingForManualAction, WaitingForStopTestFailover, WaitingForUserInputAfterDataSync, NotStarted, Unknown. - - string - + Get-AzureSiteRecoveryVaultSettings - - Id - - Id of job - - - string - - string - - - - - - Job - - Job object - - - ASRJob - - ASRJob - - - - - - StartTime - - Takes datetime as input. Allows to filter the list of jobs started after the given starttime - - - datetime - - datetime - - - - - - State - - Take string input for possible states of ASR Job. Use this parameter to get filtered view of Jobs. Possible states include: Aborted, Cancelled, Cancelling, Completed, Failed, InProgress, PartiallySucceeded, CompletedWithInformation, RolledBack, Skipped, Waiting, WaitingForFinalizeProtection, WaitingForManualAction, WaitingForStopTestFailover, WaitingForUserInputAfterDataSync, NotStarted, Unknown. - - - string - - string - - - - @@ -1080,18 +704,11 @@ C:\PS> - Get-AzureSiteRecoveryJob -Id d0b56c01-1fd7-411a-94e9-be717ac6601e + Get-AzureSiteRecoveryVaultSettings - ID : d0b56c01-1fd7-411a-94e9-be717ac6601e - ClientRequestId : 0d259706-7882-4614-81bf-7d155f3600cb-2014-10-06 09:40:26Z - State : Succeeded - StateDescription : Completed - StartTime : 10/6/2014 9:40:28 AM - EndTime : 10/6/2014 9:40:30 AM - AllowedActions : {Cancel, Restart} - Name : Remove classification configuration - Tasks : {Prerequisites check for unpairing classifications, Unpairing classifications} - Errors : {} + ResourceName CloudServiceName + ------------ ---------------- + ContosoVault RecoveryServices-6JP23WE3SKKOM5AFQG2YQAI22MNOWK52QDKWMUP... Description @@ -1118,46 +735,43 @@ - - + + - Get-AzureSiteRecoveryRecoveryPlan + Get-AzureSiteRecoveryProtectionContainer - Get information of the Recovery Plan for current Azure Site Recovery Vault + The Get-AzureSiteRecoveryProtectionContainer cmdlet gets protected containers for the current Microsoft Azure Site Recovery vault. A protected container is a logical container for protected objects such as virtual machines. Azure Site Recovery configures replication settings for protected containers Get - AzureSiteRecoveryRecoveryPlan + AzureSiteRecoveryProtectionContainer - Get information of the Recovery Plan for current Azure Site Recovery Vault. A recovery plan gathers virtual machines in a group for the purposes of failover and recovery + Get information about Azure site recovery Protection container under current Azure Site Recovery Vault. A protection container is the logical container for protection entities on which replication settings can be configured - Get-AzureSiteRecoveryRecoveryPlan - - - Get-AzureSiteRecoveryRecoveryPlan + Get-AzureSiteRecoveryProtectionContainer - Name + Id - name of the recovery plan + Specifies the ID of a protected container to get. string - Get-AzureSiteRecoveryRecoveryPlan + Get-AzureSiteRecoveryProtectionContainer - Id + Name - Id of the recovery plan + Name of the Protection Container string @@ -1168,7 +782,7 @@ Id - Id of the recovery plan + Specifies the ID of a protected container to get. string @@ -1181,7 +795,7 @@ Name - name of the recovery plan + Name of the Protection Container string @@ -1249,11 +863,16 @@ C:\PS> - Get-AzureSiteRecoveryRecoveryPlan + Get-AzureSiteRecoveryProtectionContainer - ID Name ServerId TargetServerId - -- ---- -------- -------------- - 71de8ebc-1e9a-4242-aec3-ee... ContosoPlan 4a94c4a9-c856-4577-afbd-36... 78facf56-b273-4941-82fd-cc... + Name : PrimaryCloud + ID : fd00d920-79e4-4f2d-a282-a779c0cecb7f_ce995917-c962-45d0-b7f3-9f408a4e1429 + FabricObjectId : fd00d920-79e4-4f2d-a282-a779c0cecb7f + FabricType : VMM + Type : VMM + ServerId : fd00d920-79e4-4f2d-a282-a779c0cecb7f + Role : Primary + AvailableProtectionProfiles : {ab01dcbe-9da0-4c31-9564-d6904cfadfde, ad388147-83de-4d2f-a09d-fa46c626747e} Description @@ -1280,148 +899,5731 @@ - - - - - Get-AzureSiteRecoveryProtectionEntity - - - Get the list of Protection Entities like "VMs" - - - - - Get - AzureSiteRecoveryProtectionEntity - - - - Get the list of Protection Entities like "VMs" . A Protection Entity is an object which can be protected using Azure site Recovery - - - - - Get-AzureSiteRecoveryProtectionEntity - - ProtectionContainer - - Protection Container object - - ASRProtectionContainer - - - - Get-AzureSiteRecoveryProtectionEntity - - Id - - Id of the Protection Entity - - string - - - ProtectionContainer - - Protection Container object - - ASRProtectionContainer - - - - Get-AzureSiteRecoveryProtectionEntity - - Name - - Name of the Protection Entity - - string - - - ProtectionContainer - - Protection Container object - - ASRProtectionContainer - - - - Get-AzureSiteRecoveryProtectionEntity - - ProtectionContainerId - - Id of the Protection Container - - string - - - - Get-AzureSiteRecoveryProtectionEntity - - Id - - Id of the Protection Entity - - string - - - ProtectionContainerId - - Id of the Protection Container - - string - - + + + + + Get-AzureSiteRecoveryJob + + + The Get-AzureSiteRecoveryJob cmdlet gets Microsoft Azure Site Recovery jobs. You can use this cmdlet to view the information of the operation for current Azure Site Recovery vault. + + + + + Get + AzureSiteRecoveryJob + + + + Get the information of the operation for current Azure Site Recovery Vault. + + + + + Get-AzureSiteRecoveryJob + + Id + + Specifies the ID of a job to get. + + string + + + + Get-AzureSiteRecoveryJob + + Job + + Specifies an Azure Site Recovery job object to get. + + ASRJob + + + + Get-AzureSiteRecoveryJob + + EndTime + + Specifies a end time as a DateTime object. This cmdlet gets jobs that ends after the time that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + + DateTime + + + StartTime + + Specifies a start time as a DateTime object. This cmdlet gets jobs that begin after the time that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + + DateTime + + + State + + Specifies an input state for an Azure Site Recovery job. This cmdlet gets jobs that match the state that this parameter specifies. + + string + + + TargetObjectId + + ID of the object on which Job was targeted to. + + string + + + + + + + EndTime + + Specifies a end time as a DateTime object. This cmdlet gets jobs that ends after the time that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + + + DateTime + + DateTime + + + + + + Id + + Specifies the ID of a job to get. + + + string + + string + + + + + + Job + + Specifies an Azure Site Recovery job object to get. + + + ASRJob + + ASRJob + + + + + + StartTime + + Specifies a start time as a DateTime object. This cmdlet gets jobs that begin after the time that this parameter specifies. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date. + + + DateTime + + DateTime + + + + + + State + + Specifies an input state for an Azure Site Recovery job. This cmdlet gets jobs that match the state that this parameter specifies. + + + string + + string + + + + + + TargetObjectId + + ID of the object on which Job was targeted to. + + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + +Get-AzureSiteRecoveryJob -Id d0b56c01-1fd7-411a-94e9-be717ac6601e + +ID : d0b56c01-1fd7-411a-94e9-be717ac6601e +ClientRequestId : 0d259706-7882-4614-81bf-7d155f3600cb-2014-10-06 09:40:26Z +State : Succeeded +StateDescription : Completed +StartTime : 10/6/2014 9:40:28 AM +EndTime : 10/6/2014 9:40:30 AM +AllowedActions : {Cancel, Restart} +Name : Remove classification configuration +Tasks : {Prerequisites check for unpairing classifications, Unpairing classifications} +Errors : {} + + Description + ----------- + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + C:\PS> + + +$StartTime = Get-Date "2015-02-20 06:10:03Z" +$EndTime = Get-Date "2015-02-20 06:20:03Z" +Get-AzureSiteRecoveryJob -StartTime $StartTime -EndTime $EndTime + +Name : SaveRecoveryPlan +ID : 5d6389f7-3f08-48d6-9d2c-e4a4aed36a0b +ClientRequestId : bc4b291d-4722-419e-a7a3-7a58674c35a3-2015-02-20 06:14:03Z +State : Succeeded +StateDescription : Completed +StartTime : 2/20/2015 6:14:04 AM +EndTime : 2/20/2015 6:14:05 AM +TargetObjectId : 2d11e8be-29b8-4152-a8b9-2a6a9304537a +TargetObjectType : RecoveryPlan +TargetObjectName : TestRP +AllowedActions : +Tasks : {Save a recovery plan task} +Errors : {} + + Description + ----------- + Provide the DateTime object in UTC as input to StartTime and EndTime parameter. + + + + + + + + + + + + + + + + + + + + + + + + + + Get-AzureSiteRecoveryRecoveryPlan + + + Get information of the Recovery Plan for current Azure Site Recovery Vault + + + + + Get + AzureSiteRecoveryRecoveryPlan + + + + Get information of the Recovery Plan for current Azure Site Recovery Vault. A recovery plan gathers virtual machines in a group for the purposes of failover and recovery + + + + + Get-AzureSiteRecoveryRecoveryPlan + + + Get-AzureSiteRecoveryRecoveryPlan + + Name + + name of the recovery plan + + string + + + + Get-AzureSiteRecoveryRecoveryPlan + + Id + + Id of the recovery plan + + string + + + + + + + Id + + Id of the recovery plan + + + string + + string + + + + + + Name + + name of the recovery plan + + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + Get-AzureSiteRecoveryRecoveryPlan + + ID Name ServerId TargetServerId + -- ---- -------- -------------- + 71de8ebc-1e9a-4242-aec3-ee... ContosoPlan 4a94c4a9-c856-4577-afbd-36... 78facf56-b273-4941-82fd-cc... + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + + Get-AzureSiteRecoveryProtectionEntity + + + The Get-AzureSiteRecoveryProtectionEntity cmdlet gets protected objects in Microsoft Azure Site Recovery, such as virtual machines. + + + + + Get + AzureSiteRecoveryProtectionEntity + + + + Get the list of Protection Entities like "VMs" . A Protection Entity is an object which can be protected using Azure site Recovery + + + + + Get-AzureSiteRecoveryProtectionEntity + + ProtectionContainerId + + Id of the Protection Container + + string + + + + Get-AzureSiteRecoveryProtectionEntity + + Id + + Specifies the ID of a protection entity to get. + + string + + + ProtectionContainerId + + Id of the Protection Container + + string + + + + Get-AzureSiteRecoveryProtectionEntity + + Name + + Name of the Protection Entity + + string + + + ProtectionContainerId + + Id of the Protection Container + + string + + + + Get-AzureSiteRecoveryProtectionEntity + + ProtectionContainer + + Protection Container object + + ASRProtectionContainer + + + + Get-AzureSiteRecoveryProtectionEntity + + Id + + Specifies the ID of a protection entity to get. + + string + + + ProtectionContainer + + Protection Container object + + ASRProtectionContainer + + + + Get-AzureSiteRecoveryProtectionEntity + + Name + + Name of the Protection Entity + + string + + + ProtectionContainer + + Protection Container object + + ASRProtectionContainer + + + + + + + Id + + Specifies the ID of a protection entity to get. + + + string + + string + + + + + + Name + + Name of the Protection Entity + + + string + + string + + + + + + ProtectionContainer + + Protection Container object + + + ASRProtectionContainer + + ASRProtectionContainer + + + + + + ProtectionContainerId + + Id of the Protection Container + + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + +$PC = Get-AzureSiteRecoveryProtectionContainer; Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $PC + +ID : 43aaab46-1cb0-4c39-8077-9a091c3b05ce +ServerId : 4a94c4a9-c856-4577-afbd-367fe9b3ce9c +ProtectionContainerId : 4a94c4a9-c856-4577-afbd-367fe9b3ce9c_1c513d45-645d-4ed0-b9ae-e7b869a1f7fc +Name : testvm +Type : VirtualMachine +FabricObjectId : 506B3CAC-5758-49E2-98C4-E5B0512E4D8E +Protected : False +CanCommit : False +CanFailover : False +CanReverseReplicate : False +ActiveLocation : Primary +ProtectionStateDescription : Enabling protection +ReplicationHealth : +TestFailoverStateDescription : None +ReplicationProvider : HyperVReplica + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + Import-AzureSiteRecoveryVaultSettingsFile + + + Imports a Azure site Recovery Vault Settings file to able to connect to Azure site Recovery Vault + + + + + Import + AzureSiteRecoveryVaultSettingsFile + + + + Imports a Azure site Recovery Vault Settings file to able to connect to Azure site Recovery Vault. The Vault settings file can be downloaded from Azure site recovery Vault by logging on the Azure portal + + + + + Import-AzureSiteRecoveryVaultSettingsFile + + Path + + Path to the Azure site Recovery Vault Settings file. This file can be downloaded from Azure Site Recovery Vault portal and stored locally + + string + + + + + + + Path + + Path to the Azure site Recovery Vault Settings file. This file can be downloaded from Azure Site Recovery Vault portal and stored locally + + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + Import-AzureSiteRecoveryVaultSettingsFile -Path "C:\Users\Contoso\Contosovault Monday, October 6, 2014.VaultCredentials" + + VERBOSE: Vault Settings File path: C:\Users\Contoso\Contosovault Monday, October 6, 2014.VaultCredentials + + ResourceName CloudServiceName + ------------ ---------------- + Contosovault RecoveryServices-6JP23WE3SKKOM5AFQG2YQAI22MNOWK52QDKWMUP... + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + New-AzureSiteRecoveryRecoveryPlan + + + Adds a Recovery Plan in to a current Azure Site Recovery Vault + + + + + New + AzureSiteRecoveryRecoveryPlan + + + + Adds a Recovery Plan in to a current Azure Site Recovery Vault. A recovery plan gathers virtual machines in a group for the purposes of failover and recovery. Use Get-AzureSiteRecoveryRecoveryPlanFile commandlet on an existing Recovery Plan to view the RecoveryPlan file and know its format. + + + + + New-AzureSiteRecoveryRecoveryPlan + + File + + Recovery Plan file + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + + + + File + + Recovery Plan file + + + string + + string + + + + + + WaitForCompletion + + Waits till the operation completes + + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + New-AzureSiteRecoveryRecoveryPlan -File C:\Users\contoso\Desktop\RP.xml + + ID : 189283c7-7fd9-4010-8bf1-d2a2e4a46df4 + ClientRequestId : 6c56d96e-dfdd-4898-81cf-8562f51a8129-2014-34-06 15:34:23Z-P + State : NotStarted + StateDescription : NotStarted + StartTime : + EndTime : + AllowedActions : {} + Name : + Tasks : {} + Errors : {} + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + Remove-AzureSiteRecoveryRecoveryPlan + + + Remove a Recovery Plan from the current Azure Site Recovery Vault + + + + + Remove + AzureSiteRecoveryRecoveryPlan + + + + Remove a Recovery Plan from the current Azure Site Recovery Vault + + + + + Remove-AzureSiteRecoveryRecoveryPlan + + Id + + Id of the Recovery Plan + + string + + + Force + + Bypasses confirmation on passing + + + + WaitForCompletion + + Waits till the operation completes + + + + + Remove-AzureSiteRecoveryRecoveryPlan + + RecoveryPlan + + Recovery Plan object + + ASRRecoveryPlan + + + Force + + Bypasses confirmation on passing + + + + WaitForCompletion + + Waits till the operation completes + + + + + + + + Force + + Bypasses confirmation on passing + + + SwitchParameter + + SwitchParameter + + + + + + Id + + Id of the Recovery Plan + + + string + + string + + + + + + RecoveryPlan + + Recovery Plan object + + + ASRRecoveryPlan + + ASRRecoveryPlan + + + + + + WaitForCompletion + + Waits till the operation completes + + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + $Rp = Get-AzureSiteRecoveryRecoveryPlan; Remove-AzureSiteRecoveryRecoveryPlan -RecoveryPlan $Rp + + ID : 20329f92-9ed6-4529-8b74-d83309623248 + ClientRequestId : 6c967844-096f-4ca6-a166-55936fd6d61c-2014-36-06 15:36:40Z-P + State : NotStarted + StateDescription : NotStarted + StartTime : + EndTime : + AllowedActions : {} + Name : + Tasks : {} + Errors : {} + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + Restart-AzureSiteRecoveryJob + + + Restarts the Operation in Azure Site Recovery + + + + + Restart + AzureSiteRecoveryJob + + + + Restarts the Operation in Azure Site Recovery . This cmdlet is allowed on failed and cancelled jobs . To know allowed actions on a job look for Allowed Actions in job object + + + + + Restart-AzureSiteRecoveryJob + + Id + + Id of the Azure Site Recovery Job + + string + + + + Restart-AzureSiteRecoveryJob + + Job + + + + ASRJob + + + + + + + Id + + Id of the Azure Site Recovery Job + + + string + + string + + + + + + Job + + + + + ASRJob + + ASRJob + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + Restart-AzureSiteRecoveryJob -Id bbf0b839-9aaa-49e1-8354-601c9145966d + + ID : bbf0b839-9aaa-49e1-8354-601c9145966d + ClientRequestId : ef42c8b0-640c-4442-960b-349f83d161a5-2014-24-06 14:24:04Z-P + State : Failed + StateDescription : Failed + StartTime : 10/6/2014 9:41:08 AM + EndTime : 10/6/2014 9:41:21 AM + AllowedActions : {Cancel, Restart} + Name : Enable protection + Tasks : {Prerequisites check for enabling protection , Identifying replication target, Enable replication, + Starting initial replication...} + Errors : {CreateProtectionTargetTask} + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + Resume-AzureSiteRecoveryJob + + + Resumes a suspended job in Azure Site Recovery + + + + + Resume + AzureSiteRecoveryJob + + + + Resumes the Operation in Azure Site Recovery . This cmdlet is allowed on suspended jobs . To know allowed actions on a job look for Allowed Actions in job object + + + + + Resume-AzureSiteRecoveryJob + + Id + + ID of the Azure Site Recovery Job + + string + + + Comments + + User comment can be specified while resuming the Job + + string + + + + Resume-AzureSiteRecoveryJob + + Job + + ASR Job object + + ASRJob + + + Comments + + User comment can be specified while resuming the Job + + string + + + + + + + Comments + + User comment can be specified while resuming the Job + + + string + + string + + + + + + Id + + ID of the Azure Site Recovery Job + + + string + + string + + + + + + Job + + ASR Job object + + + ASRJob + + ASRJob + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + $jobs= Get-AzureSiteRecoveryJob; Resume-AzureSiteRecoveryJob -Job $jobs + + ID : d16397fb-cdf1-4972-b677-c333f3c557b4 + ClientRequestId : 32ace403-0916-4967-83a1-529176bd6e88-2014-49-06 15:49:24Z-P + State : Suspended + StateDescription : WaitingForManualAction + StartTime : 10/6/2014 10:19:28 AM + EndTime : 10/6/2014 10:19:31 AM + AllowedActions : {Cancel, RestartTestFailoverCleanup} + Name : Test failover + Tasks : {Recovery plan preflight checks, Create test environment, All groups failover: Pre steps (1), + Recovery plan failover...} + Errors : {} + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + + Set-AzureSiteRecoveryProtectionEntity + + + Sets the Protection on a protection entity for Azure Site Recovery + + + + + Set + AzureSiteRecoveryProtectionEntity + + + + Sets the Protection on a protection entity for Azure Site Recovery. This is async cmdlet which will only start the operation and return the job object. + + + + + Set-AzureSiteRecoveryProtectionEntity + + Id + + ID of the protection entity + + string + + + ProtectedContainerId + + ID of the Protected Container + + string + + + Protection + + set 'Enable' to enable protection and 'Disable' to disable protection + + string + + + Force + + Bypasses confirmation on passing + + + + WaitForCompletion + + Waits till the operation completes + + + + + Set-AzureSiteRecoveryProtectionEntity + + Protection + + set 'Enable' to enable protection and 'Disable' to disable protection + + string + + + ProtectionEntity + + Protection Entity object + + ASRProtectionEntity + + + Force + + Bypasses confirmation on passing + + + + OS + + OS type e.g. Windows or Linux + + string + + + OSDiskName + + Name of the disk containing operating system. + + string + + + ProtectionProfile + + Protection profile to be used to enable protection. + + ASRProtectionProfile + + + WaitForCompletion + + Waits till the operation completes + + + + + + + + Id + + ID of the protection entity + + + string + + string + + + + + + Protection + + set 'Enable' to enable protection and 'Disable' to disable protection + + + string + + string + + + + + + ProtectedContainerId + + ID of the Protected Container + + + string + + string + + + + + + ProtectionEntity + + Protection Entity object + + + ASRProtectionEntity + + ASRProtectionEntity + + + + + + WaitForCompletion + + Waits till the operation completes + + + SwitchParameter + + SwitchParameter + + + + + + Force + + Bypasses confirmation on passing + + + SwitchParameter + + SwitchParameter + + + + + + ProtectionProfile + + Protection profile to be used to enable protection. + + + ASRProtectionProfile + + ASRProtectionProfile + + + + + + OS + + OS type e.g. Windows or Linux + + + string + + string + + + + + + OSDiskName + + Name of the disk containing operating system. + + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + +$PC = Get-AzureSiteRecoveryProtectionContainer -Name "Cloud1" +$PE = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $PC -Name "VM1" +Set-AzureSiteRecoveryProtectionEntity -ProtectionEntity $PE -Protection Enable -ProtectionProfile $PC.AvailableProtectionProfiles[0] -OS Windows + +Name : EnableDr +ID : 7d980e67-ad8c-45bc-99a6-6d8ca0a4a689 +ClientRequestId : d45eb812-de16-4bff-b4f4-a34ffa4afc5d-2015-02-18 15:31:12Z-P +State : InProgress +StateDescription : InProgress +StartTime : 2/18/2015 3:31:16 PM +EndTime : +TargetObjectId : 52fa9f2d-57d4-4036-a46f-b112d2d6ae72 +TargetObjectType : ProtectionEntity +TargetObjectName : TestVM2 +AllowedActions : +Tasks : {Prerequisites check for enabling protection, Identifying the replication target, Enablereplication, Starting initial replication...} +Errors : {} + + + Description + ----------- + The OS Parameter is mandatory when an on-premise Hyper-v site is protected to azure + + + + + + + + + + + + + + + + + + + + + + + + + + + Start-AzureSiteRecoveryTestFailoverJob + + + The Start-AzureSiteRecoveryTestFailoverJob cmdlet starts the test failover for a protection entity or for a recovery plan in Microsoft Azure Site Recovery. Check whether the job succeeds by using the Get-AzureSiteRecoveryJob cmdlet. + + + + + Start + AzureSiteRecoveryTestFailoverJob + + + + Start the Test Failover operation for a Protection Entity or Recovery Plan under Azure Site Recovery. This will start the test failover job and success of test failover can be tracked state of the Job using Get-AzureSiteRecoveryJob + + + + + Start-AzureSiteRecoveryTestFailoverJob + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + ProtectionContainerId + + Specifies the ID of a protected container. This cmdlet starts the job for a protected virtual machine that belongs to the container that this cmdlet specifies. + + string + + + ProtectionEntityId + + Specifies an ASRProtectionEntity object for which to start the job. To obtain a protection entity object, use the Get-AzureSiteRecoveryProtectionEntity cmdlet. This cmdlet starts a test failover for the protected entity that this parameter specifies. + + string + + + NetworkType + + Specifies the network type to be used for test failover. + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryTestFailoverJob + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + LogicalNetworkId + + Specifies the ID of the logical network. + + string + + + ProtectionContainerId + + Specifies the ID of a protected container. This cmdlet starts the job for a protected virtual machine that belongs to the container that this cmdlet specifies. + + string + + + ProtectionEntityId + + Specifies an ASRProtectionEntity object for which to start the job. To obtain a protection entity object, use the Get-AzureSiteRecoveryProtectionEntity cmdlet. This cmdlet starts a test failover for the protected entity that this parameter specifies. + + string + + + NetworkType + + Specifies the network type to be used for test failover. + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryTestFailoverJob + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + Network + + Specifies the network object to be used for test failover. + + ASRNetwork + + + NetworkType + + Specifies the network type to be used for test failover. + + string + + + ProtectionContainerId + + Specifies the ID of a protected container. This cmdlet starts the job for a protected virtual machine that belongs to the container that this cmdlet specifies. + + string + + + ProtectionEntityId + + Specifies an ASRProtectionEntity object for which to start the job. To obtain a protection entity object, use the Get-AzureSiteRecoveryProtectionEntity cmdlet. This cmdlet starts a test failover for the protected entity that this parameter specifies. + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryTestFailoverJob + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + ProtectionContainerId + + Specifies the ID of a protected container. This cmdlet starts the job for a protected virtual machine that belongs to the container that this cmdlet specifies. + + string + + + ProtectionEntityId + + Specifies an ASRProtectionEntity object for which to start the job. To obtain a protection entity object, use the Get-AzureSiteRecoveryProtectionEntity cmdlet. This cmdlet starts a test failover for the protected entity that this parameter specifies. + + string + + + VmNetworkId + + Specifies the ID of the virtual machine network. + + string + + + NetworkType + + Specifies the network type to be used for test failover. + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryTestFailoverJob + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + ProtectionEntity + + Protection Entity object + + ASRProtectionEntity + + + NetworkType + + Specifies the network type to be used for test failover. + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryTestFailoverJob + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + LogicalNetworkId + + Specifies the ID of the logical network. + + string + + + ProtectionEntity + + Protection Entity object + + ASRProtectionEntity + + + NetworkType + + Specifies the network type to be used for test failover. + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryTestFailoverJob + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + Network + + Specifies the network object to be used for test failover. + + ASRNetwork + + + NetworkType + + Specifies the network type to be used for test failover. + + string + + + ProtectionEntity + + Protection Entity object + + ASRProtectionEntity + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryTestFailoverJob + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + ProtectionEntity + + Protection Entity object + + ASRProtectionEntity + + + VmNetworkId + + Specifies the ID of the virtual machine network. + + string + + + NetworkType + + Specifies the network type to be used for test failover. + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryTestFailoverJob + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + RpId + + Specifies the ID of a recovery plan for which to start the job. + + string + + + NetworkType + + Specifies the network type to be used for test failover. + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryTestFailoverJob + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + VmNetworkId + + Specifies the ID of the virtual machine network. + + string + + + LogicalNetworkId + + Specifies the ID of the logical network. + + string + + + NetworkType + + Specifies the network type to be used for test failover. + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryTestFailoverJob + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + Network + + Specifies the network object to be used for test failover. + + ASRNetwork + + + NetworkType + + Specifies the network type to be used for test failover. + + string + + + RpId + + Specifies the ID of a recovery plan for which to start the job. + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryTestFailoverJob + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + VmNetworkId + + Specifies the ID of the virtual machine network. + + string + + + NetworkType + + Specifies the network type to be used for test failover. + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryTestFailoverJob + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + RecoveryPlan + + Specifies an ASRRecoveryPlan object for which to start the job. To obtain a recovery plan object, use the Get-AzureSiteRecoveryRecoveryPlan cmdlet. This cmdlet starts a test failover for the recovery plan that this parameter specifies. + + ASRRecoveryPlan + + + NetworkType + + Specifies the network type to be used for test failover. + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryTestFailoverJob + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + RecoveryPlan + + Specifies an ASRRecoveryPlan object for which to start the job. To obtain a recovery plan object, use the Get-AzureSiteRecoveryRecoveryPlan cmdlet. This cmdlet starts a test failover for the recovery plan that this parameter specifies. + + ASRRecoveryPlan + + + LogicalNetworkId + + Specifies the ID of the logical network. + + string + + + NetworkType + + Specifies the network type to be used for test failover. + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryTestFailoverJob + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + Network + + Specifies the network object to be used for test failover. + + ASRNetwork + + + NetworkType + + Specifies the network type to be used for test failover. + + string + + + RecoveryPlan + + Specifies an ASRRecoveryPlan object for which to start the job. To obtain a recovery plan object, use the Get-AzureSiteRecoveryRecoveryPlan cmdlet. This cmdlet starts a test failover for the recovery plan that this parameter specifies. + + ASRRecoveryPlan + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryTestFailoverJob + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + RecoveryPlan + + Specifies an ASRRecoveryPlan object for which to start the job. To obtain a recovery plan object, use the Get-AzureSiteRecoveryRecoveryPlan cmdlet. This cmdlet starts a test failover for the recovery plan that this parameter specifies. + + ASRRecoveryPlan + + + NetworkType + + Specifies the network type to be used for test failover. + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + + string + + string + + + + + + LogicalNetworkId + + Specifies the ID of the logical network. + + + string + + string + + + + + + WaitForCompletion + + Waits till the operation completes + + + SwitchParameter + + SwitchParameter + + + + + + RecoveryPlan + + Specifies an ASRRecoveryPlan object for which to start the job. To obtain a recovery plan object, use the Get-AzureSiteRecoveryRecoveryPlan cmdlet. This cmdlet starts a test failover for the recovery plan that this parameter specifies. + + + ASRRecoveryPlan + + ASRRecoveryPlan + + + + + + RpId + + Specifies the ID of a recovery plan for which to start the job. + + + string + + string + + + + + + ProtectionEntity + + Protection Entity object + + + ASRProtectionEntity + + ASRProtectionEntity + + + + + + ProtectionContainerId + + Specifies the ID of a protected container. This cmdlet starts the job for a protected virtual machine that belongs to the container that this cmdlet specifies. + + + string + + string + + + + + + ProtectionEntityId + + Specifies an ASRProtectionEntity object for which to start the job. To obtain a protection entity object, use the Get-AzureSiteRecoveryProtectionEntity cmdlet. This cmdlet starts a test failover for the protected entity that this parameter specifies. + + + string + + string + + + + + + VmNetworkId + + Specifies the ID of the virtual machine network. + + + string + + string + + + + + + NetworkType + + Specifies the network type to be used for test failover. + + + string + + string + + + + + + Network + + Specifies the network object to be used for test failover. + + + ASRNetwork + + ASRNetwork + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + $PC = Get-AzureSiteRecoveryProtectionContainer; $PE = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $PC; Start-AzureSiteRecoveryTestFailoverJob -ProtectionEntity $PE -Direction PrimaryToRecovery + + + ID : c38eecdc-731c-405b-a61c-08db99aae2fe + ClientRequestId : 32ace403-0916-4967-83a1-529176bd6e88-2014-49-06 15:49:24Z-P + State : NotStarted + StateDescription : NotStarted + StartTime : + EndTime : + AllowedActions : {} + Name : + Tasks : {} + Errors : {} + + + Description + ----------- + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + C:\PS> + + + $RP = Get-AzureSiteRecoveryRecoveryPlan -Name "RP1" + Start-AzureSiteRecoveryTestFailoverJob -RecoveryPlan $RP -Direction PrimaryToRecovery + + Name : + ID : 4a991243-a97f-4617-97be-a6e0dc99a2ff + ClientRequestId : 0ae1226f-b68d-4131-b2e8-17bb4c19fa29-2015-02-17 14:35:46Z-P + State : NotStarted + StateDescription : NotStarted + StartTime : + EndTime : + TargetObjectId : + TargetObjectType : + TargetObjectName : + AllowedActions : + Tasks : {} + Errors : {} + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + + Start-AzureSiteRecoveryUnplannedFailoverJob + + + The Start-AzureSiteRecoveryUnplannedFailoverJob cmdlet starts the unplanned failover for a protectioned entity or for a recovery plan in Microsoft Azure Site Recovery. +Check whether the job succeeds by using the Get-AzureSiteRecoveryJob cmdlet. + + + + + + Start + AzureSiteRecoveryUnplannedFailoverJob + + + + Start the Unplanned Failover operation for a Protection Entity or Recovery Plan under Azure Site Recovery. This will start the failover job and success of failover can be tracked state of the Job using Get-AzureSiteRecoveryJob + + + + + Start-AzureSiteRecoveryUnplannedFailoverJob + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + ProtectionContainerId + + Id of the Protection Container + + string + + + ProtectionEntityId + + Id of the Protection Entity + + string + + + PerformSourceSideActions + + Its used for indicating whether can do source site operations. + + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryUnplannedFailoverJob + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + ProtectionEntity + + Protection Entity object + + ASRProtectionEntity + + + PerformSourceSideActions + + Its used for indicating whether can do source site operations. + + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryUnplannedFailoverJob + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + RpId + + Id of the Recovery Plan + + string + + + PerformSourceSideActions + + Its used for indicating whether can do source site operations. + + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryUnplannedFailoverJob + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + RecoveryPlan + + Recovery Plan object + + ASRRecoveryPlan + + + PerformSourceSideActions + + Its used for indicating whether can do source site operations. + + + + WaitForCompletion + + Waits till the operation completes + + + + + + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + + string + + string + + + + + + WaitForCompletion + + Waits till the operation completes + + + SwitchParameter + + SwitchParameter + + + + + + RecoveryPlan + + Recovery Plan object + + + ASRRecoveryPlan + + ASRRecoveryPlan + + + + + + RpId + + Id of the Recovery Plan + + + string + + string + + + + + + ProtectionEntity + + Protection Entity object + + + ASRProtectionEntity + + ASRProtectionEntity + + + + + + ProtectionEntityId + + Id of the Protection Entity + + + string + + string + + + + + + ProtectionContainerId + + Id of the Protection Container + + + string + + string + + + + + + PerformSourceSideActions + + Its used for indicating whether can do source site operations. + + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + +$PC = Get-AzureSiteRecoveryProtectionContainer; $PE = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $PC; Start-AzureSiteRecoveryUnplannedFailoverJob -ProtectionEntity $PE -Direction PrimaryToRecovery + +ID : c38eecdc-731c-405b-a61c-08db99aae2fe +ClientRequestId : 32ace403-0916-4967-83a1-529176bd6e88-2014-49-06 15:49:24Z-P +State : NotStarted +StateDescription : NotStarted +StartTime : +EndTime : +AllowedActions : {} +Name : +Tasks : {} +Errors : {} + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + + Start-AzureSiteRecoveryCommitFailoverJob + + + Start the commit failover of the Azure Site Recovery object after failover + + + + + Start + AzureSiteRecoveryCommitFailoverJob + + + + Start the commit failover of the Azure Site Recovery object after failover. This will start the commit and return the job object. Success of the job can be tracked using Get-AzureSiteRecoveryJob + + + + + Start-AzureSiteRecoveryCommitFailoverJob + + RecoveryPlan + + Recovery Plan object + + ASRRecoveryPlan + + + WaitForCompletion + + Waits for Completion + + + + + Start-AzureSiteRecoveryCommitFailoverJob + + RpId + + Id of the Recovery Plan + + string + + + WaitForCompletion + + Waits for Completion + + + + + Start-AzureSiteRecoveryCommitFailoverJob + + ProtectionEntity + + Protection Entity object + + ASRProtectionEntity + + + WaitForCompletion + + Waits for Completion + + + + + Start-AzureSiteRecoveryCommitFailoverJob + + ProtectionContainerId + + Id of the Protection Container + + string + + + ProtectionEntityId + + Id of the Protection Entity + + string + + + WaitForCompletion + + Waits for Completion + + + + + + + + ProtectionContainerId + + Id of the Protection Container + + + string + + string + + + + + + ProtectionEntity + + Protection Entity object + + + ASRProtectionEntity + + ASRProtectionEntity + + + + + + WaitForCompletion + + Waits for Completion + + + SwitchParameter + + SwitchParameter + + + + + + RecoveryPlan + + Recovery Plan object + + + ASRRecoveryPlan + + ASRRecoveryPlan + + + + + + RpId + + Id of the Recovery Plan + + + string + + string + + + + + + ProtectionEntityId + + Id of the Protection Entity + + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + $PC = Get-AzureSiteRecoveryProtectionContainer; $PE = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $PC; Start-AzureSiteRecoveryCommitFailoverJob -ProtectionEntity $PE -Direction PrimaryToRecovery + + ID : c38eecdc-731c-405b-a61c-08db99aae2fe + ClientRequestId : 32ace403-0916-4967-83a1-529176bd6e88-2014-49-06 15:49:24Z-P + State : NotStarted + StateDescription : NotStarted + StartTime : + EndTime : + AllowedActions : {} + Name : + Tasks : {} + Errors : {} + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Start-AzureSiteRecoveryPlannedFailoverJob + + + Start the Planned Failover operation for a Protection Entity or Recovery Plan under Azure Site Recovery + + + + + Start + AzureSiteRecoveryPlannedFailoverJob + + + + Start the Planned Failover operation for a Protection Entity or Recovery Plan under Azure Site Recovery. This will start the failover and return the job object. Success of the job can be tracked using Get-AzureSiteRecoveryJob + + + + + Start-AzureSiteRecoveryPlannedFailoverJob + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + RecoveryPlan + + Recovery Plan object + + ASRRecoveryPlan + + + Optimize + + + This parameter is applicable when Failover is done from Azure to on-premise site which requires a large data synchronization. Specify what synchronization has to optimize: + ForDowntime: Synchronize data before failover (minimize downtime) + Synchronization will be performed without shutting down the virtual machine. After synchronization is complete, the job would be suspended. Resume the job to do an additional synchronization that shuts down the virtual machine. + ForSynchronization : data during failover only (minimize synchronization) + With this setting enabled, the virtual machine will begin shutdown immediately. Synchronization will start after shutdown to complete the failover. + + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryPlannedFailoverJob + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + RpId + + Id of the Recovery Plan + + string + + + Optimize + + + This parameter is applicable when Failover is done from Azure to on-premise site which requires a large data synchronization. Specify what synchronization has to optimize: + ForDowntime: Synchronize data before failover (minimize downtime) + Synchronization will be performed without shutting down the virtual machine. After synchronization is complete, the job would be suspended. Resume the job to do an additional synchronization that shuts down the virtual machine. + ForSynchronization : data during failover only (minimize synchronization) + With this setting enabled, the virtual machine will begin shutdown immediately. Synchronization will start after shutdown to complete the failover. + + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryPlannedFailoverJob + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + ProtectionEntity + + Protection Entity object + + ASRProtectionEntity + + + Optimize + + + This parameter is applicable when Failover is done from Azure to on-premise site which requires a large data synchronization. Specify what synchronization has to optimize: + ForDowntime: Synchronize data before failover (minimize downtime) + Synchronization will be performed without shutting down the virtual machine. After synchronization is complete, the job would be suspended. Resume the job to do an additional synchronization that shuts down the virtual machine. + ForSynchronization : data during failover only (minimize synchronization) + With this setting enabled, the virtual machine will begin shutdown immediately. Synchronization will start after shutdown to complete the failover. + + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Start-AzureSiteRecoveryPlannedFailoverJob + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + ProtectionContainerId + + Id of the Protection Container + + string + + + ProtectionEntityId + + Id of the Protection Entity + + string + + + Optimize + + + This parameter is applicable when Failover is done from Azure to on-premise site which requires a large data synchronization. Specify what synchronization has to optimize: + ForDowntime: Synchronize data before failover (minimize downtime) + Synchronization will be performed without shutting down the virtual machine. After synchronization is complete, the job would be suspended. Resume the job to do an additional synchronization that shuts down the virtual machine. + ForSynchronization : data during failover only (minimize synchronization) + With this setting enabled, the virtual machine will begin shutdown immediately. Synchronization will start after shutdown to complete the failover. + + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + + string + + string + + + + + + Optimize + + + This parameter is applicable when Failover is done from Azure to on-premise site which requires a large data synchronization. Specify what synchronization has to optimize: + ForDowntime: Synchronize data before failover (minimize downtime) + Synchronization will be performed without shutting down the virtual machine. After synchronization is complete, the job would be suspended. Resume the job to do an additional synchronization that shuts down the virtual machine. + ForSynchronization : data during failover only (minimize synchronization) + With this setting enabled, the virtual machine will begin shutdown immediately. Synchronization will start after shutdown to complete the failover. + + + + string + + string + + + + + + ProtectionContainerId + + Id of the Protection Container + + + string + + string + + + + + + ProtectionEntity + + Protection Entity object + + + ASRProtectionEntity + + ASRProtectionEntity + + + + + + ProtectionEntityId + + Id of the Protection Entity + + + string + + string + + + + + + RecoveryPlan + + Recovery Plan object + + + ASRRecoveryPlan + + ASRRecoveryPlan + + + + + + RpId + + Id of the Recovery Plan + + + string + + string + + + + + + WaitForCompletion + + Waits till the operation completes + + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + $PC = Get-AzureSiteRecoveryProtectionContainer; $PE = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $PC; Start-AzureSiteRecoveryPlannedFailoverJob -ProtectionEntity $PE -Direction PrimaryToRecovery -Optimize ForDowntime + + ID : c38eecdc-731c-405b-a61c-08db99aae2fe + ClientRequestId : 32ace403-0916-4967-83a1-529176bd6e88-2014-49-06 15:49:24Z-P + State : NotStarted + StateDescription : NotStarted + StartTime : + EndTime : + AllowedActions : {} + Name : + Tasks : {} + Errors : {} + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + Stop-AzureSiteRecoveryJob + + + Stops the Azure Site Recovery Job. Specify a running Job only. + + + Stops the Azure Site Recovery Job. This cmdlet is applicable on a running Job only. To know the allowed actions look for Allowedactions property of Job object + + Stop + AzureSiteRecoveryJob + + + + + + + + + Stop-AzureSiteRecoveryJob + + Id + + ID of the Azure Site Recovery Job + + string + + + + Stop-AzureSiteRecoveryJob + + Job + + ASR Job object + + ASRJob + + + + + + + Id + + ID of the Azure Site Recovery Job + + + string + + string + + + + + + Job + + ASR Job object + + + ASRJob + + ASRJob + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + $jobs= Get-AzureSiteRecoveryJob; Stop-AzureSiteRecoveryJob -Job $jobs + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + + Update-AzureSiteRecoveryRecoveryPlan + + + Update-AzureSiteRecoveryRecoveryPlan cmdlet allows to change an existing Recovery Plan structure and Publish the updated one + + + + + Update + AzureSiteRecoveryRecoveryPlan + + + + Update-AzureSiteRecoveryRecoveryPlan cmdlet allows to change an existing Recovery Plan structure and Publish the updated one . A recovery plan gathers virtual machines in a group for the purposes of failover and recovery + + + + + Update-AzureSiteRecoveryRecoveryPlan + + File + + XML file containing the Recovery Plan + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + + + + File + + XML file containing the Recovery Plan + + + string + + string + + + + + + WaitForCompletion + + Waits till the operation completes + + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + Update-AzureSiteRecoveryRecoveryPlan -File C:\Users\contoso\Desktop\RP.xml + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + + Update-AzureSiteRecoveryProtectionDirection + + + Update the source and target server for the protection (Reverse Replicate) for Azure Site recovery Object after the commitfailover is completed + + + + + Update + AzureSiteRecoveryProtectionDirection + + + + Update the source and target server for the protection for Azure Site recovery Object (Reverse Replicate) after the commitfailover is completed . This is async cmdlet which will only start the operation and return the job object. + + + + + Update-AzureSiteRecoveryProtectionDirection + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + RecoveryPlan + + Recovery Plan object + + ASRRecoveryPlan + + + WaitForCompletion + + Waits till the operation completes + + + + + Update-AzureSiteRecoveryProtectionDirection + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + RpId + + Id of the Recovery Plan + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + Update-AzureSiteRecoveryProtectionDirection + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + ProtectionEntity + + Protection Entity object + + ASRProtectionEntity + + + WaitForCompletion + + Waits till the operation completes + + + + + Update-AzureSiteRecoveryProtectionDirection + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + string + + + ProtectionContainerId + + Id of the Protection Container + + string + + + ProtectionEntityId + + Id of the Protection Entity + + string + + + WaitForCompletion + + Waits till the operation completes + + + + + + + + Direction + + Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + + + string + + string + + + + + + WaitForCompletion + + Waits till the operation completes + + + SwitchParameter + + SwitchParameter + + + + + + RecoveryPlan + + Recovery Plan object + + + ASRRecoveryPlan + + ASRRecoveryPlan + + + + + + RpId + + Id of the Recovery Plan + + + string + + string + + + + + + ProtectionEntity + + Protection Entity object + + + ASRProtectionEntity + + ASRProtectionEntity + + + + + + ProtectionEntityId + + Id of the Protection Entity + + + string + + string + + + + + + ProtectionContainerId + + Id of the Protection Container + + + string + + string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + Update-AzureSiteRecoveryProtectionDirection -ProtectionEntity $PE -Direction RecoveryToPrimary + + ID : c38eecdc-731c-405b-a61c-08db99aae2fe + ClientRequestId : 32ace403-0916-4967-83a1-529176bd6e88-2014-49-06 15:49:24Z-P + State : NotStarted + StateDescription : NotStarted + StartTime : + EndTime : + AllowedActions : {} + Name : + Tasks : {} + Errors : {} + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + + Update-AzureSiteRecoveryProtectionEntity + + + Updates the property of Azure Site Recovery Protection Entity like virtual machine owner information. Supported only for VMM to VMM protected protection entities + + + + + Update + AzureSiteRecoveryProtectionEntity + + + + Updates the property of Azure Site Recovery Protection Entity like virtual machine owner information. Supported only for VMM to VMM protected protection entities + + + + + Update-AzureSiteRecoveryProtectionEntity + + ProtectionEntity + + Protection Entity object + + ASRProtectionEntity + + + WaitForCompletion + + Waits till the operation completes + + + + + + + + ProtectionEntity + + Protection Entity object + + + ASRProtectionEntity + + ASRProtectionEntity + + + + + + WaitForCompletion + + Waits till the operation completes + + + SwitchParameter + + SwitchParameter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + Update-AzureSiteRecoveryProtectionEntity -ProtectionEntity $PE + + + Name : + ID : 680ffe0f-6236-465e-8c94-81242fa67e6d + ClientRequestId : 2c47e6ce-1460-4187-8a0f-b9073735fa38-2014-12-30 06:44:40Z-P + State : NotStarted + StateDescription : NotStarted + StartTime : + EndTime : + AllowedActions : {} + Tasks : {} + Errors : {} + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + New-AzureSiteRecoveryProtectionProfileObject + + + Creates a Protection profile object . This is an in memory object to be further supplied for Protection Profile related operations. + + + + + New + AzureSiteRecoveryProtectionProfileObject + + + + Creates a Protection profile object in memory. This command can be used to return a protection profile object to be further supplied for Protection Profile related operations. + + + + + New-AzureSiteRecoveryProtectionProfileObject + + ReplicationFrequencyInSeconds + + Replication frequency interval in seconds. +As of now, only three possible values supported. +30 seconds, 300 seconds, 900 seconds. + + string + + + ReplicationProvider + + Type of Replication Provider either HyperVReplica or HyperVReplicaAzure. + + string + + + AllowReplicaDeletion + + Switch parameter indicating whether replica entity deletion is to be enabled. + + + + ApplicationConsistentSnapshotFrequencyInHours + + Frequency of Application Consistent Snapshot in hours. + + int + + + Authentication + + Type of authentication to be used. Possible values are Certificate and Kerberos. + + string + + + CompressionEnabled + + Switch parameter indicating whether compression is to be Enabled. + + + + Force + + Specify this to bypass the confirm action and take the default (Y). + + + + Name + + Can be used to provide a name to the protection profile settings object that is to be created. + + string + + + RecoveryPoints + + Number of hours to retain Recovery points. + + int + + + ReplicationMethod + + Replication Method either Online - over the network or Offline. + + string + + + ReplicationPort + + Port on which the replication would take place. + + int + + + ReplicationStartTime + + Replication Start Time. It should be within the next 24 hours of the start of the job. + + TimeSpan + + + + New-AzureSiteRecoveryProtectionProfileObject + + RecoveryAzureStorageAccount + + Azure Storage account name on which the Azure replica entity would be located. + + string + + + RecoveryAzureSubscription + + Azure Subscription ID corresponding to the storage account on which the Azure replica entity would be located. + + string + + + ReplicationFrequencyInSeconds + + Replication frequency interval in seconds. +As of now, only three possible values supported. +30 seconds, 300 seconds, 900 seconds. + + string + + + ReplicationProvider + + Type of Replication Provider either HyperVReplica or HyperVReplicaAzure. + + string + + + ApplicationConsistentSnapshotFrequencyInHours + + Frequency of Application Consistent Snapshot in hours. + + int + + + Force + + Specify this to bypass the confirm action and take the default (Y). + + + + Name + + Can be used to provide a name to the protection profile settings object that is to be created. + + string + + + RecoveryPoints + + Number of hours to retain Recovery points. + + int + + + ReplicationStartTime + + Replication Start Time. It should be within the next 24 hours of the start of the job. + + TimeSpan + + + + + + + AllowReplicaDeletion + + Switch parameter indicating whether replica entity deletion is to be enabled. + + + SwitchParameter + + SwitchParameter + + + + + + ApplicationConsistentSnapshotFrequencyInHours + + Frequency of Application Consistent Snapshot in hours. + + + int + + int + + + + + + Authentication + + Type of authentication to be used. Possible values are Certificate and Kerberos. + + + string + + string + + + + + + CompressionEnabled + + Switch parameter indicating whether compression is to be Enabled. + + + SwitchParameter + + SwitchParameter + + + + + + Force + + Specify this to bypass the confirm action and take the default (Y). + + + SwitchParameter + + SwitchParameter + + + + + + Name + + Can be used to provide a name to the protection profile settings object that is to be created. + + + string + + string + + + + + + RecoveryAzureStorageAccount + + Azure Storage account name on which the Azure replica entity would be located. + + + string + + string + + + + + + RecoveryAzureSubscription + + Azure Subscription ID corresponding to the storage account on which the Azure replica entity would be located. + + + string + + string + + + + + + RecoveryPoints + + Number of hours to retain Recovery points. + + + int + + int + + + + + + ReplicationFrequencyInSeconds + + Replication frequency interval in seconds. +As of now, only three possible values supported. +30 seconds, 300 seconds, 900 seconds. + + + string + + string + + + + + + ReplicationMethod + + Replication Method either Online - over the network or Offline. + + + string + + string + + + + + + ReplicationPort + + Port on which the replication would take place. + + + int + + int + + + + + + ReplicationProvider + + Type of Replication Provider either HyperVReplica or HyperVReplicaAzure. + + + string + + string + + + + + + ReplicationStartTime + + Replication Start Time. It should be within the next 24 hours of the start of the job. + + + TimeSpan + + TimeSpan + + + + + + + + + + + + + + + + + + + + + + + + + ASRProtectionProfile + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + +New-AzureSiteRecoveryProtectionProfileObject -ReplicationProvider HyperVReplica -ReplicationMethod Online -ReplicationFrequencyInSeconds 30 -RecoveryPoints 2 -ApplicationConsistentSnapshotFrequencyInHours 1 -CompressionEnabled -ReplicationPort 8085 -ReplicationStartTime 1 -AllowReplicaDeletion + + Name : + ID : + ReplicationProvider : HyperVReplica + HyperVReplicaProviderSettingsObject : Microsoft.Azure.Portal.RecoveryServices.Models.Common.HyperVReplicaProviderS + ettings + HyperVReplicaAzureProviderSettingsObject : + + Description + ----------- + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + C:\PS> + + +New-AzureSiteRecoveryProtectionProfileObject -Name protProfile -ReplicationProvider HyperVReplicaAzure -RecoveryAzureSubscription cb53d0c3-bd59-4721-89bc-06916a9147ef -RecoveryAzureStorageAccount test -ReplicationFrequencyInSeconds 30 -RecoveryPoints 1 -Force + +Name : protProfile +ID : +ReplicationProvider : HyperVReplicaAzure +HyperVReplicaProviderSettingsObject : +HyperVReplicaAzureProviderSettingsObject : Microsoft.Azure.Portal.RecoveryServices.Models.Common.HyperVReplicaAzureProv + iderSettings + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + + Start-AzureSiteRecoveryProtectionProfileAssociationJob + + + Starts the Protection profile association job. + + + + + Start + AzureSiteRecoveryProtectionProfileAssociationJob + + + + Starts the Protection profile association job. + + + + + Start-AzureSiteRecoveryProtectionProfileAssociationJob + + PrimaryProtectionContainer + + Gets or sets Primary Protection Container to be applied the Protection Profile settings on. + + ASRProtectionContainer + + + ProtectionProfile + + Protection profile settings object to be applied on to the protection containers. + + ASRProtectionProfile + + + + Start-AzureSiteRecoveryProtectionProfileAssociationJob + + PrimaryProtectionContainer + + Gets or sets Primary Protection Container to be applied the Protection Profile settings on. + + ASRProtectionContainer + + + ProtectionProfile + + Protection profile settings object to be applied on to the protection containers. + + ASRProtectionProfile + + + RecoveryProtectionContainer + + Gets or sets Recovery Protection Container to be applied the Protection Profile settings on. + + ASRProtectionContainer + + + + + + + ProtectionProfile + + Protection profile settings object to be applied on to the protection containers. + + + ASRProtectionProfile + + ASRProtectionProfile + + + + + + PrimaryProtectionContainer + + Gets or sets Primary Protection Container to be applied the Protection Profile settings on. + + + ASRProtectionContainer + + ASRProtectionContainer + + + + + + RecoveryProtectionContainer + + Gets or sets Recovery Protection Container to be applied the Protection Profile settings on. + + + ASRProtectionContainer + + ASRProtectionContainer + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + Start-AzureSiteRecoveryProtectionProfileAssociationJob -PrimaryProtectionContainer $protectionContainer1 -RecoveryProtectionContainer $protectionContainer2 -ProtectionProfile $protectionProfile + + Name : MyProtectionProfile + ID : 51978b0f-9241-4153-9171-2e19344f0805 + ClientRequestId : bb6f3200-b7c6-4c6f-bcbc-a70bb9946f03-2015-01-27 22:55:55Z-P + State : InProgress + StateDescription : InProgress + StartTime : 1/27/2015 10:56:01 PM + EndTime : + AllowedActions : + Tasks : {Adding the protection group, Configuring Windows Server 2012 R2 Hyper-V hosts for Azure} + Errors : {} + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + Set-AzureSiteRecoveryProtectionProfile + + + + + + + + Set + AzureSiteRecoveryProtectionProfile + + + + + + + + + Set-AzureSiteRecoveryProtectionProfile + + ApplicationConsistentSnapshotFrequencyInHours + + + + int + + + RecoveryAzureStorageAccount + + Azure Storage account name on which the Azure replica entity would be located. + + string + + + RecoveryPoints + + + + int + + + ReplicationFrequencyInSeconds + + + + string + + + ReplicationStartTime + + + + TimeSpan + + + + Set-AzureSiteRecoveryProtectionProfile + + AllowReplicaDeletion + + + + bool + + + ApplicationConsistentSnapshotFrequencyInHours + + + + int + + + Authentication + + + + string + + + CompressionEnabled + + + + bool + + + RecoveryPoints + + + + int + + + ReplicationFrequencyInSeconds + + + + string + + + ReplicationMethod + + + + string + + + ReplicationPort + + + + int + + + ReplicationStartTime + + + + TimeSpan + + + + + + + AllowReplicaDeletion + + + + + bool + + bool + + + + + + ApplicationConsistentSnapshotFrequencyInHours + + + + + int + + int + + + + + + Authentication + + + + + string + + string + + + + + + CompressionEnabled + + + + + bool + + bool + + + + + + RecoveryAzureStorageAccount + + Azure Storage account name on which the Azure replica entity would be located. + + + string + + string + + + + + + RecoveryPoints + + + + + int + + int + + + + + + ReplicationMethod + + + + + string + + string + + + + + + ReplicationFrequencyInSeconds + + + + + string + + string + + + + + + ReplicationPort + + + + + int + + int + + + + + + ReplicationStartTime + + + + + TimeSpan + + TimeSpan + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + Set-AzureSiteRecoveryProtectionProfile -ProtectionProfile $protectionProfile -ReplicationFrequencyInSeconds 30 + + Name : MyProtectionProfile + ID : 51978b0f-9241-4153-9171-2e19344f0805 + ClientRequestId : bb6f3200-b7c6-4c6f-bcbc-a70bb9946f03-2015-01-30 21:55:55Z-P + State : NotStarted + StateDescription : NotStarted + StartTime : 1/29/2015 09:56:01 PM + EndTime : + AllowedActions : {} + Tasks : {} + Errors : {} + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + + Start-AzureSiteRecoveryProtectionProfileDissociationJob + + + Initiates a dissociation job on the protection profile associated with protection containers. + + + + + Start + AzureSiteRecoveryProtectionProfileDissociationJob + + + + Initiates a dissociation job on the protection profile associated with protection containers. + + + - Get-AzureSiteRecoveryProtectionEntity + Start-AzureSiteRecoveryProtectionProfileDissociationJob - Name + PrimaryProtectionContainer - Name of the Protection Entity + Gets or sets Primary Protection Container to be applied the Protection Profile settings on. - string + ASRProtectionContainer + + + ProtectionProfile + + Protection profile settings object to be applied on to the protection containers. + + ASRProtectionProfile + + + + Start-AzureSiteRecoveryProtectionProfileDissociationJob + + PrimaryProtectionContainer + + Gets or sets Primary Protection Container to be applied the Protection Profile settings on. + + ASRProtectionContainer - ProtectionContainerId + ProtectionProfile - Id of the Protection Container + Protection profile settings object to be applied on to the protection containers. - string + ASRProtectionProfile + + + RecoveryProtectionContainer + + Gets or sets Recovery Protection Container to be applied the Protection Profile settings on. + + ASRProtectionContainer - Id + PrimaryProtectionContainer - Id of the Protection Entity + Gets or sets Primary Protection Container to be applied the Protection Profile settings on. - string + ASRProtectionContainer - string + ASRProtectionContainer - Name + ProtectionProfile - Name of the Protection Entity + Protection profile settings object to be applied on to the protection containers. - string + ASRProtectionProfile - string + ASRProtectionProfile - - ProtectionContainer + + RecoveryProtectionContainer - Protection Container object + Gets or sets Recovery Protection Container to be applied the Protection Profile settings on. ASRProtectionContainer @@ -1431,19 +6633,6 @@ - - ProtectionContainerId - - Id of the Protection Container - - - string - - string - - - - @@ -1502,23 +6691,19 @@ C:\PS> - $PC = Get-AzureSiteRecoveryProtectionContainer; Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $PC - - ID : 43aaab46-1cb0-4c39-8077-9a091c3b05ce - ServerId : 4a94c4a9-c856-4577-afbd-367fe9b3ce9c - ProtectionContainerId : 4a94c4a9-c856-4577-afbd-367fe9b3ce9c_1c513d45-645d-4ed0-b9ae-e7b869a1f7fc - Name : testvm - Type : VirtualMachine - FabricObjectId : 506B3CAC-5758-49E2-98C4-E5B0512E4D8E - Protected : False - CanCommit : False - CanFailover : False - CanReverseReplicate : False - ActiveLocation : Primary - ProtectionStateDescription : Enabling protection - ReplicationHealth : - TestFailoverStateDescription : None - ReplicationProvider : HyperVReplica + Start-AzureSiteRecoveryProtectionProfileDissociationJob -ProtectionProfile $protectionProfile -PrimaryProtectionContainer $protectionContainer1 -RecoveryProtectionContainer $protectionContainer2 + + + Name : MyProtectionProfile + ID : 51978b0f-9241-4153-9171-2e19344f0805 + ClientRequestId : bb6f3200-b7c6-4c6f-bcbc-a70bb9946f03-2015-01-30 02:55:55Z-P + State : NotStarted + StateDescription : NotStarted + StartTime : + EndTime : + AllowedActions : + Tasks : {} + Errors : {} Description @@ -1545,49 +6730,50 @@ - - + + + - Import-AzureSiteRecoveryVaultSettingsFile + Get-AzureSiteRecoveryStorage - Imports a Azure site Recovery Vault Settings file to able to connect to Azure site Recovery Vault + Get information about Storages managed under current Azure Site Recovery Vault - Import - AzureSiteRecoveryVaultSettingsFile + Get + AzureSiteRecoveryStorage - Imports a Azure site Recovery Vault Settings file to able to connect to Azure site Recovery Vault. The Vault settings file can be downloaded from Azure site recovery Vault by logging on the Azure portal + Get information about Azure Site Recovery Storages for current Azure Site Recovery Vault - Import-AzureSiteRecoveryVaultSettingsFile - - Path + Get-AzureSiteRecoveryStorage + + Server - Path to the Azure site Recovery Vault Settings file. This file can be downloaded from Azure Site Recovery Vault portal and stored locally + Server object - string + ASRServer - - Path + + Server - Path to the Azure site Recovery Vault Settings file. This file can be downloaded from Azure Site Recovery Vault portal and stored locally + Server object - string + ASRServer - string + ASRServer @@ -1650,13 +6836,23 @@ C:\PS> - Import-AzureSiteRecoveryVaultSettingsFile -Path "C:\Users\Contoso\Contosovault Monday, October 6, 2014.VaultCredentials" - - VERBOSE: Vault Settings File path: C:\Users\Contoso\Contosovault Monday, October 6, 2014.VaultCredentials - - ResourceName CloudServiceName - ------------ ---------------- - Contosovault RecoveryServices-6JP23WE3SKKOM5AFQG2YQAI22MNOWK52QDKWMUP... + $servers = Get-AzureSiteRecoveryServer + + PS C:\> Get-AzureSiteRecoveryStorage -Server $servers[0] + + Name : phase2PrimaryStorageClassification + ID : 1c1d0c0b-0c50-4675-af1a-1fdac70dbb6d + FabricObjectID : 1c1d0c0b-0c50-4675-af1a-1fdac70dbb6d + ServerId : 774859b0-1966-48cc-9df7-759c441b7a8c + Type : Classification + FabricType : VMM + + Name : phase2RecoveryStorageClassification + ID : 20cf8d92-fd5d-4872-985a-0f4562b8a0bf + FabricObjectID : 20cf8d92-fd5d-4872-985a-0f4562b8a0bf + ServerId : 774859b0-1966-48cc-9df7-759c441b7a8c + Type : Classification + FabricType : VMM Description @@ -1683,68 +6879,70 @@ - - + + + - New-AzureSiteRecoveryRecoveryPlan + Get-AzureSiteRecoveryStorageMapping - Adds a Recovery Plan in to a current Azure Site Recovery Vault + Get information about Azure Site Recovery Storage mappings for current Azure Site Recovery Vault - New - AzureSiteRecoveryRecoveryPlan + Get + AzureSiteRecoveryStorageMapping - Adds a Recovery Plan in to a current Azure Site Recovery Vault. A recovery plan gathers virtual machines in a group for the purposes of failover and recovery. + Get information about Azure Site Recovery Storage mappings for current Azure Site Recovery Vault - New-AzureSiteRecoveryRecoveryPlan + Get-AzureSiteRecoveryStorageMapping - File + PrimaryServer - Recovery Plan file + Primary Server object - string + ASRServer - - WaitForCompletion + + RecoveryServer - Waits till the operation completes + Recovery Server object + ASRServer - File + PrimaryServer - Recovery Plan file + Primary Server object - string + ASRServer - string + ASRServer - - WaitForCompletion + + RecoveryServer - Waits till the operation completes + Recovery Server object - SwitchParameter + ASRServer - SwitchParameter + ASRServer @@ -1807,18 +7005,16 @@ C:\PS> - New-AzureSiteRecoveryRecoveryPlan -File C:\Users\contoso\Desktop\RP.xml + $servers = Get-AzureSiteRecoveryServer - ID : 189283c7-7fd9-4010-8bf1-d2a2e4a46df4 - ClientRequestId : 6c56d96e-dfdd-4898-81cf-8562f51a8129-2014-34-06 15:34:23Z-P - State : NotStarted - StateDescription : NotStarted - StartTime : - EndTime : - AllowedActions : {} - Name : - Tasks : {} - Errors : {} + PS C:\> Get-AzureSiteRecoveryStorageMapping -PrimaryServer $servers[0] -RecoveryServer $servers[0] + + PrimaryServerId : 774859b0-1966-48cc-9df7-759c441b7a8c + PrimaryStorageId : 1c1d0c0b-0c50-4675-af1a-1fdac70dbb6d + PrimaryStorageName : phase2PrimaryStorageClassification + RecoveryServerId : 774859b0-1966-48cc-9df7-759c441b7a8c + RecoveryStorageId : 20cf8d92-fd5d-4872-985a-0f4562b8a0bf + RecoveryStorageName : phase2RecoveryStorageClassification Description @@ -1845,122 +7041,69 @@ - - + + - Remove-AzureSiteRecoveryRecoveryPlan + New-AzureSiteRecoveryStorageMapping - Remove a Recovery Plan from the current Azure Site Recovery Vault + Creates a mapping between two Storages - Remove - AzureSiteRecoveryRecoveryPlan + New + AzureSiteRecoveryStorageMapping - Remove a Recovery Plan from the current Azure Site Recovery Vault + Creates a mapping between two Storages - Remove-AzureSiteRecoveryRecoveryPlan + New-AzureSiteRecoveryStorageMapping - Id - - Id of the Recovery Plan - - string - - - Force - - Bypasses confirmation on passing - - - - WaitForCompletion - - Waits till the operation completes - - - - - Remove-AzureSiteRecoveryRecoveryPlan - - RecoveryPlan - - Recovery Plan object - - ASRRecoveryPlan - - - Force + PrimaryStorage - Bypasses confirmation on passing + Primary Storage object + ASRStorage - - WaitForCompletion + + RecoveryStorage - Waits till the operation completes + Recovery Storage object + ASRStorage - - Force - - Bypasses confirmation on passing - - - SwitchParameter - - SwitchParameter - - - - - Id - - Id of the Recovery Plan - - - string - - string - - - - - - RecoveryPlan + PrimaryStorage - Recovery Plan object + Primary Storage object - ASRRecoveryPlan + ASRStorage - ASRRecoveryPlan + ASRStorage - - WaitForCompletion + + RecoveryStorage - Waits till the operation completes + Recovery Storage object - SwitchParameter + ASRStorage - SwitchParameter + ASRStorage @@ -2020,21 +7163,38 @@ -------------------------- EXAMPLE 1 -------------------------- - C:\PS> + PS C:\> - $Rp = Get-AzureSiteRecoveryRecoveryPlan; Remove-AzureSiteRecoveryRecoveryPlan -RecoveryPlan $Rp + storages = Get-AzureSiteRecoveryStorage -Server $servers[0] - ID : 20329f92-9ed6-4529-8b74-d83309623248 - ClientRequestId : 6c967844-096f-4ca6-a166-55936fd6d61c-2014-36-06 15:36:40Z-P + PS C:\> New-AzureSiteRecoveryStorageMapping -PrimaryStorage $storages[0] -RecoveryStorage $storages[1] + + Name : + ID : fea46d20-6170-480f-b14b-81811d4c2a9c + ClientRequestId : 85033535-9525-4567-9132-a3518fff1d49-2015-01-30 05:28:18Z-P State : NotStarted StateDescription : NotStarted StartTime : EndTime : - AllowedActions : {} - Name : + AllowedActions : Tasks : {} Errors : {} + + + + PS C:\> Get-AzureSiteRecoveryJob -Id fea46d20-6170-480f-b14b-81811d4c2a9c + + Name : ClassificationPairing + ID : fea46d20-6170-480f-b14b-81811d4c2a9c + ClientRequestId : 85033535-9525-4567-9132-a3518fff1d49-2015-01-30 05:28:18Z-P + State : Succeeded + StateDescription : Completed + StartTime : 1/30/2015 5:28:23 AM + EndTime : 1/30/2015 5:28:22 AM + AllowedActions : + Tasks : {Prerequisites check for mapping classifications, Mapping classifications} + Errors : {} Description @@ -2061,72 +7221,49 @@ - - + + - Restart-AzureSiteRecoveryJob + Remove-AzureSiteRecoveryStorageMapping - Restarts the Operation in Azure Site Recovery + Removes a Storage mapping form current Azure Site Recovery Vault - Restart - AzureSiteRecoveryJob + Remove + AzureSiteRecoveryStorageMapping - Restarts the Operation in Azure Site Recovery . This cmdlet is allowed on failed and cancelled jobs . To know allowed actions on a job look for Allowed Actions in job object + Removes a Storage mapping form current Azure Site Recovery Vault - Restart-AzureSiteRecoveryJob - - Id - - Id of the Azure Site Recovery Job - - string - - - - Restart-AzureSiteRecoveryJob + Remove-AzureSiteRecoveryStorageMapping - Job + StorageMapping - + Storage Mapping object - ASRJob + ASRStorageMapping - Id - - Id of the Azure Site Recovery Job - - - string - - string - - - - - - Job + StorageMapping - + Storage Mapping object - ASRJob + ASRStorageMapping - ASRJob + ASRStorageMapping @@ -2186,22 +7323,23 @@ -------------------------- EXAMPLE 1 -------------------------- - C:\PS> + PS C:\> - Restart-AzureSiteRecoveryJob -Id bbf0b839-9aaa-49e1-8354-601c9145966d + $storageMapping = Get-AzureSiteRecoveryStorageMapping -PrimaryServer $servers[0] -RecoveryServer $servers[0] - ID : bbf0b839-9aaa-49e1-8354-601c9145966d - ClientRequestId : ef42c8b0-640c-4442-960b-349f83d161a5-2014-24-06 14:24:04Z-P - State : Failed - StateDescription : Failed - StartTime : 10/6/2014 9:41:08 AM - EndTime : 10/6/2014 9:41:21 AM - AllowedActions : {Cancel, Restart} - Name : Enable protection - Tasks : {Prerequisites check for enabling protection , Identifying replication target, Enable replication, - Starting initial replication...} - Errors : {CreateProtectionTargetTask} + PS C:\> Remove-AzureSiteRecoveryStorageMapping -StorageMapping $storageMapping + + Name : ClassificationUnpairing + ID : 32582350-28c4-4a53-8ebd-28dec9e24aca + ClientRequestId : 49c607cf-82fa-4317-8366-dacbe2bf479b-2015-01-30 05:30:16Z-P + State : InProgress + StateDescription : InProgress + StartTime : 1/30/2015 5:30:20 AM + EndTime : + AllowedActions : + Tasks : {Prerequisites check for unmapping classifications, Unmapping classifications} + Errors : {} Description @@ -2228,99 +7366,49 @@ - - + + - Resume-AzureSiteRecoveryJob + Get-AzureSiteRecoveryNetwork - Resumes a suspended job in Azure Site Recovery + Get information about Networks managed by Azure Site Recovery for the current Azure Site Recovery Vault. - Resume - AzureSiteRecoveryJob + Get + AzureSiteRecoveryNetwork - Resumes the Operation in Azure Site Recovery . This cmdlet is allowed on suspended jobs . To know allowed actions on a job look for Allowed Actions in job object + Get information about Azure Site Recovery Networks for the current Azure Site Recovery Vault. - Resume-AzureSiteRecoveryJob - - Id - - ID of the Azure Site Recovery Job - - string - - - Comments - - User comment can be specified while resuming the Job - - string - - - - Resume-AzureSiteRecoveryJob + Get-AzureSiteRecoveryNetwork - Job + Server - ASR Job object - - ASRJob - - - Comments - - User comment can be specified while resuming the Job + Azure Site Recovery Server object - string + ASRServer - - Comments - - User comment can be specified while resuming the Job - - - string - - string - - - - - - Id - - ID of the Azure Site Recovery Job - - - string - - string - - - - - Job + Server - ASR Job object + Azure Site Recovery Server object - ASRJob + ASRServer - ASRJob + ASRServer @@ -2383,19 +7471,24 @@ C:\PS> - $jobs= Get-AzureSiteRecoveryJob; Resume-AzureSiteRecoveryJob -Job $jobs - - ID : d16397fb-cdf1-4972-b677-c333f3c557b4 - ClientRequestId : 32ace403-0916-4967-83a1-529176bd6e88-2014-49-06 15:49:24Z-P - State : Suspended - StateDescription : WaitingForManualAction - StartTime : 10/6/2014 10:19:28 AM - EndTime : 10/6/2014 10:19:31 AM - AllowedActions : {Cancel, RestartTestFailoverCleanup} - Name : Test failover - Tasks : {Recovery plan preflight checks, Create test environment, All groups failover: Pre steps (1), - Recovery plan failover...} - Errors : {} + $servers = Get-AzureSiteRecoveryServer + Get-AzureSiteRecoveryNetwork -Server $servers[0] + + Name : phase2RecoveryVMNetwork + ID : 7cfd636e-5cc2-4e01-873b-8a7aa4962341 + FabricObjectID : 7cfd636e-5cc2-4e01-873b-8a7aa4962341 + ServerId : 774859b0-1966-48cc-9df7-759c441b7a8c + Type : NoIsolation + FabricType : VMM + VmNetworkSubnetList : {} + + Name : phase2PrimaryVMNetwork + ID : d903e2c6-3141-4cef-bfe1-04616cd43cbb + FabricObjectID : d903e2c6-3141-4cef-bfe1-04616cd43cbb + ServerId : 774859b0-1966-48cc-9df7-759c441b7a8c + Type : NoIsolation + FabricType : VMM + VmNetworkSubnetList : {} Description @@ -2422,151 +7515,93 @@ - - + + - Set-AzureSiteRecoveryProtectionEntity + Get-AzureSiteRecoveryNetworkMapping - Sets the Protection on a protection entity for Azure Site Recovery + Get information about Azure Site Recovery Network mappings for current Azure Site Recovery Vault - Set - AzureSiteRecoveryProtectionEntity + Get + AzureSiteRecoveryNetworkMapping - Sets the Protection on a protection entity for Azure Site Recovery. This is async cmdlet which will only start the operation and return the job object. The success of operation can be tracked using Get-AzuresiteRecoveryObject + Get information about Azure Site Recovery Network mappings for current Azure Site Recovery Vault - Set-AzureSiteRecoveryProtectionEntity - - Id - - ID of the protection entity - - string - + Get-AzureSiteRecoveryNetworkMapping - ProtectedContainerId + PrimaryServer - ID of the Protected Container + Primary Server object - string + ASRServer - Protection - - set 'Enable' to enable protection and 'Disable' to disable protection - - string - - - Force - - Bypasses confirmation on passing - - - - WaitForCompletion + RecoveryServer - Waits till the operation completes + Recovery Server object + ASRServer - Set-AzureSiteRecoveryProtectionEntity - - ProtectionEntity - - Protection Entity object - - ASRProtectionEntity - + Get-AzureSiteRecoveryNetworkMapping - Protection - - set 'Enable' to enable protection and 'Disable' to disable protection - - string - - - Force + PrimaryServer - Bypasses confirmation on passing + Primary Server object + ASRServer - - WaitForCompletion + + Azure - Waits till the operation completes + Azure switch parameter - - - - - - Id - - ID of the protection entity - - - string - - string - - - - - - ProtectedContainerId - - ID of the Protected Container - - - string - - string - - - - + + + + - Protection + PrimaryServer - set 'Enable' to enable protection and 'Disable' to disable protection + Primary Server object - string + ASRServer - string + ASRServer - - ProtectionEntity + + RecoveryServer - Protection Entity object + Recovery Server object - ASRProtectionEntity + ASRServer - ASRProtectionEntity + ASRServer - - WaitForCompletion + + Azure - Waits till the operation completes + Azure switch parameter SwitchParameter @@ -2631,22 +7666,56 @@ -------------------------- EXAMPLE 1 -------------------------- - C:\PS> + PS C:\> - $PC = Get-AzureSiteRecoveryProtectionContainer; $PE = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $PC; Set-AzureSiteRecoveryProtectionEntity -ProtectionEntity $PE -Protection Enable + $servers = Get-AzureSiteRecoveryServer - ID : e4dd2c3d-4195-4f31-9f73-c8d71b998e81 - ClientRequestId : 3d9e28b4-cf5b-4ae3-8ac5-12c850e2eee9-2014-42-06 15:42:08Z-P - State : InProgress - StateDescription : InProgress - StartTime : 10/6/2014 10:12:14 AM - EndTime : - AllowedActions : {Cancel, Restart} - Name : Enable protection - Tasks : {Prerequisites check for enabling protection , Identifying replication target, Enable replication, - Starting initial replication...} - Errors : {} + PS C:\> Get-AzureSiteRecoveryNetworkMapping -PrimaryServer $servers[0] -RecoveryServer $servers[0] + + PrimaryServerId : 774859b0-1966-48cc-9df7-759c441b7a8c + PrimaryNetworkId : 7cfd636e-5cc2-4e01-873b-8a7aa4962341 + PrimaryNetworkName : phase2RecoveryVMNetwork + RecoveryServerId : 774859b0-1966-48cc-9df7-759c441b7a8c + RecoveryNetworkId : d903e2c6-3141-4cef-bfe1-04616cd43cbb + RecoveryNetworkName : phase2PrimaryVMNetwork + PairingStatus : OK + + + Description + ----------- + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + PS C:\> + + + $servers = Get-AzureSiteRecoveryServer + + PS C:\> Get-AzureSiteRecoveryNetworkMapping -PrimaryServer $servers[0] -Azure + + PrimaryServerId : 774859b0-1966-48cc-9df7-759c441b7a8c + PrimaryNetworkId : 7cfd636e-5cc2-4e01-873b-8a7aa4962341 + PrimaryNetworkName : phase2RecoveryVMNetwork + RecoveryServerId : 21a9403c-6ec1-44f2-b744-b4e50b792387 + RecoveryNetworkId : ecb3a462-664f-4f57-873e-d09b5925e1a1 + RecoveryNetworkName : AzureVMNetwork + PairingStatus : OK Description @@ -2673,345 +7742,101 @@ - - + + - Start-AzureSiteRecoveryTestFailoverJob + New-AzureSiteRecoveryNetworkMapping - Start the Test Failover operation for a Virtual Machine or Recovery Plan under Azure Site Recovery + Creates a mapping between two Networks - Start - AzureSiteRecoveryTestFailoverJob + New + AzureSiteRecoveryNetworkMapping - Start the Test Failover operation for a Protection Entity or Recovery Plan under Azure Site Recovery. This will start the test failover job and success of test failover can be tracked state of the Job using Get-AzureSiteRecoveryJob + Creates a mapping between two Networks - Start-AzureSiteRecoveryTestFailoverJob - - RecoveryPlan - - Recovery Plan object - - ASRRecoveryPlan - - - Direction - - Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary - - string - - - WaitForCompletion - - Waits till the operation completes - - - - - Start-AzureSiteRecoveryTestFailoverJob - - RpId - - Id of the Recovery Plan - - string - - - Direction - - Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary - - string - - - WaitForCompletion - - Waits till the operation completes - - - - - Start-AzureSiteRecoveryTestFailoverJob - - ProtectionEntity - - Protection Entity object - - ASRProtectionEntity - - - Direction - - Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary - - string - - - WaitForCompletion - - Waits till the operation completes - - - - - Start-AzureSiteRecoveryTestFailoverJob - - ProtectionEntity - - Protection Entity object - - ASRProtectionEntity - - - LogicalNetworkId - - Logical Network Id - - string - - - Direction - - Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary - - string - - - WaitForCompletion - - Waits till the operation completes - - - - - Start-AzureSiteRecoveryTestFailoverJob - - ProtectionEntity - - Protection Entity object - - ASRProtectionEntity - - - VmNetworkId - - Id of the VM Network - - string - - - Direction - - Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary - - string - - - WaitForCompletion - - Waits till the operation completes - - - - - Start-AzureSiteRecoveryTestFailoverJob - - ProtectionContainerId - - Id of the Protection Container - - string - - - ProtectionEntityId - - Id of the Protection Entity - - string - - - Direction - - Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary - - string - - - WaitForCompletion - - Waits till the operation completes - - - - - Start-AzureSiteRecoveryTestFailoverJob - - ProtectionContainerId - - Id of the Protection Container - - string - - - ProtectionEntityId - - Id of the Protection Entity - - string - + New-AzureSiteRecoveryNetworkMapping - LogicalNetworkId + PrimaryNetwork - Logical Network Id + Primary Network object - string + ASRNetwork - Direction - - Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary - - string - - - WaitForCompletion + RecoveryNetwork - Waits till the operation completes + + ASRNetwork - Start-AzureSiteRecoveryTestFailoverJob - - ProtectionContainerId - - Id of the Protection Container - - string - + New-AzureSiteRecoveryNetworkMapping - ProtectionEntityId - - Id of the Protection Entity - - string - - - VmNetworkId + PrimaryNetwork - Id of the VM Network + Primary Network object - string + ASRNetwork - Direction + AzureSubscriptionId - Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + Azure Subscription Id string - - WaitForCompletion + + AzureVMNetworkId - Waits till the operation completes + Azure VM Network Id + string - Direction - - Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary - - - string - - string - - - - - - LogicalNetworkId - - Logical Network Id - - - string - - string - - - - - - ProtectionContainerId - - Id of the Protection Container - - - string - - string - - - - - - ProtectionEntity + PrimaryNetwork - Protection Entity object + Primary Network object - ASRProtectionEntity + ASRNetwork - ASRProtectionEntity + ASRNetwork - ProtectionEntityId - - Id of the Protection Entity - - - string - - string - - - - - - RecoveryPlan + RecoveryNetwork - Recovery Plan object + - ASRRecoveryPlan + ASRNetwork - ASRRecoveryPlan + ASRNetwork - RpId + AzureSubscriptionId - Id of the Recovery Plan + Azure Subscription Id string @@ -3022,9 +7847,9 @@ - VmNetworkId + AzureVMNetworkId - Id of the VM Network + Azure VM Network Id string @@ -3034,19 +7859,6 @@ - - WaitForCompletion - - Waits till the operation completes - - - SwitchParameter - - SwitchParameter - - - - @@ -3102,22 +7914,96 @@ -------------------------- EXAMPLE 1 -------------------------- - C:\PS> + PS C:\> - $PC = Get-AzureSiteRecoveryProtectionContainer; $PE = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $PC; Start-AzureSiteRecoveryTestFailoverJob -ProtectionEntity $PE -Direction PrimaryToRecovery + $networks = Get-AzureSiteRecoveryNetwork -Server $servers[0] + PS C:\> New-AzureSiteRecoveryNetworkMapping -PrimaryNetwork $networks[0] -RecoveryNetwork $networks[1] - ID : c38eecdc-731c-405b-a61c-08db99aae2fe - ClientRequestId : 32ace403-0916-4967-83a1-529176bd6e88-2014-49-06 15:49:24Z-P + Name : + ID : 417dc3e8-3f9d-47dd-9c41-b3b3d566c3ac + ClientRequestId : 64ed0fcf-263d-404f-8657-4bf971e58730-2015-01-30 05:33:07Z-P State : NotStarted StateDescription : NotStarted StartTime : EndTime : - AllowedActions : {} + AllowedActions : + Tasks : {} + Errors : {} + + + + PS C:\> Get-AzureSiteRecoveryJob -Id 417dc3e8-3f9d-47dd-9c41-b3b3d566c3ac + + Name : NetworkPairing + ID : 417dc3e8-3f9d-47dd-9c41-b3b3d566c3ac + ClientRequestId : 64ed0fcf-263d-404f-8657-4bf971e58730-2015-01-30 05:33:07Z-P + State : Succeeded + StateDescription : Completed + StartTime : 1/30/2015 5:33:11 AM + EndTime : 1/30/2015 5:33:12 AM + AllowedActions : + Tasks : {Map network, Attach network (0)} + Errors : {} + + + Description + ----------- + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + PS C:\> + + + $networks = Get-AzureSiteRecoveryNetwork -Server $servers[0] + + PS C:\> $subscriptions = Get-AzureSubscription + + PS C:\> $azureVmNetworks = Get-AzureVNetSite + + PS C:\> New-AzureSiteRecoveryNetworkMapping -PrimaryNetwork $networks[0] -AzureSubscriptionId $subscriptions[0].SubscriptionId -AzureVMNetworkId $azureVmNetworks[0].Id + Name : + ID : f4fef3b3-e151-47ac-90a0-b5b8712fd14e + ClientRequestId : 56948c99-4e0c-4a86-8dcb-751b150e79fd-2015-01-30 05:38:29Z-P + State : NotStarted + StateDescription : NotStarted + StartTime : + EndTime : + AllowedActions : Tasks : {} Errors : {} + + + + PS C:\> Get-AzureSiteRecoveryJob -Id f4fef3b3-e151-47ac-90a0-b5b8712fd14e + + Name : NetworkPairing + ID : f4fef3b3-e151-47ac-90a0-b5b8712fd14e + ClientRequestId : 56948c99-4e0c-4a86-8dcb-751b150e79fd-2015-01-30 05:38:29Z-P + State : Succeeded + StateDescription : Completed + StartTime : 1/30/2015 5:38:34 AM + EndTime : 1/30/2015 5:38:36 AM + AllowedActions : + Tasks : {Map network, Attach network (0)} + Errors : {} Description @@ -3144,270 +8030,49 @@ - - + + - Start-AzureSiteRecoveryUnplannedFailoverJob + Remove-AzureSiteRecoveryNetworkMapping - + Removes a Network mapping for current Azure Site Recovery Vault - - Start - AzureSiteRecoveryUnplannedFailoverJob - - - - Start the Unplanned Failover operation for a Protection Entity or Recovery Plan under Azure Site Recovery. This will start the failover job and success of failover can be tracked state of the Job using Get-AzureSiteRecoveryJob - - - - - Start-AzureSiteRecoveryUnplannedFailoverJob - - RecoveryPlan - - Recovery Plan object - - ASRRecoveryPlan - - - Direction - - Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary - - string - - - PrimaryAction - - Indicates whether primary site actions are required or not - - bool - - - WaitForCompletion - - Waits till the operation completes - - - - - Start-AzureSiteRecoveryUnplannedFailoverJob - - RpId - - Id of the Recovery Plan - - string - - - Direction - - Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary - - string - - - PrimaryAction - - Indicates whether primary site actions are required or not - - bool - - - WaitForCompletion - - Waits till the operation completes - - - - - Start-AzureSiteRecoveryUnplannedFailoverJob - - ProtectionEntity - - Protection Entity object - - ASRProtectionEntity - - - Direction - - Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary - - string - - - PerformSourceSiteOperations - - Indicates whether source site operations can be done or not - - bool - - - WaitForCompletion - - Waits till the operation completes - - - - - Start-AzureSiteRecoveryUnplannedFailoverJob - - ProtectionContainerId - - Id of the Protection Container - - string - - - ProtectionEntityId - - Id of the Protection Entity - - string - - - Direction - - Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary - - string - - - PerformSourceSiteOperations - - Indicates whether source site operations can be done or not - - bool - - - WaitForCompletion + + Remove + AzureSiteRecoveryNetworkMapping + + + + Removes a Network mapping for current Azure Site Recovery Vault + + + + + Remove-AzureSiteRecoveryNetworkMapping + + NetworkMapping - Waits till the operation completes + Network Mapping object + ASRNetworkMapping - - Direction - - Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary - - - string - - string - - - - - - PerformSourceSiteOperations - - Indicates whether source site operations can be done or not - - - bool - - bool - - - - - - PrimaryAction - - Indicates whether primary site actions are required or not - - - bool - - bool - - - - - - ProtectionContainerId - - Id of the Protection Container - - - string - - string - - - - - - ProtectionEntity - - Protection Entity object - - - ASRProtectionEntity - - ASRProtectionEntity - - - - - - ProtectionEntityId - - Id of the Protection Entity - - - string - - string - - - - - RecoveryPlan - - Recovery Plan object - - - ASRRecoveryPlan - - ASRRecoveryPlan - - - - - - RpId - - Id of the Recovery Plan - - - string - - string - - - - - - WaitForCompletion + NetworkMapping - Waits till the operation completes + Network Mapping object - SwitchParameter + ASRNetworkMapping - SwitchParameter + ASRNetworkMapping @@ -3467,21 +8132,92 @@ -------------------------- EXAMPLE 1 -------------------------- - C:\PS> + PS C:\> - $PC = Get-AzureSiteRecoveryProtectionContainer; $PE = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $PC; Start-AzureSiteRecoveryUnplannedFailoverJob -ProtectionEntity $PE -Direction PrimaryToRecovery + $networkMapping = Get-AzureSiteRecoveryNetworkMapping -PrimaryServer $servers[0] -RecoveryServer $servers[0] - ID : c38eecdc-731c-405b-a61c-08db99aae2fe - ClientRequestId : 32ace403-0916-4967-83a1-529176bd6e88-2014-49-06 15:49:24Z-P + PS C:\> Remove-AzureSiteRecoveryNetworkMapping -NetworkMapping $networkMapping + + Name : + ID : d797b3da-a976-4b1c-ab15-b42938a72738 + ClientRequestId : 086b3ca2-338d-4491-8668-c0a43238fa5d-2015-01-30 05:34:27Z-P State : NotStarted StateDescription : NotStarted StartTime : EndTime : - AllowedActions : {} + AllowedActions : + Tasks : {} + Errors : {} + + + + PS C:\> Get-AzureSiteRecoveryJob -Id d797b3da-a976-4b1c-ab15-b42938a72738 + + Name : NetworkUnPairing + ID : d797b3da-a976-4b1c-ab15-b42938a72738 + ClientRequestId : 086b3ca2-338d-4491-8668-c0a43238fa5d-2015-01-30 05:34:27Z-P + State : Succeeded + StateDescription : Completed + StartTime : 1/30/2015 5:34:31 AM + EndTime : 1/30/2015 5:34:33 AM + AllowedActions : + Tasks : {Unmap network, Detach network (0)} + Errors : {} + + + Description + ----------- + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 2 -------------------------- + + + PS C:\> + + + $networkMapping = Get-AzureSiteRecoveryNetworkMapping -PrimaryServer $servers[0] -Azure + + PS C:\> Remove-AzureSiteRecoveryNetworkMapping -NetworkMapping $networkMapping + Name : + ID : 5ed061e7-5f03-4f7f-bdec-fc50d96c1df3 + ClientRequestId : fc86ee05-c24e-4169-a8fe-7b549dc8c284-2015-01-30 05:40:53Z-P + State : NotStarted + StateDescription : NotStarted + StartTime : + EndTime : + AllowedActions : Tasks : {} Errors : {} + + + + PS C:\> Get-AzureSiteRecoveryJob -Id 5ed061e7-5f03-4f7f-bdec-fc50d96c1df3 + + Name : NetworkUnPairing + ID : 5ed061e7-5f03-4f7f-bdec-fc50d96c1df3 + ClientRequestId : fc86ee05-c24e-4169-a8fe-7b549dc8c284-2015-01-30 05:40:53Z-P + State : Succeeded + StateDescription : Completed + StartTime : 1/30/2015 5:40:58 AM + EndTime : 1/30/2015 5:40:58 AM + AllowedActions : + Tasks : {Unmap network, Detach network (0)} + Errors : {} Description @@ -3508,131 +8244,51 @@ - - + + - Start-AzureSiteRecoveryCommitFailoverJob + New-AzureSiteRecoveryVault - Start the commit failover of the Azure Site Recovery object after failover + Creates a new Azure Site Recovery Vault - Start - AzureSiteRecoveryCommitFailoverJob + New + AzureSiteRecoveryVault - Start the commit failover of the Azure Site Recovery object after failover. This will start the commit and return the job object. Success of the job can be tracked using Get-AzureSiteRecoveryJob + Used to initiate a vault create operation - Start-AzureSiteRecoveryCommitFailoverJob - - RecoveryPlan - - Recovery Plan object - - ASRRecoveryPlan - - - WaitForCompletion - - Waits for - - - - - Start-AzureSiteRecoveryCommitFailoverJob - - RpId - - Id of the Recovery Plan - - string - - - WaitForCompletion - - Waits for - - - - - Start-AzureSiteRecoveryCommitFailoverJob - - ProtectionEntity - - Protection Entity object - - ASRProtectionEntity - - - WaitForCompletion - - Waits for - - - - - Start-AzureSiteRecoveryCommitFailoverJob + New-AzureSiteRecoveryVault - ProtectionContainerId + Location - Id of the Protection Container + Geo Location Name string - ProtectionEntityId + Name - Id of the Protection Entity + Vault Name for which the cred file to be generated string - - WaitForCompletion - - Waits for - - - - - - ProtectionContainerId - - Id of the Protection Container - - - string - - string - - - - - - ProtectionEntity - - Protection Entity object - - - ASRProtectionEntity - - ASRProtectionEntity - - - - + + - ProtectionEntityId + Location - Id of the Protection Entity + Geo Location Name string @@ -3642,41 +8298,152 @@ - - RecoveryPlan + + Name - Recovery Plan object + Vault Name for which the cred file to be generated - ASRRecoveryPlan + string - ASRRecoveryPlan + string - - RpId + + + + + + + + + - Id of the Recovery Plan + + + - string + + + + - string - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + New-AzureSiteRecoveryVault -Name testVault -Location "West US" + + Response + -------- + Vault has been created + + + Description + ----------- + + + + + + + + + + + + + + + + + + + + + + + + + + + + Get-AzureSiteRecoveryVault + + + Retrieves the information of the active Azure Site Recovery Vault + + + + + Get + AzureSiteRecoveryVault + + + + Retrieves the information of the active Azure Site Recovery Vault + + + + + Get-AzureSiteRecoveryVault + + Name + + The name of the vault to be queried for. + + string + + + + + - WaitForCompletion + Name - Waits for + The name of the vault to be queried for. - SwitchParameter + string - SwitchParameter + string @@ -3739,18 +8506,15 @@ C:\PS> - $PC = Get-AzureSiteRecoveryProtectionContainer; $PE = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $PC; Start-AzureSiteRecoveryCommitFailoverJob -ProtectionEntity $PE -Direction PrimaryToRecovery - - ID : c38eecdc-731c-405b-a61c-08db99aae2fe - ClientRequestId : 32ace403-0916-4967-83a1-529176bd6e88-2014-49-06 15:49:24Z-P - State : NotStarted - StateDescription : NotStarted - StartTime : - EndTime : - AllowedActions : {} - Name : - Tasks : {} - Errors : {} + Get-AzureSiteRecoveryVault + + Name : testVault + ID : 6467459117934545458 + CloudServiceName : CS-West-US-RecoveryServices + SubscriptionId : a5aa5997-33e5-46cc-8ab8-8bd89b76b7ba + StatusReason : + Status : Active + Location : West US Description @@ -3777,133 +8541,82 @@ - - + + - Start-AzureSiteRecoveryPlannedFailoverJob + Get-AzureSiteRecoveryVaultSettingsFile - Start the Planned Failover operation for a Virtual Machine or Recovery Plan under Azure Site Recovery + Allows user to download the Azure Site Recovery Vault Settings File - Start the Planned Failover operation for a Protection Entity or Recovery Plan under Azure Site Recovery. This will start the failover and return the job object. Success of the job can be tracked using Get-AzureSiteRecoveryJob + - Start - AzureSiteRecoveryPlannedFailoverJob + Get + AzureSiteRecoveryVaultSettingsFile - + Allows user to download the Azure Site Recovery Vault Settings File - Start-AzureSiteRecoveryPlannedFailoverJob + Get-AzureSiteRecoveryVaultSettingsFile - RecoveryPlan - - Recovery Plan object - - ASRRecoveryPlan - - - Direction + Vault - Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + Vault object - string + ASRVault - WaitForCompletion + Site - Waits till the operation completes + Site object + ASRSite - Start-AzureSiteRecoveryPlannedFailoverJob + Get-AzureSiteRecoveryVaultSettingsFile - RpId + Location - Id of the Recovery Plan + Geo Location Name to which the vault belongs string - Direction + Name - Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + Vault Name for which the cred file to be generated string - WaitForCompletion - - Waits till the operation completes - - - - - Start-AzureSiteRecoveryPlannedFailoverJob - - ProtectionEntity - - Protection Entity object - - ASRProtectionEntity - - - Direction + SiteId - Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + The site Id if the vault credentials to be downloaded for a Hyper-V sites string - WaitForCompletion - - Waits till the operation completes - - - - - Start-AzureSiteRecoveryPlannedFailoverJob - - ProtectionContainerId - - Id of the Protection Container - - string - - - ProtectionEntityId - - Id of the Protection Entity - - string - - - Direction + SiteName - Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + The site name if the vault credentials to be downloaded for a Hyper-V sites string - - WaitForCompletion - - Waits till the operation completes - - - Direction + Location - Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + Geo Location Name to which the vault belongs string @@ -3914,9 +8627,9 @@ - ProtectionContainerId + Name - Id of the Protection Container + Vault Name for which the cred file to be generated string @@ -3926,23 +8639,23 @@ - - ProtectionEntity + + Site - Protection Entity object + Site object - ASRProtectionEntity + ASRSite - ASRProtectionEntity + ASRSite - - ProtectionEntityId + + SiteId - Id of the Protection Entity + The site Id if the vault credentials to be downloaded for a Hyper-V sites string @@ -3952,23 +8665,10 @@ - - RecoveryPlan - - Recovery Plan object - - - ASRRecoveryPlan - - ASRRecoveryPlan - - - - - - RpId + + SiteName - Id of the Recovery Plan + The site name if the vault credentials to be downloaded for a Hyper-V sites string @@ -3978,15 +8678,15 @@ - - WaitForCompletion + + Vault - Waits till the operation completes + Vault object - SwitchParameter + ASRVault - SwitchParameter + ASRVault @@ -4049,18 +8749,11 @@ C:\PS> - $PC = Get-AzureSiteRecoveryProtectionContainer; $PE = Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $PC; Start-AzureSiteRecoveryPlannedFailoverJob -ProtectionEntity $PE -Direction PrimaryToRecovery + Get-AzureSiteRecoveryVaultSettingsFile -Vault $vaults[0] - ID : c38eecdc-731c-405b-a61c-08db99aae2fe - ClientRequestId : 32ace403-0916-4967-83a1-529176bd6e88-2014-49-06 15:49:24Z-P - State : NotStarted - StateDescription : NotStarted - StartTime : - EndTime : - AllowedActions : {} - Name : - Tasks : {} - Errors : {} + FilePath  + --------  + C:\Users\testUser\AppData\Local\Temp\testVault_2015-02-02T05-39-23.VaultCredentials Description @@ -4087,54 +8780,52 @@ - - + + + - Stop-AzureSiteRecoveryJob + New-AzureSiteRecoveryVault - Stops the Azure Site Recovery Job. Specify a running Job only. + Creates a new Azure Site Recovery Vault - Stops the Azure Site Recovery Job. This cmdlet is applicable on a running Job only. To know the allowed actions look for Allowedactions property of Job object + - Stop - AzureSiteRecoveryJob + New + AzureSiteRecoveryVault - + Creates a new Azure Site Recovery Vault - Stop-AzureSiteRecoveryJob + New-AzureSiteRecoveryVault - Id + Location - ID of the Azure Site Recovery Job + Geo Location Name string - - - Stop-AzureSiteRecoveryJob - - Job + + Name - ASR Job object + Vault Name for which the cred file to be generated - ASRJob + string - Id + Location - ID of the Azure Site Recovery Job + Geo Location Name string @@ -4144,15 +8835,15 @@ - - Job + + Name - ASR Job object + Vault Name for which the cred file to be generated - ASRJob + string - ASRJob + string @@ -4205,34 +8896,38 @@ - - - - - -------------------------- EXAMPLE 1 -------------------------- - - - C:\PS> - - - $jobs= Get-AzureSiteRecoveryJob; Stop-AzureSiteRecoveryJob -Job $jobs - - - Description - ----------- - - - - - - - - - - - - - + + + + + -------------------------- EXAMPLE 1 -------------------------- + + + C:\PS> + + + New-AzureSiteRecoveryVault -Name testVault -Location "West US" + + Response + -------- + Vault has been created + + + Description + ----------- + + + + + + + + + + + + + @@ -4242,68 +8937,50 @@ - - + + + - Update-AzureSiteRecoveryRecoveryPlan + Get-AzureSiteRecoverySite - Update-AzureSiteRecoveryRecoveryPlan cmdlet allows to change an existing Recovery Plan structure and Publish the updated one + Retrieves the list of sites from the Azure Site Recovery vault. - Update - AzureSiteRecoveryRecoveryPlan + Get + AzureSiteRecoverySite - Update-AzureSiteRecoveryRecoveryPlan cmdlet allows to change an existing Recovery Plan structure and Publish the updated one . A recovery plan gathers virtual machines in a group for the purposes of failover and recovery + Retrieves the list of sites created in Azure Site Recovery vault. - Update-AzureSiteRecoveryRecoveryPlan - - File - - XML file containing the Recovery Plan - - string - + Get-AzureSiteRecoverySite - WaitForCompletion + Vault - Waits till the operation completes + Vault Object for which the site list is to be fetched + ASRVault - - File - - XML file containing the Recovery Plan - - - string - - string - - - - - WaitForCompletion + Vault - Waits till the operation completes + Vault Object for which the site list is to be fetched - SwitchParameter + ASRVault - SwitchParameter + ASRVault @@ -4366,7 +9043,11 @@ C:\PS> - Update-AzureSiteRecoveryRecoveryPlan -File C:\Users\contoso\Desktop\RP.xml + Get-AzureSiteRecoverySite + + Type Name ID + ---- ---- -- + HyperVSite testSite f16829b4-5b01-4209-a6cf-8e0aff1fe328 Description @@ -4393,133 +9074,73 @@ - - + + + - Update-AzureSiteRecoveryProtectionDirection + Set-AzureSiteRecoveryVM - + Allows the update on a protected Virtual Machine for onprem-Azure scenarios - Update - AzureSiteRecoveryProtectionDirection + Set + AzureSiteRecoveryVM - Update the source and target server for the protection for Azure Site recovery Object after the commitfailover is completed . This is async cmdlet which will only start the operation and return the job object. The success of operation can be tracked using Get-AzuresiteRecoveryObject + Allows the update on a protected Virtual Machine for onprem-Azure scenarios. Please provide required parameters to update. - Update-AzureSiteRecoveryProtectionDirection - - RecoveryPlan - - Recovery Plan object - - ASRRecoveryPlan - + Set-AzureSiteRecoveryVM - Direction + VirtualMachine - Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + Virtual Machine object - string + ASRVirtualMachine - WaitForCompletion - - Waits till the operation completes - - - - - Update-AzureSiteRecoveryProtectionDirection - - RpId - - Id of the Recovery Plan - - string - - - Direction + Name - Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + Name of the target Virtual Machine string - WaitForCompletion - - Waits till the operation completes - - - - - Update-AzureSiteRecoveryProtectionDirection - - ProtectionEntity - - Protection Entity object - - ASRProtectionEntity - - - Direction + PrimaryNic - Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + Primary NIC string - WaitForCompletion - - Waits till the operation completes - - - - - Update-AzureSiteRecoveryProtectionDirection - - ProtectionContainerId - - Id of the Protection Container - - string - - - ProtectionEntityId - - Id of the Protection Entity - - string - - - Direction + RecoveryNetworkId - Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + Recovery Network ID string - WaitForCompletion + Size - Waits till the operation completes + Target size, should be limited to set of values of Azure VM sizes + string - - Direction + + Name - Direction of the failover, either PrimaryToRecovery or RecoveryToPrimary + Name of the target Virtual Machine string @@ -4529,10 +9150,10 @@ - - ProtectionContainerId + + PrimaryNic - Id of the Protection Container + Primary NIC string @@ -4542,23 +9163,10 @@ - - ProtectionEntity - - Protection Entity object - - - ASRProtectionEntity - - ASRProtectionEntity - - - - - - ProtectionEntityId + + RecoveryNetworkId - Id of the Protection Entity + Recovery Network ID string @@ -4568,23 +9176,10 @@ - - RecoveryPlan - - Recovery Plan object - - - ASRRecoveryPlan - - ASRRecoveryPlan - - - - - - RpId + + Size - Id of the Recovery Plan + Target size, should be limited to set of values of Azure VM sizes string @@ -4594,15 +9189,15 @@ - - WaitForCompletion + + VirtualMachine - Waits till the operation completes + Virtual Machine object - SwitchParameter + ASRVirtualMachine - SwitchParameter + ASRVirtualMachine @@ -4665,18 +9260,34 @@ C:\PS> - Update-AzureSiteRecoveryProtectionDirection -ProtectionEntity $PE -Direction RecoveryToPrimary + Set-AzureSiteRecoveryVM -VirtualMachine $VMs[0] -Name newVM5 - ID : c38eecdc-731c-405b-a61c-08db99aae2fe - ClientRequestId : 32ace403-0916-4967-83a1-529176bd6e88-2014-49-06 15:49:24Z-P + Name : + ID : 8170d274-1e48-404a-b080-172ada140bc3 + ClientRequestId : 09354052-8430-4fa8-9a35-63196dd4b2b4-2015-02-03 04:19:06Z-P State : NotStarted StateDescription : NotStarted StartTime : EndTime : - AllowedActions : {} - Name : + AllowedActions : Tasks : {} Errors : {} + + + + PS C:\Users\administrator> Get-AzureSiteRecoveryJob -Id 8170d274-1e48-404a-b080-172ada140bc3 + + + Name : UpdateVmProperties + ID : 8170d274-1e48-404a-b080-172ada140bc3 + ClientRequestId : 09354052-8430-4fa8-9a35-63196dd4b2b4-2015-02-03 04:19:06Z-P + State : Succeeded + StateDescription : Completed + StartTime : 2/3/2015 4:19:08 AM + EndTime : 2/3/2015 4:19:08 AM + AllowedActions : + Tasks : {Update the virtual machine properties} + Errors : {} Description diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesClient.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesClient.cs index 1e30a45dd38f..cba792731dec 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesClient.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesClient.cs @@ -24,16 +24,14 @@ using System.Web.Script.Serialization; using System.Xml; using Microsoft.Azure.Portal.RecoveryServices.Models.Common; -using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Management.RecoveryServices; using Microsoft.WindowsAzure.Management.RecoveryServices.Models; using Microsoft.WindowsAzure.Management.SiteRecovery; using Microsoft.WindowsAzure.Management.SiteRecovery.Models; -using Microsoft.Azure.Common.Extensions.Models; -using Microsoft.Azure.Common.Extensions; namespace Microsoft.Azure.Commands.RecoveryServices { @@ -47,6 +45,21 @@ public partial class PSRecoveryServicesClient /// public string ClientRequestId { get; set; } + /// + /// Gets the value of recovery services management client. + /// + public RecoveryServicesManagementClient GetRecoveryServicesClient + { + get + { + return this.recoveryServicesClient; + } + } + + /// Azure profile + /// + public AzureProfile Profile { get; set; } + /// /// Amount of time to sleep before fetching job details again. /// @@ -66,22 +79,16 @@ public partial class PSRecoveryServicesClient /// private RecoveryServicesManagementClient recoveryServicesClient; - /// - /// Initializes a new instance of the class. - /// - public PSRecoveryServicesClient() - { - } - /// /// Initializes a new instance of the class with /// required current subscription. /// /// Azure Subscription - public PSRecoveryServicesClient(AzureSubscription azureSubscription) + public PSRecoveryServicesClient(AzureProfile azureProfile, AzureSubscription azureSubscription) { + this.Profile = azureProfile; this.recoveryServicesClient = - AzureSession.ClientFactory.CreateClient(azureSubscription, AzureEnvironment.Endpoint.ServiceManagement); + AzureSession.ClientFactory.CreateClient(azureProfile, azureSubscription, AzureEnvironment.Endpoint.ServiceManagement); } /// @@ -184,8 +191,9 @@ public string GenerateAgentAuthenticationHeader(string clientRequestId) /// /// Gets request headers. /// + /// specifies whether to sign the request or not /// Custom request headers - public CustomRequestHeaders GetRequestHeaders() + public CustomRequestHeaders GetRequestHeaders(bool shouldSignRequest = true) { this.ClientRequestId = Guid.NewGuid().ToString() + "-" + DateTime.Now.ToUniversalTime().ToString("yyyy-MM-dd HH:mm:ssZ") + "-P"; @@ -194,7 +202,7 @@ public CustomRequestHeaders GetRequestHeaders() // ClientRequestId is a unique ID for every request to Azure Site Recovery. // It is useful when diagnosing failures in API calls. ClientRequestId = this.ClientRequestId, - AgentAuthenticationHeader = this.GenerateAgentAuthenticationHeader(this.ClientRequestId) + AgentAuthenticationHeader = shouldSignRequest ? this.GenerateAgentAuthenticationHeader(this.ClientRequestId) : "" }; } @@ -240,7 +248,9 @@ private SiteRecoveryManagementClient GetSiteRecoveryClient() } SiteRecoveryManagementClient siteRecoveryClient = - AzureSession.ClientFactory.CreateCustomClient(asrVaultCreds.CloudServiceName, asrVaultCreds.ResourceName, recoveryServicesClient.Credentials, AzureSession.CurrentContext.Environment.GetEndpointAsUri(AzureEnvironment.Endpoint.ServiceManagement)); + AzureSession.ClientFactory.CreateCustomClient(asrVaultCreds.CloudServiceName, + asrVaultCreds.ResourceName, recoveryServicesClient.Credentials, + Profile.Context.Environment.GetEndpointAsUri(AzureEnvironment.Endpoint.ServiceManagement)); if (null == siteRecoveryClient) { @@ -250,4 +260,101 @@ private SiteRecoveryManagementClient GetSiteRecoveryClient() return siteRecoveryClient; } } + + /// + /// Helper around serialization/deserialization of objects. This one is a thin wrapper around + /// DataContractUtils template class which is the one doing the heavy lifting. + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all contracts together.")] + public static class DataContractUtils + { + /// + /// Serializes the supplied object to the string. + /// + /// The object type. + /// Object to serialize + /// Serialized string. + public static string Serialize(T obj) + { + return DataContractUtils.Serialize(obj); + } + + /// + /// Deserialize the string to the expected object type. + /// + /// The object type + /// Serialized string + /// Deserialized object + public static void Deserialize(string xmlString, out T result) + { + result = DataContractUtils.Deserialize(xmlString); + } + } + + /// + /// Template class for DataContractUtils. + /// + /// The object type + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all contracts together.")] + public static class DataContractUtils + { + /// + /// Serializes the propertyBagContainer to the string. + /// + /// Property bag + /// Serialized string + public static string Serialize(T propertyBagContainer) + { + var serializer = new DataContractSerializer(typeof(T)); + string xmlString; + StringWriter sw = null; + try + { + sw = new StringWriter(); + using (var writer = new XmlTextWriter(sw)) + { + // Indent the XML so it's human readable. + writer.Formatting = Formatting.Indented; + serializer.WriteObject(writer, propertyBagContainer); + writer.Flush(); + xmlString = sw.ToString(); + } + } + finally + { + if (sw != null) + { + sw.Close(); + } + } + + return xmlString; + } + + /// + /// Deserialize the string to the propertyBagContainer. + /// + /// Serialized string + /// Deserialized object + public static T Deserialize(string xmlString) + { + T propertyBagContainer; + using (Stream stream = new MemoryStream()) + { + byte[] data = System.Text.Encoding.UTF8.GetBytes(xmlString); + stream.Write(data, 0, data.Length); + stream.Position = 0; + DataContractSerializer deserializer = new DataContractSerializer(typeof(T)); + propertyBagContainer = (T)deserializer.ReadObject(stream); + } + + return propertyBagContainer; + } + } } \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesClientHelper.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesClientHelper.cs new file mode 100644 index 000000000000..90ff63493832 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesClientHelper.cs @@ -0,0 +1,195 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; +using Microsoft.WindowsAzure.Commands.Common; +using Microsoft.WindowsAzure.Management.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Recovery Services Client Helper Methods class + /// + public partial class PSRecoveryServicesClient + { + /// + /// Converts the Parameter set string of Replication Frequency in seconds to UShort. + /// + /// Replication frequency in seconds. + /// A UShort corresponding to the value. + public static ushort ConvertReplicationFrequencyToUshort(string replicationFrequencyString) + { + if (replicationFrequencyString == null) + { + return 0; + } + + ushort replicationFrequency; + + if (!ushort.TryParse(replicationFrequencyString, out replicationFrequency)) + { + throw new InvalidOperationException( + string.Format( + Properties.Resources.InvalidReplicationFrequency, + replicationFrequencyString)); + } + + return replicationFrequency; + } + + /// + /// Validates if the time span object has a valid value. + /// + /// Time span object to be validated + public static void ValidateReplicationStartTime(TimeSpan? timeSpan) + { + if (timeSpan == null) + { + return; + } + + if (TimeSpan.Compare(timeSpan.Value, new TimeSpan(24, 0, 0)) == 1) + { + throw new InvalidOperationException( + string.Format(Properties.Resources.ReplicationStartTimeInvalid)); + } + } + + /// + /// Validates whether the subscription belongs to the currently logged account or not. + /// + /// Azure Subscription ID + public void ValidateSubscriptionAccountAssociation(string azureSubscriptionId) + { + if (string.IsNullOrEmpty(azureSubscriptionId)) + { + throw new InvalidOperationException( + string.Format( + Properties.Resources.SubscriptionIdIsNotValid)); + } + + bool associatedSubscription = false; + List subscriptions = + new List(this.Profile.Subscriptions.Values); + + foreach (AzureSubscription sub in subscriptions) + { + if (azureSubscriptionId.Equals(sub.Id.ToString(), StringComparison.OrdinalIgnoreCase)) + { + associatedSubscription = true; + break; + } + } + + if (!associatedSubscription) + { + throw new InvalidOperationException( + string.Format( + Properties.Resources.SubscriptionIsNotAssociatedWithTheAccount, + azureSubscriptionId)); + } + } + + /// + /// Validates whether the storage belongs to the currently logged account or not. + /// + /// Subscription ID + /// Storage Account details + /// Current Vault Location + /// Out variable to indicate if validation was successful + /// Out variable to indicate if location of storage account is valid + public void ValidateStorageAccountAssociation( + string azureSubscription, + string azureStorageAccount, + string vaultLocation, + out bool validationSuccessful, + out bool locationValid) + { + if (string.IsNullOrEmpty(azureSubscription)) + { + throw new InvalidOperationException( + string.Format( + Properties.Resources.SubscriptionIdIsNotValid)); + } + + if (string.IsNullOrEmpty(azureStorageAccount)) + { + throw new InvalidOperationException( + string.Format( + Properties.Resources.StorageAccountNameIsNotValid)); + } + + bool associatedAccount = false; + StorageAccountListResponse azureStorageListResponse = null; + StorageAccountListResponse.StorageAccount currentStorageAccount = null; + + try + { + azureStorageListResponse = + this.GetSiteRecoveryClient().Storages.ListAzureStorages(azureSubscription); + } + catch (Exception) + { + validationSuccessful = false; + locationValid = false; + return; + } + + foreach (var storage in azureStorageListResponse.StorageAccounts) + { + if (string.Compare( + azureStorageAccount, + storage.Name, + StringComparison.OrdinalIgnoreCase) == 0) + { + associatedAccount = true; + currentStorageAccount = storage; + break; + } + } + + if (!associatedAccount) + { + validationSuccessful = false; + locationValid = false; + return; + } + + // Validate that the Geo Location of the storage account is the same as that of the vault. + if (string.IsNullOrEmpty(currentStorageAccount.Properties.Location)) + { + validationSuccessful = false; + locationValid = false; + return; + } + + if (0 != string.Compare( + currentStorageAccount.Properties.Location, + vaultLocation, + StringComparison.OrdinalIgnoreCase)) + { + validationSuccessful = true; + locationValid = false; + return; + } + + validationSuccessful = true; + locationValid = true; + } + } +} diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesCloudServiceClient.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesCloudServiceClient.cs new file mode 100644 index 000000000000..eacc861542aa --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesCloudServiceClient.cs @@ -0,0 +1,108 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure.Management.RecoveryServices; +using Microsoft.WindowsAzure.Management.RecoveryServices.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Recovery services convenience client. + /// + public partial class PSRecoveryServicesClient + { + /// + /// Method to retrieve cloud services list for the current subscription + /// + /// list of cloud services. + public IEnumerable GetCloudServices() + { + CloudServiceListResponse response = this.GetRecoveryServicesClient.CloudServices.List(); + + return response.CloudServices; + } + + /// + /// Method to get Cloud Service object for a given vault + /// + /// vault object + /// cloud service object. + public CloudService GetCloudServiceForVault(ASRVault vault) + { + IEnumerable cloudServiceList = this.GetCloudServices(); + + foreach (var cloudService in cloudServiceList) + { + Vault selectedVault = null; + if (cloudService.GeoRegion.Equals(vault.Location, StringComparison.InvariantCultureIgnoreCase)) + { + foreach (var resource in cloudService.Resources) + { + if (resource.Name.Equals(vault.Name, StringComparison.InvariantCultureIgnoreCase)) + { + selectedVault = resource; + return cloudService; + } + } + } + } + + throw new ArgumentException( + string.Format( + Properties.Resources.InCorrectVaultInformation, + vault.Name, + vault.Location)); + } + + /// + /// Method to Either find or create the cloud service. + /// + /// name of the cloud service to be created + /// cloud service input to create the service. + public void FindOrCreateCloudService(string cloudServiceName, CloudServiceCreateArgs cloudServiceInput) + { + bool cloudServicePresent = this.DoesCloudServiceExits(cloudServiceName); + + if (!cloudServicePresent) + { + this.GetRecoveryServicesClient.CloudServices.Create(cloudServiceName, cloudServiceInput); + } + } + + /// + /// Checks whether a cloud service is present or not. + /// + /// name of the cloud service to be created + /// returns true in case the cloud service exits and false otherwise. + private bool DoesCloudServiceExits(string cloudServiceName) + { + IEnumerable cloudServiceList = this.GetCloudServices(); + bool cloudServicePresent = false; + + foreach (var cloudService in cloudServiceList) + { + if (cloudServiceName.Equals(cloudService.Name, StringComparison.InvariantCultureIgnoreCase)) + { + cloudServicePresent = true; + break; + } + } + + return cloudServicePresent; + } + } +} diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesJobsClient.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesJobsClient.cs index 6c531d05d2a5..869e0a3151c8 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesJobsClient.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesJobsClient.cs @@ -12,9 +12,8 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure; -using Microsoft.WindowsAzure.Management.SiteRecovery.Models; using Microsoft.WindowsAzure.Management.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; namespace Microsoft.Azure.Commands.RecoveryServices { diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesNetworkClient.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesNetworkClient.cs new file mode 100644 index 000000000000..268c0d551f8f --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesNetworkClient.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.WindowsAzure.Management.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Recovery services convenience client. + /// + public partial class PSRecoveryServicesClient + { + /// + /// Gets Azure Site Recovery Networks. + /// + /// Server ID + /// Network list response + public NetworkListResponse GetAzureSiteRecoveryNetworks(string serverId) + { + return this.GetSiteRecoveryClient().Networks.List(serverId, this.GetRequestHeaders()); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesNetworkMappingClient.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesNetworkMappingClient.cs new file mode 100644 index 000000000000..eb83e5d28b44 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesNetworkMappingClient.cs @@ -0,0 +1,256 @@ +// ---------------------------------------------------------------------------------- +// +// 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.CodeAnalysis; +using System.IO; +using System.Runtime.Serialization; +using System.Xml; +using Microsoft.WindowsAzure.Commands.Common; +using Microsoft.WindowsAzure.Management.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Target network type. + /// + public enum NetworkTargetType + { + /// + /// SCVMM VM Network. + /// + SCVMM = 0, + + /// + /// Azure VM Network. + /// + Azure, + } + + /// + /// Create network mapping input. + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all contracts together.")] + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public class CreateNetworkMappingInput + { + /// + /// Gets or sets Primary Server Id. + /// + [DataMember(Order = 1)] + public string PrimaryServerId { get; set; } + + /// + /// Gets or sets Primary Network Id. + /// + [DataMember(Order = 2)] + public string PrimaryNetworkId { get; set; } + + /// + /// Gets or sets Recovery Server Id. + /// + [DataMember(Order = 3)] + public string RecoveryServerId { get; set; } + + /// + /// Gets or sets Recovery Network Id. + /// + [DataMember(Order = 4)] + public string RecoveryNetworkId { get; set; } + } + + /// + /// Create Azure network mapping input. + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all contracts together.")] + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public class CreateAzureNetworkMappingInput + { + /// + /// Gets or sets Primary Server Id. + /// + [DataMember(Order = 1)] + public string PrimaryServerId { get; set; } + + /// + /// Gets or sets Primary Network Id. + /// + [DataMember(Order = 2)] + public string PrimaryNetworkId { get; set; } + + /// + /// Gets or sets Azure VM Network Id. + /// + [DataMember(Order = 3)] + public string RecoveryNetworkId { get; set; } + + /// + /// Gets or sets Azure VM Network name. + /// + [DataMember(Order = 4)] + public string RecoveryNetworkName { get; set; } + } + + /// + /// Recovery services convenience client. + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all contracts together.")] + public partial class PSRecoveryServicesClient + { + /// + /// Gets Azure Site Recovery Network mappings. + /// + /// Primary server ID + /// Recovery server ID + /// Network mapping list response + public NetworkMappingListResponse GetAzureSiteRecoveryNetworkMappings( + string primaryServerId, + string recoveryServerId) + { + return this.GetSiteRecoveryClient() + .NetworkMappings + .List(primaryServerId, recoveryServerId, this.GetRequestHeaders()); + } + + /// + /// Create Azure Site Recovery Network Mapping. + /// + /// Primary server Id + /// Primary network Id + /// Recovery server Id + /// Recovery network Id + /// Job response + public JobResponse NewAzureSiteRecoveryNetworkMapping( + string primaryServerId, + string primaryNetworkId, + string recoveryServerId, + string recoveryNetworkId) + { + CreateNetworkMappingInput createNetworkMappingInput = + new CreateNetworkMappingInput(); + createNetworkMappingInput.PrimaryServerId = primaryServerId; + createNetworkMappingInput.PrimaryNetworkId = primaryNetworkId; + createNetworkMappingInput.RecoveryServerId = recoveryServerId; + createNetworkMappingInput.RecoveryNetworkId = recoveryNetworkId; + + NetworkMappingInput networkMappingInput = new NetworkMappingInput(); + networkMappingInput.NetworkTargetType = NetworkTargetType.SCVMM.ToString(); + networkMappingInput.CreateNetworkMappingInput = + DataContractUtils.Serialize(createNetworkMappingInput); + return this.GetSiteRecoveryClient() + .NetworkMappings + .Create(networkMappingInput, this.GetRequestHeaders()); + } + + /// + /// Create Azure Site Recovery Azure Network Mapping. + /// + /// Primary server Id + /// Primary network Id + /// Recovery server Id + /// Recovery network Id + /// Job response + public JobResponse NewAzureSiteRecoveryAzureNetworkMapping( + string primaryServerId, + string primaryNetworkId, + string recoveryNetworkName, + string recoveryNetworkId) + { + CreateAzureNetworkMappingInput createAzureNetworkMappingInput = + new CreateAzureNetworkMappingInput(); + createAzureNetworkMappingInput.PrimaryServerId = primaryServerId; + createAzureNetworkMappingInput.PrimaryNetworkId = primaryNetworkId; + createAzureNetworkMappingInput.RecoveryNetworkName = recoveryNetworkName; + createAzureNetworkMappingInput.RecoveryNetworkId = recoveryNetworkId; + + NetworkMappingInput networkMappingInput = new NetworkMappingInput(); + networkMappingInput.NetworkTargetType = NetworkTargetType.Azure.ToString(); + networkMappingInput.CreateNetworkMappingInput = + DataContractUtils.Serialize(createAzureNetworkMappingInput); + return this.GetSiteRecoveryClient() + .NetworkMappings + .Create(networkMappingInput, this.GetRequestHeaders()); + } + + /// + /// Validates whether the Azure VM Network is associated with the subscription or not. + /// + /// Subscription Id + /// Azure VM Network Id + /// Azure VM Network name + public void ValidateVMNetworkSubscriptionAssociation( + string azureSubscriptionId, + string azureVMNetworkId, + out string azureVMNetworkName) + { + bool associatedVMNetwork = false; + azureVMNetworkName = string.Empty; + + AzureNetworkListResponse azureNetworkListResponse = + this.GetSiteRecoveryClient().Networks.ListAzureNetworks(azureSubscriptionId); + + foreach (AzureNetworkListResponse.VirtualNetworkSite site in azureNetworkListResponse.VirtualNetworkSites) + { + if (azureVMNetworkId.Equals(site.Id)) + { + associatedVMNetwork = true; + azureVMNetworkName = site.Name; + break; + } + } + + if (!associatedVMNetwork) + { + throw new InvalidOperationException( + string.Format( + Properties.Resources.AzureVMNetworkIsNotAssociatedWithTheSubscription, + azureVMNetworkId, + azureSubscriptionId)); + } + } + + /// + /// Delete Azure Site Recovery Network Mapping. + /// + /// Primary server Id + /// Primary network Id + /// Recovery server Id + /// Job response + public JobResponse RemoveAzureSiteRecoveryNetworkMapping( + string primaryServerId, + string primaryNetworkId, + string recoveryServerId) + { + NetworkUnMappingInput networkUnMappingInput = new NetworkUnMappingInput(); + networkUnMappingInput.PrimaryServerId = primaryServerId; + networkUnMappingInput.PrimaryNetworkId = primaryNetworkId; + networkUnMappingInput.RecoveryServerId = recoveryServerId; + + return this.GetSiteRecoveryClient() + .NetworkMappings + .Delete(networkUnMappingInput, this.GetRequestHeaders()); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesPEClient.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesPEClient.cs index 6c95b10d1b31..387007e0d1e3 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesPEClient.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesPEClient.cs @@ -13,7 +13,6 @@ // ---------------------------------------------------------------------------------- using System; -using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Management.SiteRecovery; using Microsoft.WindowsAzure.Management.SiteRecovery.Models; @@ -24,16 +23,6 @@ namespace Microsoft.Azure.Commands.RecoveryServices /// public partial class PSRecoveryServicesClient { - /// - /// Represents Enable protection. - /// - public const string EnableProtection = "Enable"; - - /// - /// Represents Disable protection. - /// - public const string DisableProtection = "Disable"; - /// /// Retrieves Protection Entity. /// @@ -71,35 +60,34 @@ public ProtectionEntityResponse GetAzureSiteRecoveryProtectionEntity( /// /// Protection Container ID /// Virtual Machine ID - /// Protection state to set + /// Enable protection input. /// Job response - public JobResponse SetProtectionOnProtectionEntity( + public JobResponse EnableProtection( string protectionContainerId, string virtualMachineId, - string protection) + EnableProtectionInput input) { - var requestHeaders = this.GetRequestHeaders(); - - JobResponse jobResponse = null; - - if (0 == string.Compare(EnableProtection, protection, StringComparison.OrdinalIgnoreCase)) - { - jobResponse = - this.GetSiteRecoveryClient().ProtectionEntity.EnableProtection( - protectionContainerId, - virtualMachineId, - requestHeaders); - } - else if (0 == string.Compare(DisableProtection, protection, StringComparison.OrdinalIgnoreCase)) - { - jobResponse = - this.GetSiteRecoveryClient().ProtectionEntity.DisableProtection( - protectionContainerId, - virtualMachineId, - requestHeaders); - } + return this.GetSiteRecoveryClient().ProtectionEntity.EnableProtection( + protectionContainerId, + virtualMachineId, + input, + this.GetRequestHeaders()); + } - return jobResponse; + /// + /// Sets protection on Protection entity. + /// + /// Protection Container ID + /// Virtual Machine ID + /// Job response + public JobResponse DisbleProtection( + string protectionContainerId, + string virtualMachineId) + { + return this.GetSiteRecoveryClient().ProtectionEntity.DisableProtection( + protectionContainerId, + virtualMachineId, + this.GetRequestHeaders()); } /// @@ -164,15 +152,18 @@ public JobResponse StartAzureSiteRecoveryTestFailover( /// /// Protection Container ID /// Recovery Plan ID + /// Commit failover request. /// Job response public JobResponse StartAzureSiteRecoveryCommitFailover( string protectionContainerId, - string protectionEntityId) + string protectionEntityId, + CommitFailoverRequest request) { return this.GetSiteRecoveryClient().ProtectionEntity.CommitFailover( - protectionContainerId, - protectionEntityId, - this.GetRequestHeaders()); + protectionContainerId, + protectionEntityId, + request, + this.GetRequestHeaders()); } /// @@ -180,17 +171,35 @@ public JobResponse StartAzureSiteRecoveryCommitFailover( /// /// Protection Container ID /// Recovery Plan ID + /// Re-protect request. /// Job response public JobResponse StartAzureSiteRecoveryReprotection( string protectionContainerId, - string protectionEntityId) + string protectionEntityId, + ReprotectRequest request) { - var request = new ReprotectRequest(); return this.GetSiteRecoveryClient().ProtectionEntity.Reprotect( protectionContainerId, protectionEntityId, request, this.GetRequestHeaders()); } + + /// + /// Currently available only for E2E replication provider, + /// syncs owner role information on Protection entity. + /// + /// Protection Container ID + /// Protection Entity ID + /// Job response + public JobResponse UpdateAzureSiteRecoveryProtectionEntity( + string protectionContainerId, + string protectionEntityId) + { + return this.GetSiteRecoveryClient().ProtectionEntity.SyncOwnerInformation( + protectionContainerId, + protectionEntityId, + this.GetRequestHeaders()); + } } } \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesProtectedContainerClient.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesProtectedContainerClient.cs index 8300ffecc1a3..832c75499352 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesProtectedContainerClient.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesProtectedContainerClient.cs @@ -13,7 +13,6 @@ // ---------------------------------------------------------------------------------- using System; -using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Management.SiteRecovery; using Microsoft.WindowsAzure.Management.SiteRecovery.Models; diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesProtectionProfileClient.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesProtectionProfileClient.cs new file mode 100644 index 000000000000..bbc4befa0a78 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesProtectionProfileClient.cs @@ -0,0 +1,93 @@ +// ---------------------------------------------------------------------------------- +// +// 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.WindowsAzure.Management.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Recovery services convenience client. + /// + public partial class PSRecoveryServicesClient + { + /// + /// Gets Azure Site Recovery Protection Profile. + /// + /// Protection Profile list response + public ProtectionProfileListResponse GetAzureSiteRecoveryProtectionProfile() + { + return this.GetSiteRecoveryClient().ProtectionProfile.List(this.GetRequestHeaders()); + } + + /// + /// Gets Azure Site Recovery Protection Profile given the ID. + /// + /// Protection Profile ID + /// Protection Profile response + public ProtectionProfileResponse GetAzureSiteRecoveryProtectionProfile( + string protectionProfileId) + { + return this.GetSiteRecoveryClient().ProtectionProfile.Get( + protectionProfileId, + this.GetRequestHeaders()); + } + + /// + /// Updates Azure Site Recovery Protection Profile given the ID. + /// + /// Protection Profile Input + /// Protection Profile ID + /// Job response + public JobResponse UpdateAzureSiteRecoveryProtectionProfile( + UpdateProtectionProfileInput updateProtectionProfileInput, + string protectionProfileId) + { + return this.GetSiteRecoveryClient().ProtectionProfile.Update( + updateProtectionProfileInput, + protectionProfileId, + this.GetRequestHeaders()); + } + + /// + /// Creates and Associates Azure Site Recovery Protection Profile. + /// + /// Protection Profile Input + /// Job response + public JobResponse StartCreateAndAssociateAzureSiteRecoveryProtectionProfileJob( + CreateAndAssociateProtectionProfileInput createAndAssociateProtectionProfileInput) + { + return this.GetSiteRecoveryClient().ProtectionProfile.CreateAndAssociate( + createAndAssociateProtectionProfileInput, + this.GetRequestHeaders()); + } + + /// + /// Deletes and Dissociates Azure Site Recovery Protection Profile. + /// + /// Protection Profile ID + /// Protection Profile Association Input + /// Job response + public JobResponse StartDeleteAndDissociateAzureSiteRecoveryProtectionProfileJob( + string protectionProfileId, + ProtectionProfileAssociationInput protectionProfileAssociationInput) + { + return this.GetSiteRecoveryClient().ProtectionProfile.DissociateAndDelete( + protectionProfileId, + protectionProfileAssociationInput, + this.GetRequestHeaders()); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesRecoveryPlanClient.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesRecoveryPlanClient.cs index 6cdf97cb4fc7..efa7efb4bb43 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesRecoveryPlanClient.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesRecoveryPlanClient.cs @@ -13,7 +13,6 @@ // ---------------------------------------------------------------------------------- using System; -using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Management.SiteRecovery; using Microsoft.WindowsAzure.Management.SiteRecovery.Models; @@ -24,26 +23,6 @@ namespace Microsoft.Azure.Commands.RecoveryServices /// public partial class PSRecoveryServicesClient { - /// - /// Represents direction primary to secondary. - /// - public const string PrimaryToRecovery = "PrimaryToRecovery"; - - /// - /// Represents direction secondary to primary. - /// - public const string RecoveryToPrimary = "RecoveryToPrimary"; - - /// - /// Represents primary location. - /// - public const string PrimaryLocation = "Primary"; - - /// - /// Represents Recovery location. - /// - public const string RecoveryLocation = "Recovery"; - /// /// Gets Azure Site Recovery Plan. /// diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesServerClient.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesServerClient.cs index 24795e067687..e18e94614222 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesServerClient.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesServerClient.cs @@ -13,7 +13,6 @@ // ---------------------------------------------------------------------------------- using System; -using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Management.SiteRecovery; using Microsoft.WindowsAzure.Management.SiteRecovery.Models; diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesSiteClient.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesSiteClient.cs new file mode 100644 index 000000000000..56fe947c8cba --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesSiteClient.cs @@ -0,0 +1,78 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.Azure.Portal.RecoveryServices.Models.Common; +using Microsoft.WindowsAzure.Management.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Recovery services convenience client. + /// + public partial class PSRecoveryServicesClient + { + /// + /// Method to get the Azure site recovery sites + /// + /// vault object + /// Site list response + public SiteListResponse GetAzureSiteRecoverySites(ASRVault vault = null) + { + if (vault != null) + { + Utilities.UpdateVaultSettings(new ASRVaultCreds() + { + CloudServiceName = vault.CloudServiceName, + ResourceName = vault.Name + }); + } + + return this.GetSiteRecoveryClient().Sites.List(this.GetRequestHeaders(false)); + } + + /// + /// Method to create a Site + /// + /// name of the site + /// type of the site + /// vault object + /// job object for the creation. + public JobResponse CreateAzureSiteRecoverySite(string siteName, string siteType = null, ASRVault vault = null) + { + if (vault != null) + { + Utilities.UpdateVaultSettings(new ASRVaultCreds() + { + CloudServiceName = vault.CloudServiceName, + ResourceName = vault.Name + }); + } + + if (string.IsNullOrEmpty(siteType)) + { + siteType = FabricProviders.HyperVSite; + } + + SiteCreationInput input = new SiteCreationInput() + { + Name = siteName, + FabricType = siteType + }; + + return this.GetSiteRecoveryClient().Sites.Create(input, this.GetRequestHeaders(false)); + } + } +} diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesStorageClient.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesStorageClient.cs new file mode 100644 index 000000000000..a90e34bb1022 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesStorageClient.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.WindowsAzure.Management.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Recovery services convenience client. + /// + public partial class PSRecoveryServicesClient + { + /// + /// Gets Azure Site Recovery Storages. + /// + /// Server ID + /// Storage list response + public StorageListResponse GetAzureSiteRecoveryStorages(string serverId) + { + return this.GetSiteRecoveryClient().Storages.List(serverId, this.GetRequestHeaders()); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesStorageMappingClient.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesStorageMappingClient.cs new file mode 100644 index 000000000000..d0f7bf06dc58 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesStorageMappingClient.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. +// ---------------------------------------------------------------------------------- + +using System; +using Microsoft.WindowsAzure.Management.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Recovery services convenience client. + /// + public partial class PSRecoveryServicesClient + { + /// + /// Gets Azure Site Recovery Storage mappings. + /// + /// Primary server ID + /// Recovery server ID + /// Storage mapping list response + public StorageMappingListResponse GetAzureSiteRecoveryStorageMappings( + string primaryServerId, + string recoveryServerId) + { + return this.GetSiteRecoveryClient() + .StorageMappings + .List(primaryServerId, recoveryServerId, this.GetRequestHeaders()); + } + + /// + /// Create Azure Site Recovery Storage Mapping. + /// + /// Primary server Id + /// Primary storage Id + /// Recovery server Id + /// Recovery storage Id + /// Job response + public JobResponse NewAzureSiteRecoveryStorageMapping( + string primaryServerId, + string primaryStorageId, + string recoveryServerId, + string recoveryStorageId) + { + StorageMappingInput parameters = new StorageMappingInput(); + parameters.PrimaryServerId = primaryServerId; + parameters.PrimaryStorageId = primaryStorageId; + parameters.RecoveryServerId = recoveryServerId; + parameters.RecoveryStorageId = recoveryStorageId; + + return this.GetSiteRecoveryClient() + .StorageMappings + .Create(parameters, this.GetRequestHeaders()); + } + + /// + /// Delete Azure Site Recovery Storage Mapping. + /// + /// Primary server Id + /// Primary storage Id + /// Recovery server Id + /// Recovery storage Id + /// Job response + public JobResponse RemoveAzureSiteRecoveryStorageMapping( + string primaryServerId, + string primaryStorageId, + string recoveryServerId, + string recoveryStorageId) + { + StorageMappingInput parameters = new StorageMappingInput(); + parameters.PrimaryServerId = primaryServerId; + parameters.PrimaryStorageId = primaryStorageId; + parameters.RecoveryServerId = recoveryServerId; + parameters.RecoveryStorageId = recoveryStorageId; + + return this.GetSiteRecoveryClient() + .StorageMappings + .Delete(parameters, this.GetRequestHeaders()); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesVMClient.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesVMClient.cs index 4fbaea6a422b..08e4fed90959 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesVMClient.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesVMClient.cs @@ -13,7 +13,6 @@ // ---------------------------------------------------------------------------------- using System; -using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Management.SiteRecovery; using Microsoft.WindowsAzure.Management.SiteRecovery.Models; @@ -47,5 +46,24 @@ public VirtualMachineResponse GetAzureSiteRecoveryVirtualMachine( { return this.GetSiteRecoveryClient().Vm.Get(protectionContainerId, virtualMachineId, this.GetRequestHeaders()); } + + /// + /// Updates Virtual Machine properties. + /// + /// Protection Container ID + /// Virtual Machine ID + /// Update VM properties input + /// Job response + public JobResponse UpdateVmProperties( + string protectionContainerId, + string virtualMachineId, + UpdateVmPropertiesInput updateVmPropertiesInput) + { + return this.GetSiteRecoveryClient().Vm.UpdateVmProperties( + protectionContainerId, + virtualMachineId, + updateVmPropertiesInput, + this.GetRequestHeaders()); + } } } \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesVMGroupClient.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesVMGroupClient.cs index f16cb4c1584e..8ca992fc343a 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesVMGroupClient.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesVMGroupClient.cs @@ -13,7 +13,6 @@ // ---------------------------------------------------------------------------------- using System; -using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Management.SiteRecovery; using Microsoft.WindowsAzure.Management.SiteRecovery.Models; diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesVaultClient.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesVaultClient.cs new file mode 100644 index 000000000000..44c18450ac02 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesVaultClient.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.Management.RecoveryServices; +using Microsoft.WindowsAzure.Management.RecoveryServices.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Recovery services convenience client. + /// + public partial class PSRecoveryServicesClient + { + /// + /// Method to create Azure Site Recovery Vault + /// + /// name of the cloud service + /// name of the vault + /// vault creation input object + /// creation response object. + public RecoveryServicesOperationStatusResponse CreateVault(string cloudServiceName, string vaultName, VaultCreateArgs vaultCreateInput) + { + return this.GetRecoveryServicesClient.Vaults.Create(cloudServiceName, vaultName, vaultCreateInput); + } + } +} diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesVaultExtendedInfoClient.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesVaultExtendedInfoClient.cs new file mode 100644 index 000000000000..a0f0652e7cea --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/PSRecoveryServicesClient/PSRecoveryServicesVaultExtendedInfoClient.cs @@ -0,0 +1,221 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Security.Cryptography.X509Certificates; +using System.Threading.Tasks; +using Hyak.Common; +using Microsoft.Azure.Commands.RecoveryServices.Properties; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.Azure.Portal.HybridServicesCore; +using Microsoft.Azure.Portal.RecoveryServices.Models.Common; +using Microsoft.WindowsAzure.Management.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; +using rpError = Microsoft.Azure.Commands.RecoveryServices.RestApiInfra; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Recovery services convenience client. + /// + public partial class PSRecoveryServicesClient + { + /// + /// Gets Vault Extended Information + /// + /// Vault Extended Information Response + public async Task GetExtendedInfo() + { + ResourceExtendedInformationResponse response = await this.GetSiteRecoveryClient().VaultExtendedInfo.GetExtendedInfoAsync(this.GetRequestHeaders(false)); + + return response.ResourceExtendedInformation; + } + + /// + /// Creates the extended information for the vault + /// + /// extended info to be created + /// Vault Extended Information + public AzureOperationResponse CreateExtendedInfo(ResourceExtendedInformationArgs extendedInfoArgs) + { + return this.GetSiteRecoveryClient().VaultExtendedInfo.CreateExtendedInfo(extendedInfoArgs, this.GetRequestHeaders(false)); + } + + /// + /// Updates the vault certificate + /// + /// the certificate update arguments + /// Upload Certificate Response + public async Task UpdateVaultCertificate(CertificateArgs args) + { + return await this.GetSiteRecoveryClient().VaultExtendedInfo.UploadCertificateAsync(args, this.GetRequestHeaders(false)); + } + + /// + /// Gets the vault credential object + /// + /// certificate to be uploaded + /// vault object + /// site object + /// credential object + public ASRVaultCreds GenerateVaultCredential(X509Certificate2 managementCert, ASRVault vault, Site site) + { + string currentResourceName = PSRecoveryServicesClient.asrVaultCreds.ResourceName; + string currentCloudServiceName = PSRecoveryServicesClient.asrVaultCreds.CloudServiceName; + + // Update vault settings with the working vault to generate file + Utilities.UpdateVaultSettings(new ASRVaultCreds() + { + CloudServiceName = vault.CloudServiceName, + ResourceName = vault.Name + }); + + // Get Channel Integrity key + string channelIntegrityKey; + Task getChannelIntegrityKey = this.GetChannelIntegrityKey(); + + // Making sure we can generate the file, once the SDK and portal are inter-operable + // upload certificate and fetch of ACIK can be made parallel to improvve the performace. + getChannelIntegrityKey.Wait(); + + // Upload certificate + UploadCertificateResponse acsDetails; + Task uploadCertificate = this.UpdateVaultCertificate(managementCert); + uploadCertificate.Wait(); + + acsDetails = uploadCertificate.Result; + channelIntegrityKey = getChannelIntegrityKey.Result; + + ASRVaultCreds asrVaultCreds = this.GenerateCredentialObject( + managementCert, + acsDetails, + channelIntegrityKey, + vault, + site); + + // Update back the original vault settings + Utilities.UpdateVaultSettings(new ASRVaultCreds() + { + CloudServiceName = currentCloudServiceName, + ResourceName = currentResourceName + }); + + return asrVaultCreds; + } + + /// + /// Method to update vault certificate + /// + /// certificate object + /// Upload Certificate Response + private async Task UpdateVaultCertificate(X509Certificate2 cert) + { + var certificateArgs = new CertificateArgs() + { + Certificate = Convert.ToBase64String(cert.GetRawCertData()), + ContractVersion = "V2012_12" + }; + + UploadCertificateResponse response = await this.UpdateVaultCertificate(certificateArgs); + + return response; + } + + /// + /// Get the Integrity key + /// + /// key as string. + private async Task GetChannelIntegrityKey() + { + ResourceExtendedInformation extendedInformation = null; + try + { + extendedInformation = await this.GetExtendedInfo(); + } + catch (Exception exception) + { + CloudException cloudException = exception as CloudException; + + if (cloudException != null && cloudException.Response != null && !string.IsNullOrEmpty(cloudException.Response.Content)) + { + rpError.Error error = (rpError.Error)Utilities.Deserialize(cloudException.Response.Content); + if (error.ErrorCode.Equals(RpErrorCode.ResourceExtendedInfoNotFound.ToString(), StringComparison.InvariantCultureIgnoreCase)) + { + extendedInformation = new ResourceExtendedInformation(); + } + } + } + + ResourceExtendedInfo extendedInfo = Utilities.Deserialize(extendedInformation.ExtendedInfo); + + if (extendedInfo == null) + { + extendedInfo = this.CreateVaultExtendedInformation(); + } + else + { + if (!extendedInfo.Algorithm.Equals(CryptoAlgorithm.None.ToString(), StringComparison.InvariantCultureIgnoreCase)) + { + // In case this condition is true that means the credential was first generated in portal + // and hence can not be fetched here. + throw new CloudException(Resources.VaultSettingsGenerationUnSupported); + } + } + + return extendedInfo.ChannelIntegrityKey; + } + + /// + /// Method to create the extended info for the vault. + /// + /// returns the object as task + private ResourceExtendedInfo CreateVaultExtendedInformation() + { + ResourceExtendedInfo extendedInfo = new ResourceExtendedInfo(); + extendedInfo.GenerateSecurityInfo(); + ResourceExtendedInformationArgs extendedInfoArgs = extendedInfo.Translate(); + this.CreateExtendedInfo(extendedInfoArgs); + + return extendedInfo; + } + + /// + /// Method to generate the credential file content + /// + /// management cert + /// ACS details + /// Integrity key + /// vault object + /// site object + /// vault credential object + private ASRVaultCreds GenerateCredentialObject(X509Certificate2 managementCert, UploadCertificateResponse acsDetails, string channelIntegrityKey, ASRVault vault, Site site) + { + string serializedCertifivate = Convert.ToBase64String(managementCert.Export(X509ContentType.Pfx)); + + AcsNamespace acsNamespace = new AcsNamespace(acsDetails); + + ASRVaultCreds vaultCreds = new ASRVaultCreds( + vault.SubscriptionId, + vault.Name, + serializedCertifivate, + acsNamespace, + channelIntegrityKey, + vault.CloudServiceName, + site.ID, + site.Name); + + return vaultCreds; + } + } +} diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Properties/Resources.Designer.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Properties/Resources.Designer.cs index a344efd311f0..82e9046ea72d 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Properties/Resources.Designer.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Properties/Resources.Designer.cs @@ -60,6 +60,24 @@ internal Resources() { } } + /// + /// Looks up a localized string similar to Please provide required VM properties to update. + /// + internal static string ArgumentsMissingForUpdateVmProperties { + get { + return ResourceManager.GetString("ArgumentsMissingForUpdateVmProperties", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to AzureVMNetwork {0} is not associated with the Subscription {1}. + /// + internal static string AzureVMNetworkIsNotAssociatedWithTheSubscription { + get { + return ResourceManager.GetString("AzureVMNetworkIsNotAssociatedWithTheSubscription", resourceCulture); + } + } + /// /// Looks up a localized string similar to Operation Failed. ///Message: {0} @@ -100,6 +118,33 @@ internal static string DisableProtectionWhatIfMessage { } } + /// + /// Looks up a localized string similar to Calls using ID based parameter {0} will not be supported from next release. Please use its corresponding full object parameter instead.. + /// + internal static string IDBasedParamUsageNotSupportedFromNextRelease { + get { + return ResourceManager.GetString("IDBasedParamUsageNotSupportedFromNextRelease", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Replication Provider {0} entered invalid for the current set of parameters.. + /// + internal static string IncorrectReplicationProvider { + get { + return ResourceManager.GetString("IncorrectReplicationProvider", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Vault information (Name: {0}, Location: {1}) is not correct. + /// + internal static string InCorrectVaultInformation { + get { + return ResourceManager.GetString("InCorrectVaultInformation", resourceCulture); + } + } + /// /// Looks up a localized string similar to Operation failed. ///{0}. @@ -119,6 +164,15 @@ internal static string InvalidCloudService { } } + /// + /// Looks up a localized string similar to Replication Frequency {0} is invalid. + /// + internal static string InvalidReplicationFrequency { + get { + return ResourceManager.GetString("InvalidReplicationFrequency", resourceCulture); + } + } + /// /// Looks up a localized string similar to Resource is not associted with the selected Cloud Service. /// @@ -137,6 +191,15 @@ internal static string InvalidXml { } } + /// + /// Looks up a localized string similar to {0} will be a mandatory paramter from next release.. + /// + internal static string MandatoryParamFromNextRelease { + get { + return ResourceManager.GetString("MandatoryParamFromNextRelease", resourceCulture); + } + } + /// /// Looks up a localized string similar to Vault Key value is missing. Please import Vault Settings and verify the same. /// @@ -155,6 +218,24 @@ internal static string MissingVaultSettings { } } + /// + /// Looks up a localized string similar to Please provide both Source Nic and Recovery Target to update. + /// + internal static string NetworkArgumentsMissingForUpdateVmProperties { + get { + return ResourceManager.GetString("NetworkArgumentsMissingForUpdateVmProperties", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Creates a new in-memory protection profile association object.. + /// + internal static string NewProtectionProfileObjectWhatIfMessage { + get { + return ResourceManager.GetString("NewProtectionProfileObjectWhatIfMessage", resourceCulture); + } + } + /// /// Looks up a localized string similar to RecoveryServices client is null, please check Resource, Cloud Service information in Vault Settings. /// @@ -173,6 +254,24 @@ internal static string ProtectionContainerNotFound { } } + /// + /// Looks up a localized string similar to Protection entity {0} is already disabled. + /// + internal static string ProtectionEntityAlreadyDisabled { + get { + return ResourceManager.GetString("ProtectionEntityAlreadyDisabled", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Protection entity {0} is already enabled. + /// + internal static string ProtectionEntityAlreadyEnabled { + get { + return ResourceManager.GetString("ProtectionEntityAlreadyEnabled", resourceCulture); + } + } + /// /// Looks up a localized string similar to Protection Entity {0} is not associated with Protection Container {1}. /// @@ -218,6 +317,15 @@ internal static string RemoveRPWhatIfMessage { } } + /// + /// Looks up a localized string similar to Replication Start Time span value cannot be greater then 24 hours.. + /// + internal static string ReplicationStartTimeInvalid { + get { + return ResourceManager.GetString("ReplicationStartTimeInvalid", resourceCulture); + } + } + /// /// Looks up a localized string similar to Resource name mentioned is either null or empty. /// @@ -236,6 +344,80 @@ internal static string ServerNotFound { } } + /// + /// Looks up a localized string similar to Please enter the storage account name details in the protection profile.. + /// + internal static string StorageAccountNameIsNotValid { + get { + return ResourceManager.GetString("StorageAccountNameIsNotValid", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The Subscription or Storage account couldn’t be validated. For failovers to be successful, the Subscription should belong to your account, the Storage account to the Subscription and Storage account location must be the same as location of your Vault.. + /// + internal static string StorageAccountValidationUnsuccessful { + get { + return ResourceManager.GetString("StorageAccountValidationUnsuccessful", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Storage account given is in a different location as compared to the current vault. + ///Please provide a storage account with the same location as that of the vault.. + /// + internal static string StorageIsNotInTheSameLocationAsVault { + get { + return ResourceManager.GetString("StorageIsNotInTheSameLocationAsVault", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Please enter the subscription ID details.. + /// + internal static string SubscriptionIdIsNotValid { + get { + return ResourceManager.GetString("SubscriptionIdIsNotValid", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Subscription {0} is not associated with the account. + /// + internal static string SubscriptionIsNotAssociatedWithTheAccount { + get { + return ResourceManager.GetString("SubscriptionIsNotAssociatedWithTheAccount", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Could not validate the storage account and subscription given. + ///Are you sure you want to continue {0}?. + /// + internal static string ValidationUnsuccessfulWarning { + get { + return ResourceManager.GetString("ValidationUnsuccessfulWarning", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Vault has been created. + /// + internal static string VaultCreationSuccessMessage { + get { + return ResourceManager.GetString("VaultCreationSuccessMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Vault {0} is not associated with the given subscription.. + /// + internal static string VaultNotFound { + get { + return ResourceManager.GetString("VaultNotFound", resourceCulture); + } + } + /// /// Looks up a localized string similar to Vault settings file not found, please pass the file downloaded from portal. /// @@ -245,6 +427,15 @@ internal static string VaultSettingFileNotFound { } } + /// + /// Looks up a localized string similar to Cannot generate vault settings file for this vault. Download it from the Azure Portal.. + /// + internal static string VaultSettingsGenerationUnSupported { + get { + return ResourceManager.GetString("VaultSettingsGenerationUnSupported", resourceCulture); + } + } + /// /// Looks up a localized string similar to Virtual Machine Group {0} is not associated with Protection Container {1}. /// diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Properties/Resources.resx b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Properties/Resources.resx index 82650fa7af7f..3d362f7f9f51 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Properties/Resources.resx +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Properties/Resources.resx @@ -191,4 +191,69 @@ ClientRequestId: {3} Removing Recovery Plan + + Subscription {0} is not associated with the account + + + Protection entity {0} is already disabled + + + Protection entity {0} is already enabled + + + AzureVMNetwork {0} is not associated with the Subscription {1} + + + Cannot generate vault settings file for this vault. Download it from the Azure Portal. + + + Vault has been created + + + Replication Start Time span value cannot be greater then 24 hours. + + + Please enter the storage account name details in the protection profile. + + + Please enter the subscription ID details. + + + Replication Provider {0} entered invalid for the current set of parameters. + + + Please provide required VM properties to update + + + Please provide both Source Nic and Recovery Target to update + + + {0} will be a mandatory paramter from next release. + + + Calls using ID based parameter {0} will not be supported from next release. Please use its corresponding full object parameter instead. + + + Replication Frequency {0} is invalid + + + Vault {0} is not associated with the given subscription. + + + Vault information (Name: {0}, Location: {1}) is not correct + + + Creates a new in-memory protection profile association object. + + + Could not validate the storage account and subscription given. +Are you sure you want to continue {0}? + + + Storage account given is in a different location as compared to the current vault. +Please provide a storage account with the same location as that of the vault. + + + The Subscription or Storage account couldn’t be validated. For failovers to be successful, the Subscription should belong to your account, the Storage account to the Subscription and Storage account location must be the same as location of your Vault. + \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/RecoveryServicesCmdletBase.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/RecoveryServicesCmdletBase.cs index 9f1707436869..6ebc13974120 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/RecoveryServicesCmdletBase.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/RecoveryServicesCmdletBase.cs @@ -17,10 +17,13 @@ using System.Runtime.Serialization; using System.Threading; using System.Xml; -using Microsoft.WindowsAzure; +using Hyak.Common; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.WindowsAzure.Management.RecoveryServices; +using Microsoft.WindowsAzure.Management.RecoveryServices.Models; +using Microsoft.WindowsAzure.Management.SiteRecovery; using Microsoft.WindowsAzure.Management.SiteRecovery.Models; -using Hyak.Common; namespace Microsoft.Azure.Commands.RecoveryServices { @@ -48,7 +51,7 @@ internal PSRecoveryServicesClient RecoveryServicesClient { if (this.recoveryServicesClient == null) { - this.recoveryServicesClient = new PSRecoveryServicesClient(CurrentContext.Subscription); + this.recoveryServicesClient = new PSRecoveryServicesClient(Profile, Profile.Context.Subscription); } return this.recoveryServicesClient; @@ -75,13 +78,13 @@ public void HandleException(Exception ex) { using (Stream stream = new MemoryStream()) { - if (cloudException.Error.Message != null) + if (cloudException.Message != null) { - byte[] data = System.Text.Encoding.UTF8.GetBytes(cloudException.Error.Message); + byte[] data = System.Text.Encoding.UTF8.GetBytes(cloudException.Message); stream.Write(data, 0, data.Length); stream.Position = 0; - var deserializer = new DataContractSerializer(typeof(Error)); + var deserializer = new DataContractSerializer(typeof(ErrorInException)); error = (Error)deserializer.ReadObject(stream); throw new InvalidOperationException( @@ -107,7 +110,7 @@ public void HandleException(Exception ex) throw new XmlException( string.Format( Properties.Resources.InvalidCloudExceptionErrorMessage, - cloudException.Error.Message), + cloudException.Message), cloudException); } catch (SerializationException) @@ -115,7 +118,7 @@ public void HandleException(Exception ex) throw new SerializationException( string.Format( Properties.Resources.InvalidCloudExceptionErrorMessage, - clientRequestIdMsg + cloudException.Error.Message), + clientRequestIdMsg + cloudException.Message), cloudException); } } @@ -162,5 +165,50 @@ protected override void StopProcessing() base.StopProcessing(); this.StopProcessingFlag = true; } + + /// + /// Validates if the usage by ID is allowed or not. + /// + /// Replication provider. + /// Parameter name. + protected void ValidateUsageById(string replicationProvider, string paramName) + { + if (replicationProvider != Constants.HyperVReplica) + { + throw new Exception( + string.Format( + "Call using ID based parameter {0} is not supported for this provider. Please use its corresponding full object parameter instead", + paramName)); + } + else + { + this.WriteWarningWithTimestamp( + string.Format( + Properties.Resources.IDBasedParamUsageNotSupportedFromNextRelease, + paramName)); + } + } + + /// + /// Gets the current vault location. + /// + /// The current vault location. + protected string GetCurrentValutLocation() + { + string location = string.Empty; + + CloudServiceListResponse response = + this.RecoveryServicesClient.GetRecoveryServicesClient.CloudServices.List(); + foreach (var cloudService in response.CloudServices) + { + if (cloudService.Name == PSRecoveryServicesClient.asrVaultCreds.CloudServiceName) + { + location = cloudService.GeoRegion; + break; + } + } + + return location; + } } } \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/CreateAzureSiteRecoveryProtectionProfileObject.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/CreateAzureSiteRecoveryProtectionProfileObject.cs new file mode 100644 index 000000000000..f8e28474a5a9 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/CreateAzureSiteRecoveryProtectionProfileObject.cs @@ -0,0 +1,315 @@ +// ---------------------------------------------------------------------------------- +// +// 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.ComponentModel; +using System.Management.Automation; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.Azure.Portal.RecoveryServices.Models.Common; +using Microsoft.WindowsAzure.Commands.Common.Properties; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; +using Microsoft.WindowsAzure.Management.Storage.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Creates Azure Site Recovery Protection Profile object in memory. + /// + [Cmdlet(VerbsCommon.New, "AzureSiteRecoveryProtectionProfileObject", DefaultParameterSetName = ASRParameterSets.EnterpriseToAzure)] + [OutputType(typeof(ASRProtectionProfile))] + public class CreateAzureSiteRecoveryProtectionProfileObject : RecoveryServicesCmdletBase + { + /// + /// Holds Name (if passed) of the protection profile object. + /// + private string targetName = string.Empty; + + #region Parameters + + /// + /// Gets or sets Name of the Protection Profile. + /// + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToEnterprise)] + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToAzure)] + public string Name { get; set; } + + /// + /// Gets or sets Replication Provider of the Protection Profile. + /// + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToEnterprise, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToAzure, Mandatory = true)] + [ValidateNotNullOrEmpty] + [ValidateSet( + Constants.HyperVReplica, + Constants.HyperVReplicaAzure)] + public string ReplicationProvider { get; set; } + + /// + /// Gets or sets a value for Replication Method of the Protection Profile. + /// + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToEnterprise)] + [ValidateNotNullOrEmpty] + [ValidateSet( + Constants.OnlineReplicationMethod, + Constants.OfflineReplicationMethod)] + public string ReplicationMethod { get; set; } + + /// + /// Gets or sets a value Recovery Azure Subscription of the Protection Profile for E2A scenarios. + /// + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToAzure, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string RecoveryAzureSubscription { get; set; } + + /// + /// Gets or sets Recovery Azure Storage Account Name of the Protection Profile for E2A scenarios. + /// + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToAzure, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string RecoveryAzureStorageAccount { get; set; } + + /// + /// Gets or sets Replication Frequency of the Protection Profile in seconds. + /// + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToEnterprise, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToAzure, Mandatory = true)] + [ValidateNotNullOrEmpty] + [ValidateSet( + Constants.Thirty, + Constants.ThreeHundred, + Constants.NineHundred)] + public string ReplicationFrequencyInSeconds { get; set; } + + /// + /// Gets or sets Recovery Points of the Protection Profile. + /// + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToEnterprise)] + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToAzure)] + [ValidateNotNullOrEmpty] + [DefaultValue(0)] + public int RecoveryPoints { get; set; } + + /// + /// Gets or sets Application Consistent Snapshot Frequency of the Protection Profile in hours. + /// + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToEnterprise)] + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToAzure)] + [ValidateNotNullOrEmpty] + [DefaultValue(0)] + public int ApplicationConsistentSnapshotFrequencyInHours { get; set; } + + /// + /// Gets or sets a value indicating whether Compression needs to be Enabled on the Protection Profile. + /// + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToEnterprise)] + [DefaultValue(false)] + public SwitchParameter CompressionEnabled { get; set; } + + /// + /// Gets or sets the Replication Port of the Protection Profile. + /// + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToEnterprise, Mandatory = true)] + [ValidateNotNullOrEmpty] + public ushort ReplicationPort { get; set; } + + /// + /// Gets or sets the Replication Port of the Protection Profile. + /// + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToEnterprise)] + [ValidateNotNullOrEmpty] + [ValidateSet( + Constants.AuthenticationTypeCertificate, + Constants.AuthenticationTypeKerberos)] + public string Authentication { get; set; } + + /// + /// Gets or sets Replication Start time of the Protection Profile. + /// + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToEnterprise)] + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToAzure)] + [ValidateNotNullOrEmpty] + public TimeSpan? ReplicationStartTime { get; set; } + + /// + /// Gets or sets a value indicating whether Replica should be Deleted on + /// disabling protection of a protection entity protected by the Protection Profile. + /// + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToEnterprise)] + [DefaultValue(false)] + public SwitchParameter AllowReplicaDeletion { get; set; } + + /// + /// Gets or sets switch parameter. On passing, command does not ask for confirmation. + /// + [Parameter(Mandatory = false)] + public SwitchParameter Force { get; set; } + + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + switch (this.ParameterSetName) + { + case ASRParameterSets.EnterpriseToEnterprise: + this.EnterpriseToEnterpriseProtectionProfileObject(); + break; + case ASRParameterSets.EnterpriseToAzure: + this.EnterpriseToAzureProtectionProfileObject(); + break; + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Handles interrupts. + /// + protected override void StopProcessing() + { + // Ctrl + C and etc + base.StopProcessing(); + this.StopProcessingFlag = true; + } + + /// + /// Creates an E2A Protection Profile Object + /// + private void EnterpriseToAzureProtectionProfileObject() + { + if (string.Compare( + this.ReplicationProvider, + Constants.HyperVReplicaAzure, + StringComparison.OrdinalIgnoreCase) != 0) + { + throw new InvalidOperationException( + string.Format( + Properties.Resources.IncorrectReplicationProvider, + this.ReplicationProvider)); + } + + // Verify whether the storage account is associated with the subscription or not. + bool validationSuccessful; + bool locationValid; + RecoveryServicesClient.ValidateStorageAccountAssociation( + this.RecoveryAzureSubscription, + this.RecoveryAzureStorageAccount, + this.GetCurrentValutLocation(), + out validationSuccessful, + out locationValid); + + if (!validationSuccessful) + { + this.WriteWarning(string.Format(Properties.Resources.StorageAccountValidationUnsuccessful)); + } + + if (validationSuccessful && !locationValid) + { + this.WriteWarning(string.Format(Properties.Resources.StorageIsNotInTheSameLocationAsVault)); + } + + if (!validationSuccessful || !locationValid) + { + this.ConfirmAction( + this.Force.IsPresent, + string.Format(Properties.Resources.ValidationUnsuccessfulWarning, this.targetName), + string.Format(Properties.Resources.NewProtectionProfileObjectWhatIfMessage), + this.targetName, + new Action(this.ProceedToCreateProtectionProfileObject)); + } + else + { + this.ProceedToCreateProtectionProfileObject(); + } + } + + /// + /// Proceeds to Create an E2A Protection Profile Object after all the validations are done. + /// + private void ProceedToCreateProtectionProfileObject() + { + PSRecoveryServicesClient.ValidateReplicationStartTime(this.ReplicationStartTime); + + ushort replicationFrequencyInSeconds = + PSRecoveryServicesClient.ConvertReplicationFrequencyToUshort( + this.ReplicationFrequencyInSeconds); + + ASRProtectionProfile protectionProfile = new ASRProtectionProfile() + { + Name = this.Name, + ReplicationProvider = this.ReplicationProvider, + HyperVReplicaAzureProviderSettingsObject = new HyperVReplicaAzureProviderSettings() + { + RecoveryAzureSubscription = this.RecoveryAzureSubscription, + RecoveryAzureStorageAccountName = this.RecoveryAzureStorageAccount, + //// Currently Data Encryption is not supported. + EncryptStoredData = false, + ReplicationFrequencyInSeconds = replicationFrequencyInSeconds, + RecoveryPoints = this.RecoveryPoints, + ApplicationConsistentSnapshotFrequencyInHours = this.ApplicationConsistentSnapshotFrequencyInHours, + ReplicationStartTime = this.ReplicationStartTime, + }, + HyperVReplicaProviderSettingsObject = null + }; + + this.WriteObject(protectionProfile); + } + + /// + /// Creates an E2E Protection Profile object + /// + private void EnterpriseToEnterpriseProtectionProfileObject() + { + if (string.Compare(this.ReplicationProvider, Constants.HyperVReplica, StringComparison.OrdinalIgnoreCase) != 0) + { + throw new InvalidOperationException( + string.Format( + Properties.Resources.IncorrectReplicationProvider, + this.ReplicationProvider)); + } + + PSRecoveryServicesClient.ValidateReplicationStartTime(this.ReplicationStartTime); + + ushort replicationFrequencyInSeconds = PSRecoveryServicesClient.ConvertReplicationFrequencyToUshort(this.ReplicationFrequencyInSeconds); + + ASRProtectionProfile protectionProfile = new ASRProtectionProfile() + { + Name = this.Name, + ReplicationProvider = this.ReplicationProvider, + HyperVReplicaAzureProviderSettingsObject = null, + HyperVReplicaProviderSettingsObject = new HyperVReplicaProviderSettings() + { + ReplicationMethod = this.ReplicationMethod, + ReplicationFrequencyInSeconds = replicationFrequencyInSeconds, + RecoveryPoints = this.RecoveryPoints, + ApplicationConsistentSnapshotFrequencyInHours = this.ApplicationConsistentSnapshotFrequencyInHours, + CompressionEnabled = this.CompressionEnabled, + ReplicationPort = this.ReplicationPort, + Authentication = this.Authentication, + ReplicationStartTime = this.ReplicationStartTime, + AllowReplicaDeletion = this.AllowReplicaDeletion + } + }; + + this.WriteObject(protectionProfile); + } + } +} diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/CreateAzureSiteRecoveryRecoveryPlan.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/CreateAzureSiteRecoveryRecoveryPlan.cs index 78d95a792f0f..5f57b571ee33 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/CreateAzureSiteRecoveryRecoveryPlan.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/CreateAzureSiteRecoveryRecoveryPlan.cs @@ -17,10 +17,9 @@ using System.Management.Automation; using System.Threading; using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; -using Microsoft.WindowsAzure; -using Microsoft.WindowsAzure.Management.SiteRecovery.Models; +using Microsoft.Azure.Common.Authentication; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; namespace Microsoft.Azure.Commands.RecoveryServices { @@ -42,7 +41,7 @@ public class CreateAzureSiteRecoveryRecoveryPlan : RecoveryServicesCmdletBase /// [Parameter(Mandatory = true)] [ValidateNotNullOrEmpty] - public string File {get; set;} + public string File { get; set; } /// /// Gets or sets switch parameter. This is required to wait for job completion. diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryJob.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryJob.cs index d562714aae4c..533ed18095c5 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryJob.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryJob.cs @@ -17,7 +17,6 @@ using System.Linq; using System.Management.Automation; using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; -using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Management.SiteRecovery.Models; namespace Microsoft.Azure.Commands.RecoveryServices @@ -35,7 +34,7 @@ public class GetAzureSiteRecoveryJob : RecoveryServicesCmdletBase /// [Parameter(ParameterSetName = ASRParameterSets.ById, Mandatory = true)] [ValidateNotNullOrEmpty] - public string Id {get; set;} + public string Id { get; set; } /// /// Gets or sets Job Object. @@ -52,6 +51,20 @@ public class GetAzureSiteRecoveryJob : RecoveryServicesCmdletBase [ValidateNotNullOrEmpty] public DateTime? StartTime { get; set; } + /// + /// Gets or sets end time. Allows to filter the list of jobs ended before it. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByParam, HelpMessage = "Represents end time of jobs to query.")] + [ValidateNotNullOrEmpty] + public DateTime? EndTime { get; set; } + + /// + /// Gets or sets target object id. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByParam, HelpMessage = "ID of the object on which Job was targeted to.")] + [ValidateNotNullOrEmpty] + public string TargetObjectId { get; set; } + /// /// Gets or sets state. Take string input for possible States of ASR Job. Use this parameter /// to get filtered view of Jobs @@ -67,7 +80,7 @@ public class GetAzureSiteRecoveryJob : RecoveryServicesCmdletBase "Failed", "Cancelled", "Suspended")] - public string State {get; set;} + public string State { get; set; } #endregion Parameters /// @@ -121,7 +134,15 @@ private void GetByParam() this.StartTime.Value.ToUniversalTime().ToBinary().ToString(); } + if (this.EndTime.HasValue) + { + jqp.EndTime = + this.EndTime.Value.ToUniversalTime().ToBinary().ToString(); + } + jqp.State = this.State; + jqp.ObjectId = this.TargetObjectId; + this.WriteJobs(RecoveryServicesClient.GetAzureSiteRecoveryJob(jqp).Jobs); } diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryNetwork.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryNetwork.cs new file mode 100644 index 000000000000..b494e1cff6ff --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryNetwork.cs @@ -0,0 +1,67 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Retrieves Azure Site Recovery Network. + /// + [Cmdlet(VerbsCommon.Get, "AzureSiteRecoveryNetwork")] + [OutputType(typeof(IEnumerable))] + public class GetAzureSiteRecoveryNetwork : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Gets or sets Server object. + /// + [Parameter(Mandatory = true, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public ASRServer Server { get; set; } + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + NetworkListResponse networkListResponse = + RecoveryServicesClient.GetAzureSiteRecoveryNetworks(this.Server.ID); + + this.WriteNetworks(networkListResponse.Networks); + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Write Networks. + /// + /// List of Networks + private void WriteNetworks(IList networks) + { + this.WriteObject(networks.Select(n => new ASRNetwork(n)), true); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryNetworkMapping.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryNetworkMapping.cs new file mode 100644 index 000000000000..a71fd758a74c --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryNetworkMapping.cs @@ -0,0 +1,95 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Retrieves Azure Site Recovery Network mappings. + /// + [Cmdlet(VerbsCommon.Get, "AzureSiteRecoveryNetworkMapping")] + [OutputType(typeof(IEnumerable))] + public class GetAzureSiteRecoveryNetworkMapping : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Gets or sets Primary Server object. + /// + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToEnterprise, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToAzure, Mandatory = true)] + [ValidateNotNullOrEmpty] + public ASRServer PrimaryServer { get; set; } + + /// + /// Gets or sets Recovery Server object. + /// + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToEnterprise, Mandatory = true)] + [ValidateNotNullOrEmpty] + public ASRServer RecoveryServer { get; set; } + + /// + /// Gets or sets switch parameter. On passing, command sets target as Azure. + /// + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToAzure, Mandatory = true)] + public SwitchParameter Azure { get; set; } + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + string primaryServerId = this.PrimaryServer.ID; + string recoveryServerId = string.Empty; + + switch (this.ParameterSetName) + { + case ASRParameterSets.EnterpriseToEnterprise: + recoveryServerId = this.RecoveryServer.ID; + break; + case ASRParameterSets.EnterpriseToAzure: + recoveryServerId = Constants.AzureFabricId; + break; + } + + NetworkMappingListResponse networkMappingListResponse = + RecoveryServicesClient + .GetAzureSiteRecoveryNetworkMappings(primaryServerId, recoveryServerId); + + this.WriteNetworkMappings(networkMappingListResponse.NetworkMappings); + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Write Network mappings. + /// + /// List of Network mappings + private void WriteNetworkMappings(IList networkMappings) + { + this.WriteObject(networkMappings.Select(nm => new ASRNetworkMapping(nm)), true); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryProtectionContainer.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryProtectionContainer.cs index 4e4988c52081..b48ccade8443 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryProtectionContainer.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryProtectionContainer.cs @@ -17,7 +17,6 @@ using System.Linq; using System.Management.Automation; using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; -using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Management.SiteRecovery.Models; namespace Microsoft.Azure.Commands.RecoveryServices @@ -35,14 +34,14 @@ public class GetAzureSiteRecoveryProtectionContainer : RecoveryServicesCmdletBas /// [Parameter(ParameterSetName = ASRParameterSets.ById, Mandatory = true)] [ValidateNotNullOrEmpty] - public string Id {get; set;} + public string Id { get; set; } /// /// Gets or sets name of the Protection Container. /// [Parameter(ParameterSetName = ASRParameterSets.ByName, Mandatory = true)] [ValidateNotNullOrEmpty] - public string Name {get; set;} + public string Name { get; set; } #endregion Parameters /// diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryProtectionEntity.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryProtectionEntity.cs index 6841b405f626..7b8b80f7e2e8 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryProtectionEntity.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryProtectionEntity.cs @@ -17,7 +17,6 @@ using System.Linq; using System.Management.Automation; using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; -using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Management.SiteRecovery.Models; namespace Microsoft.Azure.Commands.RecoveryServices @@ -36,7 +35,7 @@ public class GetAzureSiteRecoveryProtectionEntity : RecoveryServicesCmdletBase [Parameter(ParameterSetName = ASRParameterSets.ByObjectWithId, Mandatory = true)] [Parameter(ParameterSetName = ASRParameterSets.ByIDsWithId, Mandatory = true)] [ValidateNotNullOrEmpty] - public string Id {get; set;} + public string Id { get; set; } /// /// Gets or sets name of the Virtual Machine. @@ -44,7 +43,7 @@ public class GetAzureSiteRecoveryProtectionEntity : RecoveryServicesCmdletBase [Parameter(ParameterSetName = ASRParameterSets.ByObjectWithName, Mandatory = true)] [Parameter(ParameterSetName = ASRParameterSets.ByIDsWithName, Mandatory = true)] [ValidateNotNullOrEmpty] - public string Name {get; set;} + public string Name { get; set; } /// /// Gets or sets ID of the ProtectionContainer containing the Virtual Machine. @@ -53,7 +52,7 @@ public class GetAzureSiteRecoveryProtectionEntity : RecoveryServicesCmdletBase [Parameter(ParameterSetName = ASRParameterSets.ByIDsWithId, Mandatory = true)] [Parameter(ParameterSetName = ASRParameterSets.ByIDsWithName, Mandatory = true)] [ValidateNotNullOrEmpty] - public string ProtectionContainerId {get; set;} + public string ProtectionContainerId { get; set; } /// /// Gets or sets Server Object. @@ -62,7 +61,7 @@ public class GetAzureSiteRecoveryProtectionEntity : RecoveryServicesCmdletBase [Parameter(ParameterSetName = ASRParameterSets.ByObjectWithId, Mandatory = true)] [Parameter(ParameterSetName = ASRParameterSets.ByObjectWithName, Mandatory = true)] [ValidateNotNullOrEmpty] - public ASRProtectionContainer ProtectionContainer {get; set;} + public ASRProtectionContainer ProtectionContainer { get; set; } #endregion Parameters /// diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryRecoveryPlan.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryRecoveryPlan.cs index a4057970e8fa..805b6a24a2c2 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryRecoveryPlan.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryRecoveryPlan.cs @@ -14,10 +14,9 @@ using System; using System.Collections.Generic; -using System.Management.Automation; using System.Linq; +using System.Management.Automation; using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; -using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Management.SiteRecovery.Models; namespace Microsoft.Azure.Commands.RecoveryServices @@ -42,7 +41,7 @@ public class GetAzureSiteRecoveryRecoveryPlan : RecoveryServicesCmdletBase /// [Parameter(ParameterSetName = ASRParameterSets.ByName, Mandatory = true)] [ValidateNotNullOrEmpty] - public string Name {get; set;} + public string Name { get; set; } #endregion Parameters /// diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryRecoveryPlanFile.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryRecoveryPlanFile.cs index 2050c35aa32e..2e854cc91e8e 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryRecoveryPlanFile.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryRecoveryPlanFile.cs @@ -16,7 +16,6 @@ using System.Collections.Generic; using System.Management.Automation; using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; -using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Management.SiteRecovery.Models; namespace Microsoft.Azure.Commands.RecoveryServices @@ -33,21 +32,21 @@ public class GetAzureSiteRecoveryRecoveryPlanFile : RecoveryServicesCmdletBase /// [Parameter(Mandatory = true)] [ValidateNotNullOrEmpty] - public string Path {get; set;} + public string Path { get; set; } /// /// Gets or sets ID of the Recovery Plan. /// [Parameter(ParameterSetName = ASRParameterSets.ById, Mandatory = true)] [ValidateNotNullOrEmpty] - public string Id {get; set;} + public string Id { get; set; } /// /// Gets or sets Recovery Plan object. /// [Parameter(ParameterSetName = ASRParameterSets.ByRPObject, Mandatory = true, ValueFromPipeline = true)] [ValidateNotNullOrEmpty] - public ASRRecoveryPlan RecoveryPlan {get; set;} + public ASRRecoveryPlan RecoveryPlan { get; set; } #endregion Parameters /// diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryServer.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryServer.cs index 31a8d2dd515e..4adcade3cc15 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryServer.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryServer.cs @@ -17,7 +17,6 @@ using System.Linq; using System.Management.Automation; using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; -using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Management.SiteRecovery.Models; namespace Microsoft.Azure.Commands.RecoveryServices @@ -35,14 +34,14 @@ public class GetAzureSiteRecoveryServer : RecoveryServicesCmdletBase /// [Parameter(ParameterSetName = ASRParameterSets.ById, Mandatory = true)] [ValidateNotNullOrEmpty] - public string Id {get; set;} + public string Id { get; set; } /// /// Gets or sets name of the Server. /// [Parameter(ParameterSetName = ASRParameterSets.ByName, Mandatory = true)] [ValidateNotNullOrEmpty] - public string Name {get; set;} + public string Name { get; set; } #endregion Parameters /// diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoverySite.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoverySite.cs new file mode 100644 index 000000000000..1c48a6185d8f --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoverySite.cs @@ -0,0 +1,68 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Retrieves Azure Site Recovery Site. + /// + [Cmdlet(VerbsCommon.Get, "AzureSiteRecoverySite")] + [OutputType(typeof(List))] + public class GetAzureSiteRecoverySite : RecoveryServicesCmdletBase + { + #region Parameters + + /// + /// Gets or sets the vault name + /// + [Parameter(ParameterSetName = ASRParameterSets.ByObject, Mandatory = false, HelpMessage = "Vault Object for which the site list is to be fetched")] + [ValidateNotNullOrEmpty] + public ASRVault Vault { get; set; } + + #endregion + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + SiteListResponse response = RecoveryServicesClient.GetAzureSiteRecoverySites(this.Vault); + + this.WriteSites(response.Sites); + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Writes ASRSites + /// + /// List of Hydra Sites + private void WriteSites(IList siteList) + { + this.WriteObject(siteList.Select(s => new ASRSite(s)), true); + } + } +} diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryStorage.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryStorage.cs new file mode 100644 index 000000000000..4493276f94f2 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryStorage.cs @@ -0,0 +1,67 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Retrieves Azure Site Recovery Storage. + /// + [Cmdlet(VerbsCommon.Get, "AzureSiteRecoveryStorage")] + [OutputType(typeof(IEnumerable))] + public class GetAzureSiteRecoveryStorage : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Gets or sets Server object. + /// + [Parameter(Mandatory = true, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public ASRServer Server { get; set; } + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + StorageListResponse storageListResponse = + RecoveryServicesClient.GetAzureSiteRecoveryStorages(this.Server.ID); + + this.WriteStorages(storageListResponse.Storages); + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Write Storages. + /// + /// List of Storages + private void WriteStorages(IList storages) + { + this.WriteObject(storages.Select(s => new ASRStorage(s)), true); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryStorageMapping.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryStorageMapping.cs new file mode 100644 index 000000000000..3cdb76c85c0f --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryStorageMapping.cs @@ -0,0 +1,76 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Retrieves Azure Site Recovery Storage mappings. + /// + [Cmdlet(VerbsCommon.Get, "AzureSiteRecoveryStorageMapping")] + [OutputType(typeof(IEnumerable))] + public class GetAzureSiteRecoveryStorageMapping : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Gets or sets Primary Server object. + /// + [Parameter(Mandatory = true)] + [ValidateNotNullOrEmpty] + public ASRServer PrimaryServer { get; set; } + + /// + /// Gets or sets Recovery Server object. + /// + [Parameter(Mandatory = true)] + [ValidateNotNullOrEmpty] + public ASRServer RecoveryServer { get; set; } + + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + StorageMappingListResponse storageMappingListResponse = + RecoveryServicesClient + .GetAzureSiteRecoveryStorageMappings(this.PrimaryServer.ID, this.RecoveryServer.ID); + + this.WriteStorageMappings(storageMappingListResponse.StorageMappings); + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Write Storage mappings. + /// + /// List of Storage mappings + private void WriteStorageMappings(IList storageMappings) + { + this.WriteObject(storageMappings.Select(sm => new ASRStorageMapping(sm)), true); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryVM.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryVM.cs index 63f112cae110..8092bbfa2c84 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryVM.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryVM.cs @@ -17,7 +17,6 @@ using System.Linq; using System.Management.Automation; using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; -using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Management.SiteRecovery.Models; namespace Microsoft.Azure.Commands.RecoveryServices @@ -36,7 +35,7 @@ public class GetAzureSiteRecoveryVM : RecoveryServicesCmdletBase [Parameter(ParameterSetName = ASRParameterSets.ByObjectWithId, Mandatory = true)] [Parameter(ParameterSetName = ASRParameterSets.ByIDsWithId, Mandatory = true)] [ValidateNotNullOrEmpty] - public string Id {get; set;} + public string Id { get; set; } /// /// Gets or sets name of the Virtual Machine. @@ -44,7 +43,7 @@ public class GetAzureSiteRecoveryVM : RecoveryServicesCmdletBase [Parameter(ParameterSetName = ASRParameterSets.ByObjectWithName, Mandatory = true)] [Parameter(ParameterSetName = ASRParameterSets.ByIDsWithName, Mandatory = true)] [ValidateNotNullOrEmpty] - public string Name {get; set;} + public string Name { get; set; } /// /// Gets or sets ID of the ProtectionContainer containing the Virtual Machine. @@ -53,7 +52,7 @@ public class GetAzureSiteRecoveryVM : RecoveryServicesCmdletBase [Parameter(ParameterSetName = ASRParameterSets.ByIDsWithId, Mandatory = true)] [Parameter(ParameterSetName = ASRParameterSets.ByIDsWithName, Mandatory = true)] [ValidateNotNullOrEmpty] - public string ProtectionContainerId {get; set;} + public string ProtectionContainerId { get; set; } /// /// Gets or sets Protection Container Object. @@ -62,7 +61,7 @@ public class GetAzureSiteRecoveryVM : RecoveryServicesCmdletBase [Parameter(ParameterSetName = ASRParameterSets.ByObjectWithId, Mandatory = true)] [Parameter(ParameterSetName = ASRParameterSets.ByObjectWithName, Mandatory = true)] [ValidateNotNullOrEmpty] - public ASRProtectionContainer ProtectionContainer {get; set;} + public ASRProtectionContainer ProtectionContainer { get; set; } #endregion Parameters /// diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryVault.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryVault.cs new file mode 100644 index 000000000000..c0175eb549e3 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryVault.cs @@ -0,0 +1,130 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure.Management.RecoveryServices.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Retrieves Azure Site Recovery Vault. + /// + [Cmdlet(VerbsCommon.Get, "AzureSiteRecoveryVault", DefaultParameterSetName = ASRParameterSets.Default)] + [OutputType(typeof(List))] + public class GetAzureSiteRecoveryVaults : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Gets or sets name of the Vault. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByName, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + switch (this.ParameterSetName) + { + case ASRParameterSets.ByName: + this.GetByName(); + break; + case ASRParameterSets.Default: + this.GetByDefault(); + break; + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Queries all, by default. + /// + private void GetByDefault() + { + List vaultList = this.GetVaults(); + this.WriteVaults(vaultList); + } + + /// + /// Queries by name. + /// + private void GetByName() + { + List vaultList = this.GetVaults(); + List vaultListByName = new List(); + + foreach (var vault in vaultList) + { + if (string.Compare(this.Name, vault.Name, StringComparison.OrdinalIgnoreCase) == 0) + { + vaultListByName.Add(vault); + } + } + + if (vaultListByName.Count == 0) + { + throw new InvalidOperationException( + string.Format( + Properties.Resources.VaultNotFound, + this.Name)); + } + + this.WriteVaults(vaultListByName); + } + + /// + /// Gets the vaults in the cloud service. + /// + /// List of ASR Vaults + private List GetVaults() + { + IEnumerable cloudServiceList = RecoveryServicesClient.GetCloudServices(); + + List vaultList = new List(); + foreach (var cloudService in cloudServiceList) + { + foreach (var vault in cloudService.Resources) + { + if (vault.Type.Equals(Constants.ASRVaultType, StringComparison.InvariantCultureIgnoreCase)) + { + vaultList.Add(new ASRVault(cloudService, vault, this.Profile.Context.Subscription.ToString())); + } + } + } + + return vaultList; + } + + /// + /// Writes Vaults + /// + /// List of Vaults + private void WriteVaults(IList vaultList) + { + this.WriteObject(vaultList, true); + } + } +} diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryVaultSettingsFile.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryVaultSettingsFile.cs new file mode 100644 index 000000000000..8a7b53e2fcfc --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/GetAzureSiteRecoveryVaultSettingsFile.cs @@ -0,0 +1,195 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Linq; +using System.Management.Automation; +using System.Security.Cryptography.X509Certificates; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; +using Microsoft.Azure.Portal.RecoveryServices.Models.Common; +using Microsoft.WindowsAzure.Management.RecoveryServices.Models; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Retrieves Azure Site Recovery Vault Settings File. + /// + [Cmdlet(VerbsCommon.Get, "AzureSiteRecoveryVaultSettingsFile", DefaultParameterSetName = ASRParameterSets.ByParam)] + [OutputType(typeof(VaultSettingsFilePath))] + public class GetAzureSiteRecoveryVaultSettingsFile : RecoveryServicesCmdletBase + { + /// + /// Expiry in hours for generated certificate. + /// + private const int VaultCertificateExpiryInHoursForHRM = 120; + + #region Parameters + + /// + /// Gets or sets the vault name + /// + [Parameter(ParameterSetName = ASRParameterSets.ByParam, Mandatory = true, HelpMessage = "Vault Name for which the cred file to be generated")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + /// + /// Gets or sets the location of the vault + /// + [Parameter(ParameterSetName = ASRParameterSets.ByParam, Mandatory = true, HelpMessage = "Geo Location Name to which the vault belongs")] + [ValidateNotNullOrEmpty] + public string Location { get; set; } + + /// + /// Gets or sets vault Object. + /// + [Parameter(ParameterSetName = ASRParameterSets.ByObject, Mandatory = true, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public ASRVault Vault { get; set; } + + /// + /// Gets or sets the site name + /// + [Parameter(ParameterSetName = ASRParameterSets.ByParam, Mandatory = false, HelpMessage = "The site name if the vault credentials to be downloaded for a Hyper-V sites.")] + public string SiteName { get; set; } + + /// + /// Gets or sets the site id + /// + [Parameter(ParameterSetName = ASRParameterSets.ByParam, Mandatory = false, HelpMessage = "The site Id if the vault credentials to be downloaded for a Hyper-V sites.")] + public string SiteId { get; set; } + + /// + /// Gets or sets site object + /// + [Parameter(ParameterSetName = ASRParameterSets.ByObject, Mandatory = false)] + [ValidateNotNullOrEmpty] + public ASRSite Site { get; set; } + + /// + /// Gets or sets the path where the credential file is to be generated + /// + [Parameter(ParameterSetName = ASRParameterSets.ByParam, Mandatory = false, HelpMessage = "The path where the vault credential file is to be created.")] + public string Path { get; set; } + + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + switch (this.ParameterSetName) + { + case ASRParameterSets.ByObject: + this.GetByObject(); + break; + case ASRParameterSets.ByParam: + this.Vault = new ASRVault() + { + Name = this.Name, + Location = this.Location + }; + if (!string.IsNullOrEmpty(this.SiteId) && !string.IsNullOrEmpty(this.SiteName)) + { + this.Site = new ASRSite() + { + ID = this.SiteId, + Name = this.SiteName + }; + } + + this.GetByObject(); + break; + default: + this.GetByObject(); + break; + } + } + catch (AggregateException aggregateEx) + { + // if an exception is thrown from a task, it will be wrapped in AggregateException + // and propagated to the main thread. Just throwing the first exception in the list. + Exception exception = aggregateEx.InnerExceptions.First(); + this.HandleException(exception); + } + } + + /// + /// Method to execute the command + /// + private void GetByObject() + { + AzureSubscription subscription = this.Profile.Context.Subscription; + this.Vault.SubscriptionId = subscription.Id.ToString(); + + CloudService cloudService = RecoveryServicesClient.GetCloudServiceForVault(this.Vault); + this.Vault.CloudServiceName = cloudService.Name; + + // Generate certificate + X509Certificate2 cert = CertUtils.CreateSelfSignedCertificate(VaultCertificateExpiryInHoursForHRM, subscription.Id.ToString(), this.Vault.Name); + + var site = new Site(); + + if (this.Site != null) + { + site.ID = this.Site.ID; + site.Name = this.Site.Name; + site.Type = this.Site.Type; + } + + // Generate file. + ASRVaultCreds vaultCreds = RecoveryServicesClient.GenerateVaultCredential( + cert, + this.Vault, + site); + + string filePath = string.IsNullOrEmpty(this.Path) ? Utilities.GetDefaultPath() : this.Path; + string fileName = this.GenerateFileName(); + + // write the content to a file. + VaultSettingsFilePath output = new VaultSettingsFilePath() + { + FilePath = Utilities.WriteToFile(vaultCreds, filePath, fileName) + }; + + // print the path to the user. + this.WriteObject(output, true); + } + + /// + /// Method to generate the file name + /// + /// file name as string. + private string GenerateFileName() + { + string fileName; + string format = "yyyy-MM-ddTHH-mm-ss"; + if (null == this.Site || string.IsNullOrEmpty(this.Site.Name)) + { + fileName = string.Format("{0}_{1}.VaultCredentials", this.Vault.Name, DateTime.UtcNow.ToString(format)); + } + else + { + fileName = string.Format("{0}_{1}_{2}.VaultCredentials", this.Site.Name, this.Vault.Name, DateTime.UtcNow.ToString(format)); + } + + return fileName; + } + } +} diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/ImportAzureSiteRecoveryVaultSettingsFile.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/ImportAzureSiteRecoveryVaultSettingsFile.cs index 745c05427592..96bd289f3cec 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/ImportAzureSiteRecoveryVaultSettingsFile.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/ImportAzureSiteRecoveryVaultSettingsFile.cs @@ -21,7 +21,6 @@ using System.Xml; using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; using Microsoft.Azure.Portal.RecoveryServices.Models.Common; -using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Commands.Utilities.Common; namespace Microsoft.Azure.Commands.RecoveryServices @@ -44,7 +43,7 @@ public class ImportAzureSiteRecoveryVaultSettingsFile : RecoveryServicesCmdletBa HelpMessage = "AzureSiteRecovery vault settings file path", ValueFromPipelineByPropertyName = true)] [ValidateNotNullOrEmpty] - public string Path {get; set;} + public string Path { get; set; } #endregion Parameters /// @@ -108,7 +107,7 @@ public override void ExecuteCmdlet() asrVaultCreds.ResourceName, asrVaultCreds.CloudServiceName); - this.ImportAzureSiteRecoveryVaultSettings(asrVaultCreds); + Utilities.UpdateVaultSettings(asrVaultCreds); this.WriteObject(new ASRVaultSettings( asrVaultCreds.ResourceName, asrVaultCreds.CloudServiceName)); @@ -118,23 +117,5 @@ public override void ExecuteCmdlet() this.HandleException(exception); } } - - /// - /// Imports Azure Site Recovery Vault settings. - /// - /// ASR Vault credentials - public void ImportAzureSiteRecoveryVaultSettings(ASRVaultCreds asrVaultCreds) - { - object updateVaultSettingsOneAtATime = new object(); - lock (updateVaultSettingsOneAtATime) - { - PSRecoveryServicesClient.asrVaultCreds.ResourceName = - asrVaultCreds.ResourceName; - PSRecoveryServicesClient.asrVaultCreds.CloudServiceName = - asrVaultCreds.CloudServiceName; - PSRecoveryServicesClient.asrVaultCreds.ChannelIntegrityKey = - asrVaultCreds.ChannelIntegrityKey; - } - } } } \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/NewAzureSiteRecoveryNetworkMapping.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/NewAzureSiteRecoveryNetworkMapping.cs new file mode 100644 index 000000000000..9f5790082e21 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/NewAzureSiteRecoveryNetworkMapping.cs @@ -0,0 +1,141 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Creates Azure Site Recovery Network mapping. + /// + [Cmdlet(VerbsCommon.New, "AzureSiteRecoveryNetworkMapping")] + [OutputType(typeof(ASRJob))] + public class NewAzureSiteRecoveryNetworkMapping : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Job response. + /// + private JobResponse jobResponse = null; + + /// + /// Gets or sets Primary Network object. + /// + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToEnterprise, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToAzure, Mandatory = true)] + [ValidateNotNullOrEmpty] + public ASRNetwork PrimaryNetwork { get; set; } + + /// + /// Gets or sets Recovery Network object. + /// + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToEnterprise, Mandatory = true)] + [ValidateNotNullOrEmpty] + public ASRNetwork RecoveryNetwork { get; set; } + + /// + /// Gets or sets Azure subscription. + /// + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToAzure, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string AzureSubscriptionId { get; set; } + + /// + /// Gets or sets Azure VM Network Id. + /// + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToAzure, Mandatory = true)] + [ValidateNotNullOrEmpty] + public string AzureVMNetworkId { get; set; } + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + switch (this.ParameterSetName) + { + case ASRParameterSets.EnterpriseToEnterprise: + this.EnterpriseToEnterpriseNetworkMapping(); + break; + case ASRParameterSets.EnterpriseToAzure: + this.EnterpriseToAzureNetworkMapping(); + break; + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Enterprise to enterprise network mapping. + /// + private void EnterpriseToEnterpriseNetworkMapping() + { + this.jobResponse = + RecoveryServicesClient + .NewAzureSiteRecoveryNetworkMapping( + this.PrimaryNetwork.ServerId, + this.PrimaryNetwork.ID, + this.RecoveryNetwork.ServerId, + this.RecoveryNetwork.ID); + + this.WriteJob(this.jobResponse.Job); + } + + /// + /// Enterprise to Azure network mapping. + /// + private void EnterpriseToAzureNetworkMapping() + { + // Verify whether the subscription is associated with the account or not. + RecoveryServicesClient.ValidateSubscriptionAccountAssociation(this.AzureSubscriptionId); + + // Check if the Azure VM Network is associated with the Subscription or not. + string azureVMNetworkName; + RecoveryServicesClient.ValidateVMNetworkSubscriptionAssociation( + this.AzureSubscriptionId, + this.AzureVMNetworkId, + out azureVMNetworkName); + + this.jobResponse = + RecoveryServicesClient + .NewAzureSiteRecoveryAzureNetworkMapping( + this.PrimaryNetwork.ServerId, + this.PrimaryNetwork.ID, + azureVMNetworkName, + this.AzureVMNetworkId); + + this.WriteJob(this.jobResponse.Job); + } + + /// + /// Writes Job. + /// + /// JOB object + private void WriteJob(Microsoft.WindowsAzure.Management.SiteRecovery.Models.Job job) + { + this.WriteObject(new ASRJob(job)); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/NewAzureSiteRecoverySite.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/NewAzureSiteRecoverySite.cs new file mode 100644 index 000000000000..edfa75a3bff2 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/NewAzureSiteRecoverySite.cs @@ -0,0 +1,70 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Management.Automation; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Creates Azure Site Recovery Site. + /// + [Cmdlet(VerbsCommon.New, "AzureSiteRecoverySite")] + [OutputType(typeof(ASRJob))] + public class NewAzureSiteRecoverySite : RecoveryServicesCmdletBase + { + #region Parameters + + /// + /// Gets or sets the name of the site to be created + /// + [Parameter(ParameterSetName = ASRParameterSets.Default, Mandatory = true, HelpMessage = "Name of the site to be created")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + /// + /// Gets or sets the vault name + /// + [Parameter(ParameterSetName = ASRParameterSets.Default, Mandatory = false, HelpMessage = "Vault Object for which the site has to be created")] + [ValidateNotNullOrEmpty] + public ASRVault Vault { get; set; } + + #endregion + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + // Currently we support only FabricProviders.HyperVSite. + JobResponse response = + RecoveryServicesClient.CreateAzureSiteRecoverySite( + this.Name, + FabricProviders.HyperVSite, + this.Vault); + + this.WriteObject(response.Job, true); + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + } +} diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/NewAzureSiteRecoveryStorageMapping.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/NewAzureSiteRecoveryStorageMapping.cs new file mode 100644 index 000000000000..4c17e6dce235 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/NewAzureSiteRecoveryStorageMapping.cs @@ -0,0 +1,84 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Creates Azure Site Recovery Storage mapping. + /// + [Cmdlet(VerbsCommon.New, "AzureSiteRecoveryStorageMapping")] + [OutputType(typeof(ASRJob))] + public class NewAzureSiteRecoveryStorageMapping : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Job response. + /// + private JobResponse jobResponse = null; + + /// + /// Gets or sets Primary Storage object. + /// + [Parameter(Mandatory = true)] + [ValidateNotNullOrEmpty] + public ASRStorage PrimaryStorage { get; set; } + + /// + /// Gets or sets Recovery Storage object. + /// + [Parameter(Mandatory = true)] + [ValidateNotNullOrEmpty] + public ASRStorage RecoveryStorage { get; set; } + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + this.jobResponse = + RecoveryServicesClient + .NewAzureSiteRecoveryStorageMapping( + this.PrimaryStorage.ServerId, + this.PrimaryStorage.ID, + this.RecoveryStorage.ServerId, + this.RecoveryStorage.ID); + + this.WriteJob(this.jobResponse.Job); + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Writes Job. + /// + /// JOB object + private void WriteJob(Microsoft.WindowsAzure.Management.SiteRecovery.Models.Job job) + { + this.WriteObject(new ASRJob(job)); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/NewAzureSiteRecoveryVault.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/NewAzureSiteRecoveryVault.cs new file mode 100644 index 000000000000..84494562da8e --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/NewAzureSiteRecoveryVault.cs @@ -0,0 +1,94 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Net; +using Microsoft.Azure.Commands.RecoveryServices.Properties; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure.Management.RecoveryServices.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Used to initiate a vault create operation. + /// + [Cmdlet(VerbsCommon.New, "AzureSiteRecoveryVault")] + [OutputType(typeof(VaultOperationOutput))] + public class CreateAzureSiteRecoveryVault : RecoveryServicesCmdletBase + { + #region Parameters + + /// + /// Gets or sets the vault name + /// + [Parameter(ParameterSetName = ASRParameterSets.ByParam, Mandatory = true, HelpMessage = "Vault Name for which the cred file to be generated")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + /// + /// Gets or sets the location of the vault + /// + [Parameter(ParameterSetName = ASRParameterSets.ByParam, Mandatory = true, HelpMessage = "Geo Location Name")] + [ValidateNotNullOrEmpty] + public string Location { get; set; } + + #endregion + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + string cloudServiceName = Utilities.GenerateCloudServiceName(this.Location); + byte[] bytes = System.Text.Encoding.UTF8.GetBytes(cloudServiceName); + string base64Label = Convert.ToBase64String(bytes); + + CloudServiceCreateArgs cloudServiceCreateArgs = new CloudServiceCreateArgs() + { + GeoRegion = this.Location, + Label = base64Label, + Description = base64Label + }; + + RecoveryServicesClient.FindOrCreateCloudService(cloudServiceName, cloudServiceCreateArgs); + + VaultCreateArgs vaultCreateArgs = new VaultCreateArgs() + { + Name = this.Name, + Plan = string.Empty, + ResourceProviderNamespace = Constants.ResourceNamespace, + Type = Constants.ASRVaultType, + ETag = Guid.NewGuid().ToString(), + SchemaVersion = Constants.RpSchemaVersion + }; + + RecoveryServicesOperationStatusResponse response = RecoveryServicesClient.CreateVault(cloudServiceName, this.Name, vaultCreateArgs); + + VaultOperationOutput output = new VaultOperationOutput() + { + Response = response.StatusCode == HttpStatusCode.OK ? Resources.VaultCreationSuccessMessage : response.StatusCode.ToString() + }; + + this.WriteObject(output, true); + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + } +} diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/RemoveAzureSiteRecoveryNetworkMapping.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/RemoveAzureSiteRecoveryNetworkMapping.cs new file mode 100644 index 000000000000..eb2ef31e9d81 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/RemoveAzureSiteRecoveryNetworkMapping.cs @@ -0,0 +1,76 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Removes Azure Site Recovery Network mapping. + /// + [Cmdlet(VerbsCommon.Remove, "AzureSiteRecoveryNetworkMapping")] + [OutputType(typeof(ASRJob))] + public class RemoveAzureSiteRecoveryNetworkMapping : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Job response. + /// + private JobResponse jobResponse = null; + + /// + /// Gets or sets Network mapping object. + /// + [Parameter(Mandatory = true, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public ASRNetworkMapping NetworkMapping { get; set; } + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + this.jobResponse = + RecoveryServicesClient + .RemoveAzureSiteRecoveryNetworkMapping( + this.NetworkMapping.PrimaryServerId, + this.NetworkMapping.PrimaryNetworkId, + this.NetworkMapping.RecoveryServerId); + + this.WriteJob(this.jobResponse.Job); + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Writes Job. + /// + /// JOB object + private void WriteJob(Microsoft.WindowsAzure.Management.SiteRecovery.Models.Job job) + { + this.WriteObject(new ASRJob(job)); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/RemoveAzureSiteRecoveryRecoveryPlan.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/RemoveAzureSiteRecoveryRecoveryPlan.cs index 2ce9d782efa1..04d897a5572d 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/RemoveAzureSiteRecoveryRecoveryPlan.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/RemoveAzureSiteRecoveryRecoveryPlan.cs @@ -17,7 +17,6 @@ using System.Management.Automation; using System.Threading; using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; -using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Management.SiteRecovery.Models; namespace Microsoft.Azure.Commands.RecoveryServices @@ -45,20 +44,20 @@ public class RemoveAzureSiteRecoveryRecoveryPlan : RecoveryServicesCmdletBase /// [Parameter(ParameterSetName = ASRParameterSets.ById, Mandatory = true)] [ValidateNotNullOrEmpty] - public string Id {get; set;} + public string Id { get; set; } /// /// Gets or sets Recovery Plan object. /// [Parameter(ParameterSetName = ASRParameterSets.ByRPObject, Mandatory = true, ValueFromPipeline = true)] [ValidateNotNullOrEmpty] - public ASRRecoveryPlan RecoveryPlan {get; set;} + public ASRRecoveryPlan RecoveryPlan { get; set; } /// /// Gets or sets switch parameter. This is required to wait for job completion. /// [Parameter] - public SwitchParameter WaitForCompletion {get; set;} + public SwitchParameter WaitForCompletion { get; set; } /// /// Gets or sets switch parameter. On passing, command does not ask for confirmation. @@ -83,8 +82,8 @@ public override void ExecuteCmdlet() break; } - ConfirmAction( - Force.IsPresent, + this.ConfirmAction( + this.Force.IsPresent, string.Format(Properties.Resources.RemoveRPWarning, this.targetNameOrId), Properties.Resources.RemoveRPWhatIfMessage, this.targetNameOrId, diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/RemoveAzureSiteRecoveryStorageMapping.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/RemoveAzureSiteRecoveryStorageMapping.cs new file mode 100644 index 000000000000..988016eb34c5 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/RemoveAzureSiteRecoveryStorageMapping.cs @@ -0,0 +1,77 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Removes Azure Site Recovery Storage mapping. + /// + [Cmdlet(VerbsCommon.Remove, "AzureSiteRecoveryStorageMapping")] + [OutputType(typeof(ASRJob))] + public class RemoveAzureSiteRecoveryStorageMapping : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Job response. + /// + private JobResponse jobResponse = null; + + /// + /// Gets or sets Storage mapping object. + /// + [Parameter(Mandatory = true, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public ASRStorageMapping StorageMapping { get; set; } + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + this.jobResponse = + RecoveryServicesClient + .RemoveAzureSiteRecoveryStorageMapping( + this.StorageMapping.PrimaryServerId, + this.StorageMapping.PrimaryStorageId, + this.StorageMapping.RecoveryServerId, + this.StorageMapping.RecoveryStorageId); + + this.WriteJob(this.jobResponse.Job); + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Writes Job. + /// + /// JOB object + private void WriteJob(Microsoft.WindowsAzure.Management.SiteRecovery.Models.Job job) + { + this.WriteObject(new ASRJob(job)); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/RestartAzureSiteRecoveryJob.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/RestartAzureSiteRecoveryJob.cs index 4bdc2dcc68bd..c5d6aded6708 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/RestartAzureSiteRecoveryJob.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/RestartAzureSiteRecoveryJob.cs @@ -15,7 +15,6 @@ using System; using System.Management.Automation; using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; -using Microsoft.WindowsAzure; namespace Microsoft.Azure.Commands.RecoveryServices { @@ -32,14 +31,14 @@ public class RestartAzureSiteRecoveryJob : RecoveryServicesCmdletBase /// [Parameter(ParameterSetName = ASRParameterSets.ById, Mandatory = true)] [ValidateNotNullOrEmpty] - public string Id {get; set;} + public string Id { get; set; } /// /// Gets or sets Job Object. /// [Parameter(ParameterSetName = ASRParameterSets.ByObject, Mandatory = true, ValueFromPipeline = true)] [ValidateNotNullOrEmpty] - public ASRJob Job {get; set;} + public ASRJob Job { get; set; } #endregion Parameters /// diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/ResumeAzureSiteRecoveryJob.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/ResumeAzureSiteRecoveryJob.cs index 577d46915cf3..1f41459a2a64 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/ResumeAzureSiteRecoveryJob.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/ResumeAzureSiteRecoveryJob.cs @@ -15,7 +15,6 @@ using System; using System.Management.Automation; using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; -using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Management.SiteRecovery.Models; namespace Microsoft.Azure.Commands.RecoveryServices @@ -33,21 +32,21 @@ public class ResumeAzureSiteRecoveryJob : RecoveryServicesCmdletBase /// [Parameter(ParameterSetName = ASRParameterSets.ById, Mandatory = true)] [ValidateNotNullOrEmpty] - public string Id {get; set;} + public string Id { get; set; } /// /// Gets or sets Job Object. /// [Parameter(ParameterSetName = ASRParameterSets.ByObject, Mandatory = true, ValueFromPipeline = true)] [ValidateNotNullOrEmpty] - public ASRJob Job {get; set;} + public ASRJob Job { get; set; } /// /// Gets or sets job comments. /// [Parameter(Mandatory = false)] [ValidateNotNullOrEmpty] - public string Comments {get; set;} + public string Comments { get; set; } #endregion Parameters /// diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/SetAzureSiteRecoveryProtectionEntity.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/SetAzureSiteRecoveryProtectionEntity.cs index d53a919984d2..181e3b8ea9d0 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/SetAzureSiteRecoveryProtectionEntity.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/SetAzureSiteRecoveryProtectionEntity.cs @@ -13,11 +13,9 @@ // ---------------------------------------------------------------------------------- using System; -using System.Diagnostics; using System.Management.Automation; -using System.Threading; using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; -using Microsoft.WindowsAzure; +using Microsoft.Azure.Portal.RecoveryServices.Models.Common; using Microsoft.WindowsAzure.Management.SiteRecovery.Models; namespace Microsoft.Azure.Commands.RecoveryServices @@ -35,6 +33,11 @@ public class SetAzureSiteRecoveryProtectionEntity : RecoveryServicesCmdletBase /// private JobResponse jobResponse = null; + /// + /// Protection Status of the entity. + /// + private bool alreadyEnabled = false; + /// /// Holds either Name (if object is passed) or ID (if IDs are passed) of the PE. /// @@ -45,21 +48,28 @@ public class SetAzureSiteRecoveryProtectionEntity : RecoveryServicesCmdletBase /// [Parameter(ParameterSetName = ASRParameterSets.ByIDs, Mandatory = true)] [ValidateNotNullOrEmpty] - public string Id {get; set;} + public string Id { get; set; } /// /// Gets or sets ID of the ProtectionContainer containing the Virtual Machine. /// [Parameter(ParameterSetName = ASRParameterSets.ByIDs, Mandatory = true)] [ValidateNotNullOrEmpty] - public string ProtectionContianerId {get; set;} + public string ProtectionContainerId { get; set; } /// /// Gets or sets Protection Entity Object. /// [Parameter(ParameterSetName = ASRParameterSets.ByPEObject, Mandatory = true, ValueFromPipeline = true)] [ValidateNotNullOrEmpty] - public ASRProtectionEntity ProtectionEntity {get; set;} + public ASRProtectionEntity ProtectionEntity { get; set; } + + /// + /// Gets or sets Protection profile. + /// + [Parameter] + [ValidateNotNullOrEmpty] + public ASRProtectionProfile ProtectionProfile { get; set; } /// /// Gets or sets Protection to set, either enable or disable. @@ -67,15 +77,32 @@ public class SetAzureSiteRecoveryProtectionEntity : RecoveryServicesCmdletBase [Parameter(Mandatory = true)] [ValidateNotNullOrEmpty] [ValidateSet( - PSRecoveryServicesClient.EnableProtection, - PSRecoveryServicesClient.DisableProtection)] - public string Protection {get; set;} + Constants.EnableProtection, + Constants.DisableProtection)] + public string Protection { get; set; } + + /// + /// Gets or sets OS disk name. + /// + [Parameter] + [ValidateNotNullOrEmpty] + public string OSDiskName { get; set; } + + /// + /// Gets or sets OS. + /// + [Parameter] + [ValidateNotNullOrEmpty] + [ValidateSet( + Constants.OSWindows, + Constants.OSLinux)] + public string OS { get; set; } /// /// Gets or sets switch parameter. On passing, command waits till completion. /// [Parameter] - public SwitchParameter WaitForCompletion {get; set;} + public SwitchParameter WaitForCompletion { get; set; } /// /// Gets or sets switch parameter. On passing, command does not ask for confirmation. @@ -93,16 +120,41 @@ public override void ExecuteCmdlet() { case ASRParameterSets.ByPEObject: this.Id = this.ProtectionEntity.ID; - this.ProtectionContianerId = this.ProtectionEntity.ProtectionContainerId; + this.ProtectionContainerId = this.ProtectionEntity.ProtectionContainerId; this.targetNameOrId = this.ProtectionEntity.Name; + this.alreadyEnabled = this.ProtectionEntity.Protected; + break; case ASRParameterSets.ByIDs: this.targetNameOrId = this.Id; + ProtectionEntityResponse protectionEntityResponse = + RecoveryServicesClient.GetAzureSiteRecoveryProtectionEntity( + this.ProtectionContainerId, + this.Id); + this.alreadyEnabled = protectionEntityResponse.ProtectionEntity.Protected; + this.targetNameOrId = protectionEntityResponse.ProtectionEntity.Name; + break; } - ConfirmAction( - Force.IsPresent || 0 != string.CompareOrdinal(this.Protection, PSRecoveryServicesClient.DisableProtection), + if (this.alreadyEnabled && + this.Protection.Equals(Constants.EnableProtection, StringComparison.OrdinalIgnoreCase)) + { + throw new ArgumentException( + string.Format( + Properties.Resources.ProtectionEntityAlreadyEnabled, + this.targetNameOrId)); + } + else if (!this.alreadyEnabled && + this.Protection.Equals(Constants.DisableProtection, StringComparison.OrdinalIgnoreCase)) + { + throw new ArgumentException( + Properties.Resources.ProtectionEntityAlreadyDisabled, + this.targetNameOrId); + } + + this.ConfirmAction( + this.Force.IsPresent || 0 != string.CompareOrdinal(this.Protection, Constants.DisableProtection), string.Format(Properties.Resources.DisableProtectionWarning, this.targetNameOrId), string.Format(Properties.Resources.DisableProtectionWhatIfMessage, this.Protection), this.targetNameOrId, @@ -110,11 +162,105 @@ public override void ExecuteCmdlet() { try { - this.jobResponse = - RecoveryServicesClient.SetProtectionOnProtectionEntity( - this.ProtectionContianerId, - this.Id, - this.Protection); + if (this.Protection == Constants.EnableProtection) + { + string profileId = string.Empty; + var input = new EnableProtectionInput(); + + if (this.ProtectionEntity == null) + { + var pe = RecoveryServicesClient.GetAzureSiteRecoveryProtectionEntity( + this.ProtectionContainerId, + this.Id); + this.ProtectionEntity = new ASRProtectionEntity(pe.ProtectionEntity); + } + + // Get the replciation provider from profile object otherwise assume its E2E. + // Let the call go without profileId set. + string replicationProvider = null; + + if (this.ProtectionProfile != null) + { + profileId = this.ProtectionProfile.ID; + replicationProvider = this.ProtectionProfile.ReplicationProvider; + } + else + { + string pcId = this.ProtectionContainerId ?? this.ProtectionEntity.ProtectionContainerId; + var pc = RecoveryServicesClient.GetAzureSiteRecoveryProtectionContainer( + pcId); + + // PC will have all profiles associated with same replciation providers only. + replicationProvider = + pc.ProtectionContainer.AvailableProtectionProfiles.Count < 1 ? + null : + pc.ProtectionContainer.AvailableProtectionProfiles[0].ReplicationProvider; + + if (replicationProvider != Constants.HyperVReplica) + { + throw new Exception("Please provide the protection profile object. It can be chosen from available protection profiles of the protection container."); + } + } + + if (this.ParameterSetName == ASRParameterSets.ByIDs) + { + this.ValidateUsageById(replicationProvider, "Id"); + } + + if (replicationProvider == Constants.HyperVReplicaAzure) + { + input.ProtectionProfileId = this.ProtectionProfile.ID; + AzureEnableProtectionInput azureInput = new AzureEnableProtectionInput(); + azureInput.HvHostVmId = this.ProtectionEntity.FabricObjectId; + azureInput.VmName = this.ProtectionEntity.Name; + + azureInput.OSType = this.OS; + if (string.IsNullOrWhiteSpace(this.OS)) + { + azureInput.OSType = this.ProtectionEntity.OS; + } + + if (string.IsNullOrWhiteSpace(this.OSDiskName)) + { + azureInput.VHDId = this.ProtectionEntity.OSDiskId; + } + else + { + foreach (var disk in this.ProtectionEntity.Disks) + { + if (disk.Name == this.OSDiskName) + { + azureInput.VHDId = disk.Id; + break; + } + } + } + + input.ReplicationProviderInput = DataContractUtils.Serialize(azureInput); + } + else if (string.IsNullOrWhiteSpace(profileId)) + { + input = null; + } + else + { + input.ReplicationProviderInput = string.Empty; + input.ProtectionProfileId = profileId; + } + + this.jobResponse = + RecoveryServicesClient.EnableProtection( + this.ProtectionContainerId, + this.Id, + input); + } + else + { + this.jobResponse = + RecoveryServicesClient.DisbleProtection( + this.ProtectionContainerId, + this.Id); + } this.WriteJob(this.jobResponse.Job); diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/SetAzureSiteRecoveryVM.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/SetAzureSiteRecoveryVM.cs new file mode 100644 index 000000000000..3da012586dc9 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/SetAzureSiteRecoveryVM.cs @@ -0,0 +1,118 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.Azure.Portal.RecoveryServices.Models.Common; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Updates protected Virtual Machine properties. + /// + [Cmdlet(VerbsCommon.Set, "AzureSiteRecoveryVM")] + [OutputType(typeof(ASRJob))] + public class SetAzureSiteRecoveryVirtualMachine : RecoveryServicesCmdletBase + { + #region Parameters + /// + /// Job response. + /// + private JobResponse jobResponse = null; + + /// + /// Gets or sets ID of the Virtual Machine. + /// + [Parameter(Mandatory = true)] + [ValidateNotNullOrEmpty] + public ASRVirtualMachine VirtualMachine { get; set; } + + /// + /// Gets or sets Recovery Azure VM given name + /// + [Parameter] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + /// + /// Gets or sets Recovery Azure VM size + /// + [Parameter] + [ValidateNotNullOrEmpty] + public string Size { get; set; } + + /// + /// Gets or sets Selected Primary Network interface card Id + /// + [Parameter] + [ValidateNotNullOrEmpty] + public string PrimaryNic { get; set; } + + /// + /// Gets or sets Recovery Azure Network Id + /// + [Parameter] + [ValidateNotNullOrEmpty] + public string RecoveryNetworkId { get; set; } + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + // Check for at least one option + if (string.IsNullOrEmpty(this.Name) && + string.IsNullOrEmpty(this.Size) && + string.IsNullOrEmpty(this.PrimaryNic) && + string.IsNullOrEmpty(this.RecoveryNetworkId)) + { + this.WriteWarning(Properties.Resources.ArgumentsMissingForUpdateVmProperties.ToString()); + return; + } + + // Both primary & recovery inputs should be present + if (string.IsNullOrEmpty(this.PrimaryNic) ^ + string.IsNullOrEmpty(this.RecoveryNetworkId)) + { + this.WriteWarning(Properties.Resources.NetworkArgumentsMissingForUpdateVmProperties.ToString()); + return; + } + + UpdateVmPropertiesInput updateVmPropertiesInput = new UpdateVmPropertiesInput(); + updateVmPropertiesInput.RecoveryAzureVmGivenName = this.Name; + updateVmPropertiesInput.RecoveryAzureVmSize = this.Size; + updateVmPropertiesInput.SelectedPrimaryNicId = this.PrimaryNic; + updateVmPropertiesInput.RecoveryAzureNetworkId = this.RecoveryNetworkId; + + this.jobResponse = RecoveryServicesClient.UpdateVmProperties( + this.VirtualMachine.ProtectionContainerId, + this.VirtualMachine.ID, + updateVmPropertiesInput); + + this.WriteJob(this.jobResponse.Job); + } + + /// + /// Writes Job. + /// + /// JOB object + private void WriteJob(Microsoft.WindowsAzure.Management.SiteRecovery.Models.Job job) + { + this.WriteObject(new ASRJob(job)); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryCommitFailoverJob.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryCommitFailoverJob.cs index 685a894945b0..4feb171c3974 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryCommitFailoverJob.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryCommitFailoverJob.cs @@ -17,7 +17,6 @@ using System.Management.Automation; using System.Threading; using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; -using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Management.SiteRecovery.Models; namespace Microsoft.Azure.Commands.RecoveryServices @@ -40,41 +39,50 @@ public class StartAzureSiteRecoveryCommitFailoverJob : RecoveryServicesCmdletBas /// [Parameter(ParameterSetName = ASRParameterSets.ByRPId, Mandatory = true)] [ValidateNotNullOrEmpty] - public string RPId {get; set;} + public string RPId { get; set; } /// /// Gets or sets ID of the PE. /// [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = true)] [ValidateNotNullOrEmpty] - public string ProtectionEntityId {get; set;} + public string ProtectionEntityId { get; set; } /// /// Gets or sets ID of the Recovery Plan. /// [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = true)] [ValidateNotNullOrEmpty] - public string ProtectionContainerId {get; set;} + public string ProtectionContainerId { get; set; } /// /// Gets or sets Recovery Plan object. /// [Parameter(ParameterSetName = ASRParameterSets.ByRPObject, Mandatory = true, ValueFromPipeline = true)] [ValidateNotNullOrEmpty] - public ASRRecoveryPlan RecoveryPlan {get; set;} + public ASRRecoveryPlan RecoveryPlan { get; set; } /// /// Gets or sets Protection Entity object. /// [Parameter(ParameterSetName = ASRParameterSets.ByPEObject, Mandatory = true, ValueFromPipeline = true)] [ValidateNotNullOrEmpty] - public ASRProtectionEntity ProtectionEntity {get; set;} + public ASRProtectionEntity ProtectionEntity { get; set; } + + /// + /// Gets or sets Failover direction for the recovery plan. + /// + [Parameter(Mandatory = false)] + [ValidateSet( + Constants.PrimaryToRecovery, + Constants.RecoveryToPrimary)] + public string Direction { get; set; } /// /// Gets or sets switch parameter. This is required to wait for job completion. /// [Parameter] - public SwitchParameter WaitForCompletion {get; set;} + public SwitchParameter WaitForCompletion { get; set; } #endregion Parameters /// @@ -84,6 +92,14 @@ public override void ExecuteCmdlet() { try { + if (string.IsNullOrEmpty(this.Direction)) + { + this.WriteWarningWithTimestamp( + string.Format( + Properties.Resources.MandatoryParamFromNextRelease, + Constants.Direction)); + } + switch (this.ParameterSetName) { case ASRParameterSets.ByRPObject: @@ -114,6 +130,22 @@ public override void ExecuteCmdlet() /// private void SetRpCommit() { + var request = new CommitFailoverRequest(); + + if (this.RecoveryPlan == null) + { + var rp = RecoveryServicesClient.GetAzureSiteRecoveryRecoveryPlan( + this.RPId); + this.RecoveryPlan = new ASRRecoveryPlan(rp.RecoveryPlan); + + this.ValidateUsageById(this.RecoveryPlan.ReplicationProvider, "RPId"); + } + + request.ReplicationProvider = this.RecoveryPlan.ReplicationProvider; + request.ReplicationProviderSettings = string.Empty; + + request.FailoverDirection = this.Direction; + this.jobResponse = RecoveryServicesClient.StartAzureSiteRecoveryCommitFailover( this.RPId); @@ -130,9 +162,36 @@ private void SetRpCommit() /// private void SetPECommit() { + var request = new CommitFailoverRequest(); + + if (this.ProtectionEntity == null) + { + var pe = RecoveryServicesClient.GetAzureSiteRecoveryProtectionEntity( + this.ProtectionContainerId, + this.ProtectionEntityId); + this.ProtectionEntity = new ASRProtectionEntity(pe.ProtectionEntity); + + this.ValidateUsageById( + this.ProtectionEntity.ReplicationProvider, + Constants.ProtectionEntityId); + } + + request.ReplicationProvider = this.ProtectionEntity.ReplicationProvider; + request.ReplicationProviderSettings = string.Empty; + + if (this.ProtectionEntity.ActiveLocation == Constants.PrimaryLocation) + { + request.FailoverDirection = Constants.RecoveryToPrimary; + } + else + { + request.FailoverDirection = Constants.PrimaryToRecovery; + } + this.jobResponse = RecoveryServicesClient.StartAzureSiteRecoveryCommitFailover( this.ProtectionContainerId, - this.ProtectionEntityId); + this.ProtectionEntityId, + request); this.WriteJob(this.jobResponse.Job); diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryPlannedFailoverJob.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryPlannedFailoverJob.cs index 84a5ce689e80..0cd19fa9d1fc 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryPlannedFailoverJob.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryPlannedFailoverJob.cs @@ -13,11 +13,9 @@ // ---------------------------------------------------------------------------------- using System; -using System.Diagnostics; using System.Management.Automation; -using System.Threading; using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; -using Microsoft.WindowsAzure; +using Microsoft.Azure.Portal.RecoveryServices.Models.Common; using Microsoft.WindowsAzure.Management.SiteRecovery.Models; namespace Microsoft.Azure.Commands.RecoveryServices @@ -40,53 +38,65 @@ public class StartAzureSiteRecoveryPlannedFailoverJob : RecoveryServicesCmdletBa /// [Parameter(ParameterSetName = ASRParameterSets.ByRPId, Mandatory = true)] [ValidateNotNullOrEmpty] - public string RPId {get; set;} + public string RPId { get; set; } /// /// Gets or sets ID of the PE. /// [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = true)] [ValidateNotNullOrEmpty] - public string ProtectionEntityId {get; set;} + public string ProtectionEntityId { get; set; } /// /// Gets or sets ID of the Recovery Plan. /// [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = true)] [ValidateNotNullOrEmpty] - public string ProtectionContainerId {get; set;} + public string ProtectionContainerId { get; set; } /// /// Gets or sets Recovery Plan object. /// [Parameter(ParameterSetName = ASRParameterSets.ByRPObject, Mandatory = true, ValueFromPipeline = true)] [ValidateNotNullOrEmpty] - public ASRRecoveryPlan RecoveryPlan {get; set;} + public ASRRecoveryPlan RecoveryPlan { get; set; } /// /// Gets or sets Protection Entity object. /// [Parameter(ParameterSetName = ASRParameterSets.ByPEObject, Mandatory = true, ValueFromPipeline = true)] [ValidateNotNullOrEmpty] - public ASRProtectionEntity ProtectionEntity {get; set;} + public ASRProtectionEntity ProtectionEntity { get; set; } /// /// Gets or sets Failover direction for the recovery plan. /// - [Parameter(ParameterSetName = ASRParameterSets.ByRPObject, Mandatory = true)] - [Parameter(ParameterSetName = ASRParameterSets.ByRPId, Mandatory = true)] - [Parameter(ParameterSetName = ASRParameterSets.ByPEObject, Mandatory = true)] - [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = true)] + [Parameter(Mandatory = true)] [ValidateSet( - PSRecoveryServicesClient.PrimaryToRecovery, - PSRecoveryServicesClient.RecoveryToPrimary)] - public string Direction {get; set;} + Constants.PrimaryToRecovery, + Constants.RecoveryToPrimary)] + public string Direction { get; set; } /// /// Gets or sets switch parameter. This is required to wait for job completion. /// [Parameter] - public SwitchParameter WaitForCompletion {get; set;} + public SwitchParameter WaitForCompletion { get; set; } + + /// + /// Gets or sets the Optimize value. + /// + [Parameter] + [ValidateSet( + Constants.ForDowntime, + Constants.ForSynchronization)] + public string Optimize { get; set; } + + /// + /// Gets or sets switch parameter. This is the failover is being done to on-prim and the + /// VM does not exist. + /// + public SwitchParameter CreateIfnotExists { get; set; } #endregion Parameters /// @@ -103,7 +113,7 @@ public override void ExecuteCmdlet() this.StartRpPlannedFailover(); break; case ASRParameterSets.ByPEObject: - this.ProtectionEntityId = this.ProtectionEntity.ID; + this.ProtectionEntityId = this.ProtectionEntity.ID; this.ProtectionContainerId = this.ProtectionEntity.ProtectionContainerId; this.StartPEPlannedFailover(); break; @@ -126,13 +136,47 @@ public override void ExecuteCmdlet() /// private void StartPEPlannedFailover() { - var pfoReqeust = new PlannedFailoverRequest(); - pfoReqeust.FailoverDirection = this.Direction; + var request = new PlannedFailoverRequest(); + + if (this.ProtectionEntity == null) + { + var pe = RecoveryServicesClient.GetAzureSiteRecoveryProtectionEntity( + this.ProtectionContainerId, + this.ProtectionEntityId); + this.ProtectionEntity = new ASRProtectionEntity(pe.ProtectionEntity); + + this.ValidateUsageById(this.ProtectionEntity.ReplicationProvider, Constants.ProtectionEntityId); + } + + if (this.ProtectionEntity.ReplicationProvider == Constants.HyperVReplicaAzure) + { + if (this.Direction == Constants.PrimaryToRecovery) + { + var blob = new AzureFailoverInput(); + blob.VaultLocation = this.GetCurrentValutLocation(); + request.ReplicationProviderSettings = DataContractUtils.Serialize(blob); + } + else + { + var blob = new AzureFailbackInput(); + blob.CreateRecoveryVmIfDoesntExist = false; + blob.SkipDataSync = this.Optimize == Constants.ForDowntime ? true : false; + request.ReplicationProviderSettings = DataContractUtils.Serialize(blob); + } + } + else + { + request.ReplicationProviderSettings = string.Empty; + } + + request.ReplicationProvider = this.ProtectionEntity.ReplicationProvider; + request.FailoverDirection = this.Direction; + this.jobResponse = RecoveryServicesClient.StartAzureSiteRecoveryPlannedFailover( this.ProtectionContainerId, this.ProtectionEntityId, - pfoReqeust); + request); this.WriteJob(this.jobResponse.Job); if (this.WaitForCompletion.IsPresent) @@ -146,11 +190,42 @@ private void StartPEPlannedFailover() /// private void StartRpPlannedFailover() { - RpPlannedFailoverRequest recoveryPlanPlannedFailoverRequest = new RpPlannedFailoverRequest(); - recoveryPlanPlannedFailoverRequest.FailoverDirection = this.Direction; + RpPlannedFailoverRequest request = new RpPlannedFailoverRequest(); + + if (this.RecoveryPlan == null) + { + var rp = RecoveryServicesClient.GetAzureSiteRecoveryRecoveryPlan( + this.RPId); + this.RecoveryPlan = new ASRRecoveryPlan(rp.RecoveryPlan); + + this.ValidateUsageById( + this.RecoveryPlan.ReplicationProvider, + Constants.RPId); + } + + if (this.RecoveryPlan.ReplicationProvider == Constants.HyperVReplicaAzure) + { + if (this.Direction == Constants.PrimaryToRecovery) + { + var blob = new AzureFailoverInput(); + blob.VaultLocation = this.GetCurrentValutLocation(); + request.ReplicationProviderSettings = DataContractUtils.Serialize(blob); + } + else + { + var blob = new AzureFailbackInput(); + blob.CreateRecoveryVmIfDoesntExist = false; + blob.SkipDataSync = this.Optimize == Constants.ForDowntime ? true : false; + request.ReplicationProviderSettings = DataContractUtils.Serialize(blob); + } + } + + request.ReplicationProvider = this.RecoveryPlan.ReplicationProvider; + request.FailoverDirection = this.Direction; + this.jobResponse = RecoveryServicesClient.StartAzureSiteRecoveryPlannedFailover( this.RPId, - recoveryPlanPlannedFailoverRequest); + request); this.WriteJob(this.jobResponse.Job); diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryProtectionProfileAssociationJob.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryProtectionProfileAssociationJob.cs new file mode 100644 index 000000000000..1b1f3f55ec49 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryProtectionProfileAssociationJob.cs @@ -0,0 +1,212 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.Azure.Portal.RecoveryServices.Models.Common; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Adds Azure Site Recovery Protection Profile settings to a Protection Container. + /// + [Cmdlet(VerbsLifecycle.Start, "AzureSiteRecoveryProtectionProfileAssociationJob", DefaultParameterSetName = ASRParameterSets.EnterpriseToAzure)] + [OutputType(typeof(ASRJob))] + public class StartAzureSiteRecoveryProtectionProfileAssociationJob : RecoveryServicesCmdletBase + { + /// + /// Job response. + /// + private JobResponse jobResponse = null; + + #region Parameters + + /// + /// Gets or sets Protection Profile object. + /// + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToEnterprise, Mandatory = true, ValueFromPipeline = true)] + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToAzure, Mandatory = true, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public ASRProtectionProfile ProtectionProfile { get; set; } + + /// + /// Gets or sets Protection Container to be applied the Protection Profile settings on. + /// + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToEnterprise, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToAzure, Mandatory = true)] + [ValidateNotNullOrEmpty] + public ASRProtectionContainer PrimaryProtectionContainer { get; set; } + + /// + /// Gets or sets Recovery Protection Container to be applied the Protection Profile settings on. + /// + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToEnterprise, Mandatory = true)] + [ValidateNotNullOrEmpty] + public ASRProtectionContainer RecoveryProtectionContainer { get; set; } + + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + switch (this.ParameterSetName) + { + case ASRParameterSets.EnterpriseToAzure: + this.EnterpriseToAzureAssociation(); + break; + case ASRParameterSets.EnterpriseToEnterprise: + this.EnterpriseToEnterpriseAssociation(); + break; + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Handles interrupts. + /// + protected override void StopProcessing() + { + // Ctrl + C and etc + base.StopProcessing(); + this.StopProcessingFlag = true; + } + + /// + /// Associates protection profile with one enterprise based and an Azure protection container + /// + private void EnterpriseToAzureAssociation() + { + if (string.Compare( + this.ProtectionProfile.ReplicationProvider, + Constants.HyperVReplicaAzure, + StringComparison.OrdinalIgnoreCase) != 0) + { + throw new InvalidOperationException( + string.Format( + Properties.Resources.IncorrectReplicationProvider, + this.ProtectionProfile.ReplicationProvider)); + } + + HyperVReplicaAzureProtectionProfileInput hyperVReplicaAzureProtectionProfileInput + = new HyperVReplicaAzureProtectionProfileInput() + { + ApplicationConsistentSnapshotFrequencyInHours = this.ProtectionProfile.HyperVReplicaAzureProviderSettingsObject.ApplicationConsistentSnapshotFrequencyInHours, + ReplicationInterval = this.ProtectionProfile.HyperVReplicaAzureProviderSettingsObject.ReplicationFrequencyInSeconds, + OnlineReplicationStartTime = this.ProtectionProfile.HyperVReplicaAzureProviderSettingsObject.ReplicationStartTime, + RecoveryPointHistoryDuration = this.ProtectionProfile.HyperVReplicaAzureProviderSettingsObject.RecoveryPoints, + EncryptionEnabled = this.ProtectionProfile.HyperVReplicaAzureProviderSettingsObject.EncryptStoredData + }; + + var storageAccount = new CustomerStorageAccount(); + storageAccount.StorageAccountName = this.ProtectionProfile.HyperVReplicaAzureProviderSettingsObject.RecoveryAzureStorageAccountName; + storageAccount.SubscriptionId = this.ProtectionProfile.HyperVReplicaAzureProviderSettingsObject.RecoveryAzureSubscription; + + hyperVReplicaAzureProtectionProfileInput.StorageAccounts = new System.Collections.Generic.List(); + hyperVReplicaAzureProtectionProfileInput.StorageAccounts.Add(storageAccount); + + CreateProtectionProfileInput createProtectionProfileInput = + new CreateProtectionProfileInput( + string.IsNullOrEmpty(this.ProtectionProfile.Name) ? this.PrimaryProtectionContainer.Name : this.ProtectionProfile.Name, + this.ProtectionProfile.ReplicationProvider, + DataContractUtils.Serialize(hyperVReplicaAzureProtectionProfileInput)); + + ProtectionProfileAssociationInput protectionProfileAssociationInput = + new ProtectionProfileAssociationInput( + this.PrimaryProtectionContainer.ID, + Constants.AzureContainer); + + CreateAndAssociateProtectionProfileInput createAndAssociateProtectionProfileInput = + new CreateAndAssociateProtectionProfileInput( + createProtectionProfileInput, + protectionProfileAssociationInput); + + this.jobResponse = RecoveryServicesClient.StartCreateAndAssociateAzureSiteRecoveryProtectionProfileJob( + createAndAssociateProtectionProfileInput); + + this.WriteJob(this.jobResponse.Job); + } + + /// + /// Associates protection profile with enterprise based protection containers + /// + private void EnterpriseToEnterpriseAssociation() + { + if (string.Compare( + this.ProtectionProfile.ReplicationProvider, + Constants.HyperVReplica, + StringComparison.OrdinalIgnoreCase) != 0) + { + throw new InvalidOperationException( + string.Format( + Properties.Resources.IncorrectReplicationProvider, + this.ProtectionProfile.ReplicationProvider)); + } + + HyperVReplicaProtectionProfileInput hyperVReplicaProtectionProfileInput + = new HyperVReplicaProtectionProfileInput() + { + ApplicationConsistentSnapshotFrequencyInHours = this.ProtectionProfile.HyperVReplicaProviderSettingsObject.ApplicationConsistentSnapshotFrequencyInHours, + ReplicationFrequencyInSeconds = this.ProtectionProfile.HyperVReplicaProviderSettingsObject.ReplicationFrequencyInSeconds, + OnlineReplicationStartTime = this.ProtectionProfile.HyperVReplicaProviderSettingsObject.ReplicationStartTime, + CompressionEnabled = this.ProtectionProfile.HyperVReplicaProviderSettingsObject.CompressionEnabled, + OnlineReplicationMethod = (string.Compare(this.ProtectionProfile.HyperVReplicaProviderSettingsObject.ReplicationMethod, Constants.OnlineReplicationMethod, StringComparison.OrdinalIgnoreCase) == 0) ? true : false, + RecoveryPoints = this.ProtectionProfile.HyperVReplicaProviderSettingsObject.RecoveryPoints, + ReplicationPort = this.ProtectionProfile.HyperVReplicaProviderSettingsObject.ReplicationPort, + AllowReplicaDeletion = this.ProtectionProfile.HyperVReplicaProviderSettingsObject.AllowReplicaDeletion, + AllowedAuthenticationType = (ushort)((string.Compare(this.ProtectionProfile.HyperVReplicaProviderSettingsObject.Authentication, Constants.AuthenticationTypeKerberos, StringComparison.OrdinalIgnoreCase) == 0) ? 1 : 2), + }; + + CreateProtectionProfileInput createProtectionProfileInput = + new CreateProtectionProfileInput( + //// Name of the protection profile as the name of the protection container if not given + string.IsNullOrEmpty(this.ProtectionProfile.Name) ? this.PrimaryProtectionContainer.Name : this.ProtectionProfile.Name, + this.ProtectionProfile.ReplicationProvider, + DataContractUtils.Serialize(hyperVReplicaProtectionProfileInput)); + + ProtectionProfileAssociationInput protectionProfileAssociationInput = + new ProtectionProfileAssociationInput( + this.PrimaryProtectionContainer.ID, + this.RecoveryProtectionContainer.ID); + + CreateAndAssociateProtectionProfileInput createAndAssociateProtectionProfileInput = + new CreateAndAssociateProtectionProfileInput( + createProtectionProfileInput, + protectionProfileAssociationInput); + + this.jobResponse = RecoveryServicesClient.StartCreateAndAssociateAzureSiteRecoveryProtectionProfileJob( + createAndAssociateProtectionProfileInput); + + this.WriteJob(this.jobResponse.Job); + } + + /// + /// Writes Job + /// + /// Job object + private void WriteJob(Microsoft.WindowsAzure.Management.SiteRecovery.Models.Job job) + { + this.WriteObject(new ASRJob(job)); + } + } +} diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryProtectionProfileDissociationJob.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryProtectionProfileDissociationJob.cs new file mode 100644 index 000000000000..e7ed747dae83 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryProtectionProfileDissociationJob.cs @@ -0,0 +1,123 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Adds Azure Site Recovery Protection Profile settings to a Protection Container. + /// + [Cmdlet(VerbsLifecycle.Start, "AzureSiteRecoveryProtectionProfileDissociationJob", DefaultParameterSetName = ASRParameterSets.EnterpriseToAzure)] + [OutputType(typeof(ASRJob))] + public class StartAzureSiteRecoveryProtectionProfileDissociationJob : RecoveryServicesCmdletBase + { + /// + /// Job response. + /// + private JobResponse jobResponse = null; + + #region Parameters + + /// + /// Gets or sets Protection Profile object. + /// + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToEnterprise, Mandatory = true, ValueFromPipeline = true)] + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToAzure, Mandatory = true, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public ASRProtectionProfile ProtectionProfile { get; set; } + + /// + /// Gets or sets Protection Container to be removed the Protection Profile settings off. + /// + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToEnterprise, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToAzure, Mandatory = true)] + [ValidateNotNullOrEmpty] + public ASRProtectionContainer PrimaryProtectionContainer { get; set; } + + /// + /// Gets or sets Protection Container to be removed the Protection Profile settings off. + /// + [Parameter(ParameterSetName = ASRParameterSets.EnterpriseToEnterprise, Mandatory = true)] + [ValidateNotNullOrEmpty] + public ASRProtectionContainer RecoveryProtectionContainer { get; set; } + + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + string recoveryContainerId = string.Empty; + switch (this.ParameterSetName) + { + case ASRParameterSets.EnterpriseToAzure: + if (this.ProtectionProfile.ReplicationProvider != Constants.HyperVReplicaAzure) + { + throw new Exception("Please provide recovery container object."); + } + else + { + recoveryContainerId = Constants.AzureContainer; + } + + break; + case ASRParameterSets.EnterpriseToEnterprise: + recoveryContainerId = this.RecoveryProtectionContainer.ID; + break; + } + + ProtectionProfileAssociationInput protectionProfileAssociationInput = + new ProtectionProfileAssociationInput( + this.PrimaryProtectionContainer.ID, + recoveryContainerId); + + this.jobResponse = RecoveryServicesClient.StartDeleteAndDissociateAzureSiteRecoveryProtectionProfileJob( + this.ProtectionProfile.ID, + protectionProfileAssociationInput); + + this.WriteJob(this.jobResponse.Job); + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Handles interrupts. + /// + protected override void StopProcessing() + { + // Ctrl + C and etc + base.StopProcessing(); + this.StopProcessingFlag = true; + } + + /// + /// Writes Job + /// + /// Job object + private void WriteJob(Microsoft.WindowsAzure.Management.SiteRecovery.Models.Job job) + { + this.WriteObject(new ASRJob(job)); + } + } +} diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryTestFailoverJob.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryTestFailoverJob.cs index 226392247725..240e23931fff 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryTestFailoverJob.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryTestFailoverJob.cs @@ -13,11 +13,9 @@ // ---------------------------------------------------------------------------------- using System; -using System.Diagnostics; using System.Management.Automation; -using System.Threading; using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; -using Microsoft.WindowsAzure; +using Microsoft.Azure.Portal.RecoveryServices.Models.Common; using Microsoft.WindowsAzure.Management.SiteRecovery.Models; namespace Microsoft.Azure.Commands.RecoveryServices @@ -25,7 +23,7 @@ namespace Microsoft.Azure.Commands.RecoveryServices /// /// Used to initiate a commit operation. /// - [Cmdlet(VerbsLifecycle.Start, "AzureSiteRecoveryTestFailoverJob", DefaultParameterSetName = ASRParameterSets.ByRPObject)] + [Cmdlet(VerbsLifecycle.Start, "AzureSiteRecoveryTestFailoverJob", DefaultParameterSetName = ASRParameterSets.ByPEId)] [OutputType(typeof(ASRJob))] public class StartAzureSiteRecoveryTestFailoverJob : RecoveryServicesCmdletBase { @@ -49,27 +47,50 @@ public class StartAzureSiteRecoveryTestFailoverJob : RecoveryServicesCmdletBase /// Gets or sets ID of the Recovery Plan. /// [Parameter(ParameterSetName = ASRParameterSets.ByRPId, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByRPIdWithLogicalNetworkID, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByRPIdWithVMNetworkID, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByRPIdWithVMNetwork, Mandatory = true)] [ValidateNotNullOrEmpty] - public string RpId {get; set;} + public string RpId { get; set; } + + /// + /// Gets or sets Network. + /// + [Parameter] + [Parameter(ParameterSetName = ASRParameterSets.ByPEObjectWithVMNetwork, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByRPObjectWithVMNetwork, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByRPIdWithVMNetwork, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByPEIdWithVMNetwork, Mandatory = true)] + public ASRNetwork Network { get; set; } + + /// + /// Gets or sets NetworkType. + /// + [Parameter(Mandatory = false)] + [ValidateSet( + Constants.None, + Constants.New, + Constants.Existing)] + public string NetworkType { get; set; } /// /// Gets or sets Recovery Plan object. /// [Parameter(ParameterSetName = ASRParameterSets.ByRPObject, Mandatory = true, ValueFromPipeline = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByRPObjectWithLogicalNetworkID, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByRPObjectWithVMNetworkID, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByRPObjectWithVMNetwork, Mandatory = true)] [ValidateNotNullOrEmpty] - public ASRRecoveryPlan RecoveryPlan {get; set;} + public ASRRecoveryPlan RecoveryPlan { get; set; } /// /// Gets or sets failover direction for the recovery plan. /// - [Parameter(ParameterSetName = ASRParameterSets.ByRPObject, Mandatory = true)] - [Parameter(ParameterSetName = ASRParameterSets.ByRPId, Mandatory = true)] - [Parameter(ParameterSetName = ASRParameterSets.ByPEObject, Mandatory = true)] - [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = true)] + [Parameter(Mandatory = true)] [ValidateSet( - PSRecoveryServicesClient.PrimaryToRecovery, - PSRecoveryServicesClient.RecoveryToPrimary)] - public string Direction {get; set;} + Constants.PrimaryToRecovery, + Constants.RecoveryToPrimary)] + public string Direction { get; set; } /// /// Gets or sets ID of the PE. @@ -77,8 +98,9 @@ public class StartAzureSiteRecoveryTestFailoverJob : RecoveryServicesCmdletBase [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = true)] [Parameter(ParameterSetName = ASRParameterSets.ByPEIdWithLogicalNetworkID, Mandatory = true)] [Parameter(ParameterSetName = ASRParameterSets.ByPEIdWithVMNetworkID, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByPEIdWithVMNetwork, Mandatory = true)] [ValidateNotNullOrEmpty] - public string ProtectionEntityId {get; set;} + public string ProtectionEntityId { get; set; } /// /// Gets or sets ID of the Recovery Plan. @@ -86,8 +108,9 @@ public class StartAzureSiteRecoveryTestFailoverJob : RecoveryServicesCmdletBase [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = true)] [Parameter(ParameterSetName = ASRParameterSets.ByPEIdWithLogicalNetworkID, Mandatory = true)] [Parameter(ParameterSetName = ASRParameterSets.ByPEIdWithVMNetworkID, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByPEIdWithVMNetwork, Mandatory = true)] [ValidateNotNullOrEmpty] - public string ProtectionContainerId {get; set;} + public string ProtectionContainerId { get; set; } /// /// Gets or sets Protection Entity object. @@ -95,28 +118,33 @@ public class StartAzureSiteRecoveryTestFailoverJob : RecoveryServicesCmdletBase [Parameter(ParameterSetName = ASRParameterSets.ByPEObject, Mandatory = true, ValueFromPipeline = true)] [Parameter(ParameterSetName = ASRParameterSets.ByPEObjectWithLogicalNetworkID, Mandatory = true)] [Parameter(ParameterSetName = ASRParameterSets.ByPEObjectWithVMNetworkID, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByPEObjectWithVMNetwork, Mandatory = true)] [ValidateNotNullOrEmpty] - public ASRProtectionEntity ProtectionEntity {get; set;} + public ASRProtectionEntity ProtectionEntity { get; set; } /// /// Gets or sets switch parameter. This is required to wait for job completion. /// [Parameter] - public SwitchParameter WaitForCompletion {get; set;} + public SwitchParameter WaitForCompletion { get; set; } /// /// Gets or sets Logical network ID. /// [Parameter(ParameterSetName = ASRParameterSets.ByPEObjectWithLogicalNetworkID, Mandatory = true)] [Parameter(ParameterSetName = ASRParameterSets.ByPEIdWithLogicalNetworkID, Mandatory = true)] - public string LogicalNetworkId {get; set;} + [Parameter(ParameterSetName = ASRParameterSets.ByRPObjectWithLogicalNetworkID, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByRPIdWithLogicalNetworkID, Mandatory = true)] + public string LogicalNetworkId { get; set; } /// /// Gets or sets VM network ID. /// [Parameter(ParameterSetName = ASRParameterSets.ByPEObjectWithVMNetworkID, Mandatory = true)] [Parameter(ParameterSetName = ASRParameterSets.ByPEIdWithVMNetworkID, Mandatory = true)] - public string VmNetworkId {get; set;} + [Parameter(ParameterSetName = ASRParameterSets.ByRPObjectWithVMNetworkID, Mandatory = true)] + [Parameter(ParameterSetName = ASRParameterSets.ByRPIdWithVMNetworkID, Mandatory = true)] + public string VmNetworkId { get; set; } #endregion Parameters /// @@ -126,13 +154,66 @@ public override void ExecuteCmdlet() { try { + if (this.NetworkType == null) + { + this.WriteWarningWithTimestamp( + string.Format( + Properties.Resources.MandatoryParamFromNextRelease, + Constants.NetworkType)); + } + + if (this.VmNetworkId != null) + { + this.WriteWarningWithTimestamp( + string.Format( + Properties.Resources.IDBasedParamUsageNotSupportedFromNextRelease, + "VmNetworkId")); + } + + if (this.NetworkType == Constants.Existing && (this.Network == null && this.VmNetworkId == null)) + { + throw new Exception("Existing Network details were not supplied."); + } + switch (this.ParameterSetName) { case ASRParameterSets.ByRPObject: this.RpId = this.RecoveryPlan.ID; + this.networkType = "DisconnectedVMNetworkTypeForTestFailover"; this.StartRpTestFailover(); break; case ASRParameterSets.ByRPId: + this.networkType = "DisconnectedVMNetworkTypeForTestFailover"; + this.StartRpTestFailover(); + break; + case ASRParameterSets.ByRPObjectWithVMNetwork: + this.networkType = "UseVMNetworkTypeForTestFailover"; + this.networkId = this.Network.ID; + this.StartRpTestFailover(); + break; + case ASRParameterSets.ByRPObjectWithVMNetworkID: + this.networkType = "UseVMNetworkTypeForTestFailover"; + this.networkId = this.VmNetworkId; + this.StartRpTestFailover(); + break; + case ASRParameterSets.ByRPIdWithVMNetwork: + this.networkType = "UseVMNetworkTypeForTestFailover"; + this.networkId = this.Network.ID; + this.StartRpTestFailover(); + break; + case ASRParameterSets.ByRPIdWithVMNetworkID: + this.networkType = "UseVMNetworkTypeForTestFailover"; + this.networkId = this.VmNetworkId; + this.StartRpTestFailover(); + break; + case ASRParameterSets.ByRPIdWithLogicalNetworkID: + this.networkType = "CreateVMNetworkTypeForTestFailover"; + this.networkId = this.LogicalNetworkId; + this.StartRpTestFailover(); + break; + case ASRParameterSets.ByRPObjectWithLogicalNetworkID: + this.networkType = "CreateVMNetworkTypeForTestFailover"; + this.networkId = this.LogicalNetworkId; this.StartRpTestFailover(); break; case ASRParameterSets.ByPEObject: @@ -149,7 +230,13 @@ public override void ExecuteCmdlet() this.networkId = this.VmNetworkId; this.UpdateRequiredParametersAndStartFailover(); break; + case ASRParameterSets.ByPEObjectWithVMNetwork: + this.networkType = "UseVMNetworkTypeForTestFailover"; + this.networkId = this.Network.ID; + this.UpdateRequiredParametersAndStartFailover(); + break; case ASRParameterSets.ByPEId: + this.networkType = "DisconnectedVMNetworkTypeForTestFailover"; this.StartPETestFailover(); break; case ASRParameterSets.ByPEIdWithLogicalNetworkID: @@ -162,6 +249,11 @@ public override void ExecuteCmdlet() this.networkId = this.VmNetworkId; this.StartPETestFailover(); break; + case ASRParameterSets.ByPEIdWithVMNetwork: + this.networkType = "UseVMNetworkTypeForTestFailover"; + this.networkId = this.Network.ID; + this.StartPETestFailover(); + break; } } catch (Exception exception) @@ -175,11 +267,40 @@ public override void ExecuteCmdlet() /// private void StartRpTestFailover() { - RpTestFailoverRequest recoveryPlanTestFailoverRequest = new RpTestFailoverRequest(); - recoveryPlanTestFailoverRequest.FailoverDirection = this.Direction; + RpTestFailoverRequest request = new RpTestFailoverRequest(); + + if (this.RecoveryPlan == null) + { + var rp = RecoveryServicesClient.GetAzureSiteRecoveryRecoveryPlan( + this.RpId); + this.RecoveryPlan = new ASRRecoveryPlan(rp.RecoveryPlan); + + this.ValidateUsageById( + this.RecoveryPlan.ReplicationProvider, + Constants.RPId); + } + + request.ReplicationProviderSettings = string.Empty; + + if (this.RecoveryPlan.ReplicationProvider == Constants.HyperVReplicaAzure) + { + if (this.Direction == Constants.PrimaryToRecovery) + { + var blob = new AzureFailoverInput(); + blob.VaultLocation = this.GetCurrentValutLocation(); + request.ReplicationProviderSettings = DataContractUtils.Serialize(blob); + } + } + + request.NetworkID = this.networkId; + request.NetworkType = this.networkType; + + request.ReplicationProvider = this.RecoveryPlan.ReplicationProvider; + request.FailoverDirection = this.Direction; + this.jobResponse = RecoveryServicesClient.StartAzureSiteRecoveryTestFailover( this.RpId, - recoveryPlanTestFailoverRequest); + request); this.WriteJob(this.jobResponse.Job); @@ -194,18 +315,43 @@ private void StartRpTestFailover() /// private void StartPETestFailover() { - var tfoReqeust = new TestFailoverRequest(); - tfoReqeust.NetworkID = this.networkId; - tfoReqeust.FailoverDirection = this.Direction; - tfoReqeust.NetworkType = this.networkType; - tfoReqeust.ReplicationProvider = string.Empty; - tfoReqeust.ReplicationProviderSettings = string.Empty; + var request = new TestFailoverRequest(); + + if (this.ProtectionEntity == null) + { + var pe = RecoveryServicesClient.GetAzureSiteRecoveryProtectionEntity( + this.ProtectionContainerId, + this.ProtectionEntityId); + this.ProtectionEntity = new ASRProtectionEntity(pe.ProtectionEntity); + + this.ValidateUsageById( + this.ProtectionEntity.ReplicationProvider, + Constants.ProtectionEntityId); + } + + request.ReplicationProviderSettings = string.Empty; + + if (this.ProtectionEntity.ReplicationProvider == Constants.HyperVReplicaAzure) + { + if (this.Direction == Constants.PrimaryToRecovery) + { + var blob = new AzureFailoverInput(); + blob.VaultLocation = this.GetCurrentValutLocation(); + request.ReplicationProviderSettings = DataContractUtils.Serialize(blob); + } + } + + request.ReplicationProvider = this.ProtectionEntity.ReplicationProvider; + request.FailoverDirection = this.Direction; + + request.NetworkID = this.networkId; + request.NetworkType = this.networkType; this.jobResponse = RecoveryServicesClient.StartAzureSiteRecoveryTestFailover( this.ProtectionContainerId, this.ProtectionEntityId, - tfoReqeust); + request); this.WriteJob(this.jobResponse.Job); if (this.WaitForCompletion.IsPresent) diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryUnPlannedFailoverJob.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryUnPlannedFailoverJob.cs index e13d21ee68d8..e018357be807 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryUnPlannedFailoverJob.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StartAzureSiteRecoveryUnPlannedFailoverJob.cs @@ -17,7 +17,7 @@ using System.Management.Automation; using System.Threading; using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; -using Microsoft.WindowsAzure; +using Microsoft.Azure.Portal.RecoveryServices.Models.Common; using Microsoft.WindowsAzure.Management.SiteRecovery.Models; namespace Microsoft.Azure.Commands.RecoveryServices @@ -29,46 +29,57 @@ namespace Microsoft.Azure.Commands.RecoveryServices [OutputType(typeof(ASRJob))] public class StartAzureSiteRecoveryUnplannedFailoverJob : RecoveryServicesCmdletBase { - #region Parameters + /// + /// Primary actions. + /// + private bool? primaryAction; + + /// + /// Perform Source SiteOperations. + /// + private bool? performSourceSiteOperations; + /// /// Job response. /// - private JobResponse jobResponse = null; + private JobResponse jobResponse = null; + + #region Parameters /// /// Gets or sets ID of the Recovery Plan. /// [Parameter(ParameterSetName = ASRParameterSets.ByRPId, Mandatory = true)] [ValidateNotNullOrEmpty] - public string RPId {get; set;} + public string RPId { get; set; } /// /// Gets or sets ID of the PE. /// [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = true)] [ValidateNotNullOrEmpty] - public string ProtectionEntityId {get; set;} + public string ProtectionEntityId { get; set; } /// /// Gets or sets ID of the Recovery Plan. /// [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = true)] [ValidateNotNullOrEmpty] - public string ProtectionContainerId {get; set;} + public string ProtectionContainerId { get; set; } /// /// Gets or sets Recovery Plan object. /// [Parameter(ParameterSetName = ASRParameterSets.ByRPObject, Mandatory = true, ValueFromPipeline = true)] [ValidateNotNullOrEmpty] - public ASRRecoveryPlan RecoveryPlan {get; set;} + public ASRRecoveryPlan RecoveryPlan { get; set; } /// /// Gets or sets Protection Entity object. /// [Parameter(ParameterSetName = ASRParameterSets.ByPEObject, Mandatory = true, ValueFromPipeline = true)] [ValidateNotNullOrEmpty] - public ASRProtectionEntity ProtectionEntity {get; set;} + public ASRProtectionEntity ProtectionEntity { get; set; } /// /// Gets or sets Failover direction for the recovery plan. @@ -78,29 +89,61 @@ public class StartAzureSiteRecoveryUnplannedFailoverJob : RecoveryServicesCmdlet [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = true)] [Parameter(ParameterSetName = ASRParameterSets.ByPEObject, Mandatory = true)] [ValidateSet( - PSRecoveryServicesClient.PrimaryToRecovery, - PSRecoveryServicesClient.RecoveryToPrimary)] - public string Direction {get; set;} + Constants.PrimaryToRecovery, + Constants.RecoveryToPrimary)] + public string Direction { get; set; } /// /// Gets or sets a value indicating whether primary site actions are required or not. /// - [Parameter(ParameterSetName = ASRParameterSets.ByRPObject, Mandatory = true)] - [Parameter(ParameterSetName = ASRParameterSets.ByRPId, Mandatory = true)] - public bool PrimaryAction {get; set;} + [Parameter(ParameterSetName = ASRParameterSets.ByRPObject, Mandatory = false)] + [Parameter(ParameterSetName = ASRParameterSets.ByRPId, Mandatory = false)] + public bool PrimaryAction + { + get + { + return this.primaryAction.HasValue ? this.primaryAction.Value : false; + } + + set + { + this.primaryAction = value; + this.PerformSourceSideActions = value; + } + } /// /// Gets or sets a value indicating whether can do source site operations. /// [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = false)] [Parameter(ParameterSetName = ASRParameterSets.ByPEObject, Mandatory = false)] - public bool PerformSourceSiteOperations {get; set;} + public bool PerformSourceSiteOperations + { + get + { + return this.performSourceSiteOperations.HasValue ? + this.performSourceSiteOperations.Value : + false; + } + + set + { + this.performSourceSiteOperations = value; + this.PerformSourceSideActions = value; + } + } + + /// + /// Gets or sets switch parameter. This is required to PerformSourceSideActions. + /// + [Parameter] + public SwitchParameter PerformSourceSideActions { get; set; } /// /// Gets or sets switch parameter. This is required to wait for job completion. /// [Parameter] - public SwitchParameter WaitForCompletion {get; set;} + public SwitchParameter WaitForCompletion { get; set; } #endregion Parameters /// @@ -110,6 +153,20 @@ public override void ExecuteCmdlet() { try { + if (this.primaryAction.HasValue) + { + this.WriteWarningWithTimestamp( + "PrimaryAction parameter will not be supported from next release. " + + "Please use PerformSourceSideActions parameter instead."); + } + + if (this.performSourceSiteOperations.HasValue) + { + this.WriteWarningWithTimestamp( + "PerformSourceSiteOperations parameter will not be supported from next release. " + + "Please use PerformSourceSideActions parameter instead."); + } + switch (this.ParameterSetName) { case ASRParameterSets.ByRPObject: @@ -140,14 +197,40 @@ public override void ExecuteCmdlet() /// private void StartPEUnplannedFailover() { - var ufoReqeust = new UnplannedFailoverRequest(); - ufoReqeust.FailoverDirection = this.Direction; - ufoReqeust.SourceSiteOperations = this.PerformSourceSiteOperations; + var request = new UnplannedFailoverRequest(); + if (this.ProtectionEntity == null) + { + var pe = RecoveryServicesClient.GetAzureSiteRecoveryProtectionEntity( + this.ProtectionContainerId, + this.ProtectionEntityId); + this.ProtectionEntity = new ASRProtectionEntity(pe.ProtectionEntity); + + this.ValidateUsageById( + this.ProtectionEntity.ReplicationProvider, + Constants.ProtectionEntityId); + } + + request.ReplicationProviderSettings = string.Empty; + + if (this.ProtectionEntity.ReplicationProvider == Constants.HyperVReplicaAzure) + { + request.ReplicationProvider = this.ProtectionEntity.ReplicationProvider; + if (this.Direction == Constants.PrimaryToRecovery) + { + var blob = new AzureFailoverInput(); + blob.VaultLocation = this.GetCurrentValutLocation(); + request.ReplicationProviderSettings = DataContractUtils.Serialize(blob); + } + } + + request.ReplicationProvider = this.ProtectionEntity.ReplicationProvider; + request.FailoverDirection = this.Direction; + request.SourceSiteOperations = this.PerformSourceSideActions; this.jobResponse = RecoveryServicesClient.StartAzureSiteRecoveryUnplannedFailover( this.ProtectionContainerId, this.ProtectionEntityId, - ufoReqeust); + request); this.WriteJob(this.jobResponse.Job); if (this.WaitForCompletion.IsPresent) @@ -161,12 +244,39 @@ private void StartPEUnplannedFailover() /// private void StartRpUnPlannedFailover() { - RpUnplannedFailoverRequest recoveryPlanUnPlannedFailoverRequest = new RpUnplannedFailoverRequest(); - recoveryPlanUnPlannedFailoverRequest.FailoverDirection = this.Direction; - recoveryPlanUnPlannedFailoverRequest.PrimaryAction = this.PrimaryAction; + RpUnplannedFailoverRequest request = new RpUnplannedFailoverRequest(); + + if (this.RecoveryPlan == null) + { + var rp = RecoveryServicesClient.GetAzureSiteRecoveryRecoveryPlan( + this.RPId); + this.RecoveryPlan = new ASRRecoveryPlan(rp.RecoveryPlan); + + this.ValidateUsageById( + this.RecoveryPlan.ReplicationProvider, + Constants.RPId); + } + + request.ReplicationProviderSettings = string.Empty; + + if (this.RecoveryPlan.ReplicationProvider == Constants.HyperVReplicaAzure) + { + request.ReplicationProvider = this.RecoveryPlan.ReplicationProvider; + if (this.Direction == Constants.PrimaryToRecovery) + { + var blob = new AzureFailoverInput(); + blob.VaultLocation = this.GetCurrentValutLocation(); + request.ReplicationProviderSettings = DataContractUtils.Serialize(blob); + } + } + + request.ReplicationProvider = this.RecoveryPlan.ReplicationProvider; + request.FailoverDirection = this.Direction; + request.PrimaryAction = this.PerformSourceSideActions; + this.jobResponse = RecoveryServicesClient.StartAzureSiteRecoveryUnplannedFailover( this.RPId, - recoveryPlanUnPlannedFailoverRequest); + request); this.WriteJob(this.jobResponse.Job); diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StopAzureSiteRecoveryJob.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StopAzureSiteRecoveryJob.cs index 8d5bc61347a9..96994ddb0a34 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StopAzureSiteRecoveryJob.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/StopAzureSiteRecoveryJob.cs @@ -15,7 +15,6 @@ using System; using System.Management.Automation; using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; -using Microsoft.WindowsAzure; namespace Microsoft.Azure.Commands.RecoveryServices { @@ -32,14 +31,14 @@ public class StopAzureSiteRecoveryJob : RecoveryServicesCmdletBase /// [Parameter(ParameterSetName = ASRParameterSets.ById, Mandatory = true)] [ValidateNotNullOrEmpty] - public string Id {get; set;} + public string Id { get; set; } /// /// Gets or sets Job Object. /// [Parameter(ParameterSetName = ASRParameterSets.ByObject, Mandatory = true, ValueFromPipeline = true)] [ValidateNotNullOrEmpty] - public ASRJob Job {get; set;} + public ASRJob Job { get; set; } #endregion Parameters /// diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/UpdateAzureSiteRecoveryProtectionDirection.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/UpdateAzureSiteRecoveryProtectionDirection.cs index 6ad03b2da75d..ee657b1f77ef 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/UpdateAzureSiteRecoveryProtectionDirection.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/UpdateAzureSiteRecoveryProtectionDirection.cs @@ -13,11 +13,9 @@ // ---------------------------------------------------------------------------------- using System; -using System.Diagnostics; using System.Management.Automation; -using System.Threading; using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; -using Microsoft.WindowsAzure; +using Microsoft.Azure.Portal.RecoveryServices.Models.Common; using Microsoft.WindowsAzure.Management.SiteRecovery.Models; namespace Microsoft.Azure.Commands.RecoveryServices @@ -40,50 +38,50 @@ public class UpdateAzureSiteRecoveryProtection : RecoveryServicesCmdletBase /// [Parameter(ParameterSetName = ASRParameterSets.ByRPId, Mandatory = true)] [ValidateNotNullOrEmpty] - public string RPId {get; set;} + public string RPId { get; set; } /// /// Gets or sets ID of the PE. /// [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = true)] [ValidateNotNullOrEmpty] - public string ProtectionEntityId {get; set;} + public string ProtectionEntityId { get; set; } /// /// Gets or sets ID of the Recovery Plan. /// [Parameter(ParameterSetName = ASRParameterSets.ByPEId, Mandatory = true)] [ValidateNotNullOrEmpty] - public string ProtectionContainerId {get; set;} + public string ProtectionContainerId { get; set; } /// /// Gets or sets Recovery Plan object. /// [Parameter(ParameterSetName = ASRParameterSets.ByRPObject, Mandatory = true, ValueFromPipeline = true)] [ValidateNotNullOrEmpty] - public ASRRecoveryPlan RecoveryPlan {get; set;} + public ASRRecoveryPlan RecoveryPlan { get; set; } /// /// Gets or sets Protection Entity object. /// [Parameter(ParameterSetName = ASRParameterSets.ByPEObject, Mandatory = true, ValueFromPipeline = true)] [ValidateNotNullOrEmpty] - public ASRProtectionEntity ProtectionEntity {get; set;} + public ASRProtectionEntity ProtectionEntity { get; set; } /// /// Gets or sets Failover direction for the recovery plan. /// [Parameter(Mandatory = true)] [ValidateSet( - PSRecoveryServicesClient.PrimaryToRecovery, - PSRecoveryServicesClient.RecoveryToPrimary)] - public string Direction {get; set;} + Constants.PrimaryToRecovery, + Constants.RecoveryToPrimary)] + public string Direction { get; set; } /// /// Gets or sets switch parameter. This is required to wait for job completion. /// [Parameter] - public SwitchParameter WaitForCompletion {get; set;} + public SwitchParameter WaitForCompletion { get; set; } #endregion Parameters /// @@ -123,6 +121,24 @@ public override void ExecuteCmdlet() /// private void SetRpReprotect() { + var request = new ReprotectRequest(); + + if (this.RecoveryPlan == null) + { + var rp = RecoveryServicesClient.GetAzureSiteRecoveryRecoveryPlan( + this.RPId); + this.RecoveryPlan = new ASRRecoveryPlan(rp.RecoveryPlan); + + this.ValidateUsageById( + this.RecoveryPlan.ReplicationProvider, + Constants.RPId); + } + + request.ReplicationProvider = this.RecoveryPlan.ReplicationProvider; + request.ReplicationProviderSettings = string.Empty; + + request.FailoverDirection = this.Direction; + this.jobResponse = RecoveryServicesClient.UpdateAzureSiteRecoveryProtection( this.RPId); @@ -139,27 +155,52 @@ private void SetRpReprotect() /// private void SetPEReprotect() { + if ((this.Direction == Constants.PrimaryToRecovery && + this.ProtectionEntity.ActiveLocation == Constants.RecoveryLocation) || + (this.Direction == Constants.RecoveryToPrimary && + this.ProtectionEntity.ActiveLocation == Constants.PrimaryLocation)) + { + throw new ArgumentException("Parameter value is not correct.", "Direction"); + } + + var request = new ReprotectRequest(); + if (this.ProtectionEntity == null) { - ProtectionEntityResponse protectionEntityResponse = - RecoveryServicesClient.GetAzureSiteRecoveryProtectionEntity( + var pe = RecoveryServicesClient.GetAzureSiteRecoveryProtectionEntity( this.ProtectionContainerId, this.ProtectionEntityId); - this.ProtectionEntity = new ASRProtectionEntity(protectionEntityResponse.ProtectionEntity); + this.ProtectionEntity = new ASRProtectionEntity(pe.ProtectionEntity); + + this.ValidateUsageById( + this.ProtectionEntity.ReplicationProvider, + this.ProtectionEntityId); } - // Until RR is done active location remains same from where FO was initiated. - if ((this.Direction == PSRecoveryServicesClient.PrimaryToRecovery && - this.ProtectionEntity.ActiveLocation != PSRecoveryServicesClient.RecoveryLocation) || - (this.Direction == PSRecoveryServicesClient.RecoveryToPrimary && - this.ProtectionEntity.ActiveLocation != PSRecoveryServicesClient.PrimaryLocation)) + request.ReplicationProviderSettings = string.Empty; + + if (this.ProtectionEntity.ReplicationProvider == Constants.HyperVReplicaAzure) { - throw new ArgumentException("Parameter value is not correct.", "Direction"); + if (this.Direction == Constants.PrimaryToRecovery) + { + var blob = new AzureReProtectionInput(); + blob.HvHostVmId = this.ProtectionEntity.FabricObjectId; + blob.VmName = this.ProtectionEntity.Name; + + blob.OSType = this.ProtectionEntity.OS; + blob.VHDId = this.ProtectionEntity.OSDiskId; + + request.ReplicationProviderSettings = DataContractUtils.Serialize(blob); + } } + request.ReplicationProvider = this.ProtectionEntity.ReplicationProvider; + request.FailoverDirection = this.Direction; + this.jobResponse = RecoveryServicesClient.StartAzureSiteRecoveryReprotection( this.ProtectionContainerId, - this.ProtectionEntityId); + this.ProtectionEntityId, + request); this.WriteJob(this.jobResponse.Job); diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/UpdateAzureSiteRecoveryProtectionEntity.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/UpdateAzureSiteRecoveryProtectionEntity.cs new file mode 100644 index 000000000000..e04af1730f16 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/UpdateAzureSiteRecoveryProtectionEntity.cs @@ -0,0 +1,124 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Diagnostics; +using System.Management.Automation; +using System.Threading; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Used to initiate a commit operation. + /// + [Cmdlet(VerbsData.Update, "AzureSiteRecoveryProtectionEntity")] + [OutputType(typeof(ASRJob))] + public class UpdateAzureSiteRecoveryProtectionEntity : RecoveryServicesCmdletBase + { + #region Parameters + + /// + /// ID of the PE object to Update user information on. + /// + private string protectionEntityId; + + /// + /// Protection container ID of the object to Update user information on. + /// + private string protectionContainerId; + + /// + /// Job response. + /// + private JobResponse jobResponse = null; + + /// + /// Gets or sets Protection Entity object. + /// + [Parameter(Mandatory = true, ValueFromPipeline = true)] + [ValidateNotNullOrEmpty] + public ASRProtectionEntity ProtectionEntity + { + get; + set; + } + + /// + /// Gets or sets switch parameter. This is required to wait for job completion. + /// + [Parameter] + public SwitchParameter WaitForCompletion + { + get; + set; + } + + #endregion Parameters + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + this.protectionContainerId = this.ProtectionEntity.ProtectionContainerId; + this.protectionEntityId = this.ProtectionEntity.ID; + this.SyncOwnerInformationOnPE(); + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + /// + /// Handles interrupts. + /// + protected override void StopProcessing() + { + // Ctrl + C and etc + base.StopProcessing(); + this.StopProcessingFlag = true; + } + + /// + /// Syncs the owner information. + /// + private void SyncOwnerInformationOnPE() + { + this.jobResponse = RecoveryServicesClient.UpdateAzureSiteRecoveryProtectionEntity( + this.protectionContainerId, + this.protectionEntityId); + + this.WriteJob(this.jobResponse.Job); + + if (this.WaitForCompletion) + { + this.WaitForJobCompletion(this.jobResponse.Job.ID); + } + } + + /// + /// Writes Job + /// + /// Job object + private void WriteJob(Microsoft.WindowsAzure.Management.SiteRecovery.Models.Job job) + { + this.WriteObject(new ASRJob(job)); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/UpdateAzureSiteRecoveryRecoveryPlan.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/UpdateAzureSiteRecoveryRecoveryPlan.cs index d0d5324ec879..a82773d44c03 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/UpdateAzureSiteRecoveryRecoveryPlan.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/UpdateAzureSiteRecoveryRecoveryPlan.cs @@ -17,7 +17,6 @@ using System.Management.Automation; using System.Threading; using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; -using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.Management.SiteRecovery.Models; namespace Microsoft.Azure.Commands.RecoveryServices @@ -40,13 +39,13 @@ public class UpdateAzureSiteRecoveryRecoveryPlan : RecoveryServicesCmdletBase /// [Parameter(Mandatory = true)] [ValidateNotNullOrEmpty] - public string File {get; set;} + public string File { get; set; } /// /// Gets or sets switch parameter. This is required to wait for job completion. /// [Parameter] - public SwitchParameter WaitForCompletion {get; set;} + public SwitchParameter WaitForCompletion { get; set; } #endregion Parameters /// diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Settings.StyleCop b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Settings.StyleCop new file mode 100644 index 000000000000..ee9b48e3f25a --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Settings.StyleCop @@ -0,0 +1,43 @@ + + + + Linked + + + + + + + False + + + + + False + + + + + + + + + + False + + + + + + + + + + False + + + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/CertUtils.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/CertUtils.cs new file mode 100644 index 000000000000..a2ff37c8ba7e --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/CertUtils.cs @@ -0,0 +1,174 @@ +// ---------------------------------------------------------------------------------- +// +// 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 System.Security.Cryptography; +using System.Security.Cryptography.X509Certificates; +using Security.Cryptography; +using Security.Cryptography.X509Certificates; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Class to provide methods to manage the certificates. + /// + public static class CertUtils + { + /// + /// Enhancement provider + /// + private const string MsEnhancedProv = "Microsoft Enhanced Cryptographic Provider v1.0"; + + /// + /// Client Authentication Value + /// + private const string OIDClientAuthValue = "1.3.6.1.5.5.7.3.2"; + + /// + /// Client Authentication Friendly name + /// + private const string OIDClientAuthFriendlyName = "Client Authentication"; + + /// + /// Key size + /// + private const int KeySize2048 = 2048; + + /// + /// default issuer name + /// + private const string DefaultIssuer = "CN=Windows Azure Tools"; + + /// + /// default password. + /// + private const string DefaultPassword = ""; + + /// + /// Method to generate a self signed certificate + /// + /// number of hours for which the certificate is valid. + /// subscriptionId in question + /// prefix for the certificate name + /// issuer for the certificate + /// certificate password + /// certificate as an object + public static X509Certificate2 CreateSelfSignedCertificate( + int validForHours, + string subscriptionId, + string certificateNamePrefix, + string issuer = DefaultIssuer, + string password = DefaultPassword) + { + string friendlyName = GenerateCertFriendlyName(subscriptionId, certificateNamePrefix); + DateTime startTime = DateTime.UtcNow.AddMinutes(-10); + DateTime endTime = DateTime.UtcNow.AddHours(validForHours); + + var key = Create2048RsaKey(); + + var creationParams = new X509CertificateCreationParameters(new X500DistinguishedName(issuer)) + { + TakeOwnershipOfKey = true, + StartTime = startTime, + EndTime = endTime + }; + + //// adding client authentication, -eku = 1.3.6.1.5.5.7.3.2, + //// This is mandatory for the upload to be successful + OidCollection oidCollection = new OidCollection(); + oidCollection.Add(new Oid(OIDClientAuthValue, OIDClientAuthFriendlyName)); + creationParams.Extensions.Add(new X509EnhancedKeyUsageExtension(oidCollection, false)); + + // Documentation of CreateSelfSignedCertificate states: + // If creationParameters have TakeOwnershipOfKey set to true, the certificate + // generated will own the key and the input CngKey will be disposed to ensure + // that the caller doesn't accidentally use it beyond its lifetime (which is + // now controlled by the certificate object). + // We don't dispose it ourselves in this case. + var cert = key.CreateSelfSignedCertificate(creationParams); + key = null; + cert.FriendlyName = friendlyName; + + // X509 certificate needs PersistKeySet flag set. + // Reload a new X509Certificate2 instance from exported bytes in order to set the PersistKeySet flag. + var bytes = cert.Export(X509ContentType.Pfx, password); + + // PfxValidation is not done here because these are newly created certs and assumed valid. + return NewX509Certificate2(bytes, password, X509KeyStorageFlags.PersistKeySet | X509KeyStorageFlags.Exportable, shouldValidatePfx: false); + } + + /// + /// Provides a similar API call to new X509Certificate(byte[],string,X509KeyStorageFlags) + /// + /// The bytes that represent the certificate + /// The certificate private password + /// The certificate loading options + /// Flag to indicate if file should validated. Set to true if the rawData is retrieved from an untrusted source. + /// An instance of the X509Certificate + public static X509Certificate2 NewX509Certificate2(byte[] rawData, string password, X509KeyStorageFlags keyStorageFlags, bool shouldValidatePfx) + { + string temporaryFileName = Path.GetTempFileName(); + + try + { + X509ContentType contentType = X509Certificate2.GetCertContentType(rawData); + File.WriteAllBytes(temporaryFileName, rawData); + return new X509Certificate2(temporaryFileName, password, keyStorageFlags); + } + finally + { + try + { + File.Delete(temporaryFileName); + } + catch (Exception) + { + // Not deleting the file is fine + } + } + } + + /// + /// Generates friendly name + /// + /// subscription id + /// prefix, likely resource name + /// friendly name + private static string GenerateCertFriendlyName(string subscriptionId, string prefix = "") + { + return string.Format("{0}{1}-{2}-vaultcredentials", prefix, subscriptionId, DateTime.Now.ToString("M-d-yyyy")); + } + + /// + /// Windows Azure Service Management API requires 2048bit RSA keys. + /// The private key needs to be exportable so we can save it for sharing with team members. + /// + /// A 2048 bit RSA key + private static CngKey Create2048RsaKey() + { + var keyCreationParameters = new CngKeyCreationParameters + { + ExportPolicy = CngExportPolicies.AllowExport, + KeyCreationOptions = CngKeyCreationOptions.None, + KeyUsage = CngKeyUsages.AllUsages, + Provider = new CngProvider(MsEnhancedProv) + }; + + keyCreationParameters.Parameters.Add(new CngProperty("Length", BitConverter.GetBytes(KeySize2048), CngPropertyOptions.None)); + + return CngKey.Create(CngAlgorithm2.Rsa, null, keyCreationParameters); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSContracts.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSContracts.cs index 2e12a3caa39c..e85deac21183 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSContracts.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSContracts.cs @@ -16,12 +16,13 @@ using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Runtime.Serialization; -using System.Security.Cryptography.X509Certificates; using System.Text; +using Microsoft.Azure.Commands.RecoveryServices; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; using Microsoft.WindowsAzure.Management.SiteRecovery.Models; namespace Microsoft.Azure.Commands.RecoveryServices -{ +{ /// /// Hash functions which can be used to calculate CIK HMAC. /// @@ -43,6 +44,131 @@ public enum CikSupportedHashFunctions HMACSHA512 } + /// + /// Vault Status ENUM values + /// + public enum VaultStatus + { + /// + /// Activating the created resource. + /// + Activating, + + /// + /// Creating the resource. + /// + Creating, + + /// + /// Resource created + /// + Created, + + /// + /// Resource is active + /// + Active, + + /// + /// Resource is disabled + /// + Disabled, + + /// + /// Resource is being deleted + /// + Removing + } + + /// + /// The types of crypto algorithms + /// + public enum CryptoAlgorithm + { + /// + /// The asymmetric key based RSA 2048 algorithm. + /// + RSAPKCS1V17, + + /// + /// The asymmetric key based RSA 2048 algorithm. + /// + RSAPKCS1V15, + + /// + /// The symmetric key based AES algorithm with key size 256 bits. + /// + AES256, + + /// + /// The symmetric key based SHA 256 Algorithm + /// + HMACSHA256, + + /// + /// When no algorithm is used. + /// + None + } + + /// + /// The RP service error code that needs to be handled by portal. + /// + public enum RpErrorCode + { + /// + /// The error code sent by RP if the Resource extended info doesn't exists. + /// + ResourceExtendedInfoNotFound + } + + /// + /// Fabric type class. + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all contracts together.")] + public class FabricProviders + { + /// + /// Unknown type. + /// + public const string Other = "Other"; + + /// + /// VMM server type. + /// + public const string VMM = "VMM"; + + /// + /// Azure fabric type. + /// + public const string Azure = "Azure"; + + /// + /// HyperVSite server type. + /// + public const string HyperVSite = "HyperVSite"; + + /// + /// InMage server type. + /// + public const string VCenter = "VCenter"; + } + + /// + /// Error contract returned when some exception occurs in ASR REST API. + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all contracts together.")] + [DataContract] + public class ErrorInException : Error + { + } + /// /// Error contract returned when some exception occurs in ASR REST API. /// @@ -245,6 +371,27 @@ public class TaskStatus } } +//// TODO: Remove this once we get nuget +namespace Microsoft.Azure.Commands.RecoveryServices.RestApiInfra +{ + /// + /// Class to define the error for RP + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all contracts together.")] + [DataContract(Namespace = "http://schemas.microsoft.com/wars")] + public class Error + { + /// + /// Gets or sets the value for the error as string. + /// + [DataMember] + public string ErrorCode { get; set; } + } +} + namespace Microsoft.Azure.Portal.RecoveryServices.Models.Common { /// @@ -257,6 +404,33 @@ namespace Microsoft.Azure.Portal.RecoveryServices.Models.Common [DataContract] public class VaultCreds { + #region Constructores + + /// + /// Initializes a new instance of the class. + /// + public VaultCreds() + { + } + + /// + /// Initializes a new instance of the class. + /// + /// subscription Id + /// resource name + /// management cert + /// authenticating service namespace + public VaultCreds(string subscriptionId, string resourceName, string managementCert, AcsNamespace acsNamespace) + { + this.SubscriptionId = subscriptionId; + this.ResourceType = Constants.ASRVaultType; + this.ResourceName = resourceName; + this.ManagementCert = managementCert; + this.AcsNamespace = acsNamespace; + } + + #endregion + #region Properties /// /// Gets or sets the key name for Namespace entry @@ -299,6 +473,47 @@ public class VaultCreds Justification = "Keeping all contracts together.")] public class ASRVaultCreds : VaultCreds { + #region Constructores + + /// + /// Initializes a new instance of the class. + /// + public ASRVaultCreds() + { + } + + /// + /// Initializes a new instance of the class. + /// + /// subscription Id + /// resource name + /// management cert + /// authenticating service namespace + /// Agent Channel Integrity Key + /// cloud service name + /// custom site Id + /// custom site name + public ASRVaultCreds( + string subscriptionId, + string resourceName, + string managementCert, + AcsNamespace acsNamespace, + string channelIntegrityKey, + string cloudServiceName, + string siteId, + string siteName) + : base(subscriptionId, resourceName, managementCert, acsNamespace) + { + this.ChannelIntegrityKey = channelIntegrityKey; + this.CloudServiceName = cloudServiceName; + this.Version = Constants.VaultCredentialVersion; + + this.SiteId = siteId != null ? siteId : string.Empty; + this.SiteName = siteName != null ? siteName : string.Empty; + } + + #endregion + #region Properties /// /// Gets or sets the value for ACIK @@ -317,6 +532,18 @@ public class ASRVaultCreds : VaultCreds /// [DataMember(Order = 2)] public string Version { get; set; } + + /// + /// Gets or sets the site Id + /// + [DataMember(Order = 3)] + public string SiteId { get; set; } + + /// + /// Gets or sets the site name + /// + [DataMember(Order = 4)] + public string SiteName { get; set; } #endregion } @@ -327,21 +554,704 @@ public class ASRVaultCreds : VaultCreds "Microsoft.StyleCop.CSharp.MaintainabilityRules", "SA1402:FileMayOnlyContainASingleClass", Justification = "Keeping all contracts together.")] + [DataContract] public class AcsNamespace { + /// + /// Initializes a new instance of the class. + /// + /// authenticating service Details name + public AcsNamespace(UploadCertificateResponse acsDetails) + { + this.HostName = acsDetails.GlobalAcsHostName; + this.Namespace = acsDetails.GlobalAcsNamespace; + this.ResourceProviderRealm = acsDetails.GlobalAcsRPRealm; + } + /// /// Gets or sets Host name /// + [DataMember(Order = 0)] public string HostName { get; set; } /// /// Gets or sets Name space /// + [DataMember(Order = 0)] public string Namespace { get; set; } /// /// Gets or sets Resource provider realm /// + [DataMember(Order = 0)] public string ResourceProviderRealm { get; set; } } -} \ No newline at end of file + + /// + /// Represents the StorageAccount of the client which can be used to protect VMs to Azure. + /// + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public class CustomerStorageAccount + { + /// + /// Gets or sets the storage account name. + /// + [DataMember] + public string StorageAccountName { get; set; } + + /// + /// Gets or sets the subscription id associated with the storage account. + /// + [DataMember] + public string SubscriptionId { get; set; } + } + + /// + /// Hyper-V Replica Azure specific input for creating a protection profile. + /// + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public class HyperVReplicaAzureProtectionProfileInput + { + /// + /// Gets or sets the duration (in hours) to which point the recovery history needs to be + /// maintained. + /// + [DataMember] + public int RecoveryPointHistoryDuration { get; set; } + + /// + /// Gets or sets the interval (in hours) at which Hyper-V Replica should create an + /// application consistent snapshot within the VM. + /// + [DataMember] + public int ApplicationConsistentSnapshotFrequencyInHours { get; set; } + + /// + /// Gets or sets the replication interval. + /// + [DataMember] + public int ReplicationInterval { get; set; } + + /// + /// Gets or sets the scheduled start time for the initial replication. If this parameter + /// is Null, the initial replication starts immediately. + /// + [DataMember] + public TimeSpan? OnlineReplicationStartTime { get; set; } + + /// + /// Gets or sets the list of storage accounts to which the VMs in the primary cloud can + /// replicate to. + /// + [DataMember] + public List StorageAccounts { get; set; } + + /// + /// Gets or sets a value indicating whether encryption needs to be enabled for virtual machines in this cloud. + /// + [DataMember] + public bool EncryptionEnabled { get; set; } + } + + /// + /// Hyper-V Replica specific protection profile Input. + /// + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public class HyperVReplicaSP1ProtectionProfileInput + { + /// + /// Gets or sets a value indicating the number of recovery points. + /// + [DataMember] + public int RecoveryPoints { get; set; } + + /// + /// Gets or sets a value indicating the application consistent frequency. + /// + [DataMember] + public int ApplicationConsistentSnapshotFrequencyInHours { get; set; } + + /// + /// Gets or sets a value indicating whether compression has to be enabled. + /// + [DataMember] + public bool CompressionEnabled { get; set; } + + /// + /// Gets or sets a value indicating whether IR is online. + /// + [DataMember] + public bool OnlineReplicationMethod { get; set; } + + /// + /// Gets or sets a value indicating the online IR start time. + /// + [DataMember] + public TimeSpan? OnlineReplicationStartTime { get; set; } + + /// + /// Gets or sets a value indicating the offline IR import path. + /// + [DataMember] + public string OfflineReplicationImportPath { get; set; } + + /// + /// Gets or sets a value indicating the offline IR export path. + /// + [DataMember] + public string OfflineReplicationExportPath { get; set; } + + /// + /// Gets or sets a value indicating the recovery HTTPS port. + /// + [DataMember] + public ushort ReplicationPort { get; set; } + + /// + /// Gets or sets a value indicating the authentication type. + /// + [DataMember] + public ushort AllowedAuthenticationType { get; set; } + + /// + /// Gets or sets a value indicating whether the VM has to be auto deleted. + /// + [DataMember] + public bool AllowReplicaDeletion { get; set; } + } + + /// + /// Hyper-V Replica specific protection profile Input. + /// + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public class HyperVReplicaProtectionProfileInput : HyperVReplicaSP1ProtectionProfileInput + { + /// + /// Gets or sets a value indicating the replication interval. + /// + [DataMember] + public ushort ReplicationFrequencyInSeconds { get; set; } + } + + /// + /// Hyper-V Replica Azure specific protection profile details. + /// + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public class HyperVReplicaAzureProtectionProfileDetails + { + /// + /// Gets or sets the duration (in hours) to which point the recovery history needs to be + /// maintained. + /// + [DataMember] + public int RecoveryPointHistoryDuration { get; set; } + + /// + /// Gets or sets the interval (in hours) at which Hyper-V Replica should create an + /// application consistent snapshot within the VM. + /// + [DataMember] + public int ApplicationConsistentSnapshotFrequencyInHours { get; set; } + + /// + /// Gets or sets the replication interval. + /// + [DataMember] + public int ReplicationInterval { get; set; } + + /// + /// Gets or sets the scheduled start time for the initial replication. If this parameter + /// is Null, the initial replication starts immediately. + /// + [DataMember] + public TimeSpan? OnlineReplicationStartTime { get; set; } + + /// + /// Gets or sets a value indicating whether encryption is enabled for virtual machines + /// in this cloud. + /// + [DataMember] + public bool EncryptionEnabled { get; set; } + + /// + /// Gets or sets the active storage accounts details. + /// + [DataMember] + public CustomerStorageAccount ActiveStorageAccount { get; set; } + } + + /// + /// Hyper-V Replica specific protection profile details. + /// + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public class HyperVReplicaSP1ProtectionProfileDetails + { + /// + /// Gets or sets a value indicating the number of recovery points. + /// + [DataMember] + public int RecoveryPoints { get; set; } + + /// + /// Gets or sets a value indicating the application consistent frequency. + /// + [DataMember] + public int ApplicationConsistentSnapshotFrequencyInHours { get; set; } + + /// + /// Gets or sets a value indicating whether compression has to be enabled. + /// + [DataMember] + public bool CompressionEnabled { get; set; } + + /// + /// Gets or sets a value indicating whether IR is online. + /// + [DataMember] + public bool OnlineReplicationMethod { get; set; } + + /// + /// Gets or sets a value indicating the online IR start time. + /// + [DataMember] + public TimeSpan? OnlineReplicationStartTime { get; set; } + + /// + /// Gets or sets a value indicating the offline IR import path. + /// + [DataMember] + public string OfflineReplicationImportPath { get; set; } + + /// + /// Gets or sets a value indicating the offline IR export path. + /// + [DataMember] + public string OfflineReplicationExportPath { get; set; } + + /// + /// Gets or sets a value indicating the recovery HTTPS port. + /// + [DataMember] + public ushort ReplicationPort { get; set; } + + /// + /// Gets or sets a value indicating the authentication type. + /// + [DataMember] + public ushort AllowedAuthenticationType { get; set; } + + /// + /// Gets or sets a value indicating whether the VM has to be auto deleted. + /// Supported Values: String.Empty, None, OnRecoveryCloud + /// + [DataMember] + public string ReplicaDeletionOption { get; set; } + } + + /// + /// Hyper-V Replica Blue specific protection profile details. + /// + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public class HyperVReplicaProtectionProfileDetails : HyperVReplicaSP1ProtectionProfileDetails + { + /// + /// Gets or sets a value indicating the replication interval. + /// + [DataMember] + public ushort ReplicationFrequencyInSeconds { get; set; } + } + + /// + /// Azure Site Recovery Protection Profile HyperVReplicaProviderSettings. + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all related objects together.")] + public class HyperVReplicaProviderSettings + { + /// + /// Initializes a new instance of the class. + /// + public HyperVReplicaProviderSettings() + { + } + + #region Properties + + /// + /// Gets or sets Replication Method. + /// + public string ReplicationMethod { get; set; } + + /// + /// Gets or sets a value indicating whether profile can be dissociated or not. + /// + public bool CanDissociate { get; set; } + + /// + /// Gets or sets Association Details. + /// + public List AssociationDetail { get; set; } + + /// + /// Gets or sets Replication Frequency in seconds. + /// + public ushort ReplicationFrequencyInSeconds { get; set; } + + /// + /// Gets or sets Recovery Points. + /// + public int RecoveryPoints { get; set; } + + /// + /// Gets or sets Application Consistent Snapshot Frequency in hours. + /// + public int ApplicationConsistentSnapshotFrequencyInHours { get; set; } + + /// + /// Gets or sets a value indicating whether Compression is Enabled. + /// + public bool CompressionEnabled { get; set; } + + /// + /// Gets or sets the replication port. + /// + public ushort ReplicationPort { get; set; } + + /// + /// Gets or sets the allowed authentication type. + /// + public string Authentication { get; set; } + + /// + /// Gets or sets Replication Start Time. + /// + public TimeSpan? ReplicationStartTime { get; set; } + + /// + /// Gets or sets a value indicating whether Replica Deletion should be enabled. + /// + public bool AllowReplicaDeletion { get; set; } + + #endregion + } + + /// + /// Azure Site Recovery Protection Profile HyperVReplicaAzureProviderSettings. + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all related objects together.")] + public class HyperVReplicaAzureProviderSettings + { + /// + /// Initializes a new instance of the class. + /// + public HyperVReplicaAzureProviderSettings() + { + } + + #region Properties + + /// + /// Gets or sets a value indicating whether profile can be dissociated or not. + /// + public bool CanDissociate { get; set; } + + /// + /// Gets or sets Association Details. + /// + public List AssociationDetail { get; set; } + + /// + /// Gets or sets Recovery Azure Subscription. + /// + public string RecoveryAzureSubscription { get; set; } + + /// + /// Gets or sets Recovery Azure Storage Account Name. + /// + public string RecoveryAzureStorageAccountName { get; set; } + + /// + /// Gets or sets a value indicating whether to encrypt stored data. + /// + public bool EncryptStoredData { get; set; } + + /// + /// Gets or sets Replication Frequency in seconds. + /// + public ushort ReplicationFrequencyInSeconds { get; set; } + + /// + /// Gets or sets Recovery Points. + /// + public int RecoveryPoints { get; set; } + + /// + /// Gets or sets Application Consistent Snapshot Frequency in hours. + /// + public int ApplicationConsistentSnapshotFrequencyInHours { get; set; } + + /// + /// Gets or sets Replication Start Time. + /// + public TimeSpan? ReplicationStartTime { get; set; } + + #endregion + } + + /// + /// This is the class which defines the Azure VM failover input. + /// + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all related classes together.")] + public class AzureFailoverInput + { + /// + /// Gets or sets the Vault Location. + /// + [DataMember] + public string VaultLocation { get; set; } + + /// + /// Gets or sets the Primary KEK certificate PFX in Base-64 encoded form. + /// + [DataMember] + public string PrimaryKekCertificatePfx { get; set; } + + /// + /// Gets or sets the Secondary (rolled over) KEK certificate PFX in Base-64 encoded form. + /// + [DataMember] + public string SecondaryKekCertificatePfx { get; set; } + } + + /// + /// This is the class which defines the Azure VM failover input. + /// + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + public class AzureFailbackInput + { + /// + /// Gets or sets a value indicating whether whether data sync should be skipped or not. + /// + [DataMember] + public bool SkipDataSync { get; set; } + + /// + /// Gets or sets a value indicating whether whether data sync should create VM on + /// premise in case VM is not available there.This is applicable only in case of failback. + /// + [DataMember] + public bool CreateRecoveryVmIfDoesntExist { get; set; } + } + + /// + /// This is the class which defines the Azure enable protection input. + /// + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all related classes together.")] + public class AzureReProtectionInput : AzureEnableProtectionInput + { + } + + /// + /// This is the class which defines the Azure enable protection input. + /// + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all related classes together.")] + public class AzureEnableProtectionInput + { + /// + /// Gets or sets the Hyper-V host Virtual Machine Id. + /// + [DataMember(Order = 1)] + public string HvHostVmId { get; set; } + + /// + /// Gets or sets the Virtual Machine Name. + /// + [DataMember(Order = 2)] + public string VmName { get; set; } + + /// + /// Gets or sets the OS type associated with Virtual Machine. + /// + [DataMember(Order = 3)] + public string OSType { get; set; } + + /// + /// Gets or sets the OS disk VHD id associated with Virtual Machine. + /// + [DataMember(Order = 4)] + public string VHDId { get; set; } + } + + /// + /// This is the class which defines the Azure VM failover input. + /// + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all related classes together.")] + public class ASREnableProtectionInput + { + /// + /// Gets or sets the ProtectionProfileId. + /// + [DataMember(Order = 1)] + public string ProtectionProfileId { get; set; } + + /// + /// Gets or sets the ReplicationProviderInput. + /// For HyperVReplicaAzure provider it will be serialized AzureEnableProtectionInput + /// object. For HyperVReplicaAzure it can be null. + /// + [DataMember(Order = 2)] + public string ReplicationProviderInput { get; set; } + } + + /// + /// Disk details for E2A provider. + /// + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all related classes together.")] + public class AzureVmDiskDetails + { + /// + /// Gets or sets the List of all Disk in VM. + /// + [DataMember] + public string OsType { get; set; } + + /// + /// Gets or sets the Type of OS “Windows|Linux” as set. + /// + [DataMember] + public List Disks { get; set; } + + /// + /// Gets or sets the Name of OS Disk as set. + /// + [DataMember] + public string OsDisk { get; set; } + + /// + /// Gets or sets the VHD id. + /// + [DataMember] + public string VHDId { get; set; } + + /// + /// Gets or sets MaxSizeMB. + /// + [DataMember] + public ulong MaxSizeMB { get; set; } + } +} + +namespace Microsoft.Azure.Portal.HybridServicesCore +{ + /// + /// The ResourceExtendedInfo which represents the xml info stored in RP. + /// + [DataContract] + public class ResourceExtendedInfo + { + #region properties + + /// + /// Gets or sets the version + /// + [DataMember(IsRequired = false)] + public string Version { get; set; } + + /// + /// Gets or sets the channel integrity key + /// + [DataMember(IsRequired = false)] + public string ChannelIntegrityKey { get; set; } + + /// + /// Gets or sets the Channel encryption key + /// + [DataMember(IsRequired = false)] + public string ChannelEncryptionKey { get; set; } + + /// + /// Gets or sets the channel encryption key thumbprint + /// + [DataMember(IsRequired = false)] + public string ChannelEncryptionKeyThumbprint { get; set; } + + /// + /// Gets or sets the portal certificate thumbprint + /// + [DataMember(IsRequired = false)] + public string PortalCertificateThumbprint { get; set; } + + /// + /// Gets or sets the algorithm used to encrypt the data. + /// + [DataMember(IsRequired = false)] + public string Algorithm { get; set; } + + /// + /// Gets or sets the tag to be sent while updating the resource extended info. + /// + [IgnoreDataMember] + public string Etag { get; set; } + + #endregion + + #region Public methods + + /// + /// Returns the Xml representation of this object. + /// + /// the xml as string + public ResourceExtendedInformationArgs Translate() + { + if (string.IsNullOrEmpty(this.Etag)) + { + this.Etag = Guid.NewGuid().ToString(); + } + + string serializedInfo = Utilities.Serialize(this); + ResourceExtendedInformationArgs extendedInfoArgs = new ResourceExtendedInformationArgs( + Constants.VaultExtendedInfoContractVersion, + serializedInfo, + this.Etag); + + return extendedInfoArgs; + } + + /// + /// Method to generate security information + /// + public void GenerateSecurityInfo() + { + this.ChannelIntegrityKey = Utilities.GenerateRandomKey(128); + this.Version = Constants.VaultSecurityInfoVersion; + this.Algorithm = CryptoAlgorithm.None.ToString(); + } + + #endregion + } +} diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSNetworkObjects.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSNetworkObjects.cs new file mode 100644 index 000000000000..d536c7d659d0 --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSNetworkObjects.cs @@ -0,0 +1,162 @@ +// ---------------------------------------------------------------------------------- +// +// 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.CodeAnalysis; +using System.Runtime.Serialization; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Azure Site Recovery Network. + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all related objects together.")] + public class ASRNetwork + { + /// + /// Initializes a new instance of the class. + /// + public ASRNetwork() + { + } + + /// + /// Initializes a new instance of the class with required + /// parameters. + /// + /// Network object + public ASRNetwork(Network network) + { + this.ID = network.ID; + this.Name = network.Name; + this.Type = network.Type; + this.FabricObjectID = network.FabricObjectID; + this.FabricType = network.FabricType; + this.ServerId = network.ServerID; + this.VmNetworkSubnetList = network.VmNetworkSubnetList; + } + + #region Properties + /// + /// Gets or sets name of the Network. + /// + public string Name { get; set; } + + /// + /// Gets or sets Network ID. + /// + public string ID { get; set; } + + /// + /// Gets or sets Fabric object Id. + /// + public string FabricObjectID { get; set; } + + /// + /// Gets or sets Server Id. + /// + public string ServerId { get; set; } + + /// + /// Gets or sets Type of Network. + /// + public string Type { get; set; } + + /// + /// Gets or sets Fabric object type. + /// + public string FabricType { get; set; } + + /// + /// Gets or sets VM Network subnets. + /// + public IList VmNetworkSubnetList { get; set; } + #endregion + } + + /// + /// Azure Site Recovery Network Mapping. + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all related objects together.")] + public class ASRNetworkMapping + { + /// + /// Initializes a new instance of the class. + /// + public ASRNetworkMapping() + { + } + + /// + /// Initializes a new instance of the class with required + /// parameters. + /// + /// Network mapping object + public ASRNetworkMapping(NetworkMapping networkMapping) + { + this.PrimaryServerId = networkMapping.PrimaryServerId; + this.PrimaryNetworkId = networkMapping.PrimaryNetworkId; + this.PrimaryNetworkName = networkMapping.PrimaryNetworkName; + this.RecoveryServerId = networkMapping.RecoveryServerId; + this.RecoveryNetworkId = networkMapping.RecoveryNetworkId; + this.RecoveryNetworkName = networkMapping.RecoveryNetworkName; + this.PairingStatus = networkMapping.PairingStatus; + } + + #region Properties + /// + /// Gets or sets Primary server Id. + /// + public string PrimaryServerId { get; set; } + + /// + /// Gets or sets Primary network Id. + /// + public string PrimaryNetworkId { get; set; } + + /// + /// Gets or sets Primary network name. + /// + public string PrimaryNetworkName { get; set; } + + /// + /// Gets or sets Recovery server Id. + /// + public string RecoveryServerId { get; set; } + + /// + /// Gets or sets Recovery network Id. + /// + public string RecoveryNetworkId { get; set; } + + /// + /// Gets or sets Recovery network name. + /// + public string RecoveryNetworkName { get; set; } + + /// + /// Gets or sets pairing status. + /// + public string PairingStatus { get; set; } + #endregion + } +} \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSObjects.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSObjects.cs index f43e6f7ae13b..4aac597ff00f 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSObjects.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSObjects.cs @@ -15,12 +15,234 @@ using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; -using System.Linq; using System.Runtime.Serialization; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Portal.RecoveryServices.Models.Common; +using Microsoft.WindowsAzure.Management.RecoveryServices.Models; using Microsoft.WindowsAzure.Management.SiteRecovery.Models; namespace Microsoft.Azure.Commands.RecoveryServices.SiteRecovery { + /// + /// Constant definition + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all related objects together.")] + public class Constants + { + /// + /// ASR vault type + /// + public const string ASRVaultType = "HyperVRecoveryManagerVault"; + + /// + /// Vault Credential version. + /// + public const string VaultCredentialVersion = "1.0"; + + /// + /// The version of Extended resource info. + /// + public const string VaultSecurityInfoVersion = "1.0"; + + /// + /// extended information version. + /// + public const string VaultExtendedInfoContractVersion = "V2014_09"; + + /// + /// A valid value for the string field Microsoft.WindowsAzure.CloudServiceManagement.resource.OperationStatus.Type + /// + public const string RdfeOperationStatusTypeCreate = "Create"; + + /// + /// A valid value for the string field Microsoft.WindowsAzure.CloudServiceManagement.resource.OperationStatus.Type + /// + public const string RdfeOperationStatusTypeDelete = "Delete"; + + /// + /// A valid value for the string field Microsoft.WindowsAzure.CloudServiceManagement.resource.OperationStatus.Result + /// + public const string RdfeOperationStatusResultSucceeded = "Succeeded"; + + /// + /// A valid value for the string field Microsoft.WindowsAzure.CloudServiceManagement.resource.OperationStatus.Failed + /// + public const string RdfeOperationStatusResultFailed = "Failed"; + + /// + /// A valid value for the string field Microsoft.WindowsAzure.CloudServiceManagement.resource.OperationStatus.InProgress + /// + public const string RdfeOperationStatusResultInProgress = "InProgress"; + + /// + /// Cloud service name prefix + /// + public const string CloudServiceNameExtensionPrefix = "CS-"; + + /// + /// Cloud service name suffix + /// + public const string CloudServiceNameExtensionSuffix = "-RecoveryServices"; + + /// + /// Schema Version of RP + /// + public const string RpSchemaVersion = "1.1"; + + /// + /// Resource Provider Namespace. + /// + public const string ResourceNamespace = "WAHyperVRecoveryManager"; + + /// + /// Represents None string value. + /// + public const string None = "None"; + + /// + /// Represents Existing string value. + /// + public const string Existing = "Existing"; + + /// + /// Represents New string value. + /// + public const string New = "New"; + + /// + /// Represents direction primary to secondary. + /// + public const string PrimaryToRecovery = "PrimaryToRecovery"; + + /// + /// Represents direction secondary to primary. + /// + public const string RecoveryToPrimary = "RecoveryToPrimary"; + + /// + /// Represents Optimize value ForDowntime. + /// + public const string ForDowntime = "ForDowntime"; + + /// + /// Represents Optimize value for Synchronization. + /// + public const string ForSynchronization = "ForSynchronization"; + + /// + /// Represents primary location. + /// + public const string PrimaryLocation = "Primary"; + + /// + /// Represents Recovery location. + /// + public const string RecoveryLocation = "Recovery"; + + /// + /// Represents HyperVReplica string constant. + /// + public const string HyperVReplica = "HyperVReplica"; + + /// + /// Represents HyperVReplica string constant. + /// + public const string HyperVReplicaAzure = "HyperVReplicaAzure"; + + /// + /// Represents HyperVReplica string constant. + /// + public const string AzureContainer = "Microsoft Azure"; + + /// + /// Represents OnlineReplicationMethod string constant. + /// + public const string OnlineReplicationMethod = "Online"; + + /// + /// Represents OfflineReplicationMethod string constant. + /// + public const string OfflineReplicationMethod = "Offline"; + + /// + /// Represents OS Windows. + /// + public const string OSWindows = "Windows"; + + /// + /// Represents OS Linux. + /// + public const string OSLinux = "Linux"; + + /// + /// Represents Enable protection. + /// + public const string EnableProtection = "Enable"; + + /// + /// Represents Disable protection. + /// + public const string DisableProtection = "Disable"; + + /// + /// Represents Direction string value. + /// + public const string Direction = "Direction"; + + /// + /// Represents RPId string value. + /// + public const string RPId = "RPId"; + + /// + /// Represents ID string value. + /// + public const string ID = "ID"; + + /// + /// Represents NetworkType string value. + /// + public const string NetworkType = "NetworkType"; + + /// + /// Represents ProtectionEntityId string value. + /// + public const string ProtectionEntityId = "ProtectionEntityId"; + + /// + /// Azure fabric Id. In E2A context Recovery Server Id is always this. + /// + public const string AzureFabricId = "21a9403c-6ec1-44f2-b744-b4e50b792387"; + + /// + /// Authentication Type as Certificate based authentication. + /// + public const string AuthenticationTypeCertificate = "Certificate"; + + /// + /// Authentication Type as Kerberos. + /// + public const string AuthenticationTypeKerberos = "Kerberos"; + + /// + /// Acceptable values of Replication Frequency in seconds (as per portal). + /// + public const string Thirty = "30"; + + /// + /// Acceptable values of Replication Frequency in seconds (as per portal). + /// + public const string ThreeHundred = "300"; + + /// + /// Acceptable values of Replication Frequency in seconds (as per portal). + /// + public const string NineHundred = "900"; + } + /// /// Azure Site Recovery Vault Settings. /// @@ -38,10 +260,10 @@ public ASRVaultSettings() } /// - /// Initializes a new instance of the class with Resource + /// Initializes a new instance of the class with vault /// and Cloud Service names. /// - /// Resource Name + /// vault Name /// Cloud Service Name public ASRVaultSettings(string resourceName, string cloudServiceName) { @@ -90,6 +312,10 @@ public ASRServer(Server server) this.LastHeartbeat = server.LastHeartbeat; this.ProviderVersion = server.ProviderVersion; this.ServerVersion = server.ServerVersion; + this.Connected = server.Connected; + this.FabricObjectID = server.FabricObjectID; + this.FabricType = server.FabricType; + this.Type = server.Type; } #region Properties @@ -103,6 +329,30 @@ public ASRServer(Server server) /// public string ID { get; set; } + /// + /// Gets or sets the Type of Management entity – VMM, V-Center. + /// + [DataMember] + public string Type { get; set; } + + /// + /// Gets or sets the type of Fabric - VMM. + /// + [DataMember] + public string FabricType { get; set; } + + /// + /// Gets or sets the ID of the on premise fabric. + /// + [DataMember] + public string FabricObjectID { get; set; } + + /// + /// Gets or sets a value indicating whether server is connected or not. + /// + [DataMember] + public bool Connected { get; set; } + /// /// Gets or sets Last communicated time. /// @@ -143,12 +393,23 @@ public ASRProtectionContainer() /// Protection container object public ASRProtectionContainer(ProtectionContainer pc) { + if (pc.AvailableProtectionProfiles != null) + { + this.AvailableProtectionProfiles = new List(); + foreach (var profile in pc.AvailableProtectionProfiles) + { + this.AvailableProtectionProfiles.Add( + new ASRProtectionProfile(profile)); + } + } + this.ID = pc.ID; this.Name = pc.Name; - this.ConfigurationStatus = pc.ConfigurationStatus; this.Role = pc.Role; this.ServerId = pc.ServerId; this.FabricObjectId = pc.FabricObjectId; + this.FabricType = pc.FabricType; + this.Type = pc.Type; } #region Properties @@ -168,23 +429,200 @@ public ASRProtectionContainer(ProtectionContainer pc) public string FabricObjectId { get; set; } /// - /// Gets or sets Server ID. + /// Gets or sets the type of Fabric - VMM. /// - public string ServerId { get; set; } + [DataMember] + public string FabricType { get; set; } /// - /// Gets or sets configuration status. + /// Gets or sets the type e.g. VMM, HyperVSite etc. /// - public string ConfigurationStatus { get; set; } + [DataMember] + public string Type { get; set; } + + /// + /// Gets or sets Server ID. + /// + public string ServerId { get; set; } /// /// Gets or sets a role of the protection container. /// public string Role { get; set; } + /// + /// Gets or sets the list of protection profiles. + /// + [DataMember] + public List AvailableProtectionProfiles { get; set; } #endregion } + /// + /// Protection profile association details. + /// + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all related public classes together.")] + public class ASRProtectionProfileAssociationDetails + { + /// + /// Gets or sets the PrimaryProtectionContainerId. + /// + [DataMember(Order = 1)] + public string PrimaryProtectionContainerId { get; set; } + + /// + /// Gets or sets the RecoveryProtectionContainerId. + /// + [DataMember(Order = 2)] + public string RecoveryProtectionContainerId { get; set; } + + /// + /// Gets or sets the association status. This is a string representation of the + /// enumeration type . + /// + [DataMember(Order = 3)] + public string AssociationStatus { get; set; } + } + + /// + /// Azure Site Recovery Protection Profile. + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all related objects together.")] + public class ASRProtectionProfile + { + /// + /// Initializes a new instance of the class. + /// + public ASRProtectionProfile() + { + } + + /// + /// Initializes a new instance of the class with + /// required parameters. + /// + /// Protection container object + public ASRProtectionProfile(ProtectionProfile profile) + { + this.ID = profile.ID; + this.Name = profile.Name; + this.ReplicationProvider = profile.ReplicationProvider; + if (profile.ReplicationProvider == Constants.HyperVReplicaAzure) + { + this.HyperVReplicaAzureProviderSettingsObject = new HyperVReplicaAzureProviderSettings(); + this.HyperVReplicaAzureProviderSettingsObject.AssociationDetail = new List(); + } + else if (profile.ReplicationProvider == Constants.HyperVReplica) + { + this.HyperVReplicaProviderSettingsObject = new HyperVReplicaProviderSettings(); + this.HyperVReplicaProviderSettingsObject.AssociationDetail = new List(); + } + + foreach (var profileAssosicationDetail in profile.AssociationDetail) + { + var asrProfileDetail = new ASRProtectionProfileAssociationDetails(); + asrProfileDetail.AssociationStatus = profileAssosicationDetail.AssociationStatus; + asrProfileDetail.PrimaryProtectionContainerId = + profileAssosicationDetail.PrimaryProtectionContainerId; + asrProfileDetail.RecoveryProtectionContainerId = + profileAssosicationDetail.RecoveryProtectionContainerId; + + if (profile.ReplicationProvider == Constants.HyperVReplicaAzure) + { + this.HyperVReplicaAzureProviderSettingsObject.AssociationDetail.Add(asrProfileDetail); + } + else if (profile.ReplicationProvider == Constants.HyperVReplica) + { + this.HyperVReplicaProviderSettingsObject.AssociationDetail.Add(asrProfileDetail); + } + } + + if (profile.ReplicationProvider == Constants.HyperVReplicaAzure) + { + var details = DataContractUtils.Deserialize( + profile.ReplicationProviderSetting); + + this.HyperVReplicaAzureProviderSettingsObject.ApplicationConsistentSnapshotFrequencyInHours = + details.ApplicationConsistentSnapshotFrequencyInHours; + this.HyperVReplicaAzureProviderSettingsObject.RecoveryAzureStorageAccountName = + details.ActiveStorageAccount.StorageAccountName; + this.HyperVReplicaAzureProviderSettingsObject.RecoveryAzureSubscription = + details.ActiveStorageAccount.SubscriptionId; + + this.HyperVReplicaAzureProviderSettingsObject.ReplicationFrequencyInSeconds = + (ushort)details.ReplicationInterval; + this.HyperVReplicaAzureProviderSettingsObject.ReplicationStartTime = details.OnlineReplicationStartTime; + + this.HyperVReplicaAzureProviderSettingsObject.RecoveryPoints + = details.RecoveryPointHistoryDuration; + + this.HyperVReplicaAzureProviderSettingsObject.CanDissociate = profile.CanDissociate; + } + else if (profile.ReplicationProvider == Constants.HyperVReplica) + { + var details = DataContractUtils.Deserialize( + profile.ReplicationProviderSetting); + + this.HyperVReplicaProviderSettingsObject.AllowReplicaDeletion = + details.ReplicaDeletionOption == "OnRecoveryCloud"; + this.HyperVReplicaProviderSettingsObject.ApplicationConsistentSnapshotFrequencyInHours = + details.ApplicationConsistentSnapshotFrequencyInHours; + + this.HyperVReplicaProviderSettingsObject.CompressionEnabled = + details.CompressionEnabled; + this.HyperVReplicaProviderSettingsObject.ReplicationFrequencyInSeconds = + details.ReplicationFrequencyInSeconds; + + this.HyperVReplicaProviderSettingsObject.RecoveryPoints = details.RecoveryPoints; + this.HyperVReplicaProviderSettingsObject.ReplicationMethod = details.OnlineReplicationMethod ? + Constants.OnlineReplicationMethod : + Constants.OfflineReplicationMethod; + this.HyperVReplicaProviderSettingsObject.ReplicationPort = details.ReplicationPort; + this.HyperVReplicaProviderSettingsObject.ReplicationStartTime = details.OnlineReplicationStartTime; + this.HyperVReplicaProviderSettingsObject.CanDissociate = profile.CanDissociate; + } + + this.ID = profile.ID; + this.Name = profile.Name; + this.ReplicationProvider = profile.ReplicationProvider; + } + + #region Properties + /// + /// Gets or sets name of the Protection profile. + /// + public string Name { get; set; } + + /// + /// Gets or sets Protection profile ID. + /// + public string ID { get; set; } + + /// + /// Gets or sets Replication Type (HyperVReplica, HyperVReplicaAzure) + /// + public string ReplicationProvider { get; set; } + + /// + /// Gets or sets HyperVReplicaProviderSettings + /// + public HyperVReplicaProviderSettings HyperVReplicaProviderSettingsObject { get; set; } + + /// + /// Gets or sets HyperVReplicaAzureProviderSettings + /// + public HyperVReplicaAzureProviderSettings HyperVReplicaAzureProviderSettingsObject { get; set; } + + #endregion Properties + } + /// /// Azure Site Recovery Virtual Machine. /// @@ -201,6 +639,10 @@ public ASRVirtualMachine() { } + /// + /// Initializes a new instance of the class. + /// + /// Virtual Machine public ASRVirtualMachine(VirtualMachine vm) : base( vm.ID, @@ -415,6 +857,24 @@ public ASRProtectionEntity(ProtectionEntity pe) this.ActiveLocation = pe.ActiveLocation; this.ReplicationHealth = pe.ReplicationHealth; this.TestFailoverStateDescription = pe.TestFailoverStateDescription; + + if (!string.IsNullOrWhiteSpace(pe.ReplicationProviderSettings)) + { + AzureVmDiskDetails diskDetails; + DataContractUtils.Deserialize( + pe.ReplicationProviderSettings, out diskDetails); + + this.Disks = diskDetails.Disks; + this.OSDiskId = diskDetails.VHDId; + this.OSDiskName = diskDetails.OsDisk; + this.OS = diskDetails.OsType; + } + + if (pe.ProtectionProfile != null && + !string.IsNullOrWhiteSpace(pe.ProtectionProfile.ID)) + { + this.ProtectionProfile = new ASRProtectionProfile(pe.ProtectionProfile); + } } /// @@ -543,6 +1003,31 @@ public ASRProtectionEntity( /// public string TestFailoverStateDescription { get; set; } + /// + /// Gets or sets ProtectionProfile. + /// + public ASRProtectionProfile ProtectionProfile { get; set; } + + /// + /// Gets or sets OSDiskVHDId. + /// + public string OSDiskId { get; set; } + + /// + /// Gets or sets OS DiskName. + /// + public string OSDiskName { get; set; } + + /// + /// Gets or sets OS. + /// + public string OS { get; set; } + + /// + /// Gets or sets OS. + /// + public List Disks { get; set; } + /// /// Gets or sets Replication provider. /// @@ -605,7 +1090,7 @@ public ASRTask(AsrTask task) /// public DateTime EndTime { get; set; } } - + /// /// Azure Site Recovery Job. /// @@ -632,10 +1117,25 @@ public ASRJob(Job job) this.ClientRequestId = job.ActivityId; this.State = job.State; this.StateDescription = job.StateDescription; - this.EndTime = job.EndTimestamp; - this.StartTime = job.StartTimestamp; - this.AllowedActions = job.AllowedActions as List; + this.EndTime = job.EndTime; + this.StartTime = job.StartTime; this.Name = job.Name; + this.TargetObjectId = job.TargetObjectId; + this.TargetObjectName = job.TargetObjectName; + if (job.AllowedActions != null && job.AllowedActions.Count > 0) + { + this.AllowedActions = new List(); + foreach (var action in job.AllowedActions) + { + this.AllowedActions.Add(action); + } + } + + if (!string.IsNullOrEmpty(job.TargetObjectId)) + { + this.TargetObjectType = job.TargetObjectType; + } + this.Tasks = new List(); foreach (var task in job.Tasks) { @@ -665,7 +1165,7 @@ public ASRJob(Job job) /// public string ID { get; set; } - /// + /// /// Gets or sets Activity ID. /// public string ClientRequestId { get; set; } @@ -683,12 +1183,27 @@ public ASRJob(Job job) /// /// Gets or sets Start timestamp. /// - public string StartTime { get; set; } + public DateTimeOffset? StartTime { get; set; } /// /// Gets or sets End timestamp. /// - public string EndTime { get; set; } + public DateTimeOffset? EndTime { get; set; } + + /// + /// Gets or sets TargetObjectId. + /// + public string TargetObjectId { get; set; } + + /// + /// Gets or sets TargetObjectType. + /// + public string TargetObjectType { get; set; } + + /// + /// Gets or sets End timestamp. + /// + public string TargetObjectName { get; set; } /// /// Gets or sets list of allowed actions. @@ -707,6 +1222,219 @@ public ASRJob(Job job) #endregion } + /// + /// Azure Site Recovery Site object. + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all related objects together.")] + public class ASRSite + { + #region Constructor + + /// + /// Initializes a new instance of the class. + /// + public ASRSite() + { + } + + /// + /// Initializes a new instance of the class. + /// + /// Hydra site object. + public ASRSite(Site site) + { + this.Name = site.Name; + this.ID = site.ID; + this.Type = site.Type; + } + + #endregion + + #region Properties + /// + /// Gets or sets display name. + /// + public string Name { get; set; } + + /// + /// Gets or sets ID. + /// + public string ID { get; set; } + + /// + /// Gets or sets site type. + /// + public string Type { get; set; } + + #endregion + } + + /// + /// Azure Site Recovery Vault. + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all related objects together.")] + public class ASRVault + { + #region Constructor + + /// + /// Initializes a new instance of the class. + /// + public ASRVault() + { + } + + /// + /// Initializes a new instance of the class. + /// + /// cloud service object + /// vault object + /// Current subscription + public ASRVault(CloudService cloudService, Vault vault, string subscription) + { + this.CloudServiceName = cloudService.Name; + this.Location = cloudService.GeoRegion; + this.Name = vault.Name; + this.SubscriptionId = subscription; + this.Status = this.ParseStatus(vault.OperationStatus); + this.ID = this.ParseVaultId(vault.OutputItems); + if (vault.OperationStatus.Error != null) + { + this.StatusReason = vault.OperationStatus.Error.Message; + } + } + + #endregion + + #region Properties + /// + /// Gets or sets Job display name. + /// + public string Name { get; set; } + + /// + /// Gets or sets Job ID. + /// + public string ID { get; set; } + + /// + /// Gets or sets cloud service name. + /// + public string CloudServiceName { get; set; } + + /// + /// Gets or sets subscription id + /// + public string SubscriptionId { get; set; } + + /// + /// Gets or sets reason for the status + /// + public string StatusReason { get; set; } + + /// + /// Gets or sets the status + /// + public string Status { get; set; } + + /// + /// Gets or sets location. + /// + public string Location { get; set; } + + #endregion + + #region Private methods + + /// + /// Method to parse status of the vault + /// + /// operation status returned + /// status as string + private string ParseStatus(ResourceOperationStatus operationStatus) + { + string vaultStatus = string.Empty; + + // Type and Result fields of OperationStatus is used to figured out the vault status. + // Type:Create & Result:Succeeded --> vault created in RDFE and RP. + // Type:Create & Result:InProgress --> vault created in RDFE and not created in RP. + // Type:Create & Result:Failed --> vault created in RDFE but failed in RP. + // Type:Delete & Result:InProgress --> vault is being deleted in RP & RDFE. + // Type:Delete & Result:Failed --> vault deletion happens first in RP then in RDFE. + if (!string.IsNullOrWhiteSpace(operationStatus.Type) && !string.IsNullOrWhiteSpace(operationStatus.Result)) + { + switch (operationStatus.Type) + { + case Constants.RdfeOperationStatusTypeCreate: + switch (operationStatus.Result) + { + case Constants.RdfeOperationStatusResultSucceeded: + vaultStatus = VaultStatus.Active.ToString(); + break; + case Constants.RdfeOperationStatusResultInProgress: + vaultStatus = VaultStatus.Creating.ToString(); + break; + case Constants.RdfeOperationStatusResultFailed: + vaultStatus = VaultStatus.Disabled.ToString(); + break; + } + + break; + case Constants.RdfeOperationStatusTypeDelete: + switch (operationStatus.Result) + { + case Constants.RdfeOperationStatusResultInProgress: + vaultStatus = VaultStatus.Removing.ToString(); + break; + case Constants.RdfeOperationStatusResultFailed: + vaultStatus = VaultStatus.Active.ToString(); + break; + } + + break; + } + } + + // In case if the resource has multiple create calls, then we might not know the result of first create. + // So we are checking if the stamp id is returned or not. Also the vault name is required for all rdfe calls. + // Without these fields the vault can't be drilled down. + if (vaultStatus.Equals(VaultStatus.Active.ToString(), StringComparison.OrdinalIgnoreCase) && string.IsNullOrWhiteSpace(this.Name)) + { + vaultStatus = VaultStatus.Disabled.ToString(); + } + + return vaultStatus; + } + + /// + /// Method to extract vault id + /// + /// the output item from vault + /// returns the vault id as string + private string ParseVaultId(IList outputItems) + { + string vaultId = string.Empty; + foreach (var outputItem in outputItems) + { + if (outputItem.Key == "ResourceId") + { + vaultId = outputItem.Value; + break; + } + } + + return vaultId; + } + + #endregion + } + /// /// This class contains the error details per object. /// @@ -750,6 +1478,58 @@ public ASRServiceError(ServiceError serviceError) } } + /// + /// Class to define the output of the vault settings file generation. + /// + public class VaultSettingsFilePath + { + #region Constructor + + /// + /// Initializes a new instance of the class + /// + public VaultSettingsFilePath() + { + } + + #endregion + + #region Properties + + /// + /// Gets or sets the path of generated credential file. + /// + public string FilePath { get; set; } + + #endregion + } + + /// + /// Class to define the output object for the vault operations. + /// + public class VaultOperationOutput + { + #region Constructor + + /// + /// Initializes a new instance of the class + /// + public VaultOperationOutput() + { + } + + #endregion + + #region Properties + + /// + /// Gets or sets the operation tracking id of the operation performed. + /// + public string Response { get; set; } + + #endregion + } + /// /// This class contains the provider error details per object. /// @@ -812,4 +1592,27 @@ public ASRProviderError(ProviderError error) /// public string ErrorLevel { get; set; } } + + /// + /// Disk details. + /// + [DataContract(Namespace = "http://schemas.microsoft.com/windowsazure")] + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all related classes together.")] + public class VirtualHardDisk + { + /// + /// Gets or sets the VHD id. + /// + [DataMember] + public string Id { get; set; } + + /// + /// Gets or sets the name. + /// + [DataMember] + public string Name { get; set; } + } } \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSParameterSets.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSParameterSets.cs index d7fab87d4e55..a61b54f9c3f8 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSParameterSets.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSParameterSets.cs @@ -34,16 +34,61 @@ internal static class ASRParameterSets /// internal const string ByPEObject = "ByPEObject"; + /// + /// When only RP Object with E2A provider is passed to the command. + /// + internal const string ByRPObjectE2A = "ByRPObjectE2A"; + + /// + /// When only PE Object with E2A provider is passed to the failback command. + /// + internal const string ByPEObjectE2AFailback = "ByPEObjectE2AFailback"; + + /// + /// When only RP Object with E2A provider is passed to the failback command. + /// + internal const string ByRPObjectE2AFailback = "ByRPObjectE2AFailback"; + + /// + /// When only PE Object with E2A provider is passed to the command. + /// + internal const string ByPEObjectE2A = "ByPEObjectE2A"; + /// /// When only PE Object is passed along with logical network ID to the command. /// internal const string ByPEObjectWithLogicalNetworkID = "ByPEObjectWithLogicalNetworkID"; + /// + /// When only RP Object is passed along with VM network ID to the command. + /// + internal const string ByRPObjectWithVMNetworkID = "ByRPObjectWithVMNetworkID"; + + /// + /// When only RP Id is passed along with VM network ID to the command. + /// + internal const string ByRPIdWithVMNetworkID = "ByRPIdWithVMNetworkID"; + + /// + /// When only RP Object is passed along with VM network to the command. + /// + internal const string ByRPObjectWithVMNetwork = "ByRPObjectWithVMNetwork"; + + /// + /// When only RP Id is passed along with VM network to the command. + /// + internal const string ByRPIdWithVMNetwork = "ByRPIdWithVMNetwork"; + /// /// When only PE Object is passed along with VM network ID to the command. /// internal const string ByPEObjectWithVMNetworkID = "ByPEObjectWithVMNetworkID"; + /// + /// When only PE Object is passed along with VM network to the command. + /// + internal const string ByPEObjectWithVMNetwork = "ByPEObjectWithVMNetwork"; + /// /// When only PC and PE ids are passed to the command. /// @@ -54,11 +99,26 @@ internal static class ASRParameterSets /// internal const string ByPEIdWithLogicalNetworkID = "ByPEIdWithLogicalNetworkID"; + /// + /// When only RP object is passed along with logical network ID to the command. + /// + internal const string ByRPObjectWithLogicalNetworkID = "ByRPObjectWithLogicalNetworkID"; + + /// + /// When only RP Id is passed along with logical network ID to the command. + /// + internal const string ByRPIdWithLogicalNetworkID = "ByRPIdWithLogicalNetworkID"; + /// /// When only PC and PE ids are passed along with VM network ID to the command. /// internal const string ByPEIdWithVMNetworkID = "ByPEIdWithVMNetworkID"; + /// + /// When only PC and PE ids are passed along with VM network to the command. + /// + internal const string ByPEIdWithVMNetwork = "ByPEIdWithVMNetwork"; + /// /// When only ID is passed to the command. /// @@ -108,5 +168,15 @@ internal static class ASRParameterSets /// When parameters are passed to the command. /// internal const string ByParam = "ByParam"; + + /// + /// Mapping between Enterprise to Enterprise. + /// + internal const string EnterpriseToEnterprise = "EnterpriseToEnterprise"; + + /// + /// Mapping between Enterprise to Azure. + /// + internal const string EnterpriseToAzure = "EnterpriseToAzure"; } } \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSRecoveryPlanObjects.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSRecoveryPlanObjects.cs index 31126c35bd4c..f91bfdf257f8 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSRecoveryPlanObjects.cs +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSRecoveryPlanObjects.cs @@ -41,6 +41,7 @@ public ASRRecoveryPlan(RecoveryPlan recoveryPlan) this.Name = recoveryPlan.Name; this.ServerId = recoveryPlan.ServerId; this.TargetServerId = recoveryPlan.TargetServerId; + this.ReplicationProvider = recoveryPlan.ReplicationProvider; } #region Properties @@ -64,6 +65,11 @@ public ASRRecoveryPlan(RecoveryPlan recoveryPlan) /// public string TargetServerId { get; set; } + /// + /// Gets or sets Replication provider. + /// + public string ReplicationProvider { get; set; } + #endregion } } \ No newline at end of file diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSStorageObjects.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSStorageObjects.cs new file mode 100644 index 000000000000..1501ef1b94ea --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/PSStorageObjects.cs @@ -0,0 +1,150 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Diagnostics.CodeAnalysis; +using System.Runtime.Serialization; +using Microsoft.WindowsAzure.Management.SiteRecovery.Models; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Azure Site Recovery Storage. + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all related objects together.")] + public class ASRStorage + { + /// + /// Initializes a new instance of the class. + /// + public ASRStorage() + { + } + + /// + /// Initializes a new instance of the class with required + /// parameters. + /// + /// Storage object + public ASRStorage(AsrStorage storage) + { + this.ID = storage.ID; + this.Name = storage.Name; + this.Type = storage.Type; + this.FabricObjectID = storage.FabricObjectID; + this.FabricType = storage.FabricType; + this.ServerId = storage.ServerID; + } + + #region Properties + /// + /// Gets or sets name of the Storage. + /// + public string Name { get; set; } + + /// + /// Gets or sets Storage ID. + /// + public string ID { get; set; } + + /// + /// Gets or sets Fabric object ID. + /// + public string FabricObjectID { get; set; } + + /// + /// Gets or sets Server Id. + /// + public string ServerId { get; set; } + + /// + /// Gets or sets to Type of Storage. + /// + public string Type { get; set; } + + /// + /// Gets or sets Fabric type. + /// + public string FabricType { get; set; } + + #endregion + } + + /// + /// Azure Site Recovery Storage Mapping. + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all related objects together.")] + public class ASRStorageMapping + { + /// + /// Initializes a new instance of the class. + /// + public ASRStorageMapping() + { + } + + /// + /// Initializes a new instance of the class with required + /// parameters. + /// + /// Storage mapping object + public ASRStorageMapping(StorageMapping storageMapping) + { + this.PrimaryServerId = storageMapping.PrimaryServerId; + this.PrimaryStorageId = storageMapping.PrimaryStorageId; + this.PrimaryStorageName = storageMapping.PrimaryStorageName; + this.RecoveryServerId = storageMapping.RecoveryServerId; + this.RecoveryStorageId = storageMapping.RecoveryStorageId; + this.RecoveryStorageName = storageMapping.RecoveryStorageName; + } + + #region Properties + /// + /// Gets or sets Primary server Id. + /// + public string PrimaryServerId { get; set; } + + /// + /// Gets or sets Primary storage Id. + /// + public string PrimaryStorageId { get; set; } + + /// + /// Gets or sets Primary storage name. + /// + public string PrimaryStorageName { get; set; } + + /// + /// Gets or sets Recovery server Id. + /// + public string RecoveryServerId { get; set; } + + /// + /// Gets or sets Recovery storage Id. + /// + public string RecoveryStorageId { get; set; } + + /// + /// Gets or sets Recovery storage name. + /// + public string RecoveryStorageName { get; set; } + #endregion + } +} diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/Security.Cryptography.dll b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/Security.Cryptography.dll new file mode 100644 index 000000000000..d19198541fe0 Binary files /dev/null and b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/Security.Cryptography.dll differ diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/SiteRecovery.Tests.dll b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/SiteRecovery.Tests.dll new file mode 100644 index 000000000000..ba072364e140 Binary files /dev/null and b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/SiteRecovery.Tests.dll differ diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/Utilities.cs b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/Utilities.cs new file mode 100644 index 000000000000..525ccb182ccc --- /dev/null +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/lib/Utilities.cs @@ -0,0 +1,156 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Globalization; +using System.IO; +using System.Runtime.Serialization; +using System.Security.Cryptography; +using Microsoft.Azure.Commands.RecoveryServices.SiteRecovery; +using Microsoft.Azure.Portal.RecoveryServices.Models.Common; + +namespace Microsoft.Azure.Commands.RecoveryServices +{ + /// + /// Class to define Utility methods + /// + public static class Utilities + { + /// + /// Serialize the T as xml using DataContractSerializer + /// + /// the type name + /// the T object. + /// the serialized object. + public static string Serialize(T value) + { + if (value == null) + { + return null; + } + + string serializedValue; + + using (MemoryStream memoryStream = new MemoryStream()) + using (StreamReader reader = new StreamReader(memoryStream)) + { + DataContractSerializer serializer = new DataContractSerializer(typeof(T)); + serializer.WriteObject(memoryStream, value); + memoryStream.Position = 0; + serializedValue = reader.ReadToEnd(); + } + + return serializedValue; + } + + /// + /// Deserialize the xml as T + /// + /// the type name + /// the xml as string + /// the equivalent T + public static T Deserialize(string xml) + { + if (string.IsNullOrEmpty(xml)) + { + return default(T); + } + + using (Stream stream = new MemoryStream()) + { + byte[] data = System.Text.Encoding.UTF8.GetBytes(xml); + stream.Write(data, 0, data.Length); + stream.Position = 0; + DataContractSerializer deserializer = new DataContractSerializer(typeof(T)); + return (T)deserializer.ReadObject(stream); + } + } + + /// + /// Method to write content to a file. + /// + /// Class to be serialized + /// content to be written to the file + /// the path where the file is to be created + /// name of the file to be created + /// file path with file name as string + public static string WriteToFile(T fileContent, string filePath, string fileName) + { + string fullFileName = Path.Combine(filePath, fileName); + using (System.IO.StreamWriter file = new System.IO.StreamWriter(@fullFileName, false)) + { + string contentToWrite = Serialize(fileContent); + file.WriteLine(contentToWrite); + } + + return fullFileName; + } + + /// + /// Imports Azure Site Recovery Vault settings. + /// + /// ASR Vault credentials + public static void UpdateVaultSettings(ASRVaultCreds asrVaultCreds) + { + object updateVaultSettingsOneAtATime = new object(); + lock (updateVaultSettingsOneAtATime) + { + PSRecoveryServicesClient.asrVaultCreds.ResourceName = + asrVaultCreds.ResourceName; + PSRecoveryServicesClient.asrVaultCreds.CloudServiceName = + asrVaultCreds.CloudServiceName; + PSRecoveryServicesClient.asrVaultCreds.ChannelIntegrityKey = + asrVaultCreds.ChannelIntegrityKey; + } + } + + /// + /// method to return the Downloads path for the current user. + /// + /// path as string. + public static string GetDefaultPath() + { + string path = Path.GetTempPath(); + return path; + } + + /// + /// Generate cryptographically random key of given bit size. + /// + /// size of the key to be generated + /// the key + public static string GenerateRandomKey(int size) + { + byte[] key = new byte[(int)size / 8]; + RNGCryptoServiceProvider crypto = new RNGCryptoServiceProvider(); + crypto.GetBytes(key); + return Convert.ToBase64String(key); + } + + /// + /// Method to generate the cloud service name + /// + /// region name + /// cloud service name as string + public static string GenerateCloudServiceName(string region) + { + return string.Format( + CultureInfo.InvariantCulture, + "{0}{1}{2}", + Constants.CloudServiceNameExtensionPrefix, + region.Replace(' ', '-'), + Constants.CloudServiceNameExtensionSuffix); + } + } +} diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/packages.config b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/packages.config index ba43e8748074..8512c248e7d8 100644 --- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/packages.config +++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/packages.config @@ -1,16 +1,20 @@  - - + + + + - - + - + - + + + + \ No newline at end of file diff --git a/src/ServiceManagement/Services/Commands.Test.Utilities/Commands.Test.Utilities.csproj b/src/ServiceManagement/Services/Commands.Test.Utilities/Commands.Test.Utilities.csproj index a309a0d3fc5c..1a8e92c4d9a0 100644 --- a/src/ServiceManagement/Services/Commands.Test.Utilities/Commands.Test.Utilities.csproj +++ b/src/ServiceManagement/Services/Commands.Test.Utilities/Commands.Test.Utilities.csproj @@ -43,27 +43,27 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.3\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.3\lib\net45\Microsoft.Azure.Common.NetFramework.dll ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -78,11 +78,12 @@ ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll - ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.8.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.9.2.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll ..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.5.0.0\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll diff --git a/src/ServiceManagement/Services/Commands.Test.Utilities/Common/AzureAssert.cs b/src/ServiceManagement/Services/Commands.Test.Utilities/Common/AzureAssert.cs index b7450a09710d..6668883aee64 100644 --- a/src/ServiceManagement/Services/Commands.Test.Utilities/Common/AzureAssert.cs +++ b/src/ServiceManagement/Services/Commands.Test.Utilities/Common/AzureAssert.cs @@ -26,7 +26,7 @@ namespace Microsoft.WindowsAzure.Commands.Test.Utilities.Common { using ConfigConfigurationSetting = Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema.ConfigurationSetting; using DefinitionConfigurationSetting = Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema.ConfigurationSetting; - using Microsoft.Azure.Common.Extensions; + using Microsoft.Azure.Common.Authentication; public static class AzureAssert { diff --git a/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FakeAccessToken.cs b/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FakeAccessToken.cs index 242371ecf20d..d34b9e36618e 100644 --- a/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FakeAccessToken.cs +++ b/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FakeAccessToken.cs @@ -13,7 +13,7 @@ // ---------------------------------------------------------------------------------- using System; -using Microsoft.Azure.Common.Extensions.Authentication; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.Utilities.Common { diff --git a/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FakeAccessTokenProvider.cs b/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FakeAccessTokenProvider.cs index f240e0c9bc32..db0a877cbc00 100644 --- a/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FakeAccessTokenProvider.cs +++ b/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FakeAccessTokenProvider.cs @@ -13,9 +13,9 @@ // ---------------------------------------------------------------------------------- using System.Security; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.Azure.Common.Extensions.Authentication; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.Utilities.Common { diff --git a/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FileSystemHelper.cs b/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FileSystemHelper.cs index 6dba8bed3435..a4a30c0a106e 100644 --- a/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FileSystemHelper.cs +++ b/src/ServiceManagement/Services/Commands.Test.Utilities/Common/FileSystemHelper.cs @@ -18,7 +18,8 @@ using Microsoft.WindowsAzure.Commands.Common; using Microsoft.WindowsAzure.Commands.Utilities.CloudService; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; namespace Microsoft.WindowsAzure.Commands.Test.Utilities.Common { @@ -287,8 +288,8 @@ public string CreateAzureSdkDirectoryAndImportPublishSettings(string publishSett Debug.Assert(string.IsNullOrEmpty(AzureSdkPath)); AzureSdkPath = CreateDirectory("AzureSdk"); - ProfileClient client = new ProfileClient(); - ProfileClient.DataStore.WriteFile(publishSettingsPath, File.ReadAllText(publishSettingsPath)); + ProfileClient client = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); + AzureSession.DataStore.WriteFile(publishSettingsPath, File.ReadAllText(publishSettingsPath)); client.ImportPublishSettings(publishSettingsPath, null); client.Profile.Save(); diff --git a/src/ServiceManagement/Services/Commands.Test.Utilities/Websites/WebsitesTestBase.cs b/src/ServiceManagement/Services/Commands.Test.Utilities/Websites/WebsitesTestBase.cs index 7f0943b1c39c..e718ceb058a2 100644 --- a/src/ServiceManagement/Services/Commands.Test.Utilities/Websites/WebsitesTestBase.cs +++ b/src/ServiceManagement/Services/Commands.Test.Utilities/Websites/WebsitesTestBase.cs @@ -17,6 +17,9 @@ using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Common; +using Microsoft.Azure.Common.Authentication.Models; +using System; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.Utilities.Websites { @@ -24,11 +27,14 @@ namespace Microsoft.WindowsAzure.Commands.Test.Utilities.Websites public class WebsitesTestBase : TestBase { protected string subscriptionId = "035B9E16-BA8E-40A3-BEEA-4998F452C203"; + protected AzureProfile currentProfile; [TestInitialize] public virtual void SetupTest() { new FileSystemHelper(this).CreateAzureSdkDirectoryAndImportPublishSettings(); + + currentProfile = new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile)); } [TestCleanup] @@ -50,5 +56,20 @@ public void TestCleanup() File.Delete(sitesFile); } } + + protected void SetupProfile(string storageName) + { + + currentProfile = new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile)); + AzurePSCmdlet.CurrentProfile = currentProfile; + var subscription = new AzureSubscription { Id = new Guid(subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(subscriptionId)] = subscription; + if (storageName != null) + { + currentProfile.Context.Subscription.Properties[AzureSubscription.Property.StorageAccount] = storageName; + } + currentProfile.Save(); + } } } diff --git a/src/ServiceManagement/Services/Commands.Test.Utilities/packages.config b/src/ServiceManagement/Services/Commands.Test.Utilities/packages.config index 8a8c7e1996ed..f3a911406442 100644 --- a/src/ServiceManagement/Services/Commands.Test.Utilities/packages.config +++ b/src/ServiceManagement/Services/Commands.Test.Utilities/packages.config @@ -1,17 +1,17 @@  - - + + + - - + - - + + diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Development/DisableAzureRemoteDesktopCommandTest.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Development/DisableAzureRemoteDesktopCommandTest.cs index f936935a51b8..1ef8e8cf4290 100644 --- a/src/ServiceManagement/Services/Commands.Test/CloudService/Development/DisableAzureRemoteDesktopCommandTest.cs +++ b/src/ServiceManagement/Services/Commands.Test/CloudService/Development/DisableAzureRemoteDesktopCommandTest.cs @@ -23,7 +23,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema; using Microsoft.WindowsAzure.Commands.Common; using Xunit; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.CloudService.Development { diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Development/EnableAzureMemcacheRoleTests.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Development/EnableAzureMemcacheRoleTests.cs index 3c2c0d037247..7044b646a30d 100644 --- a/src/ServiceManagement/Services/Commands.Test/CloudService/Development/EnableAzureMemcacheRoleTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/CloudService/Development/EnableAzureMemcacheRoleTests.cs @@ -34,7 +34,7 @@ namespace Microsoft.WindowsAzure.Commands.Test.CloudService.Development.Tests using ConfigConfigurationSetting = Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema.ConfigurationSetting; using DefinitionConfigurationSetting = Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema.ConfigurationSetting; using TestResources = Commands.Common.Test.Properties.Resources; - using Microsoft.Azure.Common.Extensions; + using Microsoft.Azure.Common.Authentication; public class EnableAzureMemcacheRoleTests : TestBase { diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Development/EnableAzureRemoteDesktopCommandTest.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Development/EnableAzureRemoteDesktopCommandTest.cs index 8f4463b5a538..38f5437240a3 100644 --- a/src/ServiceManagement/Services/Commands.Test/CloudService/Development/EnableAzureRemoteDesktopCommandTest.cs +++ b/src/ServiceManagement/Services/Commands.Test/CloudService/Development/EnableAzureRemoteDesktopCommandTest.cs @@ -26,7 +26,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema; using Microsoft.WindowsAzure.Commands.Common; using Xunit; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.CloudService.Development { diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Development/SaveAzureServiceProjectPackageTests.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Development/SaveAzureServiceProjectPackageTests.cs index ead84c2be6ca..0210ef7bcefd 100644 --- a/src/ServiceManagement/Services/Commands.Test/CloudService/Development/SaveAzureServiceProjectPackageTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/CloudService/Development/SaveAzureServiceProjectPackageTests.cs @@ -24,7 +24,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.Properties; using Microsoft.WindowsAzure.Commands.Common; using Xunit; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.CloudService.Development { @@ -120,36 +120,5 @@ public void TestCreatePackageWithMultipleRolesSuccessfull() Assert.True(File.Exists(packagePath)); } } - - [Fact] - public void ThrowsErrorForInvalidCacheVersion() - { - using (FileSystemHelper files = new FileSystemHelper(this)) - { - files.CreateAzureSdkDirectoryAndImportPublishSettings(); - files.CreateNewService("NEW_SERVICE"); - string rootPath = Path.Combine(files.RootPath, "NEW_SERVICE"); - string packagePath = Path.Combine(rootPath, Resources.CloudPackageFileName); - string cacheRoleName = "WorkerRole1"; - AddAzureCacheWorkerRoleCommand addCacheWorkerCmdlet = new AddAzureCacheWorkerRoleCommand() - { - CommandRuntime = mockCommandRuntime - }; - EnableAzureMemcacheRoleCommand enableCacheCmdlet = new EnableAzureMemcacheRoleCommand() - { - CacheRuntimeVersion = "1.8.0", - CommandRuntime = mockCommandRuntime - }; - - CloudServiceProject service = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath("Services")); - service.AddWebRole(Test.Utilities.Common.Data.NodeWebRoleScaffoldingPath); - addCacheWorkerCmdlet.AddAzureCacheWorkerRoleProcess(cacheRoleName, 1, rootPath); - enableCacheCmdlet.EnableAzureMemcacheRoleProcess("WebRole1", cacheRoleName, rootPath); - - Testing.AssertThrows( - () => cmdlet.ExecuteCmdlet(), - string.Format(Resources.CacheMismatchMessage, "WebRole1", "2.5.0")); - } - } } } diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Development/Scaffolding/AddAzureCacheWorkerRoleTests.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Development/Scaffolding/AddAzureCacheWorkerRoleTests.cs deleted file mode 100644 index 1ed81dfc23b6..000000000000 --- a/src/ServiceManagement/Services/Commands.Test/CloudService/Development/Scaffolding/AddAzureCacheWorkerRoleTests.cs +++ /dev/null @@ -1,125 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.IO; -using System.Management.Automation; -using Xunit; -using Microsoft.WindowsAzure.Commands.CloudService.Development.Scaffolding; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; -using Microsoft.WindowsAzure.Commands.Utilities.CloudService; -using Microsoft.WindowsAzure.Commands.Utilities.CloudService.AzureTools; -using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema; -using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema; -using Microsoft.WindowsAzure.Commands.Utilities.Properties; - -namespace Microsoft.WindowsAzure.Commands.Test.CloudService.Development.Scaffolding -{ - using ConfigConfigurationSetting = Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema.ConfigurationSetting; - using Microsoft.WindowsAzure.Commands.Common; - - - public class AddAzureCacheWorkerRoleTests : TestBase - { - private MockCommandRuntime mockCommandRuntime; - - private NewAzureServiceProjectCommand newServiceCmdlet; - - private AddAzureCacheWorkerRoleCommand addCacheRoleCmdlet; - - public AddAzureCacheWorkerRoleTests() - { - AzureTool.IgnoreMissingSDKError = true; - AzurePowerShell.ProfileDirectory = Test.Utilities.Common.Data.AzureSdkAppDir; - mockCommandRuntime = new MockCommandRuntime(); - - newServiceCmdlet = new NewAzureServiceProjectCommand(); - addCacheRoleCmdlet = new AddAzureCacheWorkerRoleCommand(); - - newServiceCmdlet.CommandRuntime = mockCommandRuntime; - addCacheRoleCmdlet.CommandRuntime = mockCommandRuntime; - } - - [Fact] - public void AddNewCacheWorkerRoleSuccessful() - { - using (FileSystemHelper files = new FileSystemHelper(this)) - { - string rootPath = Path.Combine(files.RootPath, "AzureService"); - string roleName = "WorkerRole"; - int expectedInstanceCount = 10; - newServiceCmdlet.NewAzureServiceProcess(files.RootPath, "AzureService"); - WorkerRole cacheWorkerRole = addCacheRoleCmdlet.AddAzureCacheWorkerRoleProcess(roleName, expectedInstanceCount, rootPath); - - AzureAssert.ScaffoldingExists(Path.Combine(files.RootPath, "AzureService", "WorkerRole"), Path.Combine(Resources.GeneralScaffolding, Resources.WorkerRole)); - - AzureAssert.WorkerRoleImportsExists(new Import { moduleName = Resources.CachingModuleName }, cacheWorkerRole); - - AzureAssert.LocalResourcesLocalStoreExists(new LocalStore { name = Resources.CacheDiagnosticStoreName, cleanOnRoleRecycle = false }, - cacheWorkerRole.LocalResources); - - Assert.Null(cacheWorkerRole.Endpoints.InputEndpoint); - - AssertConfigExists(AzureAssert.GetCloudRole(rootPath, roleName)); - AssertConfigExists(AzureAssert.GetLocalRole(rootPath, roleName), Resources.EmulatorConnectionString); - - PSObject actualOutput = mockCommandRuntime.OutputPipeline[1] as PSObject; - Assert.Equal(roleName, actualOutput.Members[Parameters.CacheWorkerRoleName].Value.ToString()); - Assert.Equal(expectedInstanceCount, int.Parse(actualOutput.Members[Parameters.Instances].Value.ToString())); - } - } - - private static void AssertConfigExists(RoleSettings role, string connectionString = "") - { - AzureAssert.ConfigurationSettingExist(new ConfigConfigurationSetting { name = Resources.NamedCacheSettingName, value = Resources.NamedCacheSettingValue }, role.ConfigurationSettings); - AzureAssert.ConfigurationSettingExist(new ConfigConfigurationSetting { name = Resources.DiagnosticLevelName, value = Resources.DiagnosticLevelValue }, role.ConfigurationSettings); - AzureAssert.ConfigurationSettingExist(new ConfigConfigurationSetting { name = Resources.CachingCacheSizePercentageSettingName, value = string.Empty }, role.ConfigurationSettings); - AzureAssert.ConfigurationSettingExist(new ConfigConfigurationSetting { name = Resources.CachingConfigStoreConnectionStringSettingName, value = connectionString }, role.ConfigurationSettings); - } - - [Fact] - public void AddNewCacheWorkerRoleWithInvalidNamesFail() - { - using (FileSystemHelper files = new FileSystemHelper(this)) - { - string rootPath = Path.Combine(files.RootPath, "AzureService"); - newServiceCmdlet.NewAzureServiceProcess(files.RootPath, "AzureService"); - - foreach (string invalidName in Test.Utilities.Common.Data.InvalidRoleNames) - { - Testing.AssertThrows(() => addCacheRoleCmdlet.AddAzureCacheWorkerRoleProcess(invalidName, 1, rootPath)); - } - } - } - - [Fact] - public void AddNewCacheWorkerRoleDoesNotHaveAnyRuntime() - { - using (FileSystemHelper files = new FileSystemHelper(this)) - { - string rootPath = Path.Combine(files.RootPath, "AzureService"); - string roleName = "WorkerRole"; - int expectedInstanceCount = 10; - newServiceCmdlet.NewAzureServiceProcess(files.RootPath, "AzureService"); - - WorkerRole cacheWorkerRole = addCacheRoleCmdlet.AddAzureCacheWorkerRoleProcess(roleName, expectedInstanceCount, rootPath); - - Variable runtimeId = Array.Find(cacheWorkerRole.Startup.Task[0].Environment, v => v.name.Equals(Resources.RuntimeTypeKey)); - Assert.Equal(string.Empty, runtimeId.value); - } - } - } -} diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/AzureServiceTests.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/AzureServiceTests.cs index 40c618e12f2a..36d3ab2bf1a1 100644 --- a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/AzureServiceTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/AzureServiceTests.cs @@ -26,7 +26,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Properties; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.CloudService.Utilities { @@ -40,10 +40,6 @@ public class AzureServiceTests: TestBase private AddAzureNodeWorkerRoleCommand addNodeWorkerCmdlet; - private AddAzureCacheWorkerRoleCommand addCacheRoleCmdlet; - - private EnableAzureMemcacheRoleCommand enableCacheCmdlet; - /// /// This method handles most possible cases that user can do to create role /// @@ -195,12 +191,6 @@ public AzureServiceTests() AzureTool.IgnoreMissingSDKError = true; AzurePowerShell.ProfileDirectory = Test.Utilities.Common.Data.AzureSdkAppDir; mockCommandRuntime = new MockCommandRuntime(); - - enableCacheCmdlet = new EnableAzureMemcacheRoleCommand(); - addCacheRoleCmdlet = new AddAzureCacheWorkerRoleCommand(); - - addCacheRoleCmdlet.CommandRuntime = mockCommandRuntime; - enableCacheCmdlet.CommandRuntime = mockCommandRuntime; } [Fact] @@ -565,9 +555,8 @@ public void TestResolveRuntimePackageUrls() addNodeWorkerCmdlet = new AddAzureNodeWorkerRoleCommand() { RootPath = rootPath, CommandRuntime = mockCommandRuntime, Name = overrideWorkerRoleName, Instances = 2 }; addNodeWorkerCmdlet.ExecuteCmdlet(); - string cacheWebRoleName = "cacheWebRole"; - string cacheRuntimeVersion = "1.7.0"; - AddAzureNodeWebRoleCommand addAzureWebRole = new AddAzureNodeWebRoleCommand() { RootPath = rootPath, CommandRuntime = mockCommandRuntime, Name = cacheWebRoleName }; + string webRole2Name = "WebRole2"; + AddAzureNodeWebRoleCommand addAzureWebRole = new AddAzureNodeWebRoleCommand() { RootPath = rootPath, CommandRuntime = mockCommandRuntime, Name = webRole2Name }; addAzureWebRole.ExecuteCmdlet(); CloudServiceProject testService = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath("Services")); @@ -575,7 +564,18 @@ public void TestResolveRuntimePackageUrls() RuntimePackageHelper.SetRoleRuntime(testService.Components.Definition, matchWorkerRoleName, testService.Paths, version: "0.8.2"); RuntimePackageHelper.SetRoleRuntime(testService.Components.Definition, overrideWebRoleName, testService.Paths, overrideUrl: "http://OVERRIDE"); RuntimePackageHelper.SetRoleRuntime(testService.Components.Definition, overrideWorkerRoleName, testService.Paths, overrideUrl: "http://OVERRIDE"); - testService.AddRoleRuntime(testService.Paths, cacheWebRoleName, Resources.CacheRuntimeValue, cacheRuntimeVersion, RuntimePackageHelper.GetTestManifest(files)); + + bool exceptionWasThrownOnSettingCacheRole = false; + try + { + string cacheRuntimeVersion = "1.7.0"; + testService.AddRoleRuntime(testService.Paths, webRole2Name, Resources.CacheRuntimeValue, cacheRuntimeVersion, RuntimePackageHelper.GetTestManifest(files)); + } + catch (NotSupportedException) + { + exceptionWasThrownOnSettingCacheRole = true; + } + Assert.True(exceptionWasThrownOnSettingCacheRole); testService.Components.Save(testService.Paths); // Get the publishing process started by creating the package @@ -589,7 +589,6 @@ public void TestResolveRuntimePackageUrls() RuntimePackageHelper.ValidateRoleRuntime(updatedService.Components.Definition, matchWebRoleName, "http://cdn/node/foo.exe;http://cdn/iisnode/default.exe", null); RuntimePackageHelper.ValidateRoleRuntime(updatedService.Components.Definition, overrideWebRoleName, null, "http://OVERRIDE"); RuntimePackageHelper.ValidateRoleRuntime(updatedService.Components.Definition, overrideWorkerRoleName, null, "http://OVERRIDE"); - RuntimePackageHelper.ValidateRoleRuntimeVariable(updatedService.Components.GetRoleStartup(cacheWebRoleName), Resources.CacheRuntimeVersionKey, cacheRuntimeVersion); } } } diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/CloudServiceClientTests.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/CloudServiceClientTests.cs index 810686336dbe..62fbf8a43d74 100644 --- a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/CloudServiceClientTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/CloudServiceClientTests.cs @@ -18,7 +18,7 @@ using System.Net; using System.Threading; using Xunit; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.CloudService; @@ -31,7 +31,7 @@ using Moq; using MockStorageService = Microsoft.WindowsAzure.Commands.Test.Utilities.Common.MockStorageService; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Microsoft.Azure; namespace Microsoft.WindowsAzure.Commands.Test.CloudService.Utilities diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/GeneralTests.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/GeneralTests.cs index 67b990cbd864..811237bfe714 100644 --- a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/GeneralTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/GeneralTests.cs @@ -18,7 +18,7 @@ using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.CloudService.Utilities { diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/PublishContextTests.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/PublishContextTests.cs index cc4939661291..ed5b8acb37a1 100644 --- a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/PublishContextTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/PublishContextTests.cs @@ -23,7 +23,8 @@ using Microsoft.WindowsAzure.Commands.Utilities.CloudService; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Properties; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; namespace Microsoft.WindowsAzure.Commands.Test.CloudService.Utilities { @@ -51,9 +52,9 @@ public PublishContextTests() packagePath = service.Paths.CloudPackage; configPath = service.Paths.CloudConfiguration; settings = ServiceSettingsTestData.Instance.Data[ServiceSettingsState.Default]; - ProfileClient.DataStore = new MockDataStore(); - ProfileClient client = new ProfileClient(); - ProfileClient.DataStore.WriteFile(Test.Utilities.Common.Data.ValidPublishSettings.First(), + AzureSession.DataStore = new MockDataStore(); + ProfileClient client = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); + AzureSession.DataStore.WriteFile(Test.Utilities.Common.Data.ValidPublishSettings.First(), File.ReadAllText(Test.Utilities.Common.Data.ValidPublishSettings.First())); client.ImportPublishSettings(Test.Utilities.Common.Data.ValidPublishSettings.First(), null); client.Profile.Save(); @@ -61,7 +62,7 @@ public PublishContextTests() public void TestCleanup() { - ProfileClient.DataStore = new MockDataStore(); + AzureSession.DataStore = new MockDataStore(); if (Directory.Exists(Test.Utilities.Common.Data.AzureSdkAppDir)) { new RemoveAzurePublishSettingsCommand().RemovePublishSettingsProcess(Test.Utilities.Common.Data.AzureSdkAppDir); diff --git a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/ScaffoldTests.cs b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/ScaffoldTests.cs index 3114798e5b92..8bd4d124091a 100644 --- a/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/ScaffoldTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/CloudService/Utilities/ScaffoldTests.cs @@ -17,7 +17,7 @@ using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.CloudService.Scaffolding; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.CloudService.Utilities { diff --git a/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj b/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj index 6c0ceb9f26fe..6990281f7b8e 100644 --- a/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj +++ b/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj @@ -48,21 +48,28 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.3\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.3\lib\net45\Microsoft.Azure.Common.NetFramework.dll ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll + + ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll + + + False + ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll + ..\..\..\packages\Microsoft.Data.Edm.5.6.0\lib\net40\Microsoft.Data.Edm.dll @@ -72,12 +79,12 @@ ..\..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll ..\..\..\packages\WindowsAzure.ServiceBus.2.3.2.0\lib\net40-full\Microsoft.ServiceBus.dll @@ -102,14 +109,15 @@ ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll - ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.8.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.9.2.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll - ..\..\..\packages\Microsoft.WindowsAzure.Management.ExpressRoute.0.18.0-preview\lib\net40\Microsoft.WindowsAzure.Management.ExpressRoute.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.ExpressRoute.0.18.2-preview\lib\net40\Microsoft.WindowsAzure.Management.ExpressRoute.dll ..\..\..\packages\Microsoft.WindowsAzure.Management.MediaServices.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.MediaServices.dll @@ -171,11 +179,9 @@ - - @@ -221,6 +227,11 @@ + + + + + @@ -342,8 +353,39 @@ + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + {c1bda476-a5cc-4394-914d-48b0ec31a710} + Commands.ScenarioTests.Common + {e1ca72ba-8374-45f6-904d-fd34ecdf5b6f} Commands.ServiceManagement diff --git a/src/ServiceManagement/Services/Commands.Test/Environment/AddAzureEnvironmentTests.cs b/src/ServiceManagement/Services/Commands.Test/Environment/AddAzureEnvironmentTests.cs index dbae4495621c..8382976cbd81 100644 --- a/src/ServiceManagement/Services/Commands.Test/Environment/AddAzureEnvironmentTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Environment/AddAzureEnvironmentTests.cs @@ -16,14 +16,15 @@ using System.Management.Automation; using System.Reflection; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Profile; using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Moq; using Xunit; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; +using System.IO; namespace Microsoft.WindowsAzure.Commands.Test.Environment { @@ -34,12 +35,12 @@ public class AddAzureEnvironmentTests : TestBase, IDisposable public AddAzureEnvironmentTests() { dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; + AzureSession.DataStore = dataStore; } public void Cleanup() { - AzureSession.SetCurrentContext(null, null, null); + currentProfile = null; } [Fact] @@ -61,7 +62,7 @@ public void AddsAzureEnvironment() cmdlet.InvokeEndProcessing(); commandRuntimeMock.Verify(f => f.WriteObject(It.IsAny()), Times.Once()); - ProfileClient client = new ProfileClient(); + ProfileClient client = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); AzureEnvironment env = client.GetEnvironmentOrDefault("KaTaL"); Assert.Equal(env.Name, cmdlet.Name); Assert.Equal(env.Endpoints[AzureEnvironment.Endpoint.PublishSettingsFileUrl], cmdlet.PublishSettingsFileUrl); @@ -86,7 +87,7 @@ public void AddsEnvironmentWithMinimumInformation() cmdlet.InvokeEndProcessing(); commandRuntimeMock.Verify(f => f.WriteObject(It.IsAny()), Times.Once()); - ProfileClient client = new ProfileClient(); + ProfileClient client = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); AzureEnvironment env = client.Profile.Environments["KaTaL"]; Assert.Equal(env.Name, cmdlet.Name); Assert.Equal(env.Endpoints[AzureEnvironment.Endpoint.PublishSettingsFileUrl], cmdlet.PublishSettingsFileUrl); @@ -108,7 +109,7 @@ public void IgnoresAddingDuplicatedEnvironment() cmdlet.InvokeBeginProcessing(); cmdlet.ExecuteCmdlet(); cmdlet.InvokeEndProcessing(); - ProfileClient client = new ProfileClient(); + ProfileClient client = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); int count = client.Profile.Environments.Count; // Add again @@ -150,7 +151,7 @@ public void AddsEnvironmentWithStorageEndpoint() cmdlet.InvokeEndProcessing(); commandRuntimeMock.Verify(f => f.WriteObject(It.IsAny()), Times.Once()); - ProfileClient client = new ProfileClient(); + ProfileClient client = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); AzureEnvironment env = client.Profile.Environments["KaTaL"]; Assert.Equal(env.Name, cmdlet.Name); Assert.Equal(env.Endpoints[AzureEnvironment.Endpoint.PublishSettingsFileUrl], actual.GetVariableValue(AzureEnvironment.Endpoint.PublishSettingsFileUrl.ToString())); diff --git a/src/ServiceManagement/Services/Commands.Test/Environment/GetAzureEnvironmentTests.cs b/src/ServiceManagement/Services/Commands.Test/Environment/GetAzureEnvironmentTests.cs index 0382d1202d30..9da09bdb7456 100644 --- a/src/ServiceManagement/Services/Commands.Test/Environment/GetAzureEnvironmentTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Environment/GetAzureEnvironmentTests.cs @@ -15,14 +15,14 @@ using System.Collections.Generic; using System.Management.Automation; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Profile; using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Moq; using Xunit; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.Environment { @@ -33,7 +33,7 @@ public class GetAzureEnvironmentTests : TestBase public GetAzureEnvironmentTests() { dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; + AzureSession.DataStore = dataStore; } [Fact] @@ -49,6 +49,7 @@ public void GetsAzureEnvironments() CommandRuntime = commandRuntimeMock.Object }; + AzurePSCmdlet.CurrentProfile = new AzureProfile(); cmdlet.InvokeBeginProcessing(); cmdlet.ExecuteCmdlet(); cmdlet.InvokeEndProcessing(); @@ -70,6 +71,7 @@ public void GetsAzureEnvironment() Name = EnvironmentName.AzureChinaCloud }; + AzurePSCmdlet.CurrentProfile = new AzureProfile(); cmdlet.InvokeBeginProcessing(); cmdlet.ExecuteCmdlet(); cmdlet.InvokeEndProcessing(); diff --git a/src/ServiceManagement/Services/Commands.Test/Environment/RemoveAzureEnvironmentTests.cs b/src/ServiceManagement/Services/Commands.Test/Environment/RemoveAzureEnvironmentTests.cs index ad1085a6af8f..fcded0c3ca8b 100644 --- a/src/ServiceManagement/Services/Commands.Test/Environment/RemoveAzureEnvironmentTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Environment/RemoveAzureEnvironmentTests.cs @@ -16,14 +16,15 @@ using System.Collections.Generic; using System.Management.Automation; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Profile; using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Moq; using Xunit; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; +using System.IO; namespace Microsoft.WindowsAzure.Commands.Test.Environment { @@ -34,12 +35,12 @@ public class RemoveAzureEnvironmentTests : TestBase, IDisposable public RemoveAzureEnvironmentTests() { dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; + AzureSession.DataStore = dataStore; } public void Cleanup() { - AzureSession.SetCurrentContext(null, null, null); + currentProfile = null; } [Fact] @@ -49,7 +50,9 @@ public void RemovesAzureEnvironment() commandRuntimeMock.Setup(f => f.ShouldProcess(It.IsAny(), It.IsAny())).Returns(true); const string name = "test"; - ProfileClient client = new ProfileClient(); + var profile = new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile)); + AzurePSCmdlet.CurrentProfile = profile; + ProfileClient client = new ProfileClient(profile); client.AddOrSetEnvironment(new AzureEnvironment { Name = name @@ -67,7 +70,7 @@ public void RemovesAzureEnvironment() cmdlet.ExecuteCmdlet(); cmdlet.InvokeEndProcessing(); - client = new ProfileClient(); + client = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); Assert.False(client.Profile.Environments.ContainsKey(name)); } diff --git a/src/ServiceManagement/Services/Commands.Test/Environment/SetAzureEnvironmentTests.cs b/src/ServiceManagement/Services/Commands.Test/Environment/SetAzureEnvironmentTests.cs index 25587ec8616b..486ff8d32bc6 100644 --- a/src/ServiceManagement/Services/Commands.Test/Environment/SetAzureEnvironmentTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Environment/SetAzureEnvironmentTests.cs @@ -18,13 +18,14 @@ using Microsoft.WindowsAzure.Commands.Utilities.Common; using Xunit; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Profile; using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Properties; using Moq; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; +using System.IO; namespace Microsoft.WindowsAzure.Commands.Test.Environment { @@ -36,12 +37,12 @@ public class SetAzureEnvironmentTests : TestBase, IDisposable public SetAzureEnvironmentTests() { dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; + AzureSession.DataStore = dataStore; } public void Cleanup() { - AzureSession.SetCurrentContext(null, null, null); + currentProfile = null; } [Fact] @@ -49,7 +50,7 @@ public void SetsAzureEnvironment() { Mock commandRuntimeMock = new Mock(); string name = "Katal"; - ProfileClient client = new ProfileClient(); + ProfileClient client = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); client.AddOrSetEnvironment(new AzureEnvironment { Name = name }); SetAzureEnvironmentCommand cmdlet = new SetAzureEnvironmentCommand() @@ -68,7 +69,7 @@ public void SetsAzureEnvironment() cmdlet.InvokeEndProcessing(); commandRuntimeMock.Verify(f => f.WriteObject(It.IsAny()), Times.Once()); - client = new ProfileClient(); + client = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); AzureEnvironment env = client.Profile.Environments["KaTaL"]; Assert.Equal(env.Name.ToLower(), cmdlet.Name.ToLower()); Assert.Equal(env.Endpoints[AzureEnvironment.Endpoint.PublishSettingsFileUrl], cmdlet.PublishSettingsFileUrl); diff --git a/src/ServiceManagement/Services/Commands.Test/ExpressRoute/AzureBgpPeeringTests.cs b/src/ServiceManagement/Services/Commands.Test/ExpressRoute/AzureBgpPeeringTests.cs index 131e1baba71a..6ff4ca7b3a73 100644 --- a/src/ServiceManagement/Services/Commands.Test/ExpressRoute/AzureBgpPeeringTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/ExpressRoute/AzureBgpPeeringTests.cs @@ -61,7 +61,7 @@ public void NewAzureBgpPeeringSuccessful() Mock client = InitExpressRouteManagementClient(); var bgpMock = new Mock(); - BorderGatewayProtocolPeeringGetResponse expected = + BorderGatewayProtocolPeeringGetResponse expectedBgp = new BorderGatewayProtocolPeeringGetResponse { BgpPeering = new AzureBgpPeering() @@ -78,8 +78,17 @@ public void NewAzureBgpPeeringSuccessful() RequestId = "", StatusCode = new HttpStatusCode() }; - var t = new Task(() => expected); - t.Start(); + + ExpressRouteOperationStatusResponse expectedStatus = new ExpressRouteOperationStatusResponse() + { + HttpStatusCode = HttpStatusCode.OK + }; + + var tGet = new Task(() => expectedBgp); + tGet.Start(); + + var tNew = new Task(() => expectedStatus); + tNew.Start(); bgpMock.Setup( f => @@ -91,7 +100,16 @@ public void NewAzureBgpPeeringSuccessful() z.PeerAutonomousSystemNumber == peerAsn && z.PrimaryPeerSubnet == primaryPeerSubnet && z.SecondaryPeerSubnet == secondayPeerSubnet && z.VirtualLanId == vlanId), It.IsAny())) - .Returns((string sKey, BgpPeeringAccessType atype, BorderGatewayProtocolPeeringNewParameters param, CancellationToken cancellation) => t); + .Returns((string sKey, BgpPeeringAccessType atype, BorderGatewayProtocolPeeringNewParameters param, CancellationToken cancellation) => tNew); + client.SetupGet(f => f.BorderGatewayProtocolPeerings).Returns(bgpMock.Object); + + bgpMock.Setup( + f => + f.GetAsync(It.Is(x => x == serviceKey), + It.Is( + y => y == accessType), + It.IsAny())) + .Returns((string sKey, BgpPeeringAccessType atype, CancellationToken cancellation) => tGet); client.SetupGet(f => f.BorderGatewayProtocolPeerings).Returns(bgpMock.Object); NewAzureBGPPeeringCommand cmdlet = new NewAzureBGPPeeringCommand() @@ -111,8 +129,8 @@ public void NewAzureBgpPeeringSuccessful() // Assert AzureBgpPeering actual = mockCommandRuntime.OutputPipeline[0] as AzureBgpPeering; - Assert.Equal(expected.BgpPeering.State, actual.State); - Assert.Equal(expected.BgpPeering.PrimaryAzurePort, actual.PrimaryAzurePort); + Assert.Equal(expectedBgp.BgpPeering.State, actual.State); + Assert.Equal(expectedBgp.BgpPeering.PrimaryAzurePort, actual.PrimaryAzurePort); } [Fact] @@ -220,101 +238,5 @@ public void RemoveAzureBgpPeeringSuccessful() Assert.True(mockCommandRuntime.VerboseStream[0].Contains(serviceKey)); } - - [Fact] - public void SetBgpPeeringSuccessful() - { - // Setup - - string serviceKey = "aa28cd19-b10a-41ff-981b-53c6bbf15ead"; - UInt32 peerAsn = 64496; - string primaryPeerSubnet = "aaa"; - string newPrimaryPeerSubnet = "ccc"; - string secondayPeerSubnet = "bbb"; - UInt32 azureAsn = 64494; - string primaryAzurePort = "8081"; - string secondaryAzurePort = "8082"; - BgpPeeringState state = BgpPeeringState.Enabled; - uint vlanId = 2; - BgpPeeringAccessType accessType = BgpPeeringAccessType.Private; - - MockCommandRuntime mockCommandRuntime = new MockCommandRuntime(); - Mock client = InitExpressRouteManagementClient(); - var bgpMock = new Mock(); - - BorderGatewayProtocolPeeringGetResponse expected = - new BorderGatewayProtocolPeeringGetResponse() - { - BgpPeering = new AzureBgpPeering() - { - AzureAsn = azureAsn, - PeerAsn = peerAsn, - PrimaryAzurePort = primaryAzurePort, - PrimaryPeerSubnet = primaryPeerSubnet, - SecondaryAzurePort = secondaryAzurePort, - SecondaryPeerSubnet = secondayPeerSubnet, - State = state, - VlanId = vlanId - }, - RequestId = "", - StatusCode = new HttpStatusCode() - }; - var t = new Task(() => expected); - t.Start(); - - BorderGatewayProtocolPeeringGetResponse expected2 = - new BorderGatewayProtocolPeeringGetResponse() - { - BgpPeering = new AzureBgpPeering() - { - AzureAsn = azureAsn, - PeerAsn = peerAsn, - PrimaryAzurePort = primaryAzurePort, - PrimaryPeerSubnet = newPrimaryPeerSubnet, - SecondaryAzurePort = secondaryAzurePort, - SecondaryPeerSubnet = secondayPeerSubnet, - State = state, - VlanId = vlanId - }, - RequestId = "", - StatusCode = new HttpStatusCode() - }; - var t2 = new Task(() => expected2); - t2.Start(); - - bgpMock.Setup( - f => - f.GetAsync(It.Is(x => x == serviceKey), - It.Is( - y => y == accessType), - It.IsAny())) - .Returns((string sKey, BgpPeeringAccessType atype, CancellationToken cancellation) => t); - - bgpMock.Setup( - f => - f.UpdateAsync(It.Is(x => x == serviceKey), - It.Is( - y => y == accessType), - It.Is(z => z.PrimaryPeerSubnet == newPrimaryPeerSubnet), - It.IsAny())) - .Returns((string sKey, BgpPeeringAccessType atype, BorderGatewayProtocolPeeringUpdateParameters param, CancellationToken cancellation) => t2); - client.SetupGet(f => f.BorderGatewayProtocolPeerings).Returns(bgpMock.Object); - - SetAzureBGPPeeringCommand cmdlet = new SetAzureBGPPeeringCommand() - { - ServiceKey = serviceKey, - AccessType = accessType, - PrimaryPeerSubnet = newPrimaryPeerSubnet, - CommandRuntime = mockCommandRuntime, - ExpressRouteClient = new ExpressRouteClient(client.Object) - }; - - cmdlet.ExecuteCmdlet(); - - // Assert - AzureBgpPeering actual = mockCommandRuntime.OutputPipeline[0] as AzureBgpPeering; - Assert.Equal(expected2.BgpPeering.PrimaryPeerSubnet, actual.PrimaryPeerSubnet); - Assert.Equal(expected.BgpPeering.PrimaryAzurePort, actual.PrimaryAzurePort); - } } } diff --git a/src/ServiceManagement/Services/Commands.Test/ExpressRoute/AzureDedicatedCircuitLinkTests.cs b/src/ServiceManagement/Services/Commands.Test/ExpressRoute/AzureDedicatedCircuitLinkTests.cs index 2928935b25fd..f616713a49b0 100644 --- a/src/ServiceManagement/Services/Commands.Test/ExpressRoute/AzureDedicatedCircuitLinkTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/ExpressRoute/AzureDedicatedCircuitLinkTests.cs @@ -66,10 +66,18 @@ public void NewAzureDedicatedCircuitLinkSuccessful() RequestId = "", StatusCode = new HttpStatusCode() }; - var t = new Task(() => expected); - t.Start(); + var tGet = new Task(() => expected); + tGet.Start(); + + ExpressRouteOperationStatusResponse expectedStatus = new ExpressRouteOperationStatusResponse() + { + HttpStatusCode = HttpStatusCode.OK + }; - dclMock.Setup(f => f.NewAsync(It.Is(x => x == serviceKey), It.Is(y => y == vNetName), It.IsAny())).Returns((string sKey, string vNet, CancellationToken cancellation) => t); + var tNew = new Task(() => expectedStatus); + tNew.Start(); + dclMock.Setup(f => f.NewAsync(It.Is(x => x == serviceKey), It.Is(y => y == vNetName), It.IsAny())).Returns((string sKey, string vNet, CancellationToken cancellation) => tNew); + dclMock.Setup(f => f.GetAsync(It.Is(skey => skey == serviceKey), It.Is(vnet => vnet == vNetName), It.IsAny())).Returns((string skey, string vnet, CancellationToken cancellation) => tGet); client.SetupGet(f => f.DedicatedCircuitLinks).Returns(dclMock.Object); NewAzureDedicatedCircuitLinkCommand cmdlet = new NewAzureDedicatedCircuitLinkCommand() @@ -135,7 +143,7 @@ public void GetAzureDedicatedCircuitLinkSuccessful() } [Fact] - public void RemoveAzureDedicatedCircuitSuccessful() + public void RemoveAzureDedicatedCircuitLinkSuccessful() { string serviceKey = "aa28cd19-b10a-41ff-981b-53c6bbf15ead"; string vNetName = "DedicatedCircuitNetwork"; diff --git a/src/ServiceManagement/Services/Commands.Test/ExpressRoute/AzureDedicatedCircuitTests.cs b/src/ServiceManagement/Services/Commands.Test/ExpressRoute/AzureDedicatedCircuitTests.cs index 9ec4f14d2280..774c14a37cba 100644 --- a/src/ServiceManagement/Services/Commands.Test/ExpressRoute/AzureDedicatedCircuitTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/ExpressRoute/AzureDedicatedCircuitTests.cs @@ -74,10 +74,20 @@ public void NewAzureDedicatedCircuitSuccessful() RequestId = "", StatusCode = new HttpStatusCode() }; - var t = new Task(() => expected); - t.Start(); + var tGet = new Task(() => expected); + tGet.Start(); + + ExpressRouteOperationStatusResponse expectedStatus = new ExpressRouteOperationStatusResponse() + { + HttpStatusCode = HttpStatusCode.OK, + Data = serviceKey + }; + + var tNew = new Task(() => expectedStatus); + tNew.Start(); - dcMock.Setup(f => f.NewAsync(It.Is(x => x.Bandwidth == bandwidth && x.CircuitName == circuitName && x.Location == location && x.ServiceProviderName == serviceProviderName), It.IsAny())).Returns((DedicatedCircuitNewParameters param, CancellationToken cancellation) => t); + dcMock.Setup(f => f.NewAsync(It.Is(x => x.Bandwidth == bandwidth && x.CircuitName == circuitName && x.Location == location && x.ServiceProviderName == serviceProviderName), It.IsAny())).Returns((DedicatedCircuitNewParameters param, CancellationToken cancellation) => tNew); + dcMock.Setup(f => f.GetAsync(It.Is(sKey => sKey == serviceKey), It.IsAny())).Returns((string sKey, CancellationToken cancellation) => tGet); client.SetupGet(f => f.DedicatedCircuits).Returns(dcMock.Object); NewAzureDedicatedCircuitCommand cmdlet = new NewAzureDedicatedCircuitCommand() diff --git a/src/ServiceManagement/Services/Commands.Test/MediaServices/GetAzureMediaServicesTests.cs b/src/ServiceManagement/Services/Commands.Test/MediaServices/GetAzureMediaServicesTests.cs index dd00777e74fb..6a9fb4f6fd4f 100644 --- a/src/ServiceManagement/Services/Commands.Test/MediaServices/GetAzureMediaServicesTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/MediaServices/GetAzureMediaServicesTests.cs @@ -17,7 +17,7 @@ using System.Threading.Tasks; using Xunit; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.MediaServices; using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; @@ -26,7 +26,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.MediaServices.Services.Entities; using Microsoft.WindowsAzure.Management.MediaServices.Models; using Moq; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.MediaServices { @@ -71,7 +71,10 @@ public void ProcessGetMediaServicesTest() MediaServicesClient = clientMock.Object, }; - AzureSession.SetCurrentContext(new AzureSubscription {Id = new Guid(SubscriptionId)}, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription { Id = new Guid(SubscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(SubscriptionId)] = subscription; getAzureMediaServiceCommand.ExecuteCmdlet(); Assert.Equal(1, ((MockCommandRuntime)getAzureMediaServiceCommand.CommandRuntime).OutputPipeline.Count); @@ -104,7 +107,10 @@ public void ProcessGetMediaServiceByNameShouldReturnOneMatchingEntry() MediaServicesClient = clientMock.Object, Name = expectedName }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(SubscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription { Id = new Guid(SubscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(SubscriptionId)] = subscription; getAzureMediaServiceCommand.ExecuteCmdlet(); Assert.Equal(1, ((MockCommandRuntime)getAzureMediaServiceCommand.CommandRuntime).OutputPipeline.Count); MediaServiceAccountDetails accounts = (MediaServiceAccountDetails)((MockCommandRuntime)getAzureMediaServiceCommand.CommandRuntime).OutputPipeline.FirstOrDefault(); @@ -142,7 +148,10 @@ public void ProcessGetMediaServiceByNameShouldNotReturnEntriesForNoneMatchingNam Name = mediaServicesAccountName }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(SubscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription { Id = new Guid(SubscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(SubscriptionId)] = subscription; Assert.Throws(()=> getAzureMediaServiceCommand.ExecuteCmdlet()); Assert.Equal(0, ((MockCommandRuntime)getAzureMediaServiceCommand.CommandRuntime).OutputPipeline.Count); } diff --git a/src/ServiceManagement/Services/Commands.Test/MediaServices/MediaServicesClientTests.cs b/src/ServiceManagement/Services/Commands.Test/MediaServices/MediaServicesClientTests.cs index 310141cc26b9..a72148ea7740 100644 --- a/src/ServiceManagement/Services/Commands.Test/MediaServices/MediaServicesClientTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/MediaServices/MediaServicesClientTests.cs @@ -6,7 +6,7 @@ using System.Threading; using System.Threading.Tasks; using Xunit; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Utilities.MediaServices; using Microsoft.WindowsAzure.Management.MediaServices; using Microsoft.WindowsAzure.Management.MediaServices.Models; diff --git a/src/ServiceManagement/Services/Commands.Test/Profile/GetAzurePublishSettingsFileTests.cs b/src/ServiceManagement/Services/Commands.Test/Profile/GetAzurePublishSettingsFileTests.cs index a053082992b8..40f21d06425e 100644 --- a/src/ServiceManagement/Services/Commands.Test/Profile/GetAzurePublishSettingsFileTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Profile/GetAzurePublishSettingsFileTests.cs @@ -19,8 +19,9 @@ using Microsoft.WindowsAzure.Commands.Profile; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Moq; -using Microsoft.Azure.Common.Extensions; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; +using System.IO; namespace Microsoft.WindowsAzure.Commands.Test.Profile { @@ -31,7 +32,7 @@ public class GetAzurePublishSettingsFileTests public void GetsPublishSettingsFileUrl() { // Setup - ProfileClient.DataStore = new MockDataStore(); + AzureSession.DataStore = new MockDataStore(); Mock commandRuntimeMock = new Mock(); GetAzurePublishSettingsFileCommand cmdlet = new GetAzurePublishSettingsFileCommand() { @@ -40,7 +41,7 @@ public void GetsPublishSettingsFileUrl() Environment = EnvironmentName.AzureCloud, Realm = "microsoft.com" }; - cmdlet.ProfileClient = new ProfileClient(); + cmdlet.ProfileClient = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); // Test cmdlet.ExecuteCmdlet(); diff --git a/src/ServiceManagement/Services/Commands.Test/Profile/NewAzureProfileTests.cs b/src/ServiceManagement/Services/Commands.Test/Profile/NewAzureProfileTests.cs new file mode 100644 index 000000000000..70291cd66bac --- /dev/null +++ b/src/ServiceManagement/Services/Commands.Test/Profile/NewAzureProfileTests.cs @@ -0,0 +1,67 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation.Language; +using Microsoft.Azure.Commands.Test.Profile; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; +using Microsoft.Azure.Subscriptions.Csm.Models; +using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Xunit; +using CSMSubscription = Microsoft.Azure.Subscriptions.Csm.Models.Subscription; +using RDFESubscription = Microsoft.Azure.Subscriptions.Rdfe.Models.Subscription; + +namespace Microsoft.Azure.Commands.Test.Profile +{ + public class NewAzureProfileTests + { + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestCreatesNewAzureProfileWithCertificate() + { + ProfileTestController.NewInstance.RunPsTest("Test-CreatesNewAzureProfileWithCertificate"); + } + + [Fact(Skip = "Need support from mocking framework")] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestCreatesNewAzureProfileWithUserCredentials() + { + ProfileTestController.NewInstance.RunPsTest("Test-CreatesNewAzureProfileWithUserCredentials"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestCreatesNewAzureProfileWithAccessToken() + { + ProfileTestController.NewInstance.RunPsTest("Test-CreatesNewAzureProfileWithAccessToken"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestMakeRdfeCallWithCreatedProfile() + { + ProfileTestController.NewRdfeInstance.RunPSTestWithToken((context, token) => string.Format("Test-NewAzureProfileInRDFEMode {0} {1} {2}", token, context.Account.Id, context.Subscription.Id)); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestMakeArmCallWithCreatedProfile() + { + ProfileTestController.NewARMInstance.RunPSTestWithToken((context, token) => string.Format("Test-NewAzureProfileInARMMode {0} {1} {2}", token, context.Account.Id, context.Subscription.Id)); + } + } +} diff --git a/src/ServiceManagement/Services/Commands.Test/Profile/NewAzureProfileTests.ps1 b/src/ServiceManagement/Services/Commands.Test/Profile/NewAzureProfileTests.ps1 new file mode 100644 index 000000000000..2dcd67c166da --- /dev/null +++ b/src/ServiceManagement/Services/Commands.Test/Profile/NewAzureProfileTests.ps1 @@ -0,0 +1,106 @@ +# ---------------------------------------------------------------------------------- +# +# 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. +# ---------------------------------------------------------------------------------- + + +$testCertData = [Convert]::FromBase64String("MIIKJAIBAzCCCeQGCSqGSIb3DQEHAaCCCdUEggnRMIIJzTCCBe4GCSqGSIb3DQEHAaCCBd8EggXbMIIF1zCCBdMGCyqGSIb3DQEMCgECoIIE7jCCBOowHAYKKoZIhvcNAQwBAzAOBAjilB4DFutYJwICB9AEggTItMCor/6dq+ynHyoo82U2N8bT9fBn57xuvF4zTtZdl503n+q48ZE5SLcUFoeAZkrYoCiyPn4ayVA4pfAHou5I2XEG1B4YF46hD0Bz0igWRSrsVigdoYP98BGGaMgl43d9AQGeV8iJ3d3In/TxMGjHUYzZwoIg1jE7xhQ8dMr2Xenw8pLrxl8FybI1isyxzAUjFE7E/Znv9DYi83VNwjC1uPg8q16PzXUQ/smFVzoZMtvmp8MxPrnI/gHqcS5g7SnnisTLmJcjqdLVywBZqiMo1ALs90EEgc7qgbim9lxGczUh+SI9cj2m5w9XMmXro4XJNJTLFG26DDOVMPfMSr9ij9P4rmxckVK7nHrGhQpshrLr37dF5KGFo6mh79VUadbwn/a4rXjfX9gXm5N/ZS8wq3U4/4Pl7t5N+bwB5izt8JG4aMhX6M6jshNrpe/gZHI9u6jNAo1yRxNfBdoxA7P2sZdlHO4CYTc9zZcZqTgH2QjRLTelIDn17PEQL9L4rEzqhT322WMzNnSMH9TCu3D5l2RuO6hsHl0JK4saiq3s04kkYoLXF9i+ovS0xSmu0zxemnFAGB1q1mlwoWoD06zlXEjHM2Q3T2b8ip1tK6/GFpU8Qs5BOUDanBOCqVLWlyvM/ilXUyN9cyLRMKM1sgEmn5ue0wsZlflU6egqChF8qjSJzq/34FgTjPazvkXkXv0e2vBz5+qzeC/1R8xySdFoehglny42VTkCRH4BzhoXf+MrfrC6tW85WCTKOj8SiTSzYXRragIwfG8RyLViOzdIW9pEAJF3UOloKOGGL1NREAnRPgxm9UVxD1oUj+pqYkPRRXcHuEnbiYEqE8Dgwk6GaSVOZ4CKjKAcapOwwW8bTxHgFOCrwgZhxIFXQhIZVoH8NphqN2WWwIUPa1gsc3uPwVXecgt8y8S01QEYCCFo9dT5sBS0rAOXMTOnSudWSHvz7c36IJSG2KyJwW3YO2UopIQ1V14MBZQhwUyddUILeuOy50u1j2eVOV3XESHO99oNP9FfalmgZw19LQDqX8S861x1w+GuU/NG//LZ0aXXaw1IhddIMZlpZVTADMunXIJbd0OiunfblXFwGZ33M1y/wGvFAZ6ofOuZv6vM0kmtufg3AHl/Vg+jzLOp1bYbKx4f7FHoYAerV88EA/ELXr2NTOLwwRYdk0cLWk4VY2lCLs8lcyoIUrcOS/+af8oX8dgJo9qkx2AiKp6AgYAWwrdpolOH7sMLmtu1rrthoMesExLz6xpUq/rYrWQJuyXWUmwbdxpDYFP8spqcW3KdbroNWhPEvM0tdocSK6lPWNnFMgqbb2qJJqjyV87LBZPEpHI8TPraofE7h4NWjXx/OqA6/dF1t3RvrvYqyC7kvrnaJ2LWfQI/88K9s7LAVvfDIbxWtIadrGXlo4gbtbQDSFzjve123DngBJkXqpzqRoL7mdpFvsgpg0upIKQ1fIbtaksC115g8BGBOzwGlo0Y3f4+ob6++OkePHoLkGhLahCMyDmGV1mxFz3ZUkXyxmfPSeynwXe/N8TxeZ2ixLZMF3sa61CpFsuHfEmVEetFxP5t3rrO5ZIbE87KVtvl6jCr8JQ3h81TZJBaeu8iiNC0MVspJpNQ/irYFElTMYHRMBMGCSqGSIb3DQEJFTEGBAQBAAAAMFsGCSqGSIb3DQEJFDFOHkwAewA0ADgANQBFADQAOQBCADYALQBFAEUARQA4AC0ANAA3ADUAQgAtADgAOQAwAEQALQA5ADcAQQA3ADYARgAyADQANgBEADkAMwB9MF0GCSsGAQQBgjcRATFQHk4ATQBpAGMAcgBvAHMAbwBmAHQAIABTAG8AZgB0AHcAYQByAGUAIABLAGUAeQAgAFMAdABvAHIAYQBnAGUAIABQAHIAbwB2AGkAZABlAHIwggPXBgkqhkiG9w0BBwagggPIMIIDxAIBADCCA70GCSqGSIb3DQEHATAcBgoqhkiG9w0BDAEGMA4ECG9kWMFPd2j2AgIH0ICCA5AUBLyrnhFVIYZKNWVLOWn0nfwmhADWS2FA3LGyGirb/lgpPcolLiQwGnXih0xxESn1CsZcWDpXiUvAfjQF1kxKHyCIUQBkrKQliYIT+RErliVuAY/vv1YW2Zj+bPUtTZKXUDzIPjNgb43+uxvf/wu+gGhAV/dV5oIWLjFhC1u4+Gp/LA5C6j60NtBXG7barSflAWTSOjGt2IIb5mBrUw+GkrhoYOqA+HYG40j2fkmkWpMCkImzcxxEM65ZElGUt7H1QY+GSRAxt7icA5ka9L+A0UM8a1SCFhbBK6Voo0IAkBZctJ6I7h4znhoHtqMDYYzraaYDVAK4SPdwOUMUyYdai0QwOYSL3frwVzC/ZHvCJkRmOsQXj9U44OGoXXrJ4rWIQIkcxFO3rEC3alI9lV5h5w73DWQRjex8Nz214B1yBRdlkoC/HQpgJ6IwFfEyJOn/lGgqkRPbgntTKSjNQZr5Ot60Z1SUYmmcMTpB8jRg+hy0LbWmx+79q9ERUnLO4yrtcXjQza12/FwAdpJOwbFrXMZb3QcuhQfn9aDF9/iNRkhTdxDmumS/C5gjZSYBzTugGDWsyS1hqws7LaYfcs6aWWRafqxt68cpNy4FaNXZ3XwXRVzuH+brnGvnWXRqhzwCbeGxEKDCEPxO9hO8NVrndsGlGfTZmxfTkKnPyRPD6vk4BG0Rc5BniyrmhnaZgSq0M04MeoAjp1s6S8CcIG73H5KkmoqQwSiKUbY3aA15nxqYhQj6L83WK5dPnVlmaV/xOeqkggzsdkaa+eQfA1e5RR27Gkyr5Rl20PQUR6J/sIGWIVCSSaqD2kxmDTODEORsF7jhL4YXZr96hqvNWtyNncxrqvjPsaFi/P2JFxjfZ8wmnF1HDsVW4W/i8cdRTyEz7Go4kzoRvSvC2sCPRAMa3D+o341r7L0hBlCnFfMU5Le8jatMKsw+Nk1TeOc4Cvc+w3gczSKrlhJnPtJjVZ67kKe8Ror8mKOP6afSr27avEizUYvJcCpKztUM59ukEbM2chEb2rrFPWxnB67KaLF825pRm+6Nl3mx0jaPDgK2ToydGfuVBA+9TSpnuV26imsd+K2yL2nwrdvBJPE/t2lPzVIR0hnf4AJ8/9BR0vTGmxiWwy8VMxrS3PyouLPZMXAgdT6ddRVwmewNjTe5g/tciGazIW+nROgg6fsgyObMp7keONMvtFMrJQLa2oKarGkwNzAfMAcGBSsOAwIaBBQXFDnqplMX7OuyknHK7B+HA/N8tAQUsL21+IY37DPL968vhVzqz09W/so=") +$testCert = New-Object -TypeName System.Security.Cryptography.X509Certificates.X509Certificate2 +$testCert.Import($testCertData) + +# The subscription ID to use for live tests +$testValidSubscription = "c9cbd920-c00c-427c-852b-8aaf38badaeb"; +$testCreds = $(createTestCredential "test@mail.com" "TestPassw0rd") + +function Create-Profile +{ + param([string] $token, [string] $user, [string] $sub) + New-AzureProfile -SubscriptionId $sub -AccessToken $token -AccountId $user +} + + +<# +.SYNOPSIS +Tests creating new azure profile with certificate +#> +function Test-CreatesNewAzureProfileWithCertificate +{ + # Test + $actual = New-AzureProfile -SubscriptionId "058de55e-28e0-49e7-8cf2-6701d4a88ef5" -StorageAccount myStorage -Certificate $testCert + + # Assert + Assert-AreEqual "058de55e-28e0-49e7-8cf2-6701d4a88ef5" $actual.Context.Subscription.Id + Assert-AreEqual "AzureCloud" $actual.Context.Environment.Name + Assert-AreEqual "Certificate" $actual.Context.Account.Type +} + +<# +.SYNOPSIS +Tests creating new azure profile with user creds +#> +function Test-CreatesNewAzureProfileWithUserCredentials +{ + # Test + $actual = New-AzureProfile -SubscriptionId "058de55e-28e0-49e7-8cf2-6701d4a88ef5" -StorageAccount myStorage -Credentials $testCreds -Tenant "testTenant" + + # Assert + Assert-AreEqual "058de55e-28e0-49e7-8cf2-6701d4a88ef5" $actual.Context.Subscription.Id + Assert-AreEqual "AzureCloud" $actual.Context.Environment.Name + Assert-AreEqual "test@mail.com" $actual.Context.Account.Id + Assert-AreEqual "User" $actual.Context.Account.Type +} + +<# +.SYNOPSIS +Tests creating new azure profile with access token +#> +function Test-CreatesNewAzureProfileWithAccessToken +{ + # Test + $actual = New-AzureProfile -SubscriptionId "058de55e-28e0-49e7-8cf2-6701d4a88ef5" -StorageAccount myStorage -AccessToken "123456" -AccountId myAccount + + # Assert + Assert-AreEqual "058de55e-28e0-49e7-8cf2-6701d4a88ef5" $actual.Context.Subscription.Id + Assert-AreEqual "AzureCloud" $actual.Context.Environment.Name + Assert-AreEqual "myAccount" $actual.Context.Account.Id + Assert-AreEqual "AccessToken" $actual.Context.Account.Type +} + +<# +.SYNOPSIS +Tests using a profile to run an RDFE cmdlet +#> +function Test-NewAzureProfileInRDFEMode +{ + param([string] $token, [string] $user, [string] $sub) + $profile = $(Create-Profile $token $user $sub) + Assert-AreEqual "AzureCloud" $profile.Context.Environment.Name + Clear-AzureProfile -Force + $locations = Get-AzureLocation -Profile $profile + Assert-NotNull $locations + Assert-True {$locations.Count -gt 1} +} + +<# +.SYNOPSIS +Tests using a profile to run an ARM cmdlet +#> +function Test-NewAzureProfileInARMMode +{ + param([string] $token, [string] $user, [string] $sub) + $profile = $(Create-Profile $token $user $sub) + Assert-AreEqual "AzureCloud" $($profile.Context.Environment.Name) "Expecting the azure cloud environment" + Clear-AzureProfile -Force + $locations = Get-AzureLocation -Profile $profile + Assert-NotNull $locations + Assert-True {$locations.Count -gt 1} +} \ No newline at end of file diff --git a/src/ServiceManagement/Services/Commands.Test/Profile/ProfileClientHelper.cs b/src/ServiceManagement/Services/Commands.Test/Profile/ProfileClientHelper.cs new file mode 100644 index 000000000000..992cd8d0a09a --- /dev/null +++ b/src/ServiceManagement/Services/Commands.Test/Profile/ProfileClientHelper.cs @@ -0,0 +1,281 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Net; +using System.Threading.Tasks; + +namespace Microsoft.WindowsAzure.Commands.Test.Profile +{ + public class MockRdfeSubscriptionClient : Microsoft.Azure.Subscriptions.Rdfe.SubscriptionClient + { + private IList _subscriptions = new List(); + public string Tenant { get; set; } + public IList ReturnedSubscriptions + { + get { return this._subscriptions; } + + set { this._subscriptions = value; } + } + + public override Microsoft.Azure.Subscriptions.Rdfe.ISubscriptionOperations Subscriptions + { + get { return MockRdfeSubscriptionOperations.Create(this.ReturnedSubscriptions, this.Tenant); } + } + } + public class MockRdfeSubscriptionOperations : Microsoft.Azure.Subscriptions.Rdfe.ISubscriptionOperations + { + private List _subscriptions = new List(); + private string _tenant = Guid.NewGuid().ToString(); + + private MockRdfeSubscriptionOperations() + { + } + + /// + /// Create a subscription mock using the given set of subscriptions + /// + /// The list of existing subscriptions. + /// A mock of RDFE subscription operations + public static MockRdfeSubscriptionOperations Create(IList knownSubscriptions, string tenant) + { + var operations = new MockRdfeSubscriptionOperations(); + foreach (var subscription in knownSubscriptions) + { + operations._subscriptions.Add(subscription); + } + + operations._tenant = tenant; + return operations; + } + + private Azure.Subscriptions.Rdfe.Models.Subscription CreateSubscription(string subscriptionId) + { + return new Azure.Subscriptions.Rdfe.Models.Subscription + { + SubscriptionId = subscriptionId, + SubscriptionName = string.Format("Test Mock Subscription {0}", subscriptionId), + SubscriptionStatus = Microsoft.Azure.Subscriptions.Rdfe.Models.SubscriptionStatus.Active, + ActiveDirectoryTenantId = _tenant.ToString() + }; + } + + public Task ListAsync(System.Threading.CancellationToken cancellationToken) + { + var response = new Azure.Subscriptions.Rdfe.Models.SubscriptionListOperationResponse + { + StatusCode = HttpStatusCode.OK, + Subscriptions = CreateSubscriptionList() + }; + return Task.FromResult(response); + } + + private IList CreateSubscriptionList() + { + var result = new List(); + foreach (var subscriptionId in this._subscriptions) + { + result.Add(CreateSubscription(subscriptionId)); + } + + return result; + } + } + + public class MockCsmSubscriptionClient : Microsoft.Azure.Subscriptions.Csm.SubscriptionClient + { + private IList _subscriptions = new List(); + private IList _tenants = new List(); + public IList ReturnedSubscriptions + { + get { return this._subscriptions; } + + set { this._subscriptions = value; } + } + + public IList ReturnedTenants + { + get { return this._tenants; } + + set { this._tenants = value; } + } + + public override Azure.Subscriptions.Csm.ISubscriptionOperations Subscriptions + { + get + { + return MockCsmSubscriptionOperations.Create(this.ReturnedSubscriptions); + } + } + + public override Azure.Subscriptions.Csm.ITenantOperations Tenants + { + get + { + return MockCsmTenantOperations.Create(this.ReturnedTenants); + } + } + } + + public class MockCsmTenantOperations : Microsoft.Azure.Subscriptions.Csm.ITenantOperations + { + private IList _tenants = new List(); + + /// + /// Create a tenant mock using the given set of tenants + /// + /// The list of existing tenants. + /// A mock of CSM tenant operations + public static MockCsmTenantOperations Create(IList knownTenants) + { + var operations = new MockCsmTenantOperations(); + foreach (var tenant in knownTenants) + { + operations._tenants.Add(tenant); + } + + return operations; + } + + public Task ListAsync(System.Threading.CancellationToken cancellationToken) + { + var result = new Azure.Subscriptions.Csm.Models.TenantListResult + { + StatusCode = HttpStatusCode.OK, + TenantIds = CreateTenantList() + }; + + return Task.FromResult(result); + } + + private static Azure.Subscriptions.Csm.Models.TenantIdDescription CreateTenant(string tenantId) + { + return new Azure.Subscriptions.Csm.Models.TenantIdDescription + { + TenantId = tenantId, + Id = tenantId + }; + } + + private IList CreateTenantList() + { + var result = new List(); + foreach (var tenant in this._tenants) + { + result.Add(CreateTenant(tenant)); + } + + return result; + } + } + + public class MockCsmSubscriptionOperations : Microsoft.Azure.Subscriptions.Csm.ISubscriptionOperations + { + private IList _subscriptions = new List(); + + /// + /// Create a subscription mock using the given set of subscriptions + /// + /// The list of existing subscriptions. + /// A mock of CSM subscription operations + public static MockCsmSubscriptionOperations Create(IList knownSubscriptions) + { + var operations = new MockCsmSubscriptionOperations(); + foreach (var subscription in knownSubscriptions) + { + operations._subscriptions.Add(subscription); + } + + return operations; + } + + public Task GetAsync(string subscriptionId, System.Threading.CancellationToken cancellationToken) + { + Azure.Subscriptions.Csm.Models.Subscription subscriptionToReturn = null; + var statusCode = HttpStatusCode.NotFound; + if (_subscriptions.Contains(subscriptionId)) + { + var foundSubscription = _subscriptions.IndexOf(subscriptionId); + subscriptionToReturn = CreateSubscription(_subscriptions[foundSubscription]); + statusCode = HttpStatusCode.OK; + } + + var result = new Azure.Subscriptions.Csm.Models.GetSubscriptionResult + { + StatusCode = statusCode, + Subscription = subscriptionToReturn + }; + + return Task.FromResult(result); + } + + public Task ListAsync(System.Threading.CancellationToken cancellationToken) + { + var result = new Azure.Subscriptions.Csm.Models.SubscriptionListResult + { + StatusCode = HttpStatusCode.OK, + Subscriptions = CreateSubscriptionList() + }; + + return Task.FromResult(result); + } + + private static Azure.Subscriptions.Csm.Models.Subscription CreateSubscription(string subscriptionId) + { + return new Azure.Subscriptions.Csm.Models.Subscription + { + SubscriptionId = subscriptionId, + State = "Ready", + Id = subscriptionId, + DisplayName = string.Format("Test Mock Subscription {0}", subscriptionId) + }; + } + + private IList CreateSubscriptionList() + { + var result = new List(); + foreach (var subscriptionId in this._subscriptions) + { + result.Add(CreateSubscription(subscriptionId)); + } + + return result; + } + } + + public static class ProfileClientHelper + { + public static Microsoft.Azure.Subscriptions.Rdfe.SubscriptionClient CreateRdfeSubscriptionClient( + Guid tenantToReturn = default(Guid), params string[] subscriptionsToReturn) + { + return new MockRdfeSubscriptionClient + { + ReturnedSubscriptions = subscriptionsToReturn, + Tenant = tenantToReturn.ToString() + }; + } + + public static Microsoft.Azure.Subscriptions.Csm.SubscriptionClient CreateCsmSubscriptionClient( + IList subscriptionsToReturn, IList tenantsToReturn) + { + return new MockCsmSubscriptionClient + { + ReturnedSubscriptions = subscriptionsToReturn, + ReturnedTenants = tenantsToReturn + }; + } + } +} diff --git a/src/Common/Commands.Common.Test/Common/ProfileCmdltsTests.cs b/src/ServiceManagement/Services/Commands.Test/Profile/ProfileCmdltsTests.cs similarity index 56% rename from src/Common/Commands.Common.Test/Common/ProfileCmdltsTests.cs rename to src/ServiceManagement/Services/Commands.Test/Profile/ProfileCmdltsTests.cs index b72bb2c66b66..e8461502b233 100644 --- a/src/Common/Commands.Common.Test/Common/ProfileCmdltsTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Profile/ProfileCmdltsTests.cs @@ -12,26 +12,28 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using System.Collections; +using System.Security; +using System.Text; +using Hyak.Common; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; +using Microsoft.IdentityModel.Clients.ActiveDirectory; +using Microsoft.ServiceBus.Management; +using Microsoft.WindowsAzure.Commands.Common; +using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; +using Microsoft.WindowsAzure.Commands.Profile; +using Microsoft.WindowsAzure.Commands.Utilities.Common; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Management.Automation; -using System.Management.Automation.Language; using System.Reflection; using System.Security.Cryptography.X509Certificates; -using System.Text; -using Microsoft.IdentityModel.Clients.ActiveDirectory; -using Microsoft.Azure.Common.Extensions.Models; -using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; -using Microsoft.WindowsAzure.Commands.Profile; -using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions.Authentication; -using Moq; using Xunit; -using Microsoft.Azure.Common.Extensions; -namespace Microsoft.WindowsAzure.Commands.Common.Test.Common +namespace Microsoft.WindowsAzure.Commands.Test.Profile { public class ProfileCmdltsTests { @@ -43,13 +45,14 @@ public class ProfileCmdltsTests private X509Certificate2 SampleCertificate = new X509Certificate2(Convert.FromBase64String(@"MIIKJAIBAzCCCeQGCSqGSIb3DQEHAaCCCdUEggnRMIIJzTCCBe4GCSqGSIb3DQEHAaCCBd8EggXbMIIF1zCCBdMGCyqGSIb3DQEMCgECoIIE7jCCBOowHAYKKoZIhvcNAQwBAzAOBAjilB4DFutYJwICB9AEggTItMCor/6dq+ynHyoo82U2N8bT9fBn57xuvF4zTtZdl503n+q48ZE5SLcUFoeAZkrYoCiyPn4ayVA4pfAHou5I2XEG1B4YF46hD0Bz0igWRSrsVigdoYP98BGGaMgl43d9AQGeV8iJ3d3In/TxMGjHUYzZwoIg1jE7xhQ8dMr2Xenw8pLrxl8FybI1isyxzAUjFE7E/Znv9DYi83VNwjC1uPg8q16PzXUQ/smFVzoZMtvmp8MxPrnI/gHqcS5g7SnnisTLmJcjqdLVywBZqiMo1ALs90EEgc7qgbim9lxGczUh+SI9cj2m5w9XMmXro4XJNJTLFG26DDOVMPfMSr9ij9P4rmxckVK7nHrGhQpshrLr37dF5KGFo6mh79VUadbwn/a4rXjfX9gXm5N/ZS8wq3U4/4Pl7t5N+bwB5izt8JG4aMhX6M6jshNrpe/gZHI9u6jNAo1yRxNfBdoxA7P2sZdlHO4CYTc9zZcZqTgH2QjRLTelIDn17PEQL9L4rEzqhT322WMzNnSMH9TCu3D5l2RuO6hsHl0JK4saiq3s04kkYoLXF9i+ovS0xSmu0zxemnFAGB1q1mlwoWoD06zlXEjHM2Q3T2b8ip1tK6/GFpU8Qs5BOUDanBOCqVLWlyvM/ilXUyN9cyLRMKM1sgEmn5ue0wsZlflU6egqChF8qjSJzq/34FgTjPazvkXkXv0e2vBz5+qzeC/1R8xySdFoehglny42VTkCRH4BzhoXf+MrfrC6tW85WCTKOj8SiTSzYXRragIwfG8RyLViOzdIW9pEAJF3UOloKOGGL1NREAnRPgxm9UVxD1oUj+pqYkPRRXcHuEnbiYEqE8Dgwk6GaSVOZ4CKjKAcapOwwW8bTxHgFOCrwgZhxIFXQhIZVoH8NphqN2WWwIUPa1gsc3uPwVXecgt8y8S01QEYCCFo9dT5sBS0rAOXMTOnSudWSHvz7c36IJSG2KyJwW3YO2UopIQ1V14MBZQhwUyddUILeuOy50u1j2eVOV3XESHO99oNP9FfalmgZw19LQDqX8S861x1w+GuU/NG//LZ0aXXaw1IhddIMZlpZVTADMunXIJbd0OiunfblXFwGZ33M1y/wGvFAZ6ofOuZv6vM0kmtufg3AHl/Vg+jzLOp1bYbKx4f7FHoYAerV88EA/ELXr2NTOLwwRYdk0cLWk4VY2lCLs8lcyoIUrcOS/+af8oX8dgJo9qkx2AiKp6AgYAWwrdpolOH7sMLmtu1rrthoMesExLz6xpUq/rYrWQJuyXWUmwbdxpDYFP8spqcW3KdbroNWhPEvM0tdocSK6lPWNnFMgqbb2qJJqjyV87LBZPEpHI8TPraofE7h4NWjXx/OqA6/dF1t3RvrvYqyC7kvrnaJ2LWfQI/88K9s7LAVvfDIbxWtIadrGXlo4gbtbQDSFzjve123DngBJkXqpzqRoL7mdpFvsgpg0upIKQ1fIbtaksC115g8BGBOzwGlo0Y3f4+ob6++OkePHoLkGhLahCMyDmGV1mxFz3ZUkXyxmfPSeynwXe/N8TxeZ2ixLZMF3sa61CpFsuHfEmVEetFxP5t3rrO5ZIbE87KVtvl6jCr8JQ3h81TZJBaeu8iiNC0MVspJpNQ/irYFElTMYHRMBMGCSqGSIb3DQEJFTEGBAQBAAAAMFsGCSqGSIb3DQEJFDFOHkwAewA0ADgANQBFADQAOQBCADYALQBFAEUARQA4AC0ANAA3ADUAQgAtADgAOQAwAEQALQA5ADcAQQA3ADYARgAyADQANgBEADkAMwB9MF0GCSsGAQQBgjcRATFQHk4ATQBpAGMAcgBvAHMAbwBmAHQAIABTAG8AZgB0AHcAYQByAGUAIABLAGUAeQAgAFMAdABvAHIAYQBnAGUAIABQAHIAbwB2AGkAZABlAHIwggPXBgkqhkiG9w0BBwagggPIMIIDxAIBADCCA70GCSqGSIb3DQEHATAcBgoqhkiG9w0BDAEGMA4ECG9kWMFPd2j2AgIH0ICCA5AUBLyrnhFVIYZKNWVLOWn0nfwmhADWS2FA3LGyGirb/lgpPcolLiQwGnXih0xxESn1CsZcWDpXiUvAfjQF1kxKHyCIUQBkrKQliYIT+RErliVuAY/vv1YW2Zj+bPUtTZKXUDzIPjNgb43+uxvf/wu+gGhAV/dV5oIWLjFhC1u4+Gp/LA5C6j60NtBXG7barSflAWTSOjGt2IIb5mBrUw+GkrhoYOqA+HYG40j2fkmkWpMCkImzcxxEM65ZElGUt7H1QY+GSRAxt7icA5ka9L+A0UM8a1SCFhbBK6Voo0IAkBZctJ6I7h4znhoHtqMDYYzraaYDVAK4SPdwOUMUyYdai0QwOYSL3frwVzC/ZHvCJkRmOsQXj9U44OGoXXrJ4rWIQIkcxFO3rEC3alI9lV5h5w73DWQRjex8Nz214B1yBRdlkoC/HQpgJ6IwFfEyJOn/lGgqkRPbgntTKSjNQZr5Ot60Z1SUYmmcMTpB8jRg+hy0LbWmx+79q9ERUnLO4yrtcXjQza12/FwAdpJOwbFrXMZb3QcuhQfn9aDF9/iNRkhTdxDmumS/C5gjZSYBzTugGDWsyS1hqws7LaYfcs6aWWRafqxt68cpNy4FaNXZ3XwXRVzuH+brnGvnWXRqhzwCbeGxEKDCEPxO9hO8NVrndsGlGfTZmxfTkKnPyRPD6vk4BG0Rc5BniyrmhnaZgSq0M04MeoAjp1s6S8CcIG73H5KkmoqQwSiKUbY3aA15nxqYhQj6L83WK5dPnVlmaV/xOeqkggzsdkaa+eQfA1e5RR27Gkyr5Rl20PQUR6J/sIGWIVCSSaqD2kxmDTODEORsF7jhL4YXZr96hqvNWtyNncxrqvjPsaFi/P2JFxjfZ8wmnF1HDsVW4W/i8cdRTyEz7Go4kzoRvSvC2sCPRAMa3D+o341r7L0hBlCnFfMU5Le8jatMKsw+Nk1TeOc4Cvc+w3gczSKrlhJnPtJjVZ67kKe8Ror8mKOP6afSr27avEizUYvJcCpKztUM59ukEbM2chEb2rrFPWxnB67KaLF825pRm+6Nl3mx0jaPDgK2ToydGfuVBA+9TSpnuV26imsd+K2yL2nwrdvBJPE/t2lPzVIR0hnf4AJ8/9BR0vTGmxiWwy8VMxrS3PyouLPZMXAgdT6ddRVwmewNjTe5g/tciGazIW+nROgg6fsgyObMp7keONMvtFMrJQLa2oKarGkwNzAfMAcGBSsOAwIaBBQXFDnqplMX7OuyknHK7B+HA/N8tAQUsL21+IY37DPL968vhVzqz09W/so="), string.Empty); private MockDataStore dataStore; - public ProfileCmdltsTests() : base() + public ProfileCmdltsTests() + : base() { dataStore = new MockDataStore(); - ProfileClient.DataStore = dataStore; + AzureSession.DataStore = dataStore; commandRuntimeMock = new MockCommandRuntime(); SetMockData(); - AzureSession.SetCurrentContext(null, null, null); + AzureSession.AuthenticationFactory = new MockTokenAuthenticationFactory(); } [Fact] @@ -57,7 +60,9 @@ public void ClearAzureProfileClearsDefaultProfile() { ClearAzureProfileCommand cmdlt = new ClearAzureProfileCommand(); // Setup - ProfileClient client = new ProfileClient(); + var profile = new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile)); + AzurePSCmdlet.CurrentProfile = profile; + ProfileClient client = new ProfileClient(profile); client.AddOrSetAccount(azureAccount); client.AddOrSetEnvironment(azureEnvironment); client.AddOrSetSubscription(azureSubscription1); @@ -72,7 +77,7 @@ public void ClearAzureProfileClearsDefaultProfile() cmdlt.InvokeEndProcessing(); // Verify - client = new ProfileClient(); + client = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); Assert.Equal(0, client.Profile.Subscriptions.Count); Assert.Equal(0, client.Profile.Accounts.Count); Assert.Equal(2, client.Profile.Environments.Count); //only default environments @@ -81,11 +86,11 @@ public void ClearAzureProfileClearsDefaultProfile() [Fact] public void ClearAzureProfileClearsCustomProfile() { - string subscriptionDataFile = "C:\\foo.json"; + string subscriptionDataFile = Path.GetTempFileName(); ClearAzureProfileCommand cmdlt = new ClearAzureProfileCommand(); // Setup - ProfileClient client = new ProfileClient(subscriptionDataFile); + ProfileClient client = new ProfileClient(new AzureProfile(subscriptionDataFile)); client.AddOrSetAccount(azureAccount); client.AddOrSetEnvironment(azureEnvironment); client.AddOrSetSubscription(azureSubscription1); @@ -93,7 +98,7 @@ public void ClearAzureProfileClearsCustomProfile() cmdlt.CommandRuntime = commandRuntimeMock; cmdlt.Force = new SwitchParameter(true); - cmdlt.SubscriptionDataFile = subscriptionDataFile; + cmdlt.Profile = new AzureProfile(subscriptionDataFile); // Act cmdlt.InvokeBeginProcessing(); @@ -101,7 +106,7 @@ public void ClearAzureProfileClearsCustomProfile() cmdlt.InvokeEndProcessing(); // Verify - client = new ProfileClient(subscriptionDataFile); + client = new ProfileClient(new AzureProfile(subscriptionDataFile)); Assert.Equal(0, client.Profile.Subscriptions.Count); Assert.Equal(0, client.Profile.Accounts.Count); Assert.Equal(2, client.Profile.Environments.Count); //only default environments @@ -110,8 +115,18 @@ public void ClearAzureProfileClearsCustomProfile() [Fact] public void ClearAzureProfileClearsTokenCache() { - string cacheFileName = Path.Combine(AzurePowerShell.ProfileDirectory, "TokenCache.dat"); - ProtectedFileTokenCache tokenCache = ProtectedFileTokenCache.Instance; + var profile = new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile)); + AzurePSCmdlet.CurrentProfile = profile; + ClearAzureProfileCommand cmdlt = new ClearAzureProfileCommand(); + AzureSession.DataStore = new MockDataStore(); + AzureSession.TokenCache = new ProtectedFileTokenCache(Path.Combine(AzureSession.ProfileDirectory, AzureSession.TokenCacheFile)); + + cmdlt.CommandRuntime = commandRuntimeMock; + cmdlt.Force = new SwitchParameter(true); + + // Act + cmdlt.InvokeBeginProcessing(); + var tokenCache = AzureSession.TokenCache as ProtectedFileTokenCache; tokenCache.HasStateChanged = true; // HACK: Do not look at this code @@ -133,19 +148,10 @@ public void ClearAzureProfileClearsTokenCache() new object[] { authenticationResult, "Common", "123", "123", 0 }); tokenCache.AfterAccess.Invoke(args); - - Assert.Equal(1, tokenCache.ReadItems().Count()); - - ClearAzureProfileCommand cmdlt = new ClearAzureProfileCommand(); - cmdlt.CommandRuntime = commandRuntimeMock; - cmdlt.Force = new SwitchParameter(true); - - // Act - cmdlt.InvokeBeginProcessing(); + Assert.Equal(1, tokenCache.ReadItems().Count()); cmdlt.ExecuteCmdlet(); cmdlt.InvokeEndProcessing(); - // Verify Assert.Equal(0, tokenCache.ReadItems().Count()); } @@ -155,18 +161,20 @@ public void DeleteCorruptedTokenCache() { //setup string testFileName = @"c:\foobar\TokenCache.dat"; - ProfileClient.DataStore.WriteFile(testFileName, new byte[] { 0, 1 }); - + AzureSession.DataStore.WriteFile(testFileName, new byte[] { 0, 1 }); + //Act ProtectedFileTokenCache tokenCache = new ProtectedFileTokenCache(testFileName); //Assert - Assert.False(ProfileClient.DataStore.FileExists(testFileName)); + Assert.False(AzureSession.DataStore.FileExists(testFileName)); } [Fact] public void SetAzureSubscriptionAddsSubscriptionWithCertificate() { + var profile = new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile)); + AzurePSCmdlet.CurrentProfile = profile; SetAzureSubscriptionCommand cmdlt = new SetAzureSubscriptionCommand(); // Setup cmdlt.CommandRuntime = commandRuntimeMock; @@ -181,13 +189,13 @@ public void SetAzureSubscriptionAddsSubscriptionWithCertificate() cmdlt.InvokeEndProcessing(); // Verify - ProfileClient client = new ProfileClient(); + ProfileClient client = new ProfileClient(profile); var newSubscription = client.Profile.Subscriptions[new Guid(cmdlt.SubscriptionId)]; var newAccount = client.Profile.Accounts[SampleCertificate.Thumbprint]; Assert.Equal(cmdlt.SubscriptionName, newSubscription.Name); Assert.Equal(EnvironmentName.AzureCloud, newSubscription.Environment); Assert.Equal(cmdlt.CurrentStorageAccountName, newSubscription.GetProperty(AzureSubscription.Property.StorageAccount)); - + Assert.Equal(newAccount.Id, newSubscription.Account); Assert.Equal(AzureAccount.AccountType.Certificate, newAccount.Type); Assert.Equal(SampleCertificate.Thumbprint, newAccount.Id); @@ -197,11 +205,14 @@ public void SetAzureSubscriptionAddsSubscriptionWithCertificate() [Fact] public void SetAzureSubscriptionDerivesEnvironmentFromEnvironmentParameterOnAdd() { - SetAzureSubscriptionCommand cmdlt = new SetAzureSubscriptionCommand(); // Setup - ProfileClient client = new ProfileClient(); + var profile = Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile); + AzurePSCmdlet.CurrentProfile = + new AzureProfile(profile); + ProfileClient client = new ProfileClient(AzurePSCmdlet.CurrentProfile); client.AddOrSetEnvironment(azureEnvironment); client.Profile.Save(); + SetAzureSubscriptionCommand cmdlt = new SetAzureSubscriptionCommand(); cmdlt.CommandRuntime = commandRuntimeMock; cmdlt.SubscriptionId = Guid.NewGuid().ToString(); @@ -216,7 +227,7 @@ public void SetAzureSubscriptionDerivesEnvironmentFromEnvironmentParameterOnAdd( cmdlt.InvokeEndProcessing(); // Verify - client = new ProfileClient(); + client = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); var newSubscription = client.Profile.Subscriptions[new Guid(cmdlt.SubscriptionId)]; Assert.Equal(cmdlt.SubscriptionName, newSubscription.Name); Assert.Equal(cmdlt.Environment, newSubscription.Environment); @@ -228,7 +239,9 @@ public void SetAzureSubscriptionThrowsExceptionWithoutCertificateOnAdd() { SetAzureSubscriptionCommand cmdlt = new SetAzureSubscriptionCommand(); // Setup - ProfileClient client = new ProfileClient(); + var profile = new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile)); + AzurePSCmdlet.CurrentProfile = profile; + ProfileClient client = new ProfileClient(profile); client.AddOrSetEnvironment(azureEnvironment); client.Profile.Save(); @@ -240,19 +253,22 @@ public void SetAzureSubscriptionThrowsExceptionWithoutCertificateOnAdd() // Verify cmdlt.InvokeBeginProcessing(); - Assert.Throws(()=> cmdlt.ExecuteCmdlet()); + Assert.Throws(() => cmdlt.ExecuteCmdlet()); } [Fact] public void SetAzureSubscriptionDerivesEnvironmentFromEnvironmentParameterOnSet() { - SetAzureSubscriptionCommand cmdlt = new SetAzureSubscriptionCommand(); // Setup - ProfileClient client = new ProfileClient(); + var profile = Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile); + AzurePSCmdlet.CurrentProfile = + new AzureProfile(profile); + ProfileClient client = new ProfileClient(AzurePSCmdlet.CurrentProfile); client.AddOrSetAccount(azureAccount); client.AddOrSetEnvironment(azureEnvironment); client.AddOrSetSubscription(azureSubscription1); client.Profile.Save(); + SetAzureSubscriptionCommand cmdlt = new SetAzureSubscriptionCommand(); cmdlt.CommandRuntime = commandRuntimeMock; cmdlt.SubscriptionId = azureSubscription1.Id.ToString(); @@ -265,7 +281,7 @@ public void SetAzureSubscriptionDerivesEnvironmentFromEnvironmentParameterOnSet( cmdlt.InvokeEndProcessing(); // Verify - client = new ProfileClient(); + client = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); var newSubscription = client.Profile.Subscriptions[new Guid(cmdlt.SubscriptionId)]; Assert.Equal(cmdlt.Environment, newSubscription.Environment); Assert.Equal(cmdlt.CurrentStorageAccountName, newSubscription.GetProperty(AzureSubscription.Property.StorageAccount)); @@ -274,13 +290,15 @@ public void SetAzureSubscriptionDerivesEnvironmentFromEnvironmentParameterOnSet( [Fact] public void SetAzureSubscriptionDerivesEnvironmentFromServiceEndpointParameterOnSet() { - SetAzureSubscriptionCommand cmdlt = new SetAzureSubscriptionCommand(); // Setup - ProfileClient client = new ProfileClient(); + AzurePSCmdlet.CurrentProfile = + new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile)); + ProfileClient client = new ProfileClient(AzurePSCmdlet.CurrentProfile); client.AddOrSetAccount(azureAccount); client.AddOrSetEnvironment(azureEnvironment); client.AddOrSetSubscription(azureSubscription1); client.Profile.Save(); + SetAzureSubscriptionCommand cmdlt = new SetAzureSubscriptionCommand(); cmdlt.CommandRuntime = commandRuntimeMock; cmdlt.SubscriptionId = azureSubscription1.Id.ToString(); @@ -293,7 +311,7 @@ public void SetAzureSubscriptionDerivesEnvironmentFromServiceEndpointParameterOn cmdlt.InvokeEndProcessing(); // Verify - client = new ProfileClient(); + client = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); var newSubscription = client.Profile.Subscriptions[new Guid(cmdlt.SubscriptionId)]; Assert.Equal(cmdlt.Environment, newSubscription.Environment); Assert.Equal(cmdlt.CurrentStorageAccountName, @@ -303,13 +321,15 @@ public void SetAzureSubscriptionDerivesEnvironmentFromServiceEndpointParameterOn [Fact] public void SetAzureSubscriptionDerivesEnvironmentFromResourcesEndpointParameterOnSet() { - SetAzureSubscriptionCommand cmdlt = new SetAzureSubscriptionCommand(); // Setup - ProfileClient client = new ProfileClient(); + var profile = new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile)); + ProfileClient client = new ProfileClient(profile); + AzurePSCmdlet.CurrentProfile = profile; client.AddOrSetAccount(azureAccount); client.AddOrSetEnvironment(azureEnvironment); client.AddOrSetSubscription(azureSubscription1); client.Profile.Save(); + SetAzureSubscriptionCommand cmdlt = new SetAzureSubscriptionCommand(); cmdlt.CommandRuntime = commandRuntimeMock; cmdlt.SubscriptionId = azureSubscription1.Id.ToString(); @@ -322,7 +342,7 @@ public void SetAzureSubscriptionDerivesEnvironmentFromResourcesEndpointParameter cmdlt.InvokeEndProcessing(); // Verify - client = new ProfileClient(); + client = new ProfileClient(profile); var newSubscription = client.Profile.Subscriptions[new Guid(cmdlt.SubscriptionId)]; Assert.Equal(cmdlt.Environment, newSubscription.Environment); Assert.Equal(cmdlt.CurrentStorageAccountName, newSubscription.GetProperty(AzureSubscription.Property.StorageAccount)); @@ -331,14 +351,17 @@ public void SetAzureSubscriptionDerivesEnvironmentFromResourcesEndpointParameter [Fact] public void SetAzureSubscriptionDerivesEnvironmentFromBothEndpointParameters() { - SetAzureSubscriptionCommand cmdlt = new SetAzureSubscriptionCommand(); // Setup - ProfileClient client = new ProfileClient(); + var profile = new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile)); + AzurePSCmdlet.CurrentProfile = profile; + ProfileClient client = new ProfileClient(profile); client.AddOrSetAccount(azureAccount); client.AddOrSetEnvironment(azureEnvironment); client.AddOrSetSubscription(azureSubscription1); client.Profile.Save(); + SetAzureSubscriptionCommand cmdlt = new SetAzureSubscriptionCommand(); + cmdlt.CommandRuntime = commandRuntimeMock; cmdlt.SubscriptionId = azureSubscription1.Id.ToString(); cmdlt.CurrentStorageAccountName = "NewCloudStorage"; @@ -351,7 +374,7 @@ public void SetAzureSubscriptionDerivesEnvironmentFromBothEndpointParameters() cmdlt.InvokeEndProcessing(); // Verify - client = new ProfileClient(); + client = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); var newSubscription = client.Profile.Subscriptions[new Guid(cmdlt.SubscriptionId)]; Assert.Equal(cmdlt.Environment, newSubscription.Environment); Assert.Equal(cmdlt.CurrentStorageAccountName, newSubscription.GetProperty(AzureSubscription.Property.StorageAccount)); @@ -360,15 +383,17 @@ public void SetAzureSubscriptionDerivesEnvironmentFromBothEndpointParameters() [Fact] public void SetAzureSubscriptionUpdatesSubscriptionWithCertificate() { - SetAzureSubscriptionCommand cmdlt = new SetAzureSubscriptionCommand(); - // Setup - ProfileClient client = new ProfileClient(); + AzurePSCmdlet.CurrentProfile = + new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile)); + ProfileClient client = new ProfileClient(AzurePSCmdlet.CurrentProfile); client.AddOrSetAccount(azureAccount); client.AddOrSetEnvironment(azureEnvironment); client.AddOrSetSubscription(azureSubscription1); client.Profile.Save(); + SetAzureSubscriptionCommand cmdlt = new SetAzureSubscriptionCommand(); + cmdlt.CommandRuntime = commandRuntimeMock; cmdlt.SubscriptionId = azureSubscription1.Id.ToString(); cmdlt.CurrentStorageAccountName = "NewCloudStorage"; @@ -380,7 +405,7 @@ public void SetAzureSubscriptionUpdatesSubscriptionWithCertificate() cmdlt.InvokeEndProcessing(); // Verify - client = new ProfileClient(); + client = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); var newSubscription = client.Profile.Subscriptions[new Guid(cmdlt.SubscriptionId)]; var newAccount = client.Profile.Accounts[SampleCertificate.Thumbprint]; var existingAccount = client.Profile.Accounts[azureAccount.Id]; @@ -403,22 +428,25 @@ public void ImportPublishSettingsFileSelectsCorrectEnvironment() ImportAzurePublishSettingsCommand cmdlt = new ImportAzurePublishSettingsCommand(); // Setup - ProfileClient.DataStore.WriteFile("ImportPublishSettingsFileSelectsCorrectEnvironment.publishsettings", - Properties.Resources.ValidProfileChina); - ProfileClient client = new ProfileClient(); + AzureSession.DataStore.WriteFile("ImportPublishSettingsFileSelectsCorrectEnvironment.publishsettings", + Commands.Common.Test.Properties.Resources.ValidProfileChina); + var profile = new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile)); + AzurePSCmdlet.CurrentProfile = profile; + ProfileClient client = new ProfileClient(profile); var oldDataStore = FileUtilities.DataStore; - FileUtilities.DataStore = ProfileClient.DataStore; + FileUtilities.DataStore = AzureSession.DataStore; var expectedEnv = "AzureChinaCloud"; var expected = client.ImportPublishSettings("ImportPublishSettingsFileSelectsCorrectEnvironment.publishsettings", null); cmdlt.CommandRuntime = commandRuntimeMock; - cmdlt.ProfileClient = new ProfileClient(); + cmdlt.ProfileClient = new ProfileClient(profile); cmdlt.PublishSettingsFile = "ImportPublishSettingsFileSelectsCorrectEnvironment.publishsettings"; try { // Act cmdlt.InvokeBeginProcessing(); + AzureSession.DataStore = FileUtilities.DataStore; cmdlt.ExecuteCmdlet(); cmdlt.InvokeEndProcessing(); @@ -440,18 +468,21 @@ public void ImportPublishSettingsFileSelectsCorrectEnvironment() public void ImportPublishSettingsFileOverwritesEnvironment() { ImportAzurePublishSettingsCommand cmdlt = new ImportAzurePublishSettingsCommand(); - + var oldAzureDataStore = AzureSession.DataStore; + AzureSession.DataStore = new MockDataStore(); // Setup - ProfileClient.DataStore.WriteFile("ImportPublishSettingsFileSelectsCorrectEnvironment.publishsettings", - Properties.Resources.ValidProfileChina); - ProfileClient client = new ProfileClient(); + AzureSession.DataStore.WriteFile("ImportPublishSettingsFileSelectsCorrectEnvironment.publishsettings", + Commands.Common.Test.Properties.Resources.ValidProfileChina); + var profile = new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile)); + AzurePSCmdlet.CurrentProfile = profile; + ProfileClient client = new ProfileClient(profile); var oldDataStore = FileUtilities.DataStore; - FileUtilities.DataStore = ProfileClient.DataStore; + FileUtilities.DataStore = AzureSession.DataStore; var expectedEnv = "AzureCloud"; var expected = client.ImportPublishSettings("ImportPublishSettingsFileSelectsCorrectEnvironment.publishsettings", expectedEnv); cmdlt.CommandRuntime = commandRuntimeMock; - cmdlt.ProfileClient = new ProfileClient(); + cmdlt.ProfileClient = client; cmdlt.PublishSettingsFile = "ImportPublishSettingsFileSelectsCorrectEnvironment.publishsettings"; cmdlt.Environment = expectedEnv; @@ -473,14 +504,62 @@ public void ImportPublishSettingsFileOverwritesEnvironment() { // Cleanup FileUtilities.DataStore = oldDataStore; + AzureSession.DataStore = oldAzureDataStore; + } + } + + [Fact] + public void ImportPublishSettingsWorksForCustomProfile() + { + ImportAzurePublishSettingsCommand cmdlt = new ImportAzurePublishSettingsCommand(); + var oldAzureDataStore = AzureSession.DataStore; + AzureSession.DataStore = new MockDataStore(); + // Setup + AzureSession.DataStore.WriteFile("ImportPublishSettingsFileSelectsCorrectEnvironment.publishsettings", + Commands.Common.Test.Properties.Resources.ValidProfileChina); + var profile = new AzureProfile(); + ProfileClient client = new ProfileClient(profile); + var oldDataStore = FileUtilities.DataStore; + FileUtilities.DataStore = AzureSession.DataStore; + var expectedEnv = "AzureCloud"; + var expected = client.ImportPublishSettings("ImportPublishSettingsFileSelectsCorrectEnvironment.publishsettings", expectedEnv); + AzurePSCmdlet.CurrentProfile = new AzureProfile(); + cmdlt.Profile = profile; + cmdlt.CommandRuntime = commandRuntimeMock; + cmdlt.ProfileClient = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); + cmdlt.PublishSettingsFile = "ImportPublishSettingsFileSelectsCorrectEnvironment.publishsettings"; + cmdlt.Environment = expectedEnv; + + try + { + // Act + cmdlt.InvokeBeginProcessing(); + cmdlt.ExecuteCmdlet(); + cmdlt.InvokeEndProcessing(); + + // Verify + foreach (var subscription in expected) + { + Assert.Equal(client.GetSubscription(subscription.Id).Environment, expectedEnv); + } + Assert.Equal(1, commandRuntimeMock.OutputPipeline.Count); + Assert.Equal(AzurePSCmdlet.CurrentProfile.Subscriptions.Count, 0); + Assert.Equal(AzurePSCmdlet.CurrentProfile.Accounts.Count, 0); + } + finally + { + // Cleanup + FileUtilities.DataStore = oldDataStore; + AzureSession.DataStore = oldAzureDataStore; } } + [Fact] public void SelectDefaultAzureSubscriptionByNameUpdatesProfile() { - SelectAzureSubscriptionCommand cmdlt = new SelectAzureSubscriptionCommand(); var client = SetupDefaultProfile(); + SelectAzureSubscriptionCommand cmdlt = new SelectAzureSubscriptionCommand(); // Setup cmdlt.CommandRuntime = commandRuntimeMock; @@ -495,7 +574,7 @@ public void SelectDefaultAzureSubscriptionByNameUpdatesProfile() cmdlt.InvokeEndProcessing(); // Verify - client = new ProfileClient(); + client = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); Assert.NotNull(client.Profile.DefaultSubscription); Assert.Equal(azureSubscription2.Id, client.Profile.DefaultSubscription.Id); } @@ -503,14 +582,13 @@ public void SelectDefaultAzureSubscriptionByNameUpdatesProfile() [Fact] public void SelectAzureSubscriptionByNameUpdatesProfile() { - SelectAzureSubscriptionCommand cmdlt = new SelectAzureSubscriptionCommand(); SetupDefaultProfile(); + SelectAzureSubscriptionCommand cmdlt = new SelectAzureSubscriptionCommand(); // Setup cmdlt.CommandRuntime = commandRuntimeMock; cmdlt.SetParameterSet("SelectSubscriptionByNameParameterSet"); cmdlt.SubscriptionName = azureSubscription2.Name; - Assert.Null(AzureSession.CurrentContext.Subscription); // Act cmdlt.InvokeBeginProcessing(); @@ -518,21 +596,22 @@ public void SelectAzureSubscriptionByNameUpdatesProfile() cmdlt.InvokeEndProcessing(); // Verify - Assert.NotNull(AzureSession.CurrentContext.Subscription); - Assert.Equal(azureSubscription2.Id, AzureSession.CurrentContext.Subscription.Id); + Assert.NotNull(cmdlt.Profile.Context.Subscription); + Assert.Equal(azureSubscription2.Id, cmdlt.Profile.Context.Subscription.Id); } [Fact] - public void SelectAzureSubscriptionWithoutPassthroughDoesNotPrint() + public void SelectAzureSubscriptionByNameUpdatesCustomProfile() { - SelectAzureSubscriptionCommand cmdlt = new SelectAzureSubscriptionCommand(); SetupDefaultProfile(); + var profile = SetupCustomProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile)); + SelectAzureSubscriptionCommand cmdlt = new SelectAzureSubscriptionCommand(); // Setup cmdlt.CommandRuntime = commandRuntimeMock; cmdlt.SetParameterSet("SelectSubscriptionByNameParameterSet"); cmdlt.SubscriptionName = azureSubscription2.Name; - Assert.Null(AzureSession.CurrentContext.Subscription); + cmdlt.Profile = profile; // Act cmdlt.InvokeBeginProcessing(); @@ -540,21 +619,22 @@ public void SelectAzureSubscriptionWithoutPassthroughDoesNotPrint() cmdlt.InvokeEndProcessing(); // Verify - Assert.Equal(0, commandRuntimeMock.OutputPipeline.Count); + Assert.NotNull(cmdlt.Profile.Context.Subscription); + Assert.Equal(azureSubscription2.Id, cmdlt.Profile.Context.Subscription.Id); + // current profile unchanged + Assert.Equal(azureSubscription1.Id, AzurePSCmdlet.CurrentProfile.Context.Subscription.Id); } [Fact] - public void SelectAzureSubscriptionWithPassthroughPrintsSubscription() + public void SelectAzureSubscriptionByNameWithoutAccountPreservesTheAccount() { - SelectAzureSubscriptionCommand cmdlt = new SelectAzureSubscriptionCommand(); SetupDefaultProfile(); + SelectAzureSubscriptionCommand cmdlt = new SelectAzureSubscriptionCommand(); // Setup cmdlt.CommandRuntime = commandRuntimeMock; cmdlt.SetParameterSet("SelectSubscriptionByNameParameterSet"); cmdlt.SubscriptionName = azureSubscription2.Name; - cmdlt.PassThru = new SwitchParameter(true); - Assert.Null(AzureSession.CurrentContext.Subscription); // Act cmdlt.InvokeBeginProcessing(); @@ -562,22 +642,21 @@ public void SelectAzureSubscriptionWithPassthroughPrintsSubscription() cmdlt.InvokeEndProcessing(); // Verify - Assert.Equal(1, commandRuntimeMock.OutputPipeline.Count); - Assert.True(commandRuntimeMock.OutputPipeline[0] is AzureSubscription); + Assert.NotNull(cmdlt.Profile.Context.Subscription); + Assert.Equal(azureSubscription2.Account, cmdlt.Profile.Context.Subscription.Account); + Assert.Equal(azureSubscription2.Id, cmdlt.Profile.Context.Subscription.Id); } [Fact] - public void SelectDefaultAzureSubscriptionByIdAndNoDefaultUpdatesProfile() + public void SelectAzureSubscriptionByIdWithoutAccountPreservesTheAccount() { + SetupDefaultProfile(); SelectAzureSubscriptionCommand cmdlt = new SelectAzureSubscriptionCommand(); - var client = SetupDefaultProfile(); // Setup cmdlt.CommandRuntime = commandRuntimeMock; - cmdlt.SetParameterSet("SelectDefaultSubscriptionByIdParameterSet"); + cmdlt.SetParameterSet("SelectSubscriptionByIdParameterSet"); cmdlt.SubscriptionId = azureSubscription2.Id.ToString(); - cmdlt.Default = new SwitchParameter(true); - Assert.NotEqual(azureSubscription2.Id, client.Profile.DefaultSubscription.Id); // Act cmdlt.InvokeBeginProcessing(); @@ -585,16 +664,21 @@ public void SelectDefaultAzureSubscriptionByIdAndNoDefaultUpdatesProfile() cmdlt.InvokeEndProcessing(); // Verify - client = new ProfileClient(); - Assert.NotNull(client.Profile.DefaultSubscription); - Assert.Equal(azureSubscription2.Id, client.Profile.DefaultSubscription.Id); + Assert.NotNull(cmdlt.Profile.Context.Subscription); + Assert.Equal(azureSubscription2.Account, cmdlt.Profile.Context.Subscription.Account); + Assert.Equal(azureSubscription2.Id, cmdlt.Profile.Context.Subscription.Id); + } - cmdlt = new SelectAzureSubscriptionCommand(); + [Fact] + public void SelectAzureSubscriptionWithoutPassthroughDoesNotPrint() + { + SetupDefaultProfile(); + SelectAzureSubscriptionCommand cmdlt = new SelectAzureSubscriptionCommand(); // Setup cmdlt.CommandRuntime = commandRuntimeMock; - cmdlt.SetParameterSet("NoDefaultSubscriptionParameterSet"); - cmdlt.NoDefault = new SwitchParameter(true); + cmdlt.SetParameterSet("SelectSubscriptionByNameParameterSet"); + cmdlt.SubscriptionName = azureSubscription2.Name; // Act cmdlt.InvokeBeginProcessing(); @@ -602,21 +686,43 @@ public void SelectDefaultAzureSubscriptionByIdAndNoDefaultUpdatesProfile() cmdlt.InvokeEndProcessing(); // Verify - client = new ProfileClient(); - Assert.Null(client.Profile.DefaultSubscription); + Assert.Equal(0, commandRuntimeMock.OutputPipeline.Count); } [Fact] - public void SelectAzureSubscriptionByIdAndNoCurrentUpdatesProfile() + public void SelectAzureSubscriptionWithPassthroughPrintsSubscription() { - SelectAzureSubscriptionCommand cmdlt = new SelectAzureSubscriptionCommand(); SetupDefaultProfile(); + SelectAzureSubscriptionCommand cmdlt = new SelectAzureSubscriptionCommand(); // Setup cmdlt.CommandRuntime = commandRuntimeMock; - cmdlt.SetParameterSet("SelectSubscriptionByIdParameterSet"); + cmdlt.SetParameterSet("SelectSubscriptionByNameParameterSet"); + cmdlt.SubscriptionName = azureSubscription2.Name; + cmdlt.PassThru = new SwitchParameter(true); + + // Act + cmdlt.InvokeBeginProcessing(); + cmdlt.ExecuteCmdlet(); + cmdlt.InvokeEndProcessing(); + + // Verify + Assert.Equal(1, commandRuntimeMock.OutputPipeline.Count); + Assert.True(commandRuntimeMock.OutputPipeline[0] is AzureSubscription); + } + + [Fact] + public void SelectDefaultAzureSubscriptionByIdAndNoDefaultUpdatesProfile() + { + var client = SetupDefaultProfile(); + SelectAzureSubscriptionCommand cmdlt = new SelectAzureSubscriptionCommand(); + + // Setup + cmdlt.CommandRuntime = commandRuntimeMock; + cmdlt.SetParameterSet("SelectDefaultSubscriptionByIdParameterSet"); cmdlt.SubscriptionId = azureSubscription2.Id.ToString(); - Assert.Null(AzureSession.CurrentContext.Subscription); + cmdlt.Default = new SwitchParameter(true); + Assert.NotEqual(azureSubscription2.Id, client.Profile.DefaultSubscription.Id); // Act cmdlt.InvokeBeginProcessing(); @@ -624,15 +730,16 @@ public void SelectAzureSubscriptionByIdAndNoCurrentUpdatesProfile() cmdlt.InvokeEndProcessing(); // Verify - Assert.NotNull(AzureSession.CurrentContext.Subscription); - Assert.Equal(azureSubscription2.Id, AzureSession.CurrentContext.Subscription.Id); + client = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); + Assert.NotNull(client.Profile.DefaultSubscription); + Assert.Equal(azureSubscription2.Id, client.Profile.DefaultSubscription.Id); cmdlt = new SelectAzureSubscriptionCommand(); // Setup cmdlt.CommandRuntime = commandRuntimeMock; - cmdlt.SetParameterSet("NoCurrentSubscriptionParameterSet"); - cmdlt.NoCurrent = new SwitchParameter(true); + cmdlt.SetParameterSet("NoDefaultSubscriptionParameterSet"); + cmdlt.NoDefault = new SwitchParameter(true); // Act cmdlt.InvokeBeginProcessing(); @@ -640,21 +747,21 @@ public void SelectAzureSubscriptionByIdAndNoCurrentUpdatesProfile() cmdlt.InvokeEndProcessing(); // Verify - Assert.Null(AzureSession.CurrentContext.Subscription); + client = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); + Assert.Null(client.Profile.DefaultSubscription); } [Fact] public void SelectAzureSubscriptionByInvalidIdThrowsException() { - SelectAzureSubscriptionCommand cmdlt = new SelectAzureSubscriptionCommand(); SetupDefaultProfile(); + SelectAzureSubscriptionCommand cmdlt = new SelectAzureSubscriptionCommand(); // Setup cmdlt.CommandRuntime = commandRuntimeMock; cmdlt.SetParameterSet("SelectSubscriptionByIdParameterSet"); string invalidGuid = Guid.NewGuid().ToString(); cmdlt.SubscriptionId = invalidGuid; - Assert.Null(AzureSession.CurrentContext.Subscription); // Act cmdlt.InvokeBeginProcessing(); @@ -665,7 +772,7 @@ public void SelectAzureSubscriptionByInvalidIdThrowsException() } catch (ArgumentException ex) { - Assert.Contains(string.Format(Microsoft.WindowsAzure.Commands.Common.Properties.Resources.InvalidSubscriptionId, invalidGuid), ex.Message); + Assert.Contains(string.Format("The subscription id {0} doesn't exist.\r\nParameter name: id", invalidGuid), ex.Message); } } @@ -680,7 +787,6 @@ public void SelectAzureSubscriptionByInvalidGuidThrowsException() cmdlt.SetParameterSet("SelectSubscriptionByIdParameterSet"); string invalidGuid = "foo"; cmdlt.SubscriptionId = invalidGuid; - Assert.Null(AzureSession.CurrentContext.Subscription); // Act cmdlt.InvokeBeginProcessing(); @@ -695,9 +801,308 @@ public void SelectAzureSubscriptionByInvalidGuidThrowsException() } } + [Fact] + public void CanCreateProfileCertificateAuth() + { + RunCreateProfileTestForParams( + (cmdlet) => + { + cmdlet.Certificate = SampleCertificate; + }, + NewAzureProfileCommand.CertificateParameterSet, ValidateCertificate); + } + + [Fact] + public void CanCreateProfileFromHashCertificateAuth() + { + RunCreateProfileTestForHashTable( + (cmdlet) => + { + cmdlet.Properties.Add(NewAzureProfileCommand.CertificateKey, SampleCertificate); + }, ValidateCertificate); + } + + [Fact] + public void CanCreateProfileWithADAuth() + { + var credential = GenerateCredential(); + RunCreateProfileTestForParams( + (cmdlet) => + { + cmdlet.Credential = credential; + }, NewAzureProfileCommand.CredentialsParameterSet, + (profile) => ValidateCredential(credential, profile, AzureAccount.AccountType.User)); + } + + [Fact] + public void CanCreateProfileFromHashWithADAuth() + { + var password = GeneratePassword(); + var credential = GenerateCredential(password); + RunCreateProfileTestForHashTable( + (cmdlet) => + { + cmdlet.Properties[NewAzureProfileCommand.UsernameKey] = credential.UserName; + cmdlet.Properties[NewAzureProfileCommand.PasswordKey] = password; + }, (profile) => ValidateCredential(credential, profile, AzureAccount.AccountType.User)); + } + + [Fact] + public void CanAddAccountToCustomProfile() + { + var cmdlet = new AddAzureAccount(); + var csmSubscription = Guid.NewGuid(); + var rdfeSubscription = Guid.NewGuid(); + var credential = GenerateCredential("mySillyPassword"); + var profile = new AzureProfile(); + var client = new ProfileClient(profile); + cmdlet.Credential = credential; + cmdlet.Profile = profile; + cmdlet.SetParameterSet("User"); + + AzureSession.ClientFactory = + new MockClientFactory( + new List + { + ProfileClientHelper.CreateRdfeSubscriptionClient(rdfeSubscription, rdfeSubscription.ToString()), + ProfileClientHelper.CreateCsmSubscriptionClient(new List{csmSubscription.ToString()}, + new List{csmSubscription.ToString(), rdfeSubscription.ToString()}) + }, true); + AzureSession.AuthenticationFactory = new MockTokenAuthenticationFactory(credential.UserName, + Guid.NewGuid().ToString()); + cmdlet.CommandRuntime = commandRuntimeMock; + cmdlet.InvokeBeginProcessing(); + cmdlet.ExecuteCmdlet(); + cmdlet.InvokeEndProcessing(); + Assert.NotNull(profile.Subscriptions); + Assert.NotNull(profile.Accounts); + Assert.NotNull(profile.Environments); + Assert.NotNull(profile.Context); + Assert.Equal(profile.Subscriptions.Values.Count((s) => s.Id == csmSubscription), 1); + Assert.Equal(profile.Subscriptions.Values.Count((s) => s.Id == rdfeSubscription), 1); + Assert.Equal(profile.Accounts.Values.Count((s) => s.Id == credential.UserName), 1); + Assert.Contains(rdfeSubscription.ToString(), profile.Accounts.First().Value.GetProperty(AzureAccount.Property.Subscriptions)); + Assert.Contains(csmSubscription.ToString(), profile.Accounts.First().Value.GetProperty(AzureAccount.Property.Subscriptions)); + Assert.Equal(profile.Context.Account.Id, credential.UserName); + Assert.Equal(profile.Context.Subscription.Id, rdfeSubscription); + } + + [Fact] + public void CanCreateProfieWithSPAuth() + { + var credential = GenerateCredential(); + RunCreateProfileTestForParams( + (cmdlet) => + { + cmdlet.Credential = credential; + }, NewAzureProfileCommand.ServicePrincipalParameterSet, + (profile) => ValidateCredential(credential, profile, AzureAccount.AccountType.ServicePrincipal)); + } + + [Fact] + public void CanCreateProfileFromHashWithSPAuth() + { + var password = GeneratePassword(); + var credential = GenerateCredential(password); + RunCreateProfileTestForHashTable( + (cmdlet) => + { + cmdlet.Properties[NewAzureProfileCommand.SPNKey] = credential.UserName; + cmdlet.Properties[NewAzureProfileCommand.PasswordKey] = password; + cmdlet.Properties[NewAzureProfileCommand.TenantKey] = Guid.NewGuid().ToString(); + }, (profile) => ValidateCredential(credential, profile, AzureAccount.AccountType.ServicePrincipal)); + } + + [Fact] + public void CanCreateProfileWithTokenAuth() + { + var credential = GenerateCredential(); + var token = Guid.NewGuid().ToString(); + RunCreateProfileTestForParams( + (cmdlet) => + { + cmdlet.AccountId = credential.UserName; + cmdlet.AccessToken = token; + }, NewAzureProfileCommand.AccessTokenParameterSet, + (profile) => ValidateCredential(credential, profile, AzureAccount.AccountType.AccessToken)); + } + + [Fact] + public void CanCreateProfileFromHashWithTokenAuth() + { + var credential = GenerateCredential(); + var token = Guid.NewGuid().ToString(); + RunCreateProfileTestForHashTable( + (cmdlet) => + { + cmdlet.Properties.Add(NewAzureProfileCommand.AccountIdKey, credential.UserName); + cmdlet.Properties.Add(NewAzureProfileCommand.TokenKey, token); + }, (profile) => ValidateCredential(credential, profile, AzureAccount.AccountType.AccessToken)); + } + + [Fact] + public void CanCreateAzureProfileWithFile() + { + var savedProfile = AzurePSCmdlet.CurrentProfile; + var dataStore = AzureSession.DataStore; + try + { + AzureSession.DataStore = new MockDataStore(); + AzurePSCmdlet.CurrentProfile = new AzureProfile(); + string myFile = Path.GetTempFileName(); + var profile = SetupCustomProfile(myFile); + var cmdlet = new NewAzureProfileCommand(); + var runtime = new MockCommandRuntime(); + cmdlet.SetParameterSet(NewAzureProfileCommand.FileParameterSet); + cmdlet.Path = myFile; + + cmdlet.CommandRuntime = runtime; + cmdlet.InvokeBeginProcessing(); + cmdlet.ExecuteCmdlet(); + cmdlet.InvokeEndProcessing(); + + var returnedProfile = runtime.OutputPipeline.First() as AzureProfile; + Assert.NotNull(returnedProfile); + Assert.NotNull(returnedProfile.Accounts.Values); + Assert.NotNull(returnedProfile.Subscriptions.Values); + Assert.NotNull(returnedProfile.Environments.Values); + Assert.Equal(profile.Accounts.Values.Count, returnedProfile.Accounts.Values.Count); + foreach (var account in profile.Accounts.Values) + { + var returnedAccount = returnedProfile.Accounts.Values.FirstOrDefault((a) => a.Id == account.Id); + Assert.NotNull(returnedAccount); + Assert.Equal(account.GetProperty(AzureAccount.Property.Subscriptions), + returnedAccount.GetProperty(AzureAccount.Property.Subscriptions)); + } + + Assert.Equal(profile.Subscriptions.Values.Count, returnedProfile.Subscriptions.Values.Count); + foreach (var subscription in profile.Subscriptions.Values) + { + var returnedSub = returnedProfile.Subscriptions.Values.FirstOrDefault((s) => s.Id == subscription.Id); + Assert.NotNull(returnedSub); + } + + // current profile does not change + Assert.Equal(AzurePSCmdlet.CurrentProfile.Accounts.Count, 0); + Assert.Equal(AzurePSCmdlet.CurrentProfile.Subscriptions.Count, 0); + } + finally + { + AzureSession.DataStore = dataStore; + AzurePSCmdlet.CurrentProfile = savedProfile; + } + } + + public static PSCredential GenerateCredential(string pass = null) + { + pass = pass ?? GeneratePassword(); + var username = "anonymous@anonymous.com"; + var password = new SecureString(); + for (int i = 0; i < pass.Length; ++i) + { + password.AppendChar(pass[i]); + } + + return new PSCredential(username, password); + } + + public static string GeneratePassword() + { + Random rand = new Random(); + StringBuilder password = new StringBuilder(); + for (int i = 0; i < 12; ++i) + { + password.Append(Convert.ToChar(rand.Next(0, 127))); + } + + return password.ToString(); + } + + private void RunCreateProfileTestForHashTable(Action prepare, + Action validate) + { + var subscription = Guid.NewGuid(); + RunCreateProfileTest((command) => + { + command.Properties = new Hashtable(); + command.Properties.Add(NewAzureProfileCommand.SubscriptionIdKey, subscription.ToString()); + prepare(command); + }, NewAzureProfileCommand.PropertyBagParameterSet, subscription, validate); + } + + private void RunCreateProfileTestForParams(Action prepare, string parameterSet, + Action validate) + { + var subscription = Guid.NewGuid(); + RunCreateProfileTest((command) => + { + prepare(command); + command.SubscriptionId = subscription.ToString(); + }, parameterSet, subscription, validate); + } + private void RunCreateProfileTest(Action prepare, string parameterSet, + Guid subscription, Action validate) + { + var clientFactory = AzureSession.ClientFactory; + try + { + + AzureSession.ClientFactory = + new MockClientFactory( + new List + { + ProfileClientHelper.CreateRdfeSubscriptionClient(subscription, subscription.ToString()), + ProfileClientHelper.CreateCsmSubscriptionClient(new List{subscription.ToString()}, new List{subscription.ToString()}) + }, true); + + var cmdlet = new NewAzureProfileCommand(); + prepare(cmdlet); + cmdlet.CommandRuntime = commandRuntimeMock; + cmdlet.SetParameterSet(parameterSet); + cmdlet.ExecuteCmdlet(); + AzureProfile profile = commandRuntimeMock.OutputPipeline.First() as AzureProfile; + Assert.NotNull(profile); + Assert.NotNull(profile.Subscriptions); + Assert.NotNull(profile.DefaultSubscription); + Assert.Equal(profile.DefaultSubscription.Id, subscription); + Assert.Equal(profile.Subscriptions.Count, 1); + Assert.Equal(profile.Subscriptions.Values.First().Id, subscription); + validate(profile); + } + finally + { + AzureSession.ClientFactory = clientFactory; + } + + } + + private void ValidateCertificate(AzureProfile profile) + { + Assert.NotNull(profile.Accounts); + Assert.NotNull(profile.Accounts.Values); + Assert.Equal(profile.Accounts.Values.Count, 1); + var account = profile.Accounts.Values.First(); + Assert.Equal(account.Type, AzureAccount.AccountType.Certificate); + Assert.Equal(account.Id, SampleCertificate.Thumbprint); + + } + + private void ValidateCredential(PSCredential credential, AzureProfile profile, + AzureAccount.AccountType accountType) + { + Assert.NotNull(profile.Accounts); + Assert.NotNull(profile.Accounts.Values); + Assert.Equal(profile.Accounts.Values.Count, 1); + var account = profile.Accounts.Values.First(); + Assert.Equal(account.Type, accountType); + Assert.Equal(account.Id, credential.UserName); + } + private ProfileClient SetupDefaultProfile() { - ProfileClient client = new ProfileClient(); + AzurePSCmdlet.CurrentProfile = + new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile)); + ProfileClient client = new ProfileClient(AzurePSCmdlet.CurrentProfile); client.AddOrSetEnvironment(azureEnvironment); client.AddOrSetAccount(azureAccount); client.AddOrSetSubscription(azureSubscription1); @@ -706,6 +1111,19 @@ private ProfileClient SetupDefaultProfile() return client; } + private AzureProfile SetupCustomProfile(string path) + { + var profile = + new AzureProfile(path); + ProfileClient client = new ProfileClient(profile); + client.AddOrSetEnvironment(azureEnvironment); + client.AddOrSetAccount(azureAccount); + client.AddOrSetSubscription(azureSubscription1); + client.AddOrSetSubscription(azureSubscription2); + profile.Save(path); + return profile; + } + private void SetMockData() { azureSubscription1 = new AzureSubscription diff --git a/src/ServiceManagement/Services/Commands.Test/Profile/ProfileTestController.cs b/src/ServiceManagement/Services/Commands.Test/Profile/ProfileTestController.cs new file mode 100644 index 000000000000..d21298af97e4 --- /dev/null +++ b/src/ServiceManagement/Services/Commands.Test/Profile/ProfileTestController.cs @@ -0,0 +1,212 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Factories; +using Microsoft.Azure.Common.Authentication.Models; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Microsoft.Azure.Test; +using System; +using System.Linq; +using Microsoft.WindowsAzure.Commands.Utilities.Common; + +namespace Microsoft.Azure.Commands.Test.Profile +{ + public sealed class ProfileTestController + { + private TestEnvironmentFactory testFactory; + private EnvironmentSetupHelper helper; + + public static ProfileTestController NewInstance + { + get + { + return new ProfileTestController(); + } + } + + public static ProfileTestController NewRdfeInstance + { + get + { + return new ProfileTestController(AzureModule.AzureServiceManagement); + } + } + + public static ProfileTestController NewARMInstance + { + get + { + return new ProfileTestController(AzureModule.AzureResourceManager); + } + } + + public AzureModule Module + { + get; + private set; + } + public ProfileTestController() + { + Module = AzureModule.AzureResourceManager; + helper = new EnvironmentSetupHelper(); + } + + public ProfileTestController(AzureModule module) + { + Module = module; + helper = new EnvironmentSetupHelper(); + } + + + + public void RunPsTest(params string[] scripts) + { + var callingClassType = TestUtilities.GetCallingClass(2); + var mockName = TestUtilities.GetCurrentMethodName(2); + + RunPsTestWorkflow( + () => scripts, + // no custom initializer + null, + // no custom cleanup + null, + callingClassType, + mockName); + } + + public void RunPSTestWithToken(Func testBuilder , params string[] scripts) + { + var callingClassType = TestUtilities.GetCallingClass(2); + var mockName = TestUtilities.GetCurrentMethodName(2); + IAuthenticationFactory savedAuthFactory = AzureSession.AuthenticationFactory; + try + { + RunPsTestWorkflow( + () => + { + savedAuthFactory = AzureSession.AuthenticationFactory; + var profile = AzurePSCmdlet.CurrentProfile; + var context = profile.Context; + var account = context.Account; + var tenant = account.IsPropertySet(AzureAccount.Property.Tenants) + ? account.GetPropertyAsArray(AzureAccount.Property.Tenants).First() + : "Common"; + var subscription = context.Subscription; + string token = null; + if (account.IsPropertySet(AzureAccount.Property.AccessToken)) + { + token = account.GetProperty(AzureAccount.Property.AccessToken); + } + else + { + var accessToken = AzureSession.AuthenticationFactory.Authenticate(account, + context.Environment, + tenant, null, ShowDialog.Never); + Assert.IsNotNull(accessToken); + Assert.IsNotNull(accessToken.AccessToken); + token = accessToken.AccessToken; + } + + AzureSession.AuthenticationFactory = new AuthenticationFactory(); + var testString = testBuilder(context, token); + var returnedScripts = scripts.Concat(new String[] {testString}); + return returnedScripts.ToArray(); + }, + // no custom initializer + null, + // no custom cleanup + null, + callingClassType, + mockName); + } + finally + { + AzureSession.AuthenticationFactory = savedAuthFactory; + } + } + + public TestEnvironmentFactory GetFactory() + { + return (this.Module == AzureModule.AzureResourceManager) ? + new CSMTestEnvironmentFactory() as TestEnvironmentFactory : new RDFETestEnvironmentFactory() as TestEnvironmentFactory; + } + + public void RunPsTestWorkflow( + Func scriptBuilder, + Action initialize, + Action cleanup, + string callingClassType, + string mockName) + { + using (UndoContext context = UndoContext.Current) + { + context.Start(callingClassType, mockName); + + this.testFactory = GetFactory(); + + if(initialize != null) + { + initialize(this.testFactory); + } + + SetupManagementClients(); + + helper.SetupEnvironment(this.Module); + + var callingClassName = callingClassType + .Split(new[] { "." }, StringSplitOptions.RemoveEmptyEntries) + .Last(); + helper.SetupModules( + this.Module, + "Profile\\" + callingClassName + ".ps1"); + + try + { + if (scriptBuilder != null) + { + var psScripts = scriptBuilder(); + + if (psScripts != null) + { + helper.RunPowerShellTest(psScripts); + } + } + } + finally + { + if(cleanup !=null) + { + cleanup(); + } + } + } + } + + private void SetupManagementClients() + { + if (this.Module == AzureModule.AzureResourceManager) + { + helper.SetupSomeOfManagementClients(); + } + else + { + helper.SetupSomeOfManagementClients(); + } + } + + } +} diff --git a/src/ServiceManagement/Services/Commands.Test/Profile/SelectAzureProfileTests.cs b/src/ServiceManagement/Services/Commands.Test/Profile/SelectAzureProfileTests.cs new file mode 100644 index 000000000000..498b7518663b --- /dev/null +++ b/src/ServiceManagement/Services/Commands.Test/Profile/SelectAzureProfileTests.cs @@ -0,0 +1,43 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Xunit; + +namespace Microsoft.Azure.Commands.Test.Profile +{ + public class SelectAzureProfileTests + { + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestSelectDefaultProfile() + { + ProfileTestController.NewRdfeInstance.RunPSTestWithToken((context, token) => string.Format("Test-SelectDefaultProfile {0} {1} {2}", token, context.Account.Id, context.Subscription.Id)); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestMakeArmCallWithCreatedProfile() + { + ProfileTestController.NewARMInstance.RunPSTestWithToken((context, token) => string.Format("Test-NewAzureProfileInARMMode {0} {1} {2}", token, context.Account.Id, context.Subscription.Id)); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestMakeRdfeCallWithCreatedProfile() + { + ProfileTestController.NewRdfeInstance.RunPSTestWithToken((context, token) => string.Format("Test-NewAzureProfileInARMMode {0} {1} {2}", token, context.Account.Id, context.Subscription.Id)); + } + } +} diff --git a/src/ServiceManagement/Services/Commands.Test/Profile/SelectAzureProfileTests.ps1 b/src/ServiceManagement/Services/Commands.Test/Profile/SelectAzureProfileTests.ps1 new file mode 100644 index 000000000000..aa13f1f7ddff --- /dev/null +++ b/src/ServiceManagement/Services/Commands.Test/Profile/SelectAzureProfileTests.ps1 @@ -0,0 +1,58 @@ +# ---------------------------------------------------------------------------------- +# +# 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. +# ---------------------------------------------------------------------------------- + +<# +.SYNOPSIS +Tests creating new azure profile with access token +#> +function Test-SelectDefaultProfile +{ + param([string] $token, [string] $user, [string] $sub) + $profile = $(New-AzureProfile -SubscriptionId $sub -AccessToken $token -AccountId $user) + Assert-AreEqual "AzureCloud" $profile.Context.Environment.Name + Select-AzureProfile $profile + Select-AzureProfile -Default + $current = [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::CurrentProfile + Assert-NotNull $($current.ProfilePath) +} + +<# +.SYNOPSIS +Tests using a profile to run an RDFE cmdlet +#> +function Test-NewAzureProfileInRDFEMode +{ + param([string] $token, [string] $user, [string] $sub) + $profile = $(New-AzureProfile -SubscriptionId $sub -AccessToken $token -AccountId $user) + Assert-AreEqual "AzureCloud" $profile.Context.Environment.Name + Select-AzureProfile $profile + $locations = Get-AzureLocation + Assert-NotNull $locations + Assert-True {$locations.Count -gt 1} +} + +<# +.SYNOPSIS +Tests using a profile to run an ARM cmdlet +#> +function Test-NewAzureProfileInARMMode +{ + param([string] $token, [string] $user, [string] $sub) + $profile = $(New-AzureProfile -SubscriptionId $sub -AccessToken $token -AccountId $user) + Assert-AreEqual "AzureCloud" $($profile.Context.Environment.Name) "Expecting the azure cloud environment" + Select-AzureProfile $profile + $locations = Get-AzureLocation + Assert-NotNull $locations + Assert-True {$locations.Count -gt 1} +} \ No newline at end of file diff --git a/src/ServiceManagement/Services/Commands.Test/ServiceBus/GetAzureSBNamespaceTest.cs b/src/ServiceManagement/Services/Commands.Test/ServiceBus/GetAzureSBNamespaceTest.cs index d1c170b9786b..d3f3bbabc671 100644 --- a/src/ServiceManagement/Services/Commands.Test/ServiceBus/GetAzureSBNamespaceTest.cs +++ b/src/ServiceManagement/Services/Commands.Test/ServiceBus/GetAzureSBNamespaceTest.cs @@ -22,7 +22,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.Properties; using Microsoft.WindowsAzure.Commands.Utilities.ServiceBus; using Moq; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.ServiceBus { diff --git a/src/ServiceManagement/Services/Commands.Test/SessionRecords/Microsoft.Azure.Commands.Test.Profile.NewAzureProfileTests/TestCreatesNewAzureProfileWithAccessToken.json b/src/ServiceManagement/Services/Commands.Test/SessionRecords/Microsoft.Azure.Commands.Test.Profile.NewAzureProfileTests/TestCreatesNewAzureProfileWithAccessToken.json new file mode 100644 index 000000000000..0baaa4d02044 --- /dev/null +++ b/src/ServiceManagement/Services/Commands.Test/SessionRecords/Microsoft.Azure.Commands.Test.Profile.NewAzureProfileTests/TestCreatesNewAzureProfileWithAccessToken.json @@ -0,0 +1,9 @@ +{ + "Entries": [ + ], + "Names": { + }, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/Services/Commands.Test/SessionRecords/Microsoft.Azure.Commands.Test.Profile.NewAzureProfileTests/TestCreatesNewAzureProfileWithCertificate.json b/src/ServiceManagement/Services/Commands.Test/SessionRecords/Microsoft.Azure.Commands.Test.Profile.NewAzureProfileTests/TestCreatesNewAzureProfileWithCertificate.json new file mode 100644 index 000000000000..0baaa4d02044 --- /dev/null +++ b/src/ServiceManagement/Services/Commands.Test/SessionRecords/Microsoft.Azure.Commands.Test.Profile.NewAzureProfileTests/TestCreatesNewAzureProfileWithCertificate.json @@ -0,0 +1,9 @@ +{ + "Entries": [ + ], + "Names": { + }, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/Services/Commands.Test/SessionRecords/Microsoft.Azure.Commands.Test.Profile.NewAzureProfileTests/TestCreatesNewAzureProfileWithUserCredential.json b/src/ServiceManagement/Services/Commands.Test/SessionRecords/Microsoft.Azure.Commands.Test.Profile.NewAzureProfileTests/TestCreatesNewAzureProfileWithUserCredential.json new file mode 100644 index 000000000000..0baaa4d02044 --- /dev/null +++ b/src/ServiceManagement/Services/Commands.Test/SessionRecords/Microsoft.Azure.Commands.Test.Profile.NewAzureProfileTests/TestCreatesNewAzureProfileWithUserCredential.json @@ -0,0 +1,9 @@ +{ + "Entries": [ + ], + "Names": { + }, + "Variables": { + "SubscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/Services/Commands.Test/SessionRecords/Microsoft.Azure.Commands.Test.Profile.NewAzureProfileTests/TestMakeArmCallWithCreatedProfile.json b/src/ServiceManagement/Services/Commands.Test/SessionRecords/Microsoft.Azure.Commands.Test.Profile.NewAzureProfileTests/TestMakeArmCallWithCreatedProfile.json new file mode 100644 index 000000000000..35babd089958 --- /dev/null +++ b/src/ServiceManagement/Services/Commands.Test/SessionRecords/Microsoft.Azure.Commands.Test.Profile.NewAzureProfileTests/TestMakeArmCallWithCreatedProfile.json @@ -0,0 +1,56 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Unregistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-temp\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01-alpha\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-temp\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia Southeast\",\r\n \"Australia East\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-07-31-beta\",\r\n \"2014-07-31-alpha\",\r\n \"2014-07-01-01dp\",\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-07-31-beta\",\r\n \"2014-07-31-alpha\",\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-11-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"configuration\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"agents\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Authorization\",\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"roleAssignments\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"roleDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"classicAdministrators\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"permissions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locks\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"gatewaySupportedDevices\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-beta\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01-preview\",\r\n \"2014-12-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkDataFactoryNameAvailability\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01-preview\",\r\n \"2014-09-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-12-19-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-12-19-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia Southeast\",\r\n \"Australia East\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/tagnames\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"links\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"West US\",\r\n \"East US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"flows\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/import\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/importExportOperationResults\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/operationResults\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/auditingPolicies\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/auditingPolicies\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/connectionPolicies\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/securityMetrics\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/dataMaskingPolicies\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/dataMaskingPolicies/rules\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"actions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"supportTickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "20609" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31999" + ], + "x-ms-request-id": [ + "1430fae7-10c4-4740-b08f-c7b586ae2c62" + ], + "x-ms-correlation-request-id": [ + "1430fae7-10c4-4740-b08f-c7b586ae2c62" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150227T081709Z:1430fae7-10c4-4740-b08f-c7b586ae2c62" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 27 Feb 2015 08:17:08 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "2c224e7e-3ef5-431d-a57b-e71f4662e3a6" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/Services/Commands.Test/SessionRecords/Microsoft.Azure.Commands.Test.Profile.NewAzureProfileTests/TestMakeRdfeCallWithCreatedProfile.json b/src/ServiceManagement/Services/Commands.Test/SessionRecords/Microsoft.Azure.Commands.Test.Profile.NewAzureProfileTests/TestMakeRdfeCallWithCreatedProfile.json new file mode 100644 index 000000000000..af2e6ed55a0e --- /dev/null +++ b/src/ServiceManagement/Services/Commands.Test/SessionRecords/Microsoft.Azure.Commands.Test.Profile.NewAzureProfileTests/TestMakeRdfeCallWithCreatedProfile.json @@ -0,0 +1,90 @@ +{ + "Entries": [ + { + "RequestUri": "/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/locations", + "EncodedRequestUri": "LzJjMjI0ZTdlLTNlZjUtNDMxZC1hNTdiLWU3MWY0NjYyZTNhNi9sb2NhdGlvbnM=", + "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 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 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 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 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 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 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 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_G1\r\n Standard_G2\r\n Standard_G3\r\n Standard_G4\r\n Standard_G5\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 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 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 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 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 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_G1\r\n Standard_G2\r\n Standard_G3\r\n Standard_G4\r\n Standard_G5\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 North Central US\r\n North 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 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 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 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 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 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 \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 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": [ + "19319" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "c64f0212320073e0909285be14849f9b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 27 Feb 2015 08:16:02 GMT" + ], + "Server": [ + "1.0.6198.196", + "(rd_rdfe_stable.150225-1815)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operations/c64f0212320073e0909285be14849f9b", + "EncodedRequestUri": "LzJjMjI0ZTdlLTNlZjUtNDMxZC1hNTdiLWU3MWY0NjYyZTNhNi9vcGVyYXRpb25zL2M2NGYwMjEyMzIwMDczZTA5MDkyODViZTE0ODQ5Zjli", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-10-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "\r\n c64f0212-3200-73e0-9092-85be14849f9b\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "Content-Length": [ + "232" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "5117c50492af78fb8c6ff911991eb0cb" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 27 Feb 2015 08:16:02 GMT" + ], + "Server": [ + "1.0.6198.196", + "(rd_rdfe_stable.150225-1815)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "2c224e7e-3ef5-431d-a57b-e71f4662e3a6" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/Services/Commands.Test/SessionRecords/Microsoft.Azure.Commands.Test.Profile.SelectAzureProfileTests/TestMakeArmCallWithCreatedProfile.json b/src/ServiceManagement/Services/Commands.Test/SessionRecords/Microsoft.Azure.Commands.Test.Profile.SelectAzureProfileTests/TestMakeArmCallWithCreatedProfile.json new file mode 100644 index 000000000000..35babd089958 --- /dev/null +++ b/src/ServiceManagement/Services/Commands.Test/SessionRecords/Microsoft.Azure.Commands.Test.Profile.SelectAzureProfileTests/TestMakeArmCallWithCreatedProfile.json @@ -0,0 +1,56 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers?&api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyMjRlN2UtM2VmNS00MzFkLWE1N2ItZTcxZjQ2NjJlM2E2L3Byb3ZpZGVycz8mYXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.batch\",\r\n \"namespace\": \"microsoft.batch\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"batchAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-05-01-privatepreview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Unregistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-temp\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01-alpha\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-temp\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia Southeast\",\r\n \"Australia East\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-07-31-beta\",\r\n \"2014-07-31-alpha\",\r\n \"2014-07-01-01dp\",\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-07-31-beta\",\r\n \"2014-07-31-alpha\",\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-11-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"configuration\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"agents\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Authorization\",\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"roleAssignments\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"roleDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"classicAdministrators\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"permissions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locks\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"gatewaySupportedDevices\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-beta\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01-preview\",\r\n \"2014-12-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-08-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-05-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkDataFactoryNameAvailability\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01-preview\",\r\n \"2014-09-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-12-19-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-12-19-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia Southeast\",\r\n \"Australia East\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/tagnames\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"links\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"West US\",\r\n \"East US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"flows\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/import\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/importExportOperationResults\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/operationResults\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/auditingPolicies\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/auditingPolicies\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/connectionPolicies\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/securityMetrics\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/dataMaskingPolicies\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/dataMaskingPolicies/rules\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"actions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"supportTickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "20609" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31999" + ], + "x-ms-request-id": [ + "1430fae7-10c4-4740-b08f-c7b586ae2c62" + ], + "x-ms-correlation-request-id": [ + "1430fae7-10c4-4740-b08f-c7b586ae2c62" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150227T081709Z:1430fae7-10c4-4740-b08f-c7b586ae2c62" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 27 Feb 2015 08:17:08 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "2c224e7e-3ef5-431d-a57b-e71f4662e3a6" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/Services/Commands.Test/SessionRecords/Microsoft.Azure.Commands.Test.Profile.SelectAzureProfileTests/TestMakeRdfeCallWithCreatedProfile.json b/src/ServiceManagement/Services/Commands.Test/SessionRecords/Microsoft.Azure.Commands.Test.Profile.SelectAzureProfileTests/TestMakeRdfeCallWithCreatedProfile.json new file mode 100644 index 000000000000..af2e6ed55a0e --- /dev/null +++ b/src/ServiceManagement/Services/Commands.Test/SessionRecords/Microsoft.Azure.Commands.Test.Profile.SelectAzureProfileTests/TestMakeRdfeCallWithCreatedProfile.json @@ -0,0 +1,90 @@ +{ + "Entries": [ + { + "RequestUri": "/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/locations", + "EncodedRequestUri": "LzJjMjI0ZTdlLTNlZjUtNDMxZC1hNTdiLWU3MWY0NjYyZTNhNi9sb2NhdGlvbnM=", + "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 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 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 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 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 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 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 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_G1\r\n Standard_G2\r\n Standard_G3\r\n Standard_G4\r\n Standard_G5\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 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 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 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 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 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_G1\r\n Standard_G2\r\n Standard_G3\r\n Standard_G4\r\n Standard_G5\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 North Central US\r\n North 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 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 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 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 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 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 \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 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": [ + "19319" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "c64f0212320073e0909285be14849f9b" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 27 Feb 2015 08:16:02 GMT" + ], + "Server": [ + "1.0.6198.196", + "(rd_rdfe_stable.150225-1815)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/2c224e7e-3ef5-431d-a57b-e71f4662e3a6/operations/c64f0212320073e0909285be14849f9b", + "EncodedRequestUri": "LzJjMjI0ZTdlLTNlZjUtNDMxZC1hNTdiLWU3MWY0NjYyZTNhNi9vcGVyYXRpb25zL2M2NGYwMjEyMzIwMDczZTA5MDkyODViZTE0ODQ5Zjli", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-10-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.ManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "\r\n c64f0212-3200-73e0-9092-85be14849f9b\r\n Succeeded\r\n 200\r\n", + "ResponseHeaders": { + "Content-Length": [ + "232" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "5117c50492af78fb8c6ff911991eb0cb" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 27 Feb 2015 08:16:02 GMT" + ], + "Server": [ + "1.0.6198.196", + "(rd_rdfe_stable.150225-1815)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "2c224e7e-3ef5-431d-a57b-e71f4662e3a6" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/Services/Commands.Test/WAPackIaaS/WebClient/GetAbsoluteUriTests.cs b/src/ServiceManagement/Services/Commands.Test/WAPackIaaS/WebClient/GetAbsoluteUriTests.cs index 9600f704a96c..6242c66b3b48 100644 --- a/src/ServiceManagement/Services/Commands.Test/WAPackIaaS/WebClient/GetAbsoluteUriTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/WAPackIaaS/WebClient/GetAbsoluteUriTests.cs @@ -15,7 +15,7 @@ using System; using System.Text; using Xunit; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Utilities.WAPackIaaS.WebClient; namespace Microsoft.WindowsAzure.Commands.Test.WAPackIaaS.WebClient diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/DisableAzureWebsiteDiagnosticTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/DisableAzureWebsiteDiagnosticTests.cs index 765191222d13..02402e166d7a 100644 --- a/src/ServiceManagement/Services/Commands.Test/Websites/DisableAzureWebsiteDiagnosticTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Websites/DisableAzureWebsiteDiagnosticTests.cs @@ -14,13 +14,14 @@ using System.Management.Automation; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Websites; using Moq; using Xunit; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; +using System; namespace Microsoft.WindowsAzure.Commands.Test.Websites { @@ -56,7 +57,10 @@ public void DisableAzureWebsiteApplicationDiagnosticApplication() File = true, }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new System.Guid(base.subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription{Id = new Guid(base.subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(base.subscriptionId)] = subscription; // Test disableAzureWebsiteApplicationDiagnosticCommand.ExecuteCmdlet(); @@ -85,7 +89,10 @@ public void DisableAzureWebsiteApplicationDiagnosticApplicationTableLog() TableStorage = true }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new System.Guid(base.subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription{Id = new Guid(base.subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(base.subscriptionId)] = subscription; // Test disableAzureWebsiteApplicationDiagnosticCommand.ExecuteCmdlet(); @@ -114,7 +121,10 @@ public void DisableAzureWebsiteApplicationDiagnosticApplicationBlobLog() BlobStorage = true }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new System.Guid(base.subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription{Id = new Guid(base.subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(base.subscriptionId)] = subscription; // Test disableAzureWebsiteApplicationDiagnosticCommand.ExecuteCmdlet(); @@ -145,7 +155,10 @@ public void DisablesApplicationDiagnosticOnSlot() Slot = slot }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new System.Guid(base.subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription{Id = new Guid(base.subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(base.subscriptionId)] = subscription; // Test disableAzureWebsiteApplicationDiagnosticCommand.ExecuteCmdlet(); diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/EnableAzureWebsiteDiagnosticTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/EnableAzureWebsiteDiagnosticTests.cs index 18fa8a81eb9d..fba67f007d30 100644 --- a/src/ServiceManagement/Services/Commands.Test/Websites/EnableAzureWebsiteDiagnosticTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Websites/EnableAzureWebsiteDiagnosticTests.cs @@ -12,17 +12,19 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System.Collections.Generic; -using System.Management.Automation; -using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites; +using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.DeploymentEntities; using Microsoft.WindowsAzure.Commands.Websites; using Moq; +using System; +using System.Collections.Generic; +using System.IO; +using System.Management.Automation; using Xunit; -using Microsoft.Azure.Common.Extensions; namespace Microsoft.WindowsAzure.Commands.Test.Websites { @@ -55,6 +57,8 @@ public void EnableAzureWebsiteApplicationDiagnosticApplication() WebsiteDiagnosticOutput.FileSystem, properties, null)); + SetupProfile(null); + enableAzureWebsiteApplicationDiagnosticCommand = new EnableAzureWebsiteApplicationDiagnosticCommand() { CommandRuntime = commandRuntimeMock.Object, @@ -64,10 +68,8 @@ public void EnableAzureWebsiteApplicationDiagnosticApplication() LogLevel = LogEntryType.Information }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new System.Guid(base.subscriptionId) }, null, null); - // Test - enableAzureWebsiteApplicationDiagnosticCommand.ExecuteCmdlet(); + enableAzureWebsiteApplicationDiagnosticCommand.ExecuteWithProcessing(); // Assert websitesClientMock.Verify(f => f.EnableApplicationDiagnostic( @@ -91,6 +93,8 @@ public void EnableAzureWebsiteApplicationDiagnosticApplicationTableLog() WebsiteDiagnosticOutput.StorageTable, properties, null)); + SetupProfile(null); + enableAzureWebsiteApplicationDiagnosticCommand = new EnableAzureWebsiteApplicationDiagnosticCommand() { CommandRuntime = commandRuntimeMock.Object, @@ -102,10 +106,8 @@ public void EnableAzureWebsiteApplicationDiagnosticApplicationTableLog() StorageTableName = tableName }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new System.Guid(base.subscriptionId) }, null, null); - // Test - enableAzureWebsiteApplicationDiagnosticCommand.ExecuteCmdlet(); + enableAzureWebsiteApplicationDiagnosticCommand.ExecuteWithProcessing(); // Assert websitesClientMock.Verify(f => f.EnableApplicationDiagnostic( @@ -129,6 +131,8 @@ public void EnableAzureWebsiteApplicationDiagnosticApplicationTableLogUseCurrent WebsiteDiagnosticOutput.StorageTable, properties, null)); + SetupProfile(storageName); + enableAzureWebsiteApplicationDiagnosticCommand = new EnableAzureWebsiteApplicationDiagnosticCommand() { CommandRuntime = commandRuntimeMock.Object, @@ -139,11 +143,8 @@ public void EnableAzureWebsiteApplicationDiagnosticApplicationTableLogUseCurrent StorageTableName = tableName }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new System.Guid(base.subscriptionId) }, null, null); - AzureSession.CurrentContext.Subscription.Properties[AzureSubscription.Property.StorageAccount] = storageName; - // Test - enableAzureWebsiteApplicationDiagnosticCommand.ExecuteCmdlet(); + enableAzureWebsiteApplicationDiagnosticCommand.ExecuteWithProcessing(); // Assert websitesClientMock.Verify(f => f.EnableApplicationDiagnostic( @@ -167,6 +168,8 @@ public void EnableAzureWebsiteApplicationDiagnosticApplicationBlobLog() WebsiteDiagnosticOutput.StorageBlob, properties, null)); + SetupProfile(null); + enableAzureWebsiteApplicationDiagnosticCommand = new EnableAzureWebsiteApplicationDiagnosticCommand() { CommandRuntime = commandRuntimeMock.Object, @@ -178,10 +181,8 @@ public void EnableAzureWebsiteApplicationDiagnosticApplicationBlobLog() StorageBlobContainerName = blobContainerName }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new System.Guid(base.subscriptionId) }, null, null); - // Test - enableAzureWebsiteApplicationDiagnosticCommand.ExecuteCmdlet(); + enableAzureWebsiteApplicationDiagnosticCommand.ExecuteWithProcessing(); // Assert websitesClientMock.Verify(f => f.EnableApplicationDiagnostic( @@ -205,6 +206,8 @@ public void EnableAzureWebsiteApplicationDiagnosticApplicationBlobLogUseCurrentS WebsiteDiagnosticOutput.StorageBlob, properties, null)); + SetupProfile(storageName); + enableAzureWebsiteApplicationDiagnosticCommand = new EnableAzureWebsiteApplicationDiagnosticCommand() { CommandRuntime = commandRuntimeMock.Object, @@ -215,11 +218,8 @@ public void EnableAzureWebsiteApplicationDiagnosticApplicationBlobLogUseCurrentS StorageBlobContainerName = blobContainerName }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new System.Guid(base.subscriptionId) }, null, null); - AzureSession.CurrentContext.Subscription.Properties[AzureSubscription.Property.StorageAccount] = storageName; - // Test - enableAzureWebsiteApplicationDiagnosticCommand.ExecuteCmdlet(); + enableAzureWebsiteApplicationDiagnosticCommand.ExecuteWithProcessing(); // Assert websitesClientMock.Verify(f => f.EnableApplicationDiagnostic( @@ -240,6 +240,8 @@ public void EnableApplicationDiagnosticOnSlot() WebsiteDiagnosticOutput.FileSystem, properties, slot)); + + SetupProfile(null); enableAzureWebsiteApplicationDiagnosticCommand = new EnableAzureWebsiteApplicationDiagnosticCommand() { @@ -251,10 +253,8 @@ public void EnableApplicationDiagnosticOnSlot() Slot = slot }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new System.Guid(base.subscriptionId) }, null, null); - // Test - enableAzureWebsiteApplicationDiagnosticCommand.ExecuteCmdlet(); + enableAzureWebsiteApplicationDiagnosticCommand.ExecuteWithProcessing(); // Assert websitesClientMock.Verify(f => f.EnableApplicationDiagnostic( diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebSiteMetricsTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebSiteMetricsTests.cs index 97b27ddd563d..54b65d29317d 100644 --- a/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebSiteMetricsTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebSiteMetricsTests.cs @@ -17,14 +17,14 @@ using System.Linq; using Xunit; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities; using Microsoft.WindowsAzure.Commands.Websites; using Moq; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.Websites { @@ -66,7 +66,10 @@ public void GetWebsiteMetricsBasicTest() CommandRuntime = new MockCommandRuntime(), WebsitesClient = clientMock.Object }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription { Id = new Guid(base.subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(base.subscriptionId)] = subscription; command.ExecuteCmdlet(); Assert.Equal(1, ((MockCommandRuntime)command.CommandRuntime).OutputPipeline.Count); diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebSiteTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebSiteTests.cs index 466f519b4e57..6b28ad424772 100644 --- a/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebSiteTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebSiteTests.cs @@ -12,21 +12,22 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System; -using System.Collections.Generic; -using System.Linq; -using Xunit; -using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Properties; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites; +using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities; using Microsoft.WindowsAzure.Commands.Websites; using Moq; -using Microsoft.Azure.Common.Extensions; +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using Xunit; namespace Microsoft.WindowsAzure.Commands.Test.Websites { @@ -50,15 +51,15 @@ public void ProcessGetWebsiteTest() .Returns(new List { new Site { Name = "website1", WebSpace = "webspace1" }, new Site { Name = "website2", WebSpace = "webspace2" }}); + SetupProfile(null); // Test var getAzureWebsiteCommand = new GetAzureWebsiteCommand { CommandRuntime = new MockCommandRuntime(), WebsitesClient = clientMock.Object }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(subscriptionId) }, null, null); - getAzureWebsiteCommand.ExecuteCmdlet(); + getAzureWebsiteCommand.ExecuteWithProcessing(); Assert.Equal(1, ((MockCommandRuntime)getAzureWebsiteCommand.CommandRuntime).OutputPipeline.Count); var sites = (IEnumerable)((MockCommandRuntime)getAzureWebsiteCommand.CommandRuntime).OutputPipeline.FirstOrDefault(); Assert.NotNull(sites); @@ -89,6 +90,7 @@ public void GetWebsiteProcessShowTest() PublishingUsername = "user1"} ); + SetupProfile(null); // Test var getAzureWebsiteCommand = new GetAzureWebsiteCommand @@ -97,9 +99,8 @@ public void GetWebsiteProcessShowTest() Name = "website1", WebsitesClient = clientMock.Object }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(subscriptionId) }, null, null); - getAzureWebsiteCommand.ExecuteCmdlet(); + getAzureWebsiteCommand.ExecuteWithProcessing(); Assert.Equal(1, ((MockCommandRuntime)getAzureWebsiteCommand.CommandRuntime).OutputPipeline.Count); SiteWithConfig website = ((MockCommandRuntime)getAzureWebsiteCommand.CommandRuntime).OutputPipeline[0] as SiteWithConfig; @@ -108,6 +109,8 @@ public void GetWebsiteProcessShowTest() Assert.Equal("website1", website.Name); Assert.Equal("webspace1", website.WebSpace); + SetupProfile(null); + // Run with mixed casing getAzureWebsiteCommand = new GetAzureWebsiteCommand { @@ -115,9 +118,8 @@ public void GetWebsiteProcessShowTest() Name = "WEBSiTe1", WebsitesClient = clientMock.Object }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(subscriptionId) }, null, null); - getAzureWebsiteCommand.ExecuteCmdlet(); + getAzureWebsiteCommand.ExecuteWithProcessing(); Assert.Equal(1, ((MockCommandRuntime)getAzureWebsiteCommand.CommandRuntime).OutputPipeline.Count); website = ((MockCommandRuntime)getAzureWebsiteCommand.CommandRuntime).OutputPipeline[0] as SiteWithConfig; @@ -130,15 +132,18 @@ public void GetWebsiteProcessShowTest() [Fact] public void ProcessGetWebsiteWithNullSubscription() { + currentProfile = new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile)); + currentProfile.Subscriptions.Clear(); + currentProfile.Save(); + AzurePSCmdlet.CurrentProfile = currentProfile; + // Test var getAzureWebsiteCommand = new GetAzureWebsiteCommand { CommandRuntime = new MockCommandRuntime() }; - AzureSession.SetCurrentContext(null, null, null); - - Testing.AssertThrows(getAzureWebsiteCommand.ExecuteCmdlet, Resources.InvalidCurrentSubscription); + Testing.AssertThrows(getAzureWebsiteCommand.ExecuteWithProcessing, Resources.InvalidDefaultSubscription); } [Fact] @@ -158,6 +163,8 @@ public void TestGetAzureWebsiteWithDiagnosticsSettings() websitesClientMock.Setup(c => c.GetWebsiteConfiguration(It.IsAny(), slot)) .Returns(new SiteConfig {PublishingUsername = "user1"}); + SetupProfile(null); + var getAzureWebsiteCommand = new GetAzureWebsiteCommand { CommandRuntime = new MockCommandRuntime(), @@ -165,10 +172,9 @@ public void TestGetAzureWebsiteWithDiagnosticsSettings() WebsitesClient = websitesClientMock.Object, Slot = slot }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(subscriptionId) }, null, null); // Test - getAzureWebsiteCommand.ExecuteCmdlet(); + getAzureWebsiteCommand.ExecuteWithProcessing(); // Assert Assert.Equal(1, ((MockCommandRuntime)getAzureWebsiteCommand.CommandRuntime).OutputPipeline.Count); @@ -199,6 +205,7 @@ public void GetsWebsiteSlot() PublishingUsername = "user1" }); + SetupProfile(null); // Test var getAzureWebsiteCommand = new GetAzureWebsiteCommand { @@ -207,9 +214,8 @@ public void GetsWebsiteSlot() WebsitesClient = clientMock.Object, Slot = slot }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(subscriptionId) }, null, null); - getAzureWebsiteCommand.ExecuteCmdlet(); + getAzureWebsiteCommand.ExecuteWithProcessing(); Assert.Equal(1, ((MockCommandRuntime)getAzureWebsiteCommand.CommandRuntime).OutputPipeline.Count); var website = ((MockCommandRuntime)getAzureWebsiteCommand.CommandRuntime).OutputPipeline[0] as SiteWithConfig; @@ -242,6 +248,8 @@ public void GetsSlots() PublishingUsername = "user1" }); + SetupProfile(null); + // Test var getAzureWebsiteCommand = new GetAzureWebsiteCommand { @@ -249,9 +257,8 @@ public void GetsSlots() WebsitesClient = clientMock.Object, Slot = slot }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(subscriptionId) }, null, null); - getAzureWebsiteCommand.ExecuteCmdlet(); + getAzureWebsiteCommand.ExecuteWithProcessing(); IEnumerable sites = ((MockCommandRuntime)getAzureWebsiteCommand.CommandRuntime).OutputPipeline[0] as IEnumerable; var website1 = sites.ElementAt(0); diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebsiteDeploymentTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebsiteDeploymentTests.cs index 148fa84cd857..19318e4417fc 100644 --- a/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebsiteDeploymentTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebsiteDeploymentTests.cs @@ -17,7 +17,7 @@ using System.Linq; using Xunit; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Utilities.Websites; @@ -25,7 +25,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities; using Microsoft.WindowsAzure.Commands.Websites; using Moq; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.Websites { @@ -74,7 +74,10 @@ public void GetAzureWebsiteDeploymentTest() WebsitesClient = clientMock.Object, CommandRuntime = new MockCommandRuntime(), }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription{Id = new Guid(subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(subscriptionId)] = subscription; getAzureWebsiteDeploymentCommand.ExecuteCmdlet(); @@ -129,7 +132,10 @@ public void GetAzureWebsiteDeploymentLogsTest() Details = true, CommandRuntime = new MockCommandRuntime(), }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription{Id = new Guid(subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(subscriptionId)] = subscription; getAzureWebsiteDeploymentCommand.ExecuteCmdlet(); Assert.Equal(1, ((MockCommandRuntime)getAzureWebsiteDeploymentCommand.CommandRuntime).OutputPipeline.Count); @@ -183,7 +189,10 @@ public void GetsDeploymentForSlot() CommandRuntime = new MockCommandRuntime(), Slot = slot }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription{Id = new Guid(subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(subscriptionId)] = subscription; getAzureWebsiteDeploymentCommand.ExecuteCmdlet(); Assert.Equal(1, ((MockCommandRuntime)getAzureWebsiteDeploymentCommand.CommandRuntime).OutputPipeline.Count); diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebsiteLogTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebsiteLogTests.cs index 62d8bd5421da..d93ee69a6a2e 100644 --- a/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebsiteLogTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Websites/GetAzureWebsiteLogTests.cs @@ -85,7 +85,7 @@ public GetAzureWebsiteLogTests() } } }; - Cache.AddSite(getAzureWebsiteLogCmdlet.CurrentContext.Subscription.Id.ToString(), website); + Cache.AddSite(currentProfile.Context.Subscription.Id.ToString(), website); websitesClientMock.Setup(c => c.GetWebsite(websiteName, slot)) .Returns(website); } diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/NewAzureWebSiteTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/NewAzureWebSiteTests.cs index 2670efa213db..8455b3e38a41 100644 --- a/src/ServiceManagement/Services/Commands.Test/Websites/NewAzureWebSiteTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Websites/NewAzureWebSiteTests.cs @@ -15,15 +15,16 @@ using System; using Xunit; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites; +using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities; using Microsoft.WindowsAzure.Commands.Websites; using Microsoft.WindowsAzure.Management.WebSites.Models; using Moq; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.Websites { @@ -63,6 +64,7 @@ public void ProcessNewWebsiteTest() createdWebspaceName = space; }); + SetupProfile(null); // Test MockCommandRuntime mockRuntime = new MockCommandRuntime(); NewAzureWebsiteCommand newAzureWebsiteCommand = new NewAzureWebsiteCommand @@ -73,9 +75,8 @@ public void ProcessNewWebsiteTest() Location = webspaceName, WebsitesClient = clientMock.Object }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(base.subscriptionId) }, null, null); - newAzureWebsiteCommand.ExecuteCmdlet(); + newAzureWebsiteCommand.ExecuteWithProcessing(); Assert.Equal(websiteName, createdSiteName); Assert.Equal(webspaceName, createdWebspaceName); Assert.Equal(websiteName, (mockRuntime.OutputPipeline[0] as SiteWithConfig).Name); @@ -110,6 +111,8 @@ public void GetsWebsiteDefaultLocation() created = true; }); + SetupProfile(null); + // Test MockCommandRuntime mockRuntime = new MockCommandRuntime(); NewAzureWebsiteCommand newAzureWebsiteCommand = new NewAzureWebsiteCommand() @@ -119,9 +122,8 @@ public void GetsWebsiteDefaultLocation() Name = websiteName, WebsitesClient = clientMock.Object }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(base.subscriptionId) }, null, null); - newAzureWebsiteCommand.ExecuteCmdlet(); + newAzureWebsiteCommand.ExecuteWithProcessing(); Assert.True(created); Assert.Equal(websiteName, (mockRuntime.OutputPipeline[0] as SiteWithConfig).Name); clientMock.Verify(f => f.GetDefaultLocation(), Times.Once()); @@ -152,6 +154,7 @@ public void CreateStageSlot() clientMock.Setup(f => f.WebsiteExists(websiteName)).Returns(true); clientMock.Setup(f => f.GetWebsite(websiteName)).Returns(new Site() { Name = websiteName, Sku = SkuOptions.Standard, WebSpace = webspaceName }); + SetupProfile(null); // Test MockCommandRuntime mockRuntime = new MockCommandRuntime(); NewAzureWebsiteCommand newAzureWebsiteCommand = new NewAzureWebsiteCommand @@ -163,9 +166,8 @@ public void CreateStageSlot() WebsitesClient = clientMock.Object, Slot = slot }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(base.subscriptionId) }, null, null); - newAzureWebsiteCommand.ExecuteCmdlet(); + newAzureWebsiteCommand.ExecuteWithProcessing(); clientMock.Verify(c => c.CreateWebsite(webspaceName, It.IsAny(), slot), Times.Once()); } } diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/RemoveAzureWebSiteTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/RemoveAzureWebSiteTests.cs index 7d92d34adc01..f42157e2b5a9 100644 --- a/src/ServiceManagement/Services/Commands.Test/Websites/RemoveAzureWebSiteTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Websites/RemoveAzureWebSiteTests.cs @@ -15,14 +15,15 @@ using System; using Xunit; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; +using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities; using Microsoft.WindowsAzure.Commands.Websites; using Moq; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.Websites { @@ -40,6 +41,8 @@ public void ProcessRemoveWebsiteTest() .Returns(new Site { Name = "website1", WebSpace = "webspace1" }); mockClient.Setup(c => c.DeleteWebsite("webspace1", "website1", slot)).Verifiable(); + SetupProfile(null); + // Test RemoveAzureWebsiteCommand removeAzureWebsiteCommand = new RemoveAzureWebsiteCommand { @@ -48,10 +51,9 @@ public void ProcessRemoveWebsiteTest() Name = "website1", Slot = slot }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(base.subscriptionId) }, null, null); - + // Delete existing website - removeAzureWebsiteCommand.ExecuteCmdlet(); + removeAzureWebsiteCommand.ExecuteWithProcessing(); mockClient.Verify(c => c.DeleteWebsite("webspace1", "website1", slot), Times.Once()); } } diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/RestartAzureWebsiteTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/RestartAzureWebsiteTests.cs index e952048e6e09..e99200168854 100644 --- a/src/ServiceManagement/Services/Commands.Test/Websites/RestartAzureWebsiteTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Websites/RestartAzureWebsiteTests.cs @@ -15,13 +15,13 @@ using System; using Xunit; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Websites; using Moq; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.Websites { @@ -43,7 +43,11 @@ public void ProcessRestartWebsiteTest() Name = websiteName, WebsitesClient = websitesClientMock.Object }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(base.subscriptionId) }, null, null); + + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription{Id = new Guid(base.subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(base.subscriptionId)] = subscription; restartAzureWebsiteCommand.ExecuteCmdlet(); @@ -68,7 +72,10 @@ public void RestartsWebsiteSlot() WebsitesClient = websitesClientMock.Object, Slot = slot }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(base.subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription{Id = new Guid(base.subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(base.subscriptionId)] = subscription; restartAzureWebsiteCommand.ExecuteCmdlet(); diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/RestoreAzureWebsiteDeploymentTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/RestoreAzureWebsiteDeploymentTests.cs index 114c851d2b8f..f5d72be4aa27 100644 --- a/src/ServiceManagement/Services/Commands.Test/Websites/RestoreAzureWebsiteDeploymentTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Websites/RestoreAzureWebsiteDeploymentTests.cs @@ -17,7 +17,7 @@ using System.Linq; using Xunit; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Utilities.Websites; @@ -25,7 +25,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities; using Microsoft.WindowsAzure.Commands.Websites; using Moq; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.Websites { @@ -85,7 +85,10 @@ public void RestoreAzureWebsiteDeploymentTest() WebsitesClient = clientMock.Object, CommandRuntime = new MockCommandRuntime(), }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(base.subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription{Id = new Guid(base.subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(base.subscriptionId)] = subscription; restoreAzureWebsiteDeploymentCommand.ExecuteCmdlet(); Assert.Equal(1, ((MockCommandRuntime) restoreAzureWebsiteDeploymentCommand.CommandRuntime).OutputPipeline.Count); @@ -104,7 +107,10 @@ public void RestoreAzureWebsiteDeploymentTest() WebsitesClient = clientMock.Object, CommandRuntime = new MockCommandRuntime(), }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(base.subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + subscription = new AzureSubscription{Id = new Guid(base.subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(base.subscriptionId)] = subscription; restoreAzureWebsiteDeploymentCommand.ExecuteCmdlet(); Assert.Equal(1, ((MockCommandRuntime)restoreAzureWebsiteDeploymentCommand.CommandRuntime).OutputPipeline.Count); @@ -170,7 +176,10 @@ public void RestoresDeploymentForSlot() CommandRuntime = new MockCommandRuntime(), Slot = slot }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(base.subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription{Id = new Guid(base.subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(base.subscriptionId)] = subscription; restoreAzureWebsiteDeploymentCommand.ExecuteCmdlet(); @@ -191,7 +200,10 @@ public void RestoresDeploymentForSlot() CommandRuntime = new MockCommandRuntime(), Slot = slot }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(base.subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + subscription = new AzureSubscription{Id = new Guid(base.subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(base.subscriptionId)] = subscription; restoreAzureWebsiteDeploymentCommand.ExecuteCmdlet(); Assert.Equal(1, ((MockCommandRuntime)restoreAzureWebsiteDeploymentCommand.CommandRuntime).OutputPipeline.Count); diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/SaveAzureWebsiteLogTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/SaveAzureWebsiteLogTests.cs index 0c878701c3c2..b2d12b5b2c66 100644 --- a/src/ServiceManagement/Services/Commands.Test/Websites/SaveAzureWebsiteLogTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Websites/SaveAzureWebsiteLogTests.cs @@ -18,7 +18,7 @@ using System.Text; using Xunit; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Utilities.Common; @@ -26,7 +26,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities; using Microsoft.WindowsAzure.Commands.Websites; using Moq; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.Websites { @@ -86,7 +86,10 @@ public void SaveAzureWebsiteLogTest() WebsitesClient = clientMock.Object, CommandRuntime = new MockCommandRuntime(), }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(base.subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription{Id = new Guid(base.subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(base.subscriptionId)] = subscription; getAzureWebsiteLogCommand.DefaultCurrentPath = ""; getAzureWebsiteLogCommand.ExecuteCmdlet(); @@ -113,7 +116,10 @@ public void SaveAzureWebsiteLogWithNoFileExtensionTest() CommandRuntime = new MockCommandRuntime(), Output = "file_without_ext" }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(base.subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription{Id = new Guid(base.subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(base.subscriptionId)] = subscription; getAzureWebsiteLogCommand.DefaultCurrentPath = ""; getAzureWebsiteLogCommand.ExecuteCmdlet(); @@ -138,7 +144,10 @@ public void SaveAzureWebsiteLogWithSlotTest() CommandRuntime = new MockCommandRuntime(), Slot = slot }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(base.subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription{Id = new Guid(base.subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(base.subscriptionId)] = subscription; getAzureWebsiteLogCommand.DefaultCurrentPath = ""; getAzureWebsiteLogCommand.ExecuteCmdlet(); diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/SetAzureWebSiteTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/SetAzureWebSiteTests.cs index 290079cb57d5..54f4016ff952 100644 --- a/src/ServiceManagement/Services/Commands.Test/Websites/SetAzureWebSiteTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Websites/SetAzureWebSiteTests.cs @@ -17,14 +17,14 @@ using System.Linq; using Xunit; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities; using Microsoft.WindowsAzure.Commands.Websites; using Moq; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.Websites { @@ -75,7 +75,10 @@ public void SetAzureWebsiteProcess() NumberOfWorkers = 3, WebsitesClient = clientMock.Object }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(base.subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription{Id = new Guid(base.subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(base.subscriptionId)] = subscription; setAzureWebsiteCommand.ExecuteCmdlet(); Assert.True(updatedSiteConfig); @@ -91,7 +94,10 @@ public void SetAzureWebsiteProcess() HostNames = new [] { "stuff.com" }, WebsitesClient = clientMock.Object }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(base.subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + subscription = new AzureSubscription { Id = new Guid(base.subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(base.subscriptionId)] = subscription; setAzureWebsiteCommand.ExecuteCmdlet(); Assert.False(updatedSiteConfig); @@ -144,7 +150,10 @@ public void SetsWebsiteSlot() WebsitesClient = clientMock.Object, Slot = slot }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(base.subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription{Id = new Guid(base.subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(base.subscriptionId)] = subscription; setAzureWebsiteCommand.ExecuteCmdlet(); Assert.True(updatedSiteConfig); @@ -161,7 +170,10 @@ public void SetsWebsiteSlot() WebsitesClient = clientMock.Object, Slot = slot }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(base.subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + subscription = new AzureSubscription{Id = new Guid(base.subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(base.subscriptionId)] = subscription; setAzureWebsiteCommand.ExecuteCmdlet(); Assert.False(updatedSiteConfig); diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/ShowAzurePortalTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/ShowAzurePortalTests.cs index f60098e641f8..b346e5f6ab29 100644 --- a/src/ServiceManagement/Services/Commands.Test/Websites/ShowAzurePortalTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Websites/ShowAzurePortalTests.cs @@ -16,7 +16,7 @@ using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Websites; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; namespace Microsoft.WindowsAzure.Commands.Test.Websites { diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/ShowAzureWebsiteTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/ShowAzureWebsiteTests.cs index ab3c9b5129e4..5371d0ea9e1b 100644 --- a/src/ServiceManagement/Services/Commands.Test/Websites/ShowAzureWebsiteTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Websites/ShowAzureWebsiteTests.cs @@ -15,14 +15,14 @@ using System; using Xunit; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities; using Microsoft.WindowsAzure.Commands.Websites; using Moq; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.Websites { @@ -49,7 +49,10 @@ public void ProcessShowWebsiteTest() Name = "website1", WebsitesClient = mockClient.Object }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(base.subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription{Id = new Guid(base.subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(base.subscriptionId)] = subscription; // Show existing website showAzureWebsiteCommand.ExecuteCmdlet(); diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/StartAzureWebSiteTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/StartAzureWebSiteTests.cs index df9dee13dc96..494cbcfd5ad4 100644 --- a/src/ServiceManagement/Services/Commands.Test/Websites/StartAzureWebSiteTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Websites/StartAzureWebSiteTests.cs @@ -15,13 +15,13 @@ using System; using Xunit; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Websites; using Moq; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.Websites { @@ -44,7 +44,10 @@ public void ProcessStartWebsiteTest() Name = websiteName, WebsitesClient = websitesClientMock.Object }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(base.subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription{Id = new Guid(base.subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(base.subscriptionId)] = subscription; startAzureWebsiteCommand.ExecuteCmdlet(); @@ -69,7 +72,10 @@ public void StartsWebsiteSlot() WebsitesClient = websitesClientMock.Object, Slot = slot }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(base.subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription{Id = new Guid(base.subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(base.subscriptionId)] = subscription; startAzureWebsiteCommand.ExecuteCmdlet(); diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/StopAzureWebSiteTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/StopAzureWebSiteTests.cs index 58c7f1acbc4b..aca3e6b47b6c 100644 --- a/src/ServiceManagement/Services/Commands.Test/Websites/StopAzureWebSiteTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Websites/StopAzureWebSiteTests.cs @@ -15,13 +15,13 @@ using System; using Xunit; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Websites; using Moq; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.Websites { @@ -44,7 +44,10 @@ public void ProcessStopWebsiteTest() Name = websiteName, WebsitesClient = websitesClientMock.Object }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(base.subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription { Id = new Guid(base.subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(base.subscriptionId)] = subscription; stopAzureWebsiteCommand.ExecuteCmdlet(); @@ -69,7 +72,10 @@ public void StopsWebsiteSlot() WebsitesClient = websitesClientMock.Object, Slot = slot }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(base.subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription{Id = new Guid(base.subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(base.subscriptionId)] = subscription; stopAzureWebsiteCommand.ExecuteCmdlet(); diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/SwitchAzureWebSiteSlotTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/SwitchAzureWebSiteSlotTests.cs index 099cbf223ca9..20c6131bfd1a 100644 --- a/src/ServiceManagement/Services/Commands.Test/Websites/SwitchAzureWebSiteSlotTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Websites/SwitchAzureWebSiteSlotTests.cs @@ -16,14 +16,14 @@ using System.Collections.Generic; using Xunit; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities; using Microsoft.WindowsAzure.Commands.Websites; using Moq; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.Websites { @@ -56,7 +56,10 @@ public void SwitchesSlots() Name = "website1", Force = true }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(base.subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription { Id = new Guid(base.subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(base.subscriptionId)] = subscription; // Switch existing website switchAzureWebsiteCommand.ExecuteCmdlet(); diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/UpdateAzureWebsiteRepositoryTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/UpdateAzureWebsiteRepositoryTests.cs index 5210c9759ced..87465ac96b37 100644 --- a/src/ServiceManagement/Services/Commands.Test/Websites/UpdateAzureWebsiteRepositoryTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Websites/UpdateAzureWebsiteRepositoryTests.cs @@ -16,14 +16,14 @@ using System.Collections.Generic; using Xunit; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities; using Microsoft.WindowsAzure.Commands.Websites; using Moq; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.Websites { @@ -65,7 +65,10 @@ public void UpdatesRemote() WebsitesClient = mockClient.Object, Name = "website1", }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(base.subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription{Id = new Guid(base.subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(base.subscriptionId)] = subscription; // Switch existing website cmdlet.ExecuteCmdlet(); diff --git a/src/ServiceManagement/Services/Commands.Test/Websites/WebHostingPlans/GetAzureWebHostingPlanTests.cs b/src/ServiceManagement/Services/Commands.Test/Websites/WebHostingPlans/GetAzureWebHostingPlanTests.cs index 52c4c19a050c..d372083f5f8e 100644 --- a/src/ServiceManagement/Services/Commands.Test/Websites/WebHostingPlans/GetAzureWebHostingPlanTests.cs +++ b/src/ServiceManagement/Services/Commands.Test/Websites/WebHostingPlans/GetAzureWebHostingPlanTests.cs @@ -18,14 +18,14 @@ using System.Linq; using Xunit; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Test.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities; using Microsoft.WindowsAzure.Commands.Websites.WebHostingPlan; using Moq; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Test.Websites.WebHostingPlans { @@ -53,7 +53,10 @@ public void ListWebHostingPlansTest() CommandRuntime = new MockCommandRuntime(), WebsitesClient = clientMock.Object }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription{Id = new Guid(subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(subscriptionId)] = subscription; command.ExecuteCmdlet(); Assert.Equal(1, ((MockCommandRuntime)command.CommandRuntime).OutputPipeline.Count); @@ -81,7 +84,10 @@ public void GetAzureWebHostingPlanBasicTest() CommandRuntime = new MockCommandRuntime(), WebsitesClient = clientMock.Object }; - AzureSession.SetCurrentContext(new AzureSubscription { Id = new Guid(subscriptionId) }, null, null); + currentProfile = new AzureProfile(); + var subscription = new AzureSubscription{Id = new Guid(subscriptionId) }; + subscription.Properties[AzureSubscription.Property.Default] = "True"; + currentProfile.Subscriptions[new Guid(subscriptionId)] = subscription; command.ExecuteCmdlet(); Assert.Equal(1, ((MockCommandRuntime)command.CommandRuntime).OutputPipeline.Count); diff --git a/src/ServiceManagement/Services/Commands.Test/packages.config b/src/ServiceManagement/Services/Commands.Test/packages.config index 8c7297707af0..c27318f6fb80 100644 --- a/src/ServiceManagement/Services/Commands.Test/packages.config +++ b/src/ServiceManagement/Services/Commands.Test/packages.config @@ -1,22 +1,24 @@  - - + + + - + + - + - - - + + + diff --git a/src/ServiceManagement/Services/Commands.Utilities/Azure.psd1 b/src/ServiceManagement/Services/Commands.Utilities/Azure.psd1 index b8625368486e..18c3412771c0 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Azure.psd1 +++ b/src/ServiceManagement/Services/Commands.Utilities/Azure.psd1 @@ -9,7 +9,7 @@ @{ # Version number of this module. -ModuleVersion = '0.8.13' +ModuleVersion = '0.8.14' # ID used to uniquely identify this module GUID = 'D48CF693-4125-4D2D-8790-1514F44CE325' @@ -84,6 +84,7 @@ NestedModules = '.\Services\Microsoft.WindowsAzure.Commands.dll', '.\ManagedCache\Microsoft.Azure.Commands.ManagedCache.dll', '.\HDInsight\Microsoft.WindowsAzure.Commands.HDInsight.dll', '.\Network\Microsoft.Azure.Commands.Network.dll', + '.\StorSimple\Microsoft.WindowsAzure.Commands.StorSimple.dll', '.\RecoveryServices\Microsoft.Azure.Commands.RecoveryServices.dll' # Functions to export from this module diff --git a/src/ServiceManagement/Services/Commands.Utilities/CloudService/CloudServiceClient.cs b/src/ServiceManagement/Services/Commands.Utilities/CloudService/CloudServiceClient.cs index 3e5ceec09f22..a2dbbb599088 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/CloudService/CloudServiceClient.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/CloudService/CloudServiceClient.cs @@ -22,7 +22,7 @@ using System.Security.Cryptography.X509Certificates; using System.Threading; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Storage; using Microsoft.WindowsAzure.Commands.Utilities.CloudService.AzureTools; using Microsoft.WindowsAzure.Commands.Utilities.CloudService.Model; @@ -41,8 +41,8 @@ namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService { using ConfigCertificate = Common.XmlSchema.ServiceConfigurationSchema.Certificate; using ConfigConfigurationSetting = Common.XmlSchema.ServiceConfigurationSchema.ConfigurationSetting; - using Microsoft.Azure.Common.Extensions.Models; - using Microsoft.Azure.Common.Extensions; + using Microsoft.Azure.Common.Authentication.Models; + using Microsoft.Azure.Common.Authentication; using Hyak.Common; public class CloudServiceClient : ICloudServiceClient @@ -544,6 +544,7 @@ out serviceName /// Action used to log detailed client progress /// Action used to log warning messages public CloudServiceClient( + AzureProfile profile, AzureSubscription subscription, string currentLocation = null, Action debugStream = null, @@ -554,9 +555,9 @@ public CloudServiceClient( Subscription = subscription; CloudBlobUtility = new CloudBlobUtility(); - ManagementClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); - StorageClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); - ComputeClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + ManagementClient = AzureSession.ClientFactory.CreateClient(profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); + StorageClient = AzureSession.ClientFactory.CreateClient(profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); + ComputeClient = AzureSession.ClientFactory.CreateClient(profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); } private CloudServiceClient(string currentLocation, Action debugStream, Action verboseStream, diff --git a/src/ServiceManagement/Services/Commands.Utilities/Commands.Utilities.csproj b/src/ServiceManagement/Services/Commands.Utilities/Commands.Utilities.csproj index 799e0157b5bb..27132feefe26 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Commands.Utilities.csproj +++ b/src/ServiceManagement/Services/Commands.Utilities/Commands.Utilities.csproj @@ -57,17 +57,17 @@ ..\..\..\packages\AutoMapper.3.1.1\lib\net40\AutoMapper.Net4.dll - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.3\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.3\lib\net45\Microsoft.Azure.Common.NetFramework.dll False @@ -84,13 +84,13 @@ ..\..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll ..\..\..\packages\WindowsAzure.ServiceBus.2.3.2.0\lib\net40-full\Microsoft.ServiceBus.dll @@ -114,13 +114,12 @@ ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll - - False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.8.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll + + ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.9.2.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll False @@ -128,7 +127,7 @@ False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.6.1.2\lib\net40\Microsoft.WindowsAzure.Management.Network.dll False @@ -197,7 +196,6 @@ - @@ -211,6 +209,7 @@ + @@ -438,14 +437,6 @@ PreserveNewest - - Designer - PreserveNewest - - - Designer - PreserveNewest - MSBuild:Compile Designer @@ -492,15 +483,6 @@ PreserveNewest - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - PreserveNewest diff --git a/src/Common/Azure.Common.Extensions/Interfaces/IProfileSerializer.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/AzureTools/AzureSdkVersionInfo.cs similarity index 65% rename from src/Common/Azure.Common.Extensions/Interfaces/IProfileSerializer.cs rename to src/ServiceManagement/Services/Commands.Utilities/Common/AzureTools/AzureSdkVersionInfo.cs index f48d90657495..1fd5fd054552 100644 --- a/src/Common/Azure.Common.Extensions/Interfaces/IProfileSerializer.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Common/AzureTools/AzureSdkVersionInfo.cs @@ -12,17 +12,13 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Common.Extensions.Models; -using System.Collections.Generic; - -namespace Microsoft.Azure.Common.Extensions.Interfaces +namespace Microsoft.WindowsAzure.Commands.Utilities.Common.AzureTools { - public interface IProfileSerializer + internal class AzureSdkVersionInfo { - string Serialize(AzureProfile profile); - - bool Deserialize(string contents, AzureProfile profile); - - IList DeserializeErrors { get; } + //When intergrate with new Azure SDK, please update the versions here. + //If you find there are other version strings to update, please move them to here. + public const string SupportAzureSdkVersionRegKey = "v2.5"; + public const string SupportAzureSdkVersion = "2.5.0"; } } diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/AzureTools/AzureTool.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/AzureTools/AzureTool.cs index 24be5e295970..c0554ab1db43 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/AzureTools/AzureTool.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Common/AzureTools/AzureTool.cs @@ -17,12 +17,15 @@ using System.IO; using System.Linq; using Microsoft.Win32; -using Microsoft.WindowsAzure.Commands.Common.Properties; +using Microsoft.WindowsAzure.Commands.Utilities.Properties; +using Microsoft.WindowsAzure.Commands.Utilities.Common.AzureTools; namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService.AzureTools { public class AzureTool { + public const string SupportAzureSdkVersion = "2.5.0"; + public static void Validate() { // This instantiation will throw if user is running with incompatible Microsoft Azure SDK version. @@ -82,9 +85,7 @@ public static string GetStorageEmulatorDirectory() private static string GetSdkVersionRegistryValue() { - string version = string.Empty; - string min = Resources.MinSupportAzureSdkVersion; - string max = Resources.MaxSupportAzureSdkVersion; + string version = string.Empty; try { using (RegistryKey key = Registry.LocalMachine.OpenSubKey(Resources.AzureSdkRegistryKeyName)) @@ -93,13 +94,11 @@ private static string GetSdkVersionRegistryValue() { throw new InvalidOperationException(Resources.AzureToolsNotInstalledMessage); } - version = key.GetSubKeyNames() - .Where(n => (n.CompareTo(min) == 1 && n.CompareTo(max) == -1) || n.CompareTo(min) == 0 || n.CompareTo(max) == 0) - .Max(); + version = key.GetSubKeyNames().FirstOrDefault(n => n == AzureSdkVersionInfo.SupportAzureSdkVersionRegKey); if (string.IsNullOrEmpty(version) && key.GetSubKeyNames().Length > 0) { - throw new InvalidOperationException(string.Format(Resources.AzureSdkVersionNotSupported, min, max)); + throw new InvalidOperationException(string.Format(Resources.AzureSdkVersionNotSupported, AzureSdkVersionInfo.SupportAzureSdkVersionRegKey)); } else if (string.IsNullOrEmpty(version) && key.GetSubKeyNames().Length == 0) { @@ -109,10 +108,9 @@ private static string GetSdkVersionRegistryValue() } catch (InvalidOperationException) { - //temporary workaround: catch exception and fall back to v2.5 if (IgnoreMissingSDKError) { - version = "v2.5"; + version = AzureSdkVersionInfo.SupportAzureSdkVersionRegKey; } else { diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/AzureTools/CsPack.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/AzureTools/CsPack.cs index 40ef0cb6d6e2..bcf3a6d82c1d 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/AzureTools/CsPack.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Common/AzureTools/CsPack.cs @@ -23,7 +23,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema; using Microsoft.WindowsAzure.Commands.Utilities.Properties; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService.AzureTools { diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/CloudRuntime.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/CloudRuntime.cs index 10f309b6141f..a72fcccfd035 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/CloudRuntime.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Common/CloudRuntime.cs @@ -90,8 +90,8 @@ private static CloudRuntime CreateRuntimeInternal(RuntimeType runtimeType, strin runtime = new NullCloudRuntime(); break; case RuntimeType.Cache: - runtime = new CacheCloudRuntime(); - break; + //Scaffolding for cache is no longer supported + throw new NotSupportedException(Resources.CacheScaffoldingIsNotSupport); case RuntimeType.PHP: runtime = new PHPCloudRuntime(); break; @@ -539,83 +539,6 @@ protected override void ApplyScaffoldingChanges(CloudRuntimePackage package) } } - private class CacheCloudRuntime : CloudRuntime - { - protected override void Configure(Dictionary environment) - { - if (string.IsNullOrEmpty(this.Version)) - { - string version; - if (!environment.TryGetValue(Resources.CacheRuntimeVersionKey, out version)) - { - version = AzureTool.GetAzureSdkVersion(); - } - - this.Version = version; - } - } - - public override bool Match(CloudRuntimePackage runtime) - { - return this.Version.Equals(runtime.Version, StringComparison.OrdinalIgnoreCase); - } - - protected override string GenerateWarningText(CloudRuntimePackage package) - { - return string.Format(Resources.CacheVersionWarningText, package.Version, this.RoleName, - this.Version); - } - - protected override bool GetChanges(CloudRuntimePackage package, out Dictionary changes) - { - base.GetChanges(package, out changes); - - Debug.Assert(changes.ContainsKey(Resources.RuntimeTypeKey), "Cache runtime should be added before calling this method"); - Debug.Assert(changes.ContainsKey(Resources.RuntimeUrlKey), "Cache runtime should be added before calling this method"); - - changes[Resources.CacheRuntimeVersionKey] = package.Version; - - return true; - } - - protected override void ApplyScaffoldingChanges(CloudRuntimePackage package) - { - string rootPath = CommonUtilities.GetServiceRootPath(FilePath); - - if (CloudServiceProject.Components.StartupTaskExists(RoleName, Resources.CacheStartupCommand)) - { - CloudServiceProject.Components.SetStartupTaskVariable( - RoleName, - Resources.CacheRuntimeUrl, - package.PackageUri.ToString(), - Resources.CacheStartupCommand); - } - else - { - Variable emulated = new Variable - { - name = Resources.EmulatedKey, - RoleInstanceValue = new RoleInstanceValueElement - { - xpath = "/RoleEnvironment/Deployment/@emulated" - } - }; - Variable cacheRuntimeUrl = new Variable - { - name = Resources.CacheRuntimeUrl, - value = package.PackageUri.ToString() - }; - - CloudServiceProject.Components.AddStartupTask( - RoleName, - Resources.CacheStartupCommand, - ExecutionContext.elevated, - emulated, - cacheRuntimeUrl); - } - } - } - private class NullCloudRuntime : CloudRuntime { public override bool Match(CloudRuntimePackage runtime) diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/CloudRuntimeCollection.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/CloudRuntimeCollection.cs index 9b853562becf..717b5403885b 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/CloudRuntimeCollection.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Common/CloudRuntimeCollection.cs @@ -206,17 +206,6 @@ protected virtual void Dispose(bool disposing) } } } - - public static string GetRuntimeUrl(string runtimeType, string runtimeVersion, string manifest = null) - { - CloudRuntimeCollection collection; - CloudRuntimeCollection.CreateCloudRuntimeCollection(out collection, manifest); - CloudRuntime desiredRuntime = CloudRuntime.CreateCloudRuntime(runtimeType, runtimeVersion, null, null); - CloudRuntimePackage foundPackage; - bool found = collection.TryFindMatch(desiredRuntime, out foundPackage); - - return found ? foundPackage.PackageUri.AbsoluteUri : null; - } } class VersionComparer : IComparer diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/CloudServicePathInfo.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/CloudServicePathInfo.cs index c21ea4fdb4aa..2f40429eed26 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/CloudServicePathInfo.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Common/CloudServicePathInfo.cs @@ -12,7 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Microsoft.WindowsAzure.Commands.Common.Properties; using Microsoft.WindowsAzure.Commands.Utilities.Common; diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/CloudServiceProject.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/CloudServiceProject.cs index ffd12d3e6550..8471a403f339 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/CloudServiceProject.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Common/CloudServiceProject.cs @@ -20,14 +20,14 @@ using System.Security.Permissions; using System.Security.Principal; using System.Text; +using Microsoft.WindowsAzure.Commands.Common; using Microsoft.WindowsAzure.Commands.Common.Properties; using Microsoft.WindowsAzure.Commands.Utilities.CloudService.AzureTools; using Microsoft.WindowsAzure.Commands.Utilities.CloudService.Scaffolding; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema; using Microsoft.WindowsAzure.Commands.Utilities; -using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService { @@ -306,9 +306,8 @@ public void CreatePackage(DevEnv type) private void VerifyCloudServiceProjectComponents() { - const string CacheVersion = "2.5.0"; + string CacheVersion = AzureTool.SupportAzureSdkVersion; - // Verify caching version is 2.2 foreach (string roleName in Components.GetRoles()) { string value = Components.GetStartupTaskVariable( @@ -319,7 +318,7 @@ private void VerifyCloudServiceProjectComponents() if (!string.IsNullOrEmpty(value) && !string.Equals(value, CacheVersion, StringComparison.OrdinalIgnoreCase)) { - throw new Exception(string.Format(Resources.CacheMismatchMessage, roleName, CacheVersion)); + throw new Exception(string.Format(Microsoft.WindowsAzure.Commands.Utilities.Properties.Resources.CacheMismatchMessage, roleName, CacheVersion)); } } } diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/CommonUtilities.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/CommonUtilities.cs index dfff278043ad..01db3dc0ff4a 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/CommonUtilities.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Common/CommonUtilities.cs @@ -17,7 +17,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.CloudService; using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema; using Microsoft.WindowsAzure.Commands.Utilities.Properties; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Utilities.Common { diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/JavaScriptPackageHelpers.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/JavaScriptPackageHelpers.cs index d5a00b52369b..3692c859ff31 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/JavaScriptPackageHelpers.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Common/JavaScriptPackageHelpers.cs @@ -18,7 +18,7 @@ using System.Web.Script.Serialization; using Microsoft.WindowsAzure.Commands.Common.Properties; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService { diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/PublishContext.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/PublishContext.cs index efd3f357acd2..1535a9e71f19 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/PublishContext.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Common/PublishContext.cs @@ -16,9 +16,10 @@ using System.IO; using System.Linq; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.WindowsAzure.Commands.Common.Properties; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; +using Microsoft.WindowsAzure.Commands.Utilities.Properties; +using Microsoft.Azure.Common.Authentication.Models; namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService { @@ -68,7 +69,7 @@ public PublishContext( { try { - ProfileClient client = new ProfileClient(); + ProfileClient client = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); SubscriptionId = client.Profile.Subscriptions.Values.Where(s => s.Name == settings.Subscription) .Select(s => s.Id.ToString()) diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/RoleInfo.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/RoleInfo.cs index f6fd5477ba61..e4182bd5e552 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/RoleInfo.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Common/RoleInfo.cs @@ -12,7 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Microsoft.WindowsAzure.Commands.Common.Properties; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema; diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/NodeRules.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/NodeRules.cs index 4d3077897178..23c0b7bf79d9 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/NodeRules.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/NodeRules.cs @@ -18,7 +18,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema; using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService.Scaffolding { diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/PHPRules.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/PHPRules.cs index 67d0f22aab6a..e85f53d8689d 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/PHPRules.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/PHPRules.cs @@ -17,7 +17,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema; using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Microsoft.WindowsAzure.Commands.Common; namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService.Scaffolding diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/PythonRules.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/PythonRules.cs index 2d347a777af9..42d6064b8b5b 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/PythonRules.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/PythonRules.cs @@ -17,7 +17,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema; using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Microsoft.WindowsAzure.Commands.Common; namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService.Scaffolding diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/Scaffold.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/Scaffold.cs index 9eae6d86279d..b15f56c7f452 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/Scaffold.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Common/Scaffolding/Scaffold.cs @@ -20,7 +20,7 @@ using System.Xml.Linq; using Microsoft.WindowsAzure.Commands.Common.Properties; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService.Scaffolding { diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceComponents.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceComponents.cs index 8a71dd4d11f4..558b7cfe530c 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceComponents.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceComponents.cs @@ -22,7 +22,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema; using Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService { diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceConfigurationSchema.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceConfigurationSchema.cs index 9c2e9a899813..07f097075884 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceConfigurationSchema.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceConfigurationSchema.cs @@ -10,7 +10,7 @@ // This source code was auto-generated by xsd, Version=4.0.30319.34014 using command: // xsd.exe "C:\Program Files\Microsoft SDKs\Azure\.NET SDK\v2.5\schemas\ServiceConfigurationSchema.xsd" -// /c /namespace:Microsoft.Azure.Common.Extensions.XmlSchema.ServiceConfigurationSchema +// /c /namespace:Microsoft.Azure.Common.Authentication.XmlSchema.ServiceConfigurationSchema // /language:cs namespace Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema { diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceDefinitionSchema.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceDefinitionSchema.cs index 0141831de1f5..841780eb1913 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceDefinitionSchema.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceDefinitionSchema.cs @@ -10,7 +10,7 @@ // This source code was auto-generated by xsd, Version=4.0.30319.34014 using command: // xsd.exe "C:\Program Files\Microsoft SDKs\Azure\.NET SDK\v2.5\schemas\ServiceDefinitionSchema.xsd" -// /c /namespace:Microsoft.Azure.Common.Extensions.XmlSchema.ServiceDefinitionSchema +// /c /namespace:Microsoft.Azure.Common.Authentication.XmlSchema.ServiceDefinitionSchema // /language:cs namespace Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceDefinitionSchema { diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceManagementBaseCmdlet.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceManagementBaseCmdlet.cs index 0f92dff06086..ad992e20bec5 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceManagementBaseCmdlet.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceManagementBaseCmdlet.cs @@ -21,14 +21,14 @@ using System.ServiceModel.Dispatcher; using AutoMapper; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; using Microsoft.WindowsAzure.Commands.Utilities.Properties; using Microsoft.WindowsAzure.Management; using Microsoft.WindowsAzure.Management.Compute; using Microsoft.WindowsAzure.Management.Network; using Microsoft.WindowsAzure.Management.Storage; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Microsoft.Azure; using Hyak.Common; @@ -53,22 +53,22 @@ protected ServiceManagementBaseCmdlet() public ManagementClient CreateClient() { - return AzureSession.ClientFactory.CreateClient(CurrentContext.Subscription, AzureEnvironment.Endpoint.ServiceManagement); + return AzureSession.ClientFactory.CreateClient(Profile.Context, AzureEnvironment.Endpoint.ServiceManagement); } public ComputeManagementClient CreateComputeClient() { - return AzureSession.ClientFactory.CreateClient(CurrentContext.Subscription, AzureEnvironment.Endpoint.ServiceManagement); + return AzureSession.ClientFactory.CreateClient(Profile, Profile.Context.Subscription, AzureEnvironment.Endpoint.ServiceManagement); } public StorageManagementClient CreateStorageClient() { - return AzureSession.ClientFactory.CreateClient(CurrentContext.Subscription, AzureEnvironment.Endpoint.ServiceManagement); + return AzureSession.ClientFactory.CreateClient(Profile, Profile.Context.Subscription, AzureEnvironment.Endpoint.ServiceManagement); } public NetworkManagementClient CreateNetworkClient() { - return AzureSession.ClientFactory.CreateClient(CurrentContext.Subscription, AzureEnvironment.Endpoint.ServiceManagement); + return AzureSession.ClientFactory.CreateClient(Profile, Profile.Context.Subscription, AzureEnvironment.Endpoint.ServiceManagement); } private Lazy client; diff --git a/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceSettings.cs b/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceSettings.cs index b1db82219311..dc96bb1723ec 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceSettings.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Common/ServiceSettings.cs @@ -21,7 +21,7 @@ using Microsoft.WindowsAzure.Commands.Common.Properties; using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Utilities.CloudService { diff --git a/src/ServiceManagement/Services/Commands.Utilities/MediaServices/MediaServicesClient.cs b/src/ServiceManagement/Services/Commands.Utilities/MediaServices/MediaServicesClient.cs index ed35fcf13d2e..f2a01200577d 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/MediaServices/MediaServicesClient.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/MediaServices/MediaServicesClient.cs @@ -22,7 +22,7 @@ using System.Xml; using System.Xml.Serialization; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.ServiceManagement.Model; using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services; using Microsoft.WindowsAzure.Management.MediaServices; @@ -30,7 +30,7 @@ using Microsoft.WindowsAzure.Management.Storage; using Microsoft.WindowsAzure.Management.Storage.Models; using Newtonsoft.Json; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Microsoft.Azure; namespace Microsoft.WindowsAzure.Commands.Utilities.MediaServices @@ -64,8 +64,11 @@ public MediaServicesClient(Action logger, IMediaServicesManagementClient /// /// The Microsoft Azure subscription data object /// The logger action - public MediaServicesClient(AzureSubscription subscription, Action logger) - : this(logger, AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement), AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement)) + public MediaServicesClient(AzureProfile profile, AzureSubscription subscription, Action logger) + : this( + logger, + AzureSession.ClientFactory.CreateClient(profile, subscription, AzureEnvironment.Endpoint.ServiceManagement), + AzureSession.ClientFactory.CreateClient(profile, subscription, AzureEnvironment.Endpoint.ServiceManagement)) { } diff --git a/src/ServiceManagement/Services/Commands.Utilities/Properties/Resources.Designer.cs b/src/ServiceManagement/Services/Commands.Utilities/Properties/Resources.Designer.cs index d2c6a3cc7b53..9d5583905102 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Properties/Resources.Designer.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Properties/Resources.Designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.34014 +// Runtime Version:4.0.30319.18449 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -267,15 +267,6 @@ public static string AzureEmulatorNotRunningElevetaed { } } - /// - /// Looks up a localized string similar to Azure Emulator\emulator. - /// - public static string AzureEmulatorPathPortion { - get { - return ResourceManager.GetString("AzureEmulatorPathPortion", resourceCulture); - } - } - /// /// Looks up a localized string similar to SOFTWARE\Microsoft\Windows Azure Emulator. /// @@ -285,16 +276,6 @@ public static string AzureEmulatorRegistryKey { } } - /// - /// Looks up a localized string similar to Azure service management error - ///{0}. - /// - public static string AzureException_WrapExistingError_DetailedErrorFormat { - get { - return ResourceManager.GetString("AzureException_WrapExistingError_DetailedErrorFormat", resourceCulture); - } - } - /// /// Looks up a localized string similar to https://manage.windowsazure.com. /// @@ -350,7 +331,7 @@ public static string AzureSdkRegistryKeyName { } /// - /// Looks up a localized string similar to The installed Azure SDK version is not supported. Make sure you version is between {0} and {1} inclusive. + /// Looks up a localized string similar to The installed Azure SDK version is not supported. Make sure you version is {0}. /// public static string AzureSdkVersionNotSupported { get { @@ -422,52 +403,7 @@ public static string BlobEndpointUriEnv { } /// - /// Looks up a localized string similar to Memcache is already enabled for role '{0}'.. - /// - public static string CacheAlreadyEnabledMessage { - get { - return ResourceManager.GetString("CacheAlreadyEnabledMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to <configuration> - /// <configSections> - /// <section name="dataCacheClients" type="Microsoft.ApplicationServer.Caching.DataCacheClientsSection, Microsoft.ApplicationServer.Caching.Core" allowLocation="true" allowDefinition="Everywhere" /> - /// </configSections> - /// <dataCacheClients> - /// <tracing sinkType="DiagnosticSink" traceLevel="Error" /> - /// <dataCacheClient name="DefaultShimConfig" useLegacyProtocol="false"> - /// <autoDiscover isEnabled="true" identifier="$RoleName$" /> - /// </dataCacheClient> - /// </da [rest of string was truncated]";. - /// - public static string CacheAutoDiscoveryConfig { - get { - return ResourceManager.GetString("CacheAutoDiscoveryConfig", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Microsoft.WindowsAzure.Plugins.Caching.ClientDiagnosticLevel. - /// - public static string CacheClientDiagnosticLevelAssemblyName { - get { - return ResourceManager.GetString("CacheClientDiagnosticLevelAssemblyName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to DiagnosticStore. - /// - public static string CacheDiagnosticStoreName { - get { - return ResourceManager.GetString("CacheDiagnosticStoreName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Please upgrade the cache runtime of role '{0}' to '{1}' using Set-AzureServiceProjectRole -RoleName {0} -Runtime Cache -Version {1}. + /// Looks up a localized string similar to Your ServiceDefinition.csdef uses the cache runtime of role '{0}' which might not work correctly with '{1}' . /// public static string CacheMismatchMessage { get { @@ -503,20 +439,11 @@ public static string CacheRuntimeVersionKey { } /// - /// Looks up a localized string similar to Resources\Scaffolding\Cache. - /// - public static string CacheScaffolding { - get { - return ResourceManager.GetString("CacheScaffolding", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to setup_cache.cmd > cache_log.txt. + /// Looks up a localized string similar to Scaffolding for Cache Role is not supported any more.. /// - public static string CacheStartupCommand { + public static string CacheScaffoldingIsNotSupport { get { - return ResourceManager.GetString("CacheStartupCommand", resourceCulture); + return ResourceManager.GetString("CacheScaffoldingIsNotSupport", resourceCulture); } } @@ -529,15 +456,6 @@ public static string CacheVersionWarningText { } } - /// - /// Looks up a localized string similar to Microsoft.WindowsAzure.Plugins.Caching.CacheSizePercentage. - /// - public static string CachingCacheSizePercentageSettingName { - get { - return ResourceManager.GetString("CachingCacheSizePercentageSettingName", resourceCulture); - } - } - /// /// Looks up a localized string similar to Microsoft.WindowsAzure.Plugins.Caching.ConfigStoreConnectionString. /// @@ -547,24 +465,6 @@ public static string CachingConfigStoreConnectionStringSettingName { } } - /// - /// Looks up a localized string similar to DefaultEndpointsProtocol=https;AccountName={0};AccountKey={1}. - /// - public static string CachingConfigStoreConnectionStringSettingValue { - get { - return ResourceManager.GetString("CachingConfigStoreConnectionStringSettingValue", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Caching. - /// - public static string CachingModuleName { - get { - return ResourceManager.GetString("CachingModuleName", resourceCulture); - } - } - /// /// Looks up a localized string similar to Cannot find {0} with name {1}.. /// @@ -2101,42 +2001,6 @@ public static string MarketplaceEndpoint { } } - /// - /// Looks up a localized string similar to v2.5. - /// - public static string MaxSupportAzureSdkVersion { - get { - return ResourceManager.GetString("MaxSupportAzureSdkVersion", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to memcache_default. - /// - public static string MemcacheEndpointName { - get { - return ResourceManager.GetString("MemcacheEndpointName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 11211. - /// - public static string MemcacheEndpointPort { - get { - return ResourceManager.GetString("MemcacheEndpointPort", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to v2.5. - /// - public static string MinSupportAzureSdkVersion { - get { - return ResourceManager.GetString("MinSupportAzureSdkVersion", resourceCulture); - } - } - /// /// Looks up a localized string similar to Python 2.7 is not installed. Please install it as well as Django 1.4.. /// diff --git a/src/ServiceManagement/Services/Commands.Utilities/Properties/Resources.resx b/src/ServiceManagement/Services/Commands.Utilities/Properties/Resources.resx index 3cea1ec63e68..dac9fb83dd78 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Properties/Resources.resx +++ b/src/ServiceManagement/Services/Commands.Utilities/Properties/Resources.resx @@ -183,9 +183,6 @@ You must run PowerShell from an elevated PowerShell window to use the Azure Emulator. Please restart your PowerShell window as an administrator. - - Azure Emulator\emulator - SOFTWARE\Microsoft\Windows Azure Emulator @@ -208,11 +205,7 @@ SOFTWARE\Microsoft\Microsoft SDKs\ServiceHosting - The installed Azure SDK version is not supported. Make sure you version is between {0} and {1} inclusive - - - Azure service management error -{0} + The installed Azure SDK version is not supported. Make sure you version is {0} Azure Authoring Tools are not installed and are required @@ -236,30 +229,11 @@ AZURE_BLOBSTORAGE_TEMPLATE - - Memcache is already enabled for role '{0}'. - - - <configuration> - <configSections> - <section name="dataCacheClients" type="Microsoft.ApplicationServer.Caching.DataCacheClientsSection, Microsoft.ApplicationServer.Caching.Core" allowLocation="true" allowDefinition="Everywhere" /> - </configSections> - <dataCacheClients> - <tracing sinkType="DiagnosticSink" traceLevel="Error" /> - <dataCacheClient name="DefaultShimConfig" useLegacyProtocol="false"> - <autoDiscover isEnabled="true" identifier="$RoleName$" /> - </dataCacheClient> - </dataCacheClients> -</configuration> - - - Microsoft.WindowsAzure.Plugins.Caching.ClientDiagnosticLevel - - - DiagnosticStore - - Please upgrade the cache runtime of role '{0}' to '{1}' using Set-AzureServiceProjectRole -RoleName {0} -Runtime Cache -Version {1} + Your ServiceDefinition.csdef uses the cache runtime of role '{0}' which might not work correctly with '{1}' + + + Scaffolding for Cache Role is not supported any more. CACHERUNTIMEURL @@ -270,27 +244,12 @@ CacheRuntimeVersion - - Resources\Scaffolding\Cache - - - setup_cache.cmd > cache_log.txt - Installing caching version {0} for Role '{1}' (the caching version locally installed is: {2}) - - Microsoft.WindowsAzure.Plugins.Caching.CacheSizePercentage - Microsoft.WindowsAzure.Plugins.Caching.ConfigStoreConnectionString - - DefaultEndpointsProtocol=https;AccountName={0};AccountKey={1} - - - Caching - Cannot find {0} with name {1}. @@ -792,18 +751,6 @@ Please follow these steps in the portal: http://api.datamarket.azure.com/CatalogService.svc - - v2.5 - - - memcache_default - - - 11211 - - - v2.5 - Python 2.7 is not installed. Please install it as well as Django 1.4. diff --git a/src/ServiceManagement/Services/Commands.Utilities/Resources/Scaffolding/Cache/WebRole/Scaffold.xml b/src/ServiceManagement/Services/Commands.Utilities/Resources/Scaffolding/Cache/WebRole/Scaffold.xml deleted file mode 100644 index 53e4d35bd023..000000000000 --- a/src/ServiceManagement/Services/Commands.Utilities/Resources/Scaffolding/Cache/WebRole/Scaffold.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/ServiceManagement/Services/Commands.Utilities/Resources/Scaffolding/Cache/WebRole/bin/setup_cache.cmd b/src/ServiceManagement/Services/Commands.Utilities/Resources/Scaffolding/Cache/WebRole/bin/setup_cache.cmd deleted file mode 100644 index 07556ecc6eab..000000000000 --- a/src/ServiceManagement/Services/Commands.Utilities/Resources/Scaffolding/Cache/WebRole/bin/setup_cache.cmd +++ /dev/null @@ -1,23 +0,0 @@ -@echo on -cd /d "%~dp0" - -if "%EMULATED%"=="true" goto setup_emulator - -:start_cache -WindowsAzure.Caching.MemcacheShim\ClientPerfCountersInstaller.exe install -WindowsAzure.Caching.MemcacheShim\MemcacheShimInstaller.exe -if %ERRORLEVEL% neq 0 goto error - -echo SUCCESS -exit /b 0 - -:setup_emulator -echo Downloading and installing cache runtime -powershell .\download.ps1 '%CACHERUNTIMEURL%' -if %ERRORLEVEL% neq 0 goto error - -goto start_cache - -:error -echo FAILED -exit /b -1 \ No newline at end of file diff --git a/src/ServiceManagement/Services/Commands.Utilities/Resources/Scaffolding/Cache/WorkerRole/Scaffold.xml b/src/ServiceManagement/Services/Commands.Utilities/Resources/Scaffolding/Cache/WorkerRole/Scaffold.xml deleted file mode 100644 index c0f813bbfd65..000000000000 --- a/src/ServiceManagement/Services/Commands.Utilities/Resources/Scaffolding/Cache/WorkerRole/Scaffold.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/src/ServiceManagement/Services/Commands.Utilities/Resources/Scaffolding/Cache/WorkerRole/setup_cache.cmd b/src/ServiceManagement/Services/Commands.Utilities/Resources/Scaffolding/Cache/WorkerRole/setup_cache.cmd deleted file mode 100644 index 37685c2df2e8..000000000000 --- a/src/ServiceManagement/Services/Commands.Utilities/Resources/Scaffolding/Cache/WorkerRole/setup_cache.cmd +++ /dev/null @@ -1,23 +0,0 @@ -@echo on -cd /d "%~dp0" - -if "%EMULATED%"=="true" goto setup_emulator - -:start_cache -bin\WindowsAzure.Caching.MemcacheShim\ClientPerfCountersInstaller.exe install -bin\WindowsAzure.Caching.MemcacheShim\MemcacheShimInstaller.exe -if %ERRORLEVEL% neq 0 goto error - -echo SUCCESS -exit /b 0 - -:setup_emulator -echo Downloading and installing cache runtime -powershell .\download.ps1 '%CACHERUNTIMEURL%' -if %ERRORLEVEL% neq 0 goto error - -goto start_cache - -:error -echo FAILED -exit /b -1 \ No newline at end of file diff --git a/src/ServiceManagement/Services/Commands.Utilities/Resources/Scaffolding/Cache/WorkerRole/web.config b/src/ServiceManagement/Services/Commands.Utilities/Resources/Scaffolding/Cache/WorkerRole/web.config deleted file mode 100644 index 1d39964e6d65..000000000000 --- a/src/ServiceManagement/Services/Commands.Utilities/Resources/Scaffolding/Cache/WorkerRole/web.config +++ /dev/null @@ -1,23 +0,0 @@ - - - -
- - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerBaseCmdlet.cs b/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerBaseCmdlet.cs index f344e69c5b60..b71c4c2d5621 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerBaseCmdlet.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerBaseCmdlet.cs @@ -26,7 +26,7 @@ public SchedulerMgmntClient SMClient { if (schedulerMgmntClient == null) { - schedulerMgmntClient = new SchedulerMgmntClient(CurrentContext.Subscription); + schedulerMgmntClient = new SchedulerMgmntClient(Profile, Profile.Context.Subscription); } return schedulerMgmntClient; } diff --git a/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.CreateJobs.cs b/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.CreateJobs.cs index c678fe40b48c..65ddcc09af41 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.CreateJobs.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.CreateJobs.cs @@ -20,7 +20,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model; using Microsoft.WindowsAzure.Scheduler; using Microsoft.WindowsAzure.Scheduler.Models; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Utilities.Scheduler { diff --git a/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.cs b/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.cs index e48cdc6edd3f..b15512878ef7 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Scheduler/SchedulerMgmntClient.cs @@ -16,7 +16,7 @@ using System.Collections.Generic; using System.Linq; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Utilities.Properties; using Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Common; using Microsoft.WindowsAzure.Commands.Utilities.Scheduler.Model; @@ -24,7 +24,7 @@ using Microsoft.WindowsAzure.Management.Scheduler.Models; using Microsoft.WindowsAzure.Scheduler; using Microsoft.WindowsAzure.Scheduler.Models; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Microsoft.Azure; namespace Microsoft.WindowsAzure.Commands.Utilities.Scheduler @@ -55,11 +55,11 @@ public partial class SchedulerMgmntClient /// Creates new Scheduler Management Convenience Client /// /// Subscription containing websites to manipulate - public SchedulerMgmntClient(AzureSubscription subscription) + public SchedulerMgmntClient(AzureProfile profile, AzureSubscription subscription) { currentSubscription = subscription; - csmClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); - schedulerManagementClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + csmClient = AzureSession.ClientFactory.CreateClient(profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); + schedulerManagementClient = AzureSession.ClientFactory.CreateClient(profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); //Get RP properties IDictionary dict = schedulerManagementClient.GetResourceProviderProperties().Properties; diff --git a/src/ServiceManagement/Services/Commands.Utilities/ServiceBus/ServiceBusClientExtensions.cs b/src/ServiceManagement/Services/Commands.Utilities/ServiceBus/ServiceBusClientExtensions.cs index efe36786dcb8..cc24f87f019a 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/ServiceBus/ServiceBusClientExtensions.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/ServiceBus/ServiceBusClientExtensions.cs @@ -22,7 +22,7 @@ using Microsoft.ServiceBus.Messaging; using Microsoft.ServiceBus.Notifications; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Utilities.Properties; using Microsoft.WindowsAzure.Management.ServiceBus; using Microsoft.WindowsAzure.Management.ServiceBus.Models; @@ -30,8 +30,8 @@ namespace Microsoft.WindowsAzure.Commands.Utilities.ServiceBus { using ServiceBusNamespaceDescription = Management.ServiceBus.Models.NamespaceDescription; - using Microsoft.Azure.Common.Extensions.Models; - using Microsoft.Azure.Common.Extensions; + using Microsoft.Azure.Common.Authentication.Models; + using Microsoft.Azure.Common.Authentication; using Hyak.Common; public class ServiceBusClientExtensions @@ -290,11 +290,11 @@ public ServiceBusClientExtensions() /// Creates new instance from ServiceBusClientExtensions /// /// - public ServiceBusClientExtensions(AzureSubscription subscription) + public ServiceBusClientExtensions(AzureProfile profile, AzureSubscription subscription) { subscriptionId = subscription.Id.ToString(); Subscription = subscription; - ServiceBusClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + ServiceBusClient = AzureSession.ClientFactory.CreateClient(profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); } /// diff --git a/src/ServiceManagement/Services/Commands.Utilities/Store/StoreClient.cs b/src/ServiceManagement/Services/Commands.Utilities/Store/StoreClient.cs index dfa975d3c4f0..2b82689bbeb8 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Store/StoreClient.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Store/StoreClient.cs @@ -19,7 +19,7 @@ using System.Security.Cryptography; using System.Text; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.MarketplaceServiceReference; using Microsoft.WindowsAzure.Commands.Utilities.Properties; @@ -32,8 +32,8 @@ namespace Microsoft.WindowsAzure.Commands.Utilities.Store { using Resource = Management.Store.Models.CloudServiceListResponse.CloudService.AddOnResource; - using Microsoft.Azure.Common.Extensions.Models; - using Microsoft.Azure.Common.Extensions; + using Microsoft.Azure.Common.Authentication.Models; + using Microsoft.Azure.Common.Authentication; public class StoreClient { @@ -139,13 +139,13 @@ public StoreClient() /// Creates new instance from the store client. /// /// The Microsoft Azure subscription - public StoreClient(AzureSubscription subscription) + public StoreClient(AzureProfile profile, AzureSubscription subscription) : this( subscription, - AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement), - AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement), + AzureSession.ClientFactory.CreateClient(profile, subscription, AzureEnvironment.Endpoint.ServiceManagement), + AzureSession.ClientFactory.CreateClient(profile, subscription, AzureEnvironment.Endpoint.ServiceManagement), new MarketplaceClient(), - AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement)) { } + AzureSession.ClientFactory.CreateClient(profile, subscription, AzureEnvironment.Endpoint.ServiceManagement)) { } public StoreClient( AzureSubscription subscription, diff --git a/src/ServiceManagement/Services/Commands.Utilities/WAPackIaaS/WebClient/Subscription.cs b/src/ServiceManagement/Services/Commands.Utilities/WAPackIaaS/WebClient/Subscription.cs index c8b00a60b2f0..de115746f071 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/WAPackIaaS/WebClient/Subscription.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/WAPackIaaS/WebClient/Subscription.cs @@ -17,9 +17,10 @@ using System.Security; using System.Security.Cryptography.X509Certificates; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; +using System.IO; namespace Microsoft.WindowsAzure.Commands.Utilities.WAPackIaaS.WebClient { @@ -58,7 +59,7 @@ internal Subscription(AzureSubscription azureSubscription) throw new ArgumentNullException(); } - ProfileClient client = new ProfileClient(); + ProfileClient client = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); var environment = client.GetEnvironmentOrDefault(azureSubscription.Environment); this.SubscriptionName = azureSubscription.Name; diff --git a/src/ServiceManagement/Services/Commands.Utilities/Websites/Common/WebsiteBaseCmdlet.cs b/src/ServiceManagement/Services/Commands.Utilities/Websites/Common/WebsiteBaseCmdlet.cs index 1f20281e182d..8b723d20e5f4 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Websites/Common/WebsiteBaseCmdlet.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Websites/Common/WebsiteBaseCmdlet.cs @@ -26,7 +26,7 @@ public IWebsitesClient WebsitesClient { if (websitesClient == null) { - websitesClient = new WebsitesClient(CurrentContext.Subscription, WriteDebug); + websitesClient = new WebsitesClient(Profile, Profile.Context.Subscription, WriteDebug); } return websitesClient; } diff --git a/src/ServiceManagement/Services/Commands.Utilities/Websites/KuduRemoteClientBase.cs b/src/ServiceManagement/Services/Commands.Utilities/Websites/KuduRemoteClientBase.cs index d01d08427868..6f723e751952 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Websites/KuduRemoteClientBase.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Websites/KuduRemoteClientBase.cs @@ -17,8 +17,8 @@ using System.Net.Http; using Microsoft.WindowsAzure.Commands.Common; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; -using Microsoft.Azure.Common.Extensions.Factories; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Factories; namespace Microsoft.WindowsAzure.Commands.Utilities.Websites { diff --git a/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/Cache.cs b/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/Cache.cs index b5c18f3badee..11fe3c14f9ce 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/Cache.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/Cache.cs @@ -19,7 +19,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Utilities.Websites.Services { diff --git a/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/LinkedRevisionControl.cs b/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/LinkedRevisionControl.cs index 2a9b78ac97af..082caae89f5b 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/LinkedRevisionControl.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Websites/Services/LinkedRevisionControl.cs @@ -17,7 +17,7 @@ using System.Linq; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Utilities.Websites.Services { diff --git a/src/ServiceManagement/Services/Commands.Utilities/Websites/WebsitesClient.cs b/src/ServiceManagement/Services/Commands.Utilities/Websites/WebsitesClient.cs index 6d081e1819c4..dd8255ef943d 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/Websites/WebsitesClient.cs +++ b/src/ServiceManagement/Services/Commands.Utilities/Websites/WebsitesClient.cs @@ -27,7 +27,7 @@ using Microsoft.Build.Logging; using Microsoft.Web.Deployment; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Storage; using Microsoft.WindowsAzure.Commands.Utilities.CloudService; using Microsoft.WindowsAzure.Commands.Utilities.Common; @@ -47,8 +47,8 @@ namespace Microsoft.WindowsAzure.Commands.Utilities.Websites { using Utilities = Services.WebEntities; - using Microsoft.Azure.Common.Extensions.Models; - using Microsoft.Azure.Common.Extensions; + using Microsoft.Azure.Common.Authentication.Models; + using Microsoft.Azure.Common.Authentication; using Hyak.Common; public class WebsitesClient : IWebsitesClient @@ -70,11 +70,11 @@ public class WebsitesClient : IWebsitesClient /// /// Subscription containing websites to manipulate /// The logger action - public WebsitesClient(AzureSubscription subscription, Action logger) + public WebsitesClient(AzureProfile profile, AzureSubscription subscription, Action logger) { Logger = logger; - cloudServiceClient = new CloudServiceClient(subscription, debugStream: logger); - WebsiteManagementClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + cloudServiceClient = new CloudServiceClient(profile, subscription, debugStream: logger); + WebsiteManagementClient = AzureSession.ClientFactory.CreateClient(profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); this.subscription = subscription; } diff --git a/src/ServiceManagement/Services/Commands.Utilities/packages.config b/src/ServiceManagement/Services/Commands.Utilities/packages.config index 9c38940e2220..2fcb092d8fd6 100644 --- a/src/ServiceManagement/Services/Commands.Utilities/packages.config +++ b/src/ServiceManagement/Services/Commands.Utilities/packages.config @@ -1,10 +1,10 @@  - - + + + - @@ -12,13 +12,13 @@ - + - - + + - + diff --git a/src/ServiceManagement/Services/Commands/CloudService/Development/EnableAzureRemoteDesktop.cs b/src/ServiceManagement/Services/Commands/CloudService/Development/EnableAzureRemoteDesktop.cs index cf1eb84ce317..e7ca9869c1a2 100644 --- a/src/ServiceManagement/Services/Commands/CloudService/Development/EnableAzureRemoteDesktop.cs +++ b/src/ServiceManagement/Services/Commands/CloudService/Development/EnableAzureRemoteDesktop.cs @@ -30,7 +30,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.Properties; using Certificate = Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema.Certificate; using ConfigurationSetting = Microsoft.WindowsAzure.Commands.Utilities.Common.XmlSchema.ServiceConfigurationSchema.ConfigurationSetting; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.CloudService.Development { diff --git a/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/NewAzureRoleTemplate.cs b/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/NewAzureRoleTemplate.cs index 18fe8452fa07..b8d56ff6a556 100644 --- a/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/NewAzureRoleTemplate.cs +++ b/src/ServiceManagement/Services/Commands/CloudService/Development/Scaffolding/NewAzureRoleTemplate.cs @@ -19,7 +19,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.CloudService; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Properties; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.CloudService.Development.Scaffolding { diff --git a/src/ServiceManagement/Services/Commands/CloudService/PublishAzureServiceProject.cs b/src/ServiceManagement/Services/Commands/CloudService/PublishAzureServiceProject.cs index 6864ee103316..ba3732eb5b47 100644 --- a/src/ServiceManagement/Services/Commands/CloudService/PublishAzureServiceProject.cs +++ b/src/ServiceManagement/Services/Commands/CloudService/PublishAzureServiceProject.cs @@ -78,7 +78,8 @@ public class PublishAzureServiceProjectCommand : AzurePSCmdlet public override void ExecuteCmdlet() { CloudServiceClient = CloudServiceClient ?? new CloudServiceClient( - CurrentContext.Subscription, + Profile, + Profile.Context.Subscription, SessionState.Path.CurrentLocation.Path, WriteDebug, WriteVerbose, diff --git a/src/ServiceManagement/Services/Commands/CloudService/RemoveAzureService.cs b/src/ServiceManagement/Services/Commands/CloudService/RemoveAzureService.cs index 8a687e3a63f8..330fb807fabe 100644 --- a/src/ServiceManagement/Services/Commands/CloudService/RemoveAzureService.cs +++ b/src/ServiceManagement/Services/Commands/CloudService/RemoveAzureService.cs @@ -49,7 +49,8 @@ public override void ExecuteCmdlet() () => { CloudServiceClient = CloudServiceClient ?? new CloudServiceClient( - CurrentContext.Subscription, + Profile, + Profile.Context.Subscription, SessionState.Path.CurrentLocation.Path, WriteDebug, WriteVerbose, diff --git a/src/ServiceManagement/Services/Commands/CloudService/StartAzureService.cs b/src/ServiceManagement/Services/Commands/CloudService/StartAzureService.cs index 78ae43020ec4..82257b8cc935 100644 --- a/src/ServiceManagement/Services/Commands/CloudService/StartAzureService.cs +++ b/src/ServiceManagement/Services/Commands/CloudService/StartAzureService.cs @@ -38,7 +38,8 @@ public class StartAzureServiceCommand : AzurePSCmdlet public override void ExecuteCmdlet() { CloudServiceClient = CloudServiceClient ?? new CloudServiceClient( - CurrentContext.Subscription, + Profile, + Profile.Context.Subscription, SessionState.Path.CurrentLocation.Path, WriteDebug, WriteVerbose, diff --git a/src/ServiceManagement/Services/Commands/CloudService/StopAzureService.cs b/src/ServiceManagement/Services/Commands/CloudService/StopAzureService.cs index aeb03bb8f8aa..bfabfcb20006 100644 --- a/src/ServiceManagement/Services/Commands/CloudService/StopAzureService.cs +++ b/src/ServiceManagement/Services/Commands/CloudService/StopAzureService.cs @@ -38,7 +38,8 @@ public class StopAzureServiceCommand : AzurePSCmdlet public override void ExecuteCmdlet() { CloudServiceClient = CloudServiceClient ?? new CloudServiceClient( - CurrentContext.Subscription, + Profile, + Profile.Context.Subscription, SessionState.Path.CurrentLocation.Path, WriteDebug, WriteVerbose, diff --git a/src/ServiceManagement/Services/Commands/CloudService/TestAzureName.cs b/src/ServiceManagement/Services/Commands/CloudService/TestAzureName.cs index 1c8f38e2ebc9..143fc7096687 100644 --- a/src/ServiceManagement/Services/Commands/CloudService/TestAzureName.cs +++ b/src/ServiceManagement/Services/Commands/CloudService/TestAzureName.cs @@ -14,12 +14,12 @@ using System.IO; using System.Management.Automation; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Utilities.CloudService; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.ServiceBus; using Microsoft.WindowsAzure.Commands.Utilities.Websites; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.CloudService { @@ -77,6 +77,7 @@ public bool IsServiceBusNamespaceAvailable(string subscriptionId, string name) private void EnsureCloudServiceClientInitialized(AzureSubscription subscription) { this.CloudServiceClient = this.CloudServiceClient ?? new CloudServiceClient( + Profile, subscription, SessionState.Path.CurrentLocation.Path, WriteDebug, @@ -97,21 +98,21 @@ public override void ExecuteCmdlet() if (Service.IsPresent) { - IsDNSAvailable(CurrentContext.Subscription, Name); + IsDNSAvailable(Profile.Context.Subscription, Name); } else if (Storage.IsPresent) { - IsStorageServiceAvailable(CurrentContext.Subscription, Name); + IsStorageServiceAvailable(Profile.Context.Subscription, Name); } else if (Website.IsPresent) { - WebsitesClient = WebsitesClient ?? new WebsitesClient(CurrentContext.Subscription, WriteDebug); + WebsitesClient = WebsitesClient ?? new WebsitesClient(Profile, Profile.Context.Subscription, WriteDebug); IsWebsiteAvailable(Name); } else { - ServiceBusClient = ServiceBusClient ?? new ServiceBusClientExtensions(CurrentContext.Subscription); - IsServiceBusNamespaceAvailable(CurrentContext.Subscription.Id.ToString(), Name); + ServiceBusClient = ServiceBusClient ?? new ServiceBusClientExtensions(Profile, Profile.Context.Subscription); + IsServiceBusNamespaceAvailable(Profile.Context.Subscription.Id.ToString(), Name); } } diff --git a/src/ServiceManagement/Services/Commands/Commands.csproj b/src/ServiceManagement/Services/Commands/Commands.csproj index 263cf2e345c9..0cae184fe18b 100644 --- a/src/ServiceManagement/Services/Commands/Commands.csproj +++ b/src/ServiceManagement/Services/Commands/Commands.csproj @@ -55,17 +55,17 @@ ..\..\..\packages\AutoMapper.3.1.1\lib\net40\AutoMapper.dll - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.3\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.3\lib\net45\Microsoft.Azure.Common.NetFramework.dll False @@ -82,13 +82,13 @@ ..\..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll ..\..\..\packages\WindowsAzure.ServiceBus.2.3.2.0\lib\net40-full\Microsoft.ServiceBus.dll @@ -112,13 +112,12 @@ ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll - - False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.8.0.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll + + ..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.9.2.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll False @@ -126,7 +125,7 @@ False - ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Network.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.Network.6.1.2\lib\net40\Microsoft.WindowsAzure.Management.Network.dll False @@ -194,11 +193,9 @@ - - @@ -345,7 +342,9 @@ - + + Designer + diff --git a/src/ServiceManagement/Services/Commands/MediaServices/AzureMediaServicesHttpClientCommandBase.cs b/src/ServiceManagement/Services/Commands/MediaServices/AzureMediaServicesHttpClientCommandBase.cs index 9f32f435bd8d..2afd5c031d8f 100644 --- a/src/ServiceManagement/Services/Commands/MediaServices/AzureMediaServicesHttpClientCommandBase.cs +++ b/src/ServiceManagement/Services/Commands/MediaServices/AzureMediaServicesHttpClientCommandBase.cs @@ -14,7 +14,7 @@ using System; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.MediaServices { diff --git a/src/ServiceManagement/Services/Commands/MediaServices/GetAzureMediaServiceCommand.cs b/src/ServiceManagement/Services/Commands/MediaServices/GetAzureMediaServiceCommand.cs index 77094d3226c1..56462abba333 100644 --- a/src/ServiceManagement/Services/Commands/MediaServices/GetAzureMediaServiceCommand.cs +++ b/src/ServiceManagement/Services/Commands/MediaServices/GetAzureMediaServiceCommand.cs @@ -49,7 +49,7 @@ protected virtual void WriteMediaAccounts(IEnumerable media /// public override void ExecuteCmdlet() { - MediaServicesClient = MediaServicesClient ?? new MediaServicesClient(CurrentContext.Subscription, WriteDebug); + MediaServicesClient = MediaServicesClient ?? new MediaServicesClient(Profile, Profile.Context.Subscription, WriteDebug); if (!string.IsNullOrEmpty(Name)) { diff --git a/src/ServiceManagement/Services/Commands/MediaServices/NewAzureMediaServiceCommand.cs b/src/ServiceManagement/Services/Commands/MediaServices/NewAzureMediaServiceCommand.cs index 32f8dac91a4d..2291552978fc 100644 --- a/src/ServiceManagement/Services/Commands/MediaServices/NewAzureMediaServiceCommand.cs +++ b/src/ServiceManagement/Services/Commands/MediaServices/NewAzureMediaServiceCommand.cs @@ -44,7 +44,7 @@ public class NewAzureMediaServiceCommand : AzureMediaServicesHttpClientCommandBa public override void ExecuteCmdlet() { - MediaServicesClient = MediaServicesClient ?? new MediaServicesClient(CurrentContext.Subscription, WriteDebug); + MediaServicesClient = MediaServicesClient ?? new MediaServicesClient(Profile, Profile.Context.Subscription, WriteDebug); StorageAccountGetKeysResponse storageKeysResponse = null; Uri storageEndPoint = null; diff --git a/src/ServiceManagement/Services/Commands/MediaServices/NewAzureMediaServiceKeyCommand.cs b/src/ServiceManagement/Services/Commands/MediaServices/NewAzureMediaServiceKeyCommand.cs index dd909b321a2c..07706c33a72d 100644 --- a/src/ServiceManagement/Services/Commands/MediaServices/NewAzureMediaServiceKeyCommand.cs +++ b/src/ServiceManagement/Services/Commands/MediaServices/NewAzureMediaServiceKeyCommand.cs @@ -60,7 +60,7 @@ public override void ExecuteCmdlet() string.Empty, () => { - MediaServicesClient = MediaServicesClient ?? new MediaServicesClient(CurrentContext.Subscription, WriteDebug); + MediaServicesClient = MediaServicesClient ?? new MediaServicesClient(Profile, Profile.Context.Subscription, WriteDebug); AzureOperationResponse result = null; diff --git a/src/ServiceManagement/Services/Commands/MediaServices/RemoveAzureMediaServiceCommand.cs b/src/ServiceManagement/Services/Commands/MediaServices/RemoveAzureMediaServiceCommand.cs index 067226918340..98e81948b3c3 100644 --- a/src/ServiceManagement/Services/Commands/MediaServices/RemoveAzureMediaServiceCommand.cs +++ b/src/ServiceManagement/Services/Commands/MediaServices/RemoveAzureMediaServiceCommand.cs @@ -43,7 +43,7 @@ public override void ExecuteCmdlet() string.Empty, () => { - MediaServicesClient = MediaServicesClient ?? new MediaServicesClient(CurrentContext.Subscription, WriteDebug); + MediaServicesClient = MediaServicesClient ?? new MediaServicesClient(Profile, Profile.Context.Subscription, WriteDebug); AzureOperationResponse result = null; diff --git a/src/ServiceManagement/Services/Commands/ServiceBus/GetAzureSBAuthorizationRule.cs b/src/ServiceManagement/Services/Commands/ServiceBus/GetAzureSBAuthorizationRule.cs index 5be43294c85f..b482dd87d14e 100644 --- a/src/ServiceManagement/Services/Commands/ServiceBus/GetAzureSBAuthorizationRule.cs +++ b/src/ServiceManagement/Services/Commands/ServiceBus/GetAzureSBAuthorizationRule.cs @@ -62,7 +62,7 @@ public class GetAzureSBAuthorizationRuleCommand : AzurePSCmdlet public override void ExecuteCmdlet() { - Client = Client ?? new ServiceBusClientExtensions(CurrentContext.Subscription); + Client = Client ?? new ServiceBusClientExtensions(Profile, Profile.Context.Subscription); List rules = null; List output = new List(); AuthorizationRuleFilterOption options = new AuthorizationRuleFilterOption() diff --git a/src/ServiceManagement/Services/Commands/ServiceBus/GetAzureSBLocation.cs b/src/ServiceManagement/Services/Commands/ServiceBus/GetAzureSBLocation.cs index e53ae17c3712..6f4ef9786d5c 100644 --- a/src/ServiceManagement/Services/Commands/ServiceBus/GetAzureSBLocation.cs +++ b/src/ServiceManagement/Services/Commands/ServiceBus/GetAzureSBLocation.cs @@ -33,7 +33,7 @@ public class GetAzureSBLocationCommand : AzurePSCmdlet /// public override void ExecuteCmdlet() { - Client = Client ?? new ServiceBusClientExtensions(CurrentContext.Subscription); + Client = Client ?? new ServiceBusClientExtensions(Profile, Profile.Context.Subscription); WriteObject(Client.GetServiceBusRegions(), true); } } diff --git a/src/ServiceManagement/Services/Commands/ServiceBus/GetAzureSBNamespace.cs b/src/ServiceManagement/Services/Commands/ServiceBus/GetAzureSBNamespace.cs index e42970fb03c7..c60c3d2ac032 100644 --- a/src/ServiceManagement/Services/Commands/ServiceBus/GetAzureSBNamespace.cs +++ b/src/ServiceManagement/Services/Commands/ServiceBus/GetAzureSBNamespace.cs @@ -35,7 +35,7 @@ public class GetAzureSBNamespaceCommand : AzurePSCmdlet /// public override void ExecuteCmdlet() { - Client = Client ?? new ServiceBusClientExtensions(CurrentContext.Subscription); + Client = Client ?? new ServiceBusClientExtensions(Profile, Profile.Context.Subscription); if (string.IsNullOrEmpty(Name)) { diff --git a/src/ServiceManagement/Services/Commands/ServiceBus/NewAzureSBAuthorizationRule.cs b/src/ServiceManagement/Services/Commands/ServiceBus/NewAzureSBAuthorizationRule.cs index 261ccab7e55d..32f2a72236d9 100644 --- a/src/ServiceManagement/Services/Commands/ServiceBus/NewAzureSBAuthorizationRule.cs +++ b/src/ServiceManagement/Services/Commands/ServiceBus/NewAzureSBAuthorizationRule.cs @@ -62,7 +62,7 @@ public class NewAzureSBAuthorizationRuleCommand : AzurePSCmdlet public override void ExecuteCmdlet() { - Client = Client ?? new ServiceBusClientExtensions(CurrentContext.Subscription); + Client = Client ?? new ServiceBusClientExtensions(Profile, Profile.Context.Subscription); ExtendedAuthorizationRule rule = null; PSObject output = null; diff --git a/src/ServiceManagement/Services/Commands/ServiceBus/NewAzureSBNamespace.cs b/src/ServiceManagement/Services/Commands/ServiceBus/NewAzureSBNamespace.cs index c5bbe1e1acc3..cc063f0d1249 100644 --- a/src/ServiceManagement/Services/Commands/ServiceBus/NewAzureSBNamespace.cs +++ b/src/ServiceManagement/Services/Commands/ServiceBus/NewAzureSBNamespace.cs @@ -45,7 +45,7 @@ public class NewAzureSBNamespaceCommand : AzurePSCmdlet /// public override void ExecuteCmdlet() { - Client = Client ?? new ServiceBusClientExtensions(CurrentContext.Subscription); + Client = Client ?? new ServiceBusClientExtensions(Profile, Profile.Context.Subscription); if (CreateACSNamespace.HasValue) { WriteObject(Client.CreateNamespace(Name, Location, NamespaceType, CreateACSNamespace.Value)); diff --git a/src/ServiceManagement/Services/Commands/ServiceBus/RemoveAzureSBAuthorizationRule.cs b/src/ServiceManagement/Services/Commands/ServiceBus/RemoveAzureSBAuthorizationRule.cs index 30d6a024011a..d31a46815a09 100644 --- a/src/ServiceManagement/Services/Commands/ServiceBus/RemoveAzureSBAuthorizationRule.cs +++ b/src/ServiceManagement/Services/Commands/ServiceBus/RemoveAzureSBAuthorizationRule.cs @@ -56,7 +56,7 @@ public class RemoveAzureSBAuthorizationRuleCommand : AzurePSCmdlet public override void ExecuteCmdlet() { - Client = Client ?? new ServiceBusClientExtensions(CurrentContext.Subscription); + Client = Client ?? new ServiceBusClientExtensions(Profile, Profile.Context.Subscription); AuthorizationRuleFilterOption options = new AuthorizationRuleFilterOption() { Namespace = Namespace, diff --git a/src/ServiceManagement/Services/Commands/ServiceBus/RemoveAzureSBNamespace.cs b/src/ServiceManagement/Services/Commands/ServiceBus/RemoveAzureSBNamespace.cs index 8611fe921e07..ebcf49798aea 100644 --- a/src/ServiceManagement/Services/Commands/ServiceBus/RemoveAzureSBNamespace.cs +++ b/src/ServiceManagement/Services/Commands/ServiceBus/RemoveAzureSBNamespace.cs @@ -48,7 +48,7 @@ public override void ExecuteCmdlet() Name, () => { - Client = Client ?? new ServiceBusClientExtensions(CurrentContext.Subscription); + Client = Client ?? new ServiceBusClientExtensions(Profile, Profile.Context.Subscription); Client.RemoveNamespace(Name); if (PassThru) diff --git a/src/ServiceManagement/Services/Commands/ServiceBus/SetAzureSBAuthorizationRule.cs b/src/ServiceManagement/Services/Commands/ServiceBus/SetAzureSBAuthorizationRule.cs index 7dea9d882656..c18a24120d69 100644 --- a/src/ServiceManagement/Services/Commands/ServiceBus/SetAzureSBAuthorizationRule.cs +++ b/src/ServiceManagement/Services/Commands/ServiceBus/SetAzureSBAuthorizationRule.cs @@ -66,7 +66,7 @@ public class SetAzureSBAuthorizationRuleCommand : AzurePSCmdlet public override void ExecuteCmdlet() { - Client = Client ?? new ServiceBusClientExtensions(CurrentContext.Subscription); + Client = Client ?? new ServiceBusClientExtensions(Profile, Profile.Context.Subscription); ExtendedAuthorizationRule rule = null; PSObject output = null; diff --git a/src/ServiceManagement/Services/Commands/Store/GetAzureStoreAddOn.cs b/src/ServiceManagement/Services/Commands/Store/GetAzureStoreAddOn.cs index 1aa91436bf9f..fdbef16bed7a 100644 --- a/src/ServiceManagement/Services/Commands/Store/GetAzureStoreAddOn.cs +++ b/src/ServiceManagement/Services/Commands/Store/GetAzureStoreAddOn.cs @@ -64,14 +64,14 @@ public override void ExecuteCmdlet() private void GetAddOn() { - StoreClient = StoreClient ?? new StoreClient(CurrentContext.Subscription); + StoreClient = StoreClient ?? new StoreClient(Profile, Profile.Context.Subscription); List addOns = StoreClient.GetAddOn(new AddOnSearchOptions(Name, null, null)); WriteObject(addOns, true); } private void ListAvailableAddOns() { - StoreClient = StoreClient ?? new StoreClient(CurrentContext.Subscription); + StoreClient = StoreClient ?? new StoreClient(Profile, Profile.Context.Subscription); MarketplaceClient = MarketplaceClient ?? new MarketplaceClient(StoreClient.GetLocations().Select(l => l.Name)); diff --git a/src/ServiceManagement/Services/Commands/Store/NewAzureStoreAddOn.cs b/src/ServiceManagement/Services/Commands/Store/NewAzureStoreAddOn.cs index 648f0dec7030..8e6bed499717 100644 --- a/src/ServiceManagement/Services/Commands/Store/NewAzureStoreAddOn.cs +++ b/src/ServiceManagement/Services/Commands/Store/NewAzureStoreAddOn.cs @@ -49,7 +49,7 @@ public class NewAzureStoreAddOnCommand : ServiceManagementBaseCmdlet [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] public override void ExecuteCmdlet() { - StoreClient = StoreClient ?? new StoreClient(CurrentContext.Subscription); + StoreClient = StoreClient ?? new StoreClient(Profile, Profile.Context.Subscription); WindowsAzureAddOn addon; CustomConfirmation = CustomConfirmation ?? new PowerShellCustomConfirmation(Host); diff --git a/src/ServiceManagement/Services/Commands/Store/RemoveAzureStoreAddOn.cs b/src/ServiceManagement/Services/Commands/Store/RemoveAzureStoreAddOn.cs index 4934c86409f4..5e5d38a7c262 100644 --- a/src/ServiceManagement/Services/Commands/Store/RemoveAzureStoreAddOn.cs +++ b/src/ServiceManagement/Services/Commands/Store/RemoveAzureStoreAddOn.cs @@ -40,7 +40,7 @@ public class RemoveAzureStoreAddOnCommand : ServiceManagementBaseCmdlet [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] public override void ExecuteCmdlet() { - StoreClient = StoreClient ?? new StoreClient(CurrentContext.Subscription); + StoreClient = StoreClient ?? new StoreClient(Profile, Profile.Context.Subscription); CustomConfirmation = CustomConfirmation ?? new PowerShellCustomConfirmation(Host); string message = StoreClient.GetConfirmationMessage(OperationType.Remove); diff --git a/src/ServiceManagement/Services/Commands/Store/SetAzureStoreAddOn.cs b/src/ServiceManagement/Services/Commands/Store/SetAzureStoreAddOn.cs index 99649e45a533..6af0dc2dac6f 100644 --- a/src/ServiceManagement/Services/Commands/Store/SetAzureStoreAddOn.cs +++ b/src/ServiceManagement/Services/Commands/Store/SetAzureStoreAddOn.cs @@ -45,7 +45,7 @@ public class SetAzureStoreAddOnCommand : ServiceManagementBaseCmdlet [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] public override void ExecuteCmdlet() { - StoreClient = StoreClient ?? new StoreClient(CurrentContext.Subscription); + StoreClient = StoreClient ?? new StoreClient(Profile, Profile.Context.Subscription); CustomConfirmation = CustomConfirmation ?? new PowerShellCustomConfirmation(Host); WindowsAzureAddOn addon; diff --git a/src/ServiceManagement/Services/Commands/WAPackIaaS/IaaSCmdletBase.cs b/src/ServiceManagement/Services/Commands/WAPackIaaS/IaaSCmdletBase.cs index cb85e4269cdf..bcb549ec8033 100644 --- a/src/ServiceManagement/Services/Commands/WAPackIaaS/IaaSCmdletBase.cs +++ b/src/ServiceManagement/Services/Commands/WAPackIaaS/IaaSCmdletBase.cs @@ -65,9 +65,9 @@ internal Subscription Subscription { if (subscription == null) { - if (CurrentContext.Subscription != null) + if (Profile.Context.Subscription != null) { - subscription = new Subscription(CurrentContext.Subscription); + subscription = new Subscription(Profile.Context.Subscription); } } diff --git a/src/ServiceManagement/Services/Commands/Websites/EnableAzureWebsiteDiagnostic.cs b/src/ServiceManagement/Services/Commands/Websites/EnableAzureWebsiteDiagnostic.cs index 503cc72e53c5..79d491c40c1a 100644 --- a/src/ServiceManagement/Services/Commands/Websites/EnableAzureWebsiteDiagnostic.cs +++ b/src/ServiceManagement/Services/Commands/Websites/EnableAzureWebsiteDiagnostic.cs @@ -14,7 +14,7 @@ using System.Collections.Generic; using System.Management.Automation; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Utilities.Websites; using Microsoft.WindowsAzure.Commands.Utilities.Websites.Common; using Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.DeploymentEntities; @@ -69,7 +69,7 @@ public override void ExecuteCmdlet() else if (TableStorage.IsPresent || BlobStorage.IsPresent) { properties[DiagnosticProperties.StorageAccountName] = string.IsNullOrEmpty(StorageAccountName) ? - CurrentContext.Subscription.GetProperty(AzureSubscription.Property.StorageAccount) : StorageAccountName; + Profile.Context.Subscription.GetProperty(AzureSubscription.Property.StorageAccount) : StorageAccountName; if (TableStorage.IsPresent) { diff --git a/src/ServiceManagement/Services/Commands/Websites/GetAzureWebSite.cs b/src/ServiceManagement/Services/Commands/Websites/GetAzureWebSite.cs index d57bf9daf246..018f305f44f6 100644 --- a/src/ServiceManagement/Services/Commands/Websites/GetAzureWebSite.cs +++ b/src/ServiceManagement/Services/Commands/Websites/GetAzureWebSite.cs @@ -60,7 +60,7 @@ private void GetByName() if (string.IsNullOrEmpty(Slot)) { List websites = WebsitesClient.GetWebsiteSlots(Name); - Cache.SaveSites(CurrentContext.Subscription.Id.ToString(), new Sites(websites)); + Cache.SaveSites(Profile.Context.Subscription.Id.ToString(), new Sites(websites)); if (websites.Count > 1) { @@ -122,7 +122,7 @@ private void GetNoName() websites = WebsitesClient.ListWebsites(Slot); } - Cache.SaveSites(CurrentContext.Subscription.Id.ToString(), new Sites(websites)); + Cache.SaveSites(Profile.Context.Subscription.Id.ToString(), new Sites(websites)); WriteWebsites(websites); }); } diff --git a/src/ServiceManagement/Services/Commands/Websites/NewAzureWebSite.cs b/src/ServiceManagement/Services/Commands/Websites/NewAzureWebSite.cs index 60894f57babe..72d5a0f81b8c 100644 --- a/src/ServiceManagement/Services/Commands/Websites/NewAzureWebSite.cs +++ b/src/ServiceManagement/Services/Commands/Websites/NewAzureWebSite.cs @@ -32,7 +32,7 @@ namespace Microsoft.WindowsAzure.Commands.Websites { using GitClass = Utilities.Websites.Services.Git; - using Microsoft.Azure.Common.Extensions; + using Microsoft.Azure.Common.Authentication; using Hyak.Common; /// @@ -323,7 +323,7 @@ private Site CreateNewSite(string suffix) { // Create webspace with VirtualPlan failed, try with subscription id // This supports Windows Azure Pack - webspace.Plan = CurrentContext.Subscription.Id.ToString(); + webspace.Plan = Profile.Context.Subscription.Id.ToString(); result = CreateSite(webspace, website); } return result; @@ -369,7 +369,7 @@ private WebSpace WebSpaceForLocation(string location) { Name = Regex.Replace(location.ToLower(), " ", "") + "webspace", GeoRegion = location, - Subscription = CurrentContext.Subscription.Id.ToString(), + Subscription = Profile.Context.Subscription.Id.ToString(), Plan = "VirtualDedicatedPlan" }; } @@ -394,7 +394,7 @@ private Site CreateSite(WebSpace webspace, SiteWithWebSpace website) createdWebsite = WebsitesClient.GetWebsite(website.Name); - Cache.AddSite(CurrentContext.Subscription.Id.ToString(), createdWebsite); + Cache.AddSite(Profile.Context.Subscription.Id.ToString(), createdWebsite); SiteConfig websiteConfiguration = WebsitesClient.GetWebsiteConfiguration(createdWebsite.Name, Slot); WriteObject(new SiteWithConfig(createdWebsite, websiteConfiguration)); } diff --git a/src/ServiceManagement/Services/Commands/Websites/RemoveAzureWebSite.cs b/src/ServiceManagement/Services/Commands/Websites/RemoveAzureWebSite.cs index 626e2cb2dcfe..482fbb18ba15 100644 --- a/src/ServiceManagement/Services/Commands/Websites/RemoveAzureWebSite.cs +++ b/src/ServiceManagement/Services/Commands/Websites/RemoveAzureWebSite.cs @@ -48,7 +48,7 @@ public override void ExecuteCmdlet() { Site websiteObject = WebsitesClient.GetWebsite(Name, Slot); WebsitesClient.DeleteWebsite(websiteObject.WebSpace, Name, Slot); - Cache.RemoveSite(CurrentContext.Subscription.Id.ToString(), websiteObject); + Cache.RemoveSite(Profile.Context.Subscription.Id.ToString(), websiteObject); } catch (CloudException) { diff --git a/src/ServiceManagement/Services/Commands/Websites/ShowAzurePortal.cs b/src/ServiceManagement/Services/Commands/Websites/ShowAzurePortal.cs index 38c49306e520..28348ec23121 100644 --- a/src/ServiceManagement/Services/Commands/Websites/ShowAzurePortal.cs +++ b/src/ServiceManagement/Services/Commands/Websites/ShowAzurePortal.cs @@ -14,10 +14,10 @@ using System.Management.Automation; using System.Security.Permissions; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Commands.Utilities.Properties; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Websites { @@ -57,11 +57,11 @@ public override void ExecuteCmdlet() AzureEnvironment environment; if (string.IsNullOrEmpty(Environment)) { - environment = AzureSession.CurrentContext.Environment; + environment = Profile.Context.Environment; } else { - environment = DefaultProfileClient.Profile.Environments[Environment]; + environment = Profile.Environments[Environment]; } string managementPortalUrl = environment.GetManagementPortalUrlWithRealm(Realm); diff --git a/src/ServiceManagement/Services/Commands/packages.config b/src/ServiceManagement/Services/Commands/packages.config index 1b775e508671..966afd7f80ce 100644 --- a/src/ServiceManagement/Services/Commands/packages.config +++ b/src/ServiceManagement/Services/Commands/packages.config @@ -1,9 +1,9 @@  - - + + + - @@ -11,13 +11,13 @@ - + - - + + - + diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Commands.SqlDatabase.Test.csproj b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Commands.SqlDatabase.Test.csproj index 3face97e95be..e20bbc5aa01a 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Commands.SqlDatabase.Test.csproj +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Commands.SqlDatabase.Test.csproj @@ -49,17 +49,17 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll @@ -73,12 +73,12 @@ ..\..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -93,8 +93,9 @@ ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll ..\..\..\packages\Microsoft.WindowsAzure.Management.Sql.5.0.0\lib\net40\Microsoft.WindowsAzure.Management.Sql.dll @@ -142,6 +143,7 @@ + diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/FunctionalTests/OutputFormatValidator.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/FunctionalTests/OutputFormatValidator.cs index f95acb7f8976..5aaa9d924df7 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/FunctionalTests/OutputFormatValidator.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/FunctionalTests/OutputFormatValidator.cs @@ -16,7 +16,7 @@ using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Test.FunctionalTests { diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Resources/MockSessions.xml b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Resources/MockSessions.xml index 75467faba0c2..84db21a78fab 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Resources/MockSessions.xml +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Resources/MockSessions.xml @@ -424,7 +424,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -507,7 +507,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(1)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -590,7 +590,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -673,7 +673,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -756,7 +756,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -839,7 +839,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -922,7 +922,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -1005,7 +1005,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -1088,7 +1088,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -1171,7 +1171,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb3'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -1254,7 +1254,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -1342,7 +1342,7 @@ http://localhost:12345/v1/ManagementService.svc/GetAccessToken GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
sqlauthorization @@ -1401,7 +1401,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Servers()?$top=1 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -1484,7 +1484,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/$metadata GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
AccessToken @@ -1560,7 +1560,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases POST - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -1691,7 +1691,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -1774,7 +1774,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -1857,7 +1857,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases POST - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -1988,7 +1988,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5) GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -2071,7 +2071,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -2154,7 +2154,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases POST - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -2285,7 +2285,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6) GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -2368,7 +2368,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -2456,7 +2456,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -2539,7 +2539,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -2622,7 +2622,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) MERGE - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -2746,7 +2746,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -2829,7 +2829,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -2912,7 +2912,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -2995,7 +2995,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -3078,7 +3078,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5) MERGE - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -3202,7 +3202,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -3285,7 +3285,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -3373,7 +3373,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -3456,7 +3456,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -3539,7 +3539,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) MERGE - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -3661,7 +3661,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'new_testdb1'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -3744,7 +3744,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -3827,7 +3827,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'new_testdb1'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -3910,7 +3910,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -3993,7 +3993,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) MERGE - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -4115,7 +4115,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -4198,7 +4198,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -4286,7 +4286,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -4369,7 +4369,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -4452,7 +4452,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) DELETE - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -4531,7 +4531,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -4614,7 +4614,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -4697,7 +4697,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5) DELETE - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -4776,7 +4776,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -4859,7 +4859,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(1)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -4947,7 +4947,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases POST - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -5077,7 +5077,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb3'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -5165,7 +5165,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -5248,7 +5248,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -5331,7 +5331,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')/DimensionSettings GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -5414,7 +5414,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'e210706e-cd95-4f72-b5e5-885f8a1406e8')/DimensionSettings GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -5497,7 +5497,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a7c4c615-cfb1-464b-b252-925be0a19446')/DimensionSettings GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -5580,7 +5580,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a45fea0c-e63c-4bf0-9f81-9964c86b7d2a')/DimensionSettings GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -5663,7 +5663,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')/DimensionSettings GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -5746,7 +5746,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives()?$filter=Name%20eq%20'P1'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -5829,7 +5829,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -5917,7 +5917,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives()?$filter=Name%20eq%20'P1'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -6000,7 +6000,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -6083,7 +6083,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases POST - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -6214,7 +6214,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6) GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -6297,7 +6297,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -6380,7 +6380,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'SetAzureSqlPremiumDatabaseTests_P1'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -6463,7 +6463,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -6546,7 +6546,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6) MERGE - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -6670,7 +6670,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'SetAzureSqlPremiumDatabaseTests_P1'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -6753,7 +6753,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -6836,7 +6836,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'SetAzureSqlPremiumDatabaseTests_P1'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -6919,7 +6919,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -7002,7 +7002,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6) DELETE - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -7086,7 +7086,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5) DELETE - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -7165,7 +7165,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -7248,7 +7248,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -7331,7 +7331,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) DELETE - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -7410,7 +7410,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -7493,7 +7493,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -7576,7 +7576,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5) DELETE - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -7655,7 +7655,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb3'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -7738,7 +7738,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -7821,7 +7821,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(6) DELETE - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -7905,7 +7905,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -7988,7 +7988,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(1)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -8071,7 +8071,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -8154,7 +8154,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -8237,7 +8237,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -8320,7 +8320,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -8403,7 +8403,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -8486,7 +8486,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -8569,7 +8569,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -8652,7 +8652,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -8735,7 +8735,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -8818,7 +8818,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -8906,7 +8906,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServerQuotas GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -8989,7 +8989,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServerQuotas('Premium_Databases') GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -9077,7 +9077,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/2.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -9085,11 +9085,15 @@
x-ms-client-session-id - c0f8aa73-8d4d-4e89-b965-76c086de4059-2014-09-08 18:28:02Z + 6ec11d34-5bb9-4643-808b-0d8fbc8bb949-2015-01-19 17:58:22Z
x-ms-client-request-id - d6cd9ade-423c-4041-9931-cdea5b20bad4-2014-09-08 18:28:02Z + 90c79cbc-9aed-4ece-88fa-b8da8af94e97-2015-01-19 17:58:22Z +
+
+ Authorization + Bearer abc
@@ -9098,23 +9102,19 @@ <AdministratorLoginPassword>Pa$$w0rd!</AdministratorLoginPassword> <Location>East Asia</Location> </Server> - application/xml; charset=utf-8 + application/xml
Created -
- x-ms-request-id - 0d0606fa-dd66-4ed5-acdd-4b261b1e7e9e -
Content-Type application/xml; charset=utf-8
Date - Mon, 08 Sep 2014 18:28:45 GMT + Mon, 19 Jan 2015 17:59:43 GMT
Server @@ -9122,15 +9122,15 @@
- <ServerName FullyQualifiedDomainName="y2nzad0rse.database.windows.net" xmlns="http://schemas.microsoft.com/sqlazure/2010/12/">y2nzad0rse</ServerName> + <ServerName xmlns="http://schemas.microsoft.com/sqlazure/2010/12/">bad9a02dab</ServerName>
1 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/2.0.0.0 AzurePowershell/v0.8.8 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -9138,36 +9138,32 @@
x-ms-client-session-id - c0f8aa73-8d4d-4e89-b965-76c086de4059-2014-09-08 18:28:02Z + 6ec11d34-5bb9-4643-808b-0d8fbc8bb949-2015-01-19 17:58:22Z
x-ms-client-request-id - cd50a7a6-9194-4d5f-80d0-4a9924f962f5-2014-09-08 18:28:46Z + 90c79cbc-9aed-4ece-88fa-b8da8af94e97-2015-01-19 17:58:22Z +
+
+ Authorization + Bearer abc
- <Server xmlns="http://schemas.microsoft.com/sqlazure/2010/12/"> - <AdministratorLogin>mylogin</AdministratorLogin> - <AdministratorLoginPassword>Pa$$w0rd</AdministratorLoginPassword> - <Location>East Asia</Location> -</Server> - application/xml; charset=utf-8 + +
- Created + OK -
- x-ms-request-id - 675c1ce8-4714-4de6-bb20-73b3f85c0a65 -
Content-Type application/xml; charset=utf-8
Date - Mon, 08 Sep 2014 18:29:57 GMT + Mon, 19 Jan 2015 17:59:43 GMT
Server @@ -9175,15 +9171,24 @@
- <ServerName FullyQualifiedDomainName="zd1yhph61u.database.windows.net" xmlns="http://schemas.microsoft.com/sqlazure/2010/12/">zd1yhph61u</ServerName> + <Servers xmlns="http://schemas.microsoft.com/sqlazure/2010/12/"> + <Server> + <Name>bad9a02dab</Name> + <AdministratorLogin>mylogin</AdministratorLogin> + <Location>East Asia</Location> + <FullyQualifiedDomainName>bad9a02dab.database.windows.net</FullyQualifiedDomainName> + <Version>12.0</Version> + <State>Ready</State> + </Server> +</Servers>
2 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/2.0.0.0 AzurePowershell/v0.8.8 + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -9191,32 +9196,36 @@
x-ms-client-session-id - c0f8aa73-8d4d-4e89-b965-76c086de4059-2014-09-08 18:28:02Z + 6ec11d34-5bb9-4643-808b-0d8fbc8bb949-2015-01-19 17:58:22Z
x-ms-client-request-id - 8b26d502-96a5-46c6-8527-9ff6aa5c68f8-2014-09-08 18:29:57Z + ddbc288c-ae52-4a4e-9aad-124ae81482b2-2015-01-19 17:59:55Z +
+
+ Authorization + Bearer abc
- - + <Server xmlns="http://schemas.microsoft.com/sqlazure/2010/12/"> + <AdministratorLogin>mylogin</AdministratorLogin> + <AdministratorLoginPassword>Pa$$w0rd</AdministratorLoginPassword> + <Location>East Asia</Location> +</Server> + application/xml
- OK + Created -
- x-ms-request-id - 5b134439-eb63-43d6-bcf8-e34d4e99d33c -
Content-Type application/xml; charset=utf-8
Date - Mon, 08 Sep 2014 18:29:57 GMT + Mon, 19 Jan 2015 18:01:17 GMT
Server @@ -9224,33 +9233,15 @@
- <Servers xmlns="http://schemas.microsoft.com/sqlazure/2010/12/"> - - <Server> - <Name>y2nzad0rse</Name> - <AdministratorLogin>mylogin</AdministratorLogin> - <Location>East Asia</Location> - <FullyQualifiedDomainName>y2nzad0rse.database.windows.net</FullyQualifiedDomainName> - <Version>2.0</Version> - <State>Ready</State> - </Server> - <Server> - <Name>zd1yhph61u</Name> - <AdministratorLogin>mylogin</AdministratorLogin> - <Location>East Asia</Location> - <FullyQualifiedDomainName>zd1yhph61u.database.windows.net</FullyQualifiedDomainName> - <Version>2.0</Version> - <State>Ready</State> - </Server> -</Servers> + <ServerName xmlns="http://schemas.microsoft.com/sqlazure/2010/12/">64c9ec69ea</ServerName>
3 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/y2nzad0rse?op=ResetPassword - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/2.0.0.0 AzurePowershell/v0.8.8 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -9258,36 +9249,32 @@
x-ms-client-session-id - c0f8aa73-8d4d-4e89-b965-76c086de4059-2014-09-08 18:28:02Z + 6ec11d34-5bb9-4643-808b-0d8fbc8bb949-2015-01-19 17:58:22Z
x-ms-client-request-id - 08bf5358-6ce4-48e6-8b06-857157744bef-2014-09-08 18:29:57Z + ddbc288c-ae52-4a4e-9aad-124ae81482b2-2015-01-19 17:59:55Z +
+
+ Authorization + Bearer abc
- <AdministratorLoginPassword xmlns="http://schemas.microsoft.com/sqlazure/2010/12/">Pa$$w0rd2</AdministratorLoginPassword> - application/xml; charset=utf-8 + +
OK
- x-ms-request-id - 3b524b54-6183-4272-ab93-f6b0b6cb9faa -
-
- X-Content-Type-Options - nosniff -
-
- Cache-Control - no-store,no-cache + Content-Type + application/xml; charset=utf-8
Date - Mon, 08 Sep 2014 18:30:00 GMT + Mon, 19 Jan 2015 18:01:17 GMT
Server @@ -9295,7 +9282,24 @@
- + <Servers xmlns="http://schemas.microsoft.com/sqlazure/2010/12/"> + <Server> + <Name>64c9ec69ea</Name> + <AdministratorLogin>mylogin</AdministratorLogin> + <Location>East Asia</Location> + <FullyQualifiedDomainName>64c9ec69ea.database.windows.net</FullyQualifiedDomainName> + <Version>12.0</Version> + <State>Ready</State> + </Server> + <Server> + <Name>bad9a02dab</Name> + <AdministratorLogin>mylogin</AdministratorLogin> + <Location>East Asia</Location> + <FullyQualifiedDomainName>bad9a02dab.database.windows.net</FullyQualifiedDomainName> + <Version>12.0</Version> + <State>Ready</State> + </Server> +</Servers>
@@ -9303,7 +9307,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/2.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -9311,11 +9315,15 @@
x-ms-client-session-id - c0f8aa73-8d4d-4e89-b965-76c086de4059-2014-09-08 18:28:02Z + 6ec11d34-5bb9-4643-808b-0d8fbc8bb949-2015-01-19 17:58:22Z
x-ms-client-request-id - ac0d4028-1cab-406f-8dd6-2a622b136238-2014-09-08 18:30:01Z + 855a0a13-545f-41c3-b434-d9b65c09017e-2015-01-19 18:01:25Z +
+
+ Authorization + Bearer abc
@@ -9326,17 +9334,13 @@ OK -
- x-ms-request-id - 82f873ba-f7f1-4c64-aa12-b8971612d80d -
Content-Type application/xml; charset=utf-8
Date - Mon, 08 Sep 2014 18:30:00 GMT + Mon, 19 Jan 2015 18:01:25 GMT
Server @@ -9345,21 +9349,20 @@ <Servers xmlns="http://schemas.microsoft.com/sqlazure/2010/12/"> - <Server> - <Name>y2nzad0rse</Name> + <Name>64c9ec69ea</Name> <AdministratorLogin>mylogin</AdministratorLogin> <Location>East Asia</Location> - <FullyQualifiedDomainName>y2nzad0rse.database.windows.net</FullyQualifiedDomainName> - <Version>2.0</Version> + <FullyQualifiedDomainName>64c9ec69ea.database.windows.net</FullyQualifiedDomainName> + <Version>12.0</Version> <State>Ready</State> </Server> <Server> - <Name>zd1yhph61u</Name> + <Name>bad9a02dab</Name> <AdministratorLogin>mylogin</AdministratorLogin> <Location>East Asia</Location> - <FullyQualifiedDomainName>zd1yhph61u.database.windows.net</FullyQualifiedDomainName> - <Version>2.0</Version> + <FullyQualifiedDomainName>bad9a02dab.database.windows.net</FullyQualifiedDomainName> + <Version>12.0</Version> <State>Ready</State> </Server> </Servers> @@ -9368,9 +9371,9 @@ 5 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/zd1yhph61u?op=ResetPassword + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/bad9a02dab?op=ResetPassword POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/2.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -9378,16 +9381,20 @@
x-ms-client-session-id - c0f8aa73-8d4d-4e89-b965-76c086de4059-2014-09-08 18:28:02Z + 6ec11d34-5bb9-4643-808b-0d8fbc8bb949-2015-01-19 17:58:22Z
x-ms-client-request-id - a3154ad7-ad19-4fdb-8d7b-09b881bb5052-2014-09-08 18:30:01Z + 6ffd62e8-4fdc-4d6c-9f2a-48a89b03ca74-2015-01-19 18:01:28Z +
+
+ Authorization + Bearer abc
<AdministratorLoginPassword xmlns="http://schemas.microsoft.com/sqlazure/2010/12/">Pa$$w0rd2</AdministratorLoginPassword> - application/xml; charset=utf-8 + application/xml
@@ -9395,19 +9402,23 @@
x-ms-request-id - e0318802-2d82-41f6-acde-fa07d382d8f2 + 002b46bb-de7b-42ab-aa4c-9e2f8475dd4b
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
Date - Mon, 08 Sep 2014 18:30:00 GMT + Mon, 19 Jan 2015 18:01:30 GMT
Server @@ -9423,7 +9434,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/2.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -9431,11 +9442,15 @@
x-ms-client-session-id - c0f8aa73-8d4d-4e89-b965-76c086de4059-2014-09-08 18:28:02Z + 6ec11d34-5bb9-4643-808b-0d8fbc8bb949-2015-01-19 17:58:22Z
x-ms-client-request-id - 85714a9e-dd1f-4918-8c00-df04766e55f7-2014-09-08 18:30:01Z + df5fe2e6-ef5b-4e01-a5bf-83b58a16eb04-2015-01-19 18:01:31Z +
+
+ Authorization + Bearer abc
@@ -9446,17 +9461,13 @@ OK -
- x-ms-request-id - ff914e03-79e4-4394-950f-72fa4ffa86ef -
Content-Type application/xml; charset=utf-8
Date - Mon, 08 Sep 2014 18:30:01 GMT + Mon, 19 Jan 2015 18:01:30 GMT
Server @@ -9465,21 +9476,19 @@ <Servers xmlns="http://schemas.microsoft.com/sqlazure/2010/12/"> - <Server> - <Name>y2nzad0rse</Name> + <Name>64c9ec69ea</Name> <AdministratorLogin>mylogin</AdministratorLogin> <Location>East Asia</Location> - <FullyQualifiedDomainName>y2nzad0rse.database.windows.net</FullyQualifiedDomainName> - <Version>2.0</Version> - <State>Ready</State> - </Server> + <FullyQualifiedDomainName>64c9ec69ea.database.windows.net</FullyQualifiedDomainName> + <Version>12.0</Version> + <State>Ready</State> </Server> <Server> - <Name>zd1yhph61u</Name> + <Name>bad9a02dab</Name> <AdministratorLogin>mylogin</AdministratorLogin> <Location>East Asia</Location> - <FullyQualifiedDomainName>zd1yhph61u.database.windows.net</FullyQualifiedDomainName> - <Version>2.0</Version> + <FullyQualifiedDomainName>bad9a02dab.database.windows.net</FullyQualifiedDomainName> + <Version>12.0</Version> <State>Ready</State> </Server> </Servers> @@ -9488,9 +9497,9 @@ 7 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/y2nzad0rse - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/2.0.0.0 AzurePowershell/v0.8.8 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/64c9ec69ea?op=ResetPassword + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -9498,16 +9507,20 @@
x-ms-client-session-id - c0f8aa73-8d4d-4e89-b965-76c086de4059-2014-09-08 18:28:02Z + 6ec11d34-5bb9-4643-808b-0d8fbc8bb949-2015-01-19 17:58:22Z
x-ms-client-request-id - 3e41040f-82bd-4202-b63a-f5e4e0ddeec3-2014-09-08 18:30:01Z + 4901ba11-2e3d-48ef-93d9-ee199046e72e-2015-01-19 18:01:31Z +
+
+ Authorization + Bearer abc
- - + <AdministratorLoginPassword xmlns="http://schemas.microsoft.com/sqlazure/2010/12/">Pa$$w0rd2</AdministratorLoginPassword> + application/xml
@@ -9515,11 +9528,23 @@
x-ms-request-id - 4ee18dbe-b61a-44ea-ab5c-2a49425a829e + 9e018f9f-e144-409c-a738-c31c1a2164c8 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache
Date - Mon, 08 Sep 2014 18:30:01 GMT + Mon, 19 Jan 2015 18:01:33 GMT
Server @@ -9535,7 +9560,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/2.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -9543,11 +9568,15 @@
x-ms-client-session-id - c0f8aa73-8d4d-4e89-b965-76c086de4059-2014-09-08 18:28:02Z + 6ec11d34-5bb9-4643-808b-0d8fbc8bb949-2015-01-19 17:58:22Z
x-ms-client-request-id - 52ae2e86-5d2f-4061-aa45-d5a7e0a3dedc-2014-09-08 18:30:02Z + 6c0fb31d-d9be-4a7d-97b6-71e15fe7fc65-2015-01-19 18:01:33Z +
+
+ Authorization + Bearer abc
@@ -9558,17 +9587,13 @@ OK -
- x-ms-request-id - 979289ea-09bf-43c8-8165-4b4c24340e2f -
Content-Type application/xml; charset=utf-8
Date - Mon, 08 Sep 2014 18:30:02 GMT + Mon, 19 Jan 2015 18:01:33 GMT
Server @@ -9577,13 +9602,19 @@ <Servers xmlns="http://schemas.microsoft.com/sqlazure/2010/12/"> - <Server> - <Name>zd1yhph61u</Name> + <Name>64c9ec69ea</Name> <AdministratorLogin>mylogin</AdministratorLogin> <Location>East Asia</Location> - <FullyQualifiedDomainName>zd1yhph61u.database.windows.net</FullyQualifiedDomainName> - <Version>2.0</Version> + <FullyQualifiedDomainName>64c9ec69ea.database.windows.net</FullyQualifiedDomainName> + <Version>12.0</Version> + <State>Ready</State> </Server> + <Server> + <Name>bad9a02dab</Name> + <AdministratorLogin>mylogin</AdministratorLogin> + <Location>East Asia</Location> + <FullyQualifiedDomainName>bad9a02dab.database.windows.net</FullyQualifiedDomainName> + <Version>12.0</Version> <State>Ready</State> </Server> </Servers> @@ -9592,9 +9623,9 @@ 9 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/zd1yhph61u + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/bad9a02dab DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/2.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -9602,11 +9633,15 @@
x-ms-client-session-id - c0f8aa73-8d4d-4e89-b965-76c086de4059-2014-09-08 18:28:02Z + 6ec11d34-5bb9-4643-808b-0d8fbc8bb949-2015-01-19 17:58:22Z
x-ms-client-request-id - 37df4c06-72d7-44c7-8743-e54e60f13976-2014-09-08 18:30:02Z + ca00d089-63e4-4778-a2df-9c303e1ee87e-2015-01-19 18:01:33Z +
+
+ Authorization + Bearer abc
@@ -9617,13 +9652,9 @@ OK -
- x-ms-request-id - 814b376d-7a7e-4473-a0e5-bd5f6511ac58 -
Date - Mon, 08 Sep 2014 18:30:02 GMT + Mon, 19 Jan 2015 18:01:51 GMT
Server @@ -9639,7 +9670,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/2.0.0.0 AzurePowershell/v0.8.8 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -9647,11 +9678,15 @@
x-ms-client-session-id - c0f8aa73-8d4d-4e89-b965-76c086de4059-2014-09-08 18:28:02Z + 6ec11d34-5bb9-4643-808b-0d8fbc8bb949-2015-01-19 17:58:22Z
x-ms-client-request-id - a73eb2b2-ec85-453e-a804-5f09d8da8b03-2014-09-08 18:30:03Z + 0b2bd0e6-d9d8-4cf7-afc6-d0a483e5146c-2015-01-19 18:01:51Z +
+
+ Authorization + Bearer abc
@@ -9662,17 +9697,13 @@ OK -
- x-ms-request-id - 181d132e-aa23-4a7f-b7db-7a7bcfd6ccca -
Content-Type application/xml; charset=utf-8
Date - Mon, 08 Sep 2014 18:30:02 GMT + Mon, 19 Jan 2015 18:01:51 GMT
Server @@ -9681,20 +9712,23 @@ <Servers xmlns="http://schemas.microsoft.com/sqlazure/2010/12/"> + <Server> + <Name>64c9ec69ea</Name> + <AdministratorLogin>mylogin</AdministratorLogin> + <Location>East Asia</Location> + <FullyQualifiedDomainName>64c9ec69ea.database.windows.net</FullyQualifiedDomainName> + <Version>12.0</Version> + <State>Ready</State> + </Server> </Servers> - - - - UnitTest.AzureSqlDatabaseServerFirewallTests - - 0 + 11 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/firewallrules - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/64c9ec69ea + DELETE + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -9702,46 +9736,28 @@
x-ms-client-session-id - f79d51c9-337e-457e-b5ac-f1f427231277-2014-07-01 20:54:29Z + 6ec11d34-5bb9-4643-808b-0d8fbc8bb949-2015-01-19 17:58:22Z
x-ms-client-request-id - f82b3d86-efa5-430d-9c37-6fdbc508df54-2014-07-01 20:54:29Z + f9ee84a7-8054-4faa-996c-fc125e1b69b5-2015-01-19 18:01:51Z +
+
+ Authorization + Bearer abc
- - <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>Rule1</Name> - <StartIPAddress>0.0.0.0</StartIPAddress> - <EndIPAddress>1.1.1.1</EndIPAddress> - </ServiceResource> - - application/xml + +
- Created + OK -
- x-ms-request-id - 6934644d-d956-4202-9db7-e32fbd67fbb9 -
-
- X-Content-Type-Options - nosniff -
-
- Cache-Control - no-store,no-cache -
-
- Content-Type - application/xml; charset=utf-8 -
Date - Tue, 01 Jul 2014 20:54:30 GMT + Mon, 19 Jan 2015 18:02:08 GMT
Server @@ -9749,15 +9765,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Rule1</Name><Type>Microsoft.SqlAzure.FirewallRule</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/firewallrules/Rule1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><StartIPAddress>0.0.0.0</StartIPAddress><EndIPAddress>1.1.1.1</EndIPAddress></ServiceResource> +
- 1 + 12 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/firewallrules - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -9765,46 +9781,32 @@
x-ms-client-session-id - f79d51c9-337e-457e-b5ac-f1f427231277-2014-07-01 20:54:29Z + 6ec11d34-5bb9-4643-808b-0d8fbc8bb949-2015-01-19 17:58:22Z
x-ms-client-request-id - 25d312ba-649b-4c81-9a9a-7a222d5c2225-2014-07-01 20:54:30Z + 0c1c7b44-7486-4be1-b116-c06fd72631d9-2015-01-19 18:02:08Z +
+
+ Authorization + Bearer abc
- - <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>Rule2</Name> - <StartIPAddress>1.1.1.1</StartIPAddress> - <EndIPAddress>2.2.2.2</EndIPAddress> - </ServiceResource> - - application/xml + +
- Created + OK -
- x-ms-request-id - a7844028-4bee-48ed-9ede-abfefdb52771 -
-
- X-Content-Type-Options - nosniff -
-
- Cache-Control - no-store,no-cache -
Content-Type application/xml; charset=utf-8
Date - Tue, 01 Jul 2014 20:54:30 GMT + Mon, 19 Jan 2015 18:02:08 GMT
Server @@ -9812,15 +9814,21 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Rule2</Name><Type>Microsoft.SqlAzure.FirewallRule</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/firewallrules/Rule2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><StartIPAddress>1.1.1.1</StartIPAddress><EndIPAddress>2.2.2.2</EndIPAddress></ServiceResource> + <Servers xmlns="http://schemas.microsoft.com/sqlazure/2010/12/"> +</Servers>
+
+
+ + UnitTest.AzureSqlDatabaseServerFirewallTests + - 2 + 0 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/firewallrules - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -9832,20 +9840,146 @@
x-ms-client-request-id - db9d31d7-1564-4c1e-a930-a917178c4fd2-2014-07-01 20:54:30Z + f82b3d86-efa5-430d-9c37-6fdbc508df54-2014-07-01 20:54:29Z
- - + + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <Name>Rule1</Name> + <StartIPAddress>0.0.0.0</StartIPAddress> + <EndIPAddress>1.1.1.1</EndIPAddress> + </ServiceResource> + + application/xml
- OK + Created
x-ms-request-id - 7cff0c8d-644e-4a90-b6ac-5d379c48a90e + 6934644d-d956-4202-9db7-e32fbd67fbb9 +
+
+ X-Content-Type-Options + nosniff +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 01 Jul 2014 20:54:30 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Rule1</Name><Type>Microsoft.SqlAzure.FirewallRule</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/firewallrules/Rule1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><StartIPAddress>0.0.0.0</StartIPAddress><EndIPAddress>1.1.1.1</EndIPAddress></ServiceResource> +
+
+ + 1 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/firewallrules + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + f79d51c9-337e-457e-b5ac-f1f427231277-2014-07-01 20:54:29Z +
+
+ x-ms-client-request-id + 25d312ba-649b-4c81-9a9a-7a222d5c2225-2014-07-01 20:54:30Z +
+
+ + + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <Name>Rule2</Name> + <StartIPAddress>1.1.1.1</StartIPAddress> + <EndIPAddress>2.2.2.2</EndIPAddress> + </ServiceResource> + + application/xml + +
+ + Created + +
+ x-ms-request-id + a7844028-4bee-48ed-9ede-abfefdb52771 +
+
+ X-Content-Type-Options + nosniff +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 01 Jul 2014 20:54:30 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Rule2</Name><Type>Microsoft.SqlAzure.FirewallRule</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/firewallrules/Rule2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><StartIPAddress>1.1.1.1</StartIPAddress><EndIPAddress>2.2.2.2</EndIPAddress></ServiceResource> +
+
+ + 2 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/firewallrules + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + f79d51c9-337e-457e-b5ac-f1f427231277-2014-07-01 20:54:29Z +
+
+ x-ms-client-request-id + db9d31d7-1564-4c1e-a930-a917178c4fd2-2014-07-01 20:54:30Z +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 7cff0c8d-644e-4a90-b6ac-5d379c48a90e
X-Content-Type-Options @@ -9877,7 +10011,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/firewallrules/Rule1 PUT - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -9940,7 +10074,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/firewallrules GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -9997,7 +10131,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/firewallrules/Rule1 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -10050,7 +10184,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/firewallrules/Rule2 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -10103,7 +10237,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/firewallrules GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -10165,7 +10299,7 @@ http://localhost:12345/v1/ManagementService.svc/GetAccessToken GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
sqlauthorization @@ -10224,7 +10358,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Servers()?$top=1 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -10307,7 +10441,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/$metadata GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
AccessToken @@ -10378,7 +10512,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/DacOperations/Export POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -10448,7 +10582,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/DacOperations/Status POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -10512,7 +10646,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/DacOperations/Import POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -10584,7 +10718,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/DacOperations/Status POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -10646,30 +10780,99 @@ - UnitTest.AzureSqlDatabaseCertTests + UnitTest.ImportExportAzureSqlDatabaseTestsv12 - 71 + 0 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/DacOperations/Export + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version 2012-03-01
+
+ + + <ExportInput xmlns="http://schemas.datacontract.org/2004/07/Microsoft.SqlServer.Management.Dac.ServiceTypes"> + <BlobCredentials p2:type="BlobStorageAccessKeyCredentials" xmlns:p2="http://www.w3.org/2001/XMLSchema-instance"> + <Uri>https://teststore001.blob.core.windows.net/testcontainer001/backup1</Uri> + <StorageAccessKey>MBa5B5VhKcnx/tJlPfIOB44BiAfTkFYBb1uyMVzNFJN2S7FW10dxcC0ScfoPQJKIIi3dFaeLTuc39vATKlDrLA==</StorageAccessKey> + </BlobCredentials> + <ConnectionInfo> + <DatabaseName>testdb1</DatabaseName> + <Password>Pa$$w0rd!</Password> + <ServerName>myserver01.database.windows.net</ServerName> + <UserName>mylogin</UserName> + </ConnectionInfo> + </ExportInput> + + application/xml + +
+ + OK +
- x-ms-client-session-id - 27627108-5056-4884-85e4-5f7f5bb95d93-2014-07-01 18:22:32Z + x-ms-servedbyregion + ussouth
- x-ms-client-request-id - 7508a03a-c8b4-4850-81eb-cc3553897b47-2014-07-01 18:23:28Z + X-Content-Type-Options + nosniff +
+
+ x-ms-request-id + 53d57f9d1f7e10d990c974636e9b4403 +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 14 Oct 2013 20:00:26 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ X-Powered-By + ASP.NET
- + <guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">a0db20f9-9402-4866-bc97-6089b47218ac</guid> +
+
+ + 1 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/DacOperations/Status + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ + + <StatusInput xmlns="http://schemas.datacontract.org/2004/07/Microsoft.SqlServer.Management.Dac.ServiceTypes"> + <Password>Pa$$w0rd!</Password> + <RequestId>a0db20f9-9402-4866-bc97-6089b47218ac</RequestId> + <ServerName>myserver01.database.windows.net</ServerName> + <UserName>mylogin</UserName> + </StatusInput> +
@@ -10677,52 +10880,135 @@ OK
- x-ms-request-id - 76a05e0e-2a4a-44c8-8a19-f288082f30d3 + x-ms-servedbyregion + ussouth
X-Content-Type-Options nosniff
+
+ x-ms-request-id + 5b82c182db8a1e43839e7eba409747dd +
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Tue, 01 Jul 2014 18:23:29 GMT + Mon, 14 Oct 2013 20:00:28 GMT
Server 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
+
+ X-Powered-By + ASP.NET +
- + <ArrayOfStatusInfo xmlns="http://schemas.datacontract.org/2004/07/Microsoft.SqlServer.Management.Dac.ServiceTypes" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><StatusInfo><BlobUri>https://teststore001.blob.core.windows.net/testcontainer001/backup1</BlobUri><DatabaseName>testdb1</DatabaseName><ErrorMessage i:nil="true"/><LastModifiedTime>2013-10-14T20:00:26.975667Z</LastModifiedTime><QueuedTime>2013-10-14T20:00:26.975667Z</QueuedTime><RequestId>a0db20f9-9402-4866-bc97-6089b47218ac</RequestId><RequestType>Export</RequestType><ServerName>myserver01.database.windows.net</ServerName><Status>Pending</Status></StatusInfo></ArrayOfStatusInfo>
- 72 + 2 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases?contentview=generic - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/DacOperations/Import + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version 2012-03-01
+
+ + + <ImportInput xmlns="http://schemas.datacontract.org/2004/07/Microsoft.SqlServer.Management.Dac.ServiceTypes"> + <AzureEdition>Business</AzureEdition> + <BlobCredentials p2:type="BlobStorageAccessKeyCredentials" xmlns:p2="http://www.w3.org/2001/XMLSchema-instance"> + <Uri>https://teststore001.blob.core.windows.net/testcontainer001/backup1</Uri> + <StorageAccessKey>MBa5B5VhKcnx/tJlPfIOB44BiAfTkFYBb1uyMVzNFJN2S7FW10dxcC0ScfoPQJKIIi3dFaeLTuc39vATKlDrLA==</StorageAccessKey> + </BlobCredentials> + <ConnectionInfo> + <DatabaseName>testdb2</DatabaseName> + <Password>Pa$$w0rd!</Password> + <ServerName>myserver01.database.windows.net</ServerName> + <UserName>mylogin</UserName> + </ConnectionInfo> + <DatabaseSizeInGB>10</DatabaseSizeInGB> + </ImportInput> + + application/xml + +
+ + OK +
- x-ms-client-session-id - 27627108-5056-4884-85e4-5f7f5bb95d93-2014-07-01 18:22:32Z + x-ms-servedbyregion + ussouth
- x-ms-client-request-id - 59ff0d89-741e-4941-a29a-461ca8c25612-2014-07-01 18:23:30Z + X-Content-Type-Options + nosniff +
+
+ x-ms-request-id + 66df8e085fe4107781bee75569a6beaf +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 14 Oct 2013 20:00:54 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ X-Powered-By + ASP.NET
- + <guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">ed1806ab-d5e8-44e9-a464-16ca73936dc7</guid> +
+
+ + 3 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/DacOperations/Status + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ + + <StatusInput xmlns="http://schemas.datacontract.org/2004/07/Microsoft.SqlServer.Management.Dac.ServiceTypes"> + <Password>Pa$$w0rd!</Password> + <RequestId>ed1806ab-d5e8-44e9-a464-16ca73936dc7</RequestId> + <ServerName>myserver01.database.windows.net</ServerName> + <UserName>mylogin</UserName> + </StatusInput> +
@@ -10730,13 +11016,17 @@ OK
- x-ms-request-id - d90be8f8-cd0b-4ef5-974d-4f7cde16a88a + x-ms-servedbyregion + ussouth
X-Content-Type-Options nosniff
+
+ x-ms-request-id + cab0140b2e6e163eac6aac5e2feb89b3 +
Cache-Control no-store,no-cache @@ -10747,23 +11037,32 @@
Date - Tue, 01 Jul 2014 18:23:31 GMT + Mon, 14 Oct 2013 20:01:04 GMT
Server 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
+
+ X-Powered-By + ASP.NET +
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/master</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-01T17:51:19.7300000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</ServiceObjectiveId><AssignedServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-01T17:51:21.6470000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource></ServiceResources> + <ArrayOfStatusInfo xmlns="http://schemas.datacontract.org/2004/07/Microsoft.SqlServer.Management.Dac.ServiceTypes" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><StatusInfo><BlobUri>https://teststore001.blob.core.windows.net/testcontainer001/backup1</BlobUri><DatabaseName>testdb2</DatabaseName><ErrorMessage i:nil="true"/><LastModifiedTime>2013-10-14T20:00:57.5641172Z</LastModifiedTime><QueuedTime>2013-10-14T20:00:49.1482703Z</QueuedTime><RequestId>ed1806ab-d5e8-44e9-a464-16ca73936dc7</RequestId><RequestType>Import</RequestType><ServerName>myserver01.database.windows.net</ServerName><Status>Completed</Status></StatusInfo></ArrayOfStatusInfo>
+
+
+ + UnitTest.AzureSqlDatabaseCertTests + - 73 + 10 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -10771,11 +11070,11 @@
x-ms-client-session-id - 27627108-5056-4884-85e4-5f7f5bb95d93-2014-07-01 18:22:32Z + 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z
x-ms-client-request-id - 4feac030-458f-4796-93d5-dbf74dbb7bd1-2014-07-01 18:23:31Z + 89686d32-f7b6-41c2-adb6-91cd9e5cd75e-2014-07-24 18:33:48Z
@@ -10788,7 +11087,7 @@
x-ms-request-id - 9ae5179a-8ceb-4992-bb57-fef375f0ebb2 + eec540f1-0e27-4e3b-ac5c-2cc511fd30a0
X-Content-Type-Options @@ -10804,7 +11103,7 @@
Date - Tue, 01 Jul 2014 18:23:31 GMT + Thu, 24 Jul 2014 18:33:48 GMT
Server @@ -10812,15 +11111,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description>Used for master database only.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource>
- 74 + 0 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -10828,20 +11127,22 @@
x-ms-client-session-id - 27627108-5056-4884-85e4-5f7f5bb95d93-2014-07-01 18:22:32Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 1f0525ad-4b91-48e7-aa4f-965b396d2792-2014-07-01 18:23:32Z + 3659e2cc-3744-410e-9a43-effc07f967cb-2015-01-19 22:35:45Z +
+
+ Authorization + Bearer abc
- - <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdbcertGetOperationDbName_f1abaa48-a85a-4141-9a40-6acb3ea65771</Name> - <CollationName></CollationName> - </ServiceResource> - + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <Name>testdbcert1</Name> + <CollationName></CollationName> +</ServiceResource> application/xml
@@ -10850,12 +11151,16 @@
x-ms-request-id - 2124fd28-a431-40a7-b042-c3a712a32062 + a9a12617-5d1f-4ecb-ab7c-533436f5955d
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -10866,7 +11171,7 @@
Date - Tue, 01 Jul 2014 18:23:33 GMT + Mon, 19 Jan 2015 22:35:52 GMT
Server @@ -10874,15 +11179,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_f1abaa48-a85a-4141-9a40-6acb3ea65771</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_f1abaa48-a85a-4141-9a40-6acb3ea65771</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-01T18:23:32.6770000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-01T18:23:33.4870000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-01T18:24:32.5630000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 75 + 1 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -10890,11 +11195,15 @@
x-ms-client-session-id - 27627108-5056-4884-85e4-5f7f5bb95d93-2014-07-01 18:22:32Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 38977305-3d02-440a-bd43-9d61f985bcd2-2014-07-01 18:23:33Z + a48e8666-c768-4a53-91ba-771965235a98-2015-01-19 22:35:52Z +
+
+ Authorization + Bearer abc
@@ -10907,12 +11216,16 @@
x-ms-request-id - 5b2b38eb-331c-443d-b0dc-1bb5c357ddef + 6bcd0f8d-bcd7-40a8-b1b6-bde4424f506c
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -10923,7 +11236,7 @@
Date - Tue, 01 Jul 2014 18:23:33 GMT + Mon, 19 Jan 2015 22:35:52 GMT
Server @@ -10931,15 +11244,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources>
- 76 + 2 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databaseoperations?databaseName=testdbcertGetOperationDbName_f1abaa48-a85a-4141-9a40-6acb3ea65771 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -10947,11 +11260,15 @@
x-ms-client-session-id - 27627108-5056-4884-85e4-5f7f5bb95d93-2014-07-01 18:22:32Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 76168c5d-5695-4c71-b5c9-f6fe5bcf71b8-2014-07-01 18:23:34Z + 5fe88c31-1b87-493f-8075-7d2ea6def2a8-2015-01-19 22:35:55Z +
+
+ Authorization + Bearer abc
@@ -10964,12 +11281,16 @@
x-ms-request-id - 8257779e-3afa-4c88-a684-c5b18b3171d2 + cae463ef-8295-4d39-af08-42f6bef1b7d5
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -10980,7 +11301,7 @@
Date - Tue, 01 Jul 2014 18:23:34 GMT + Mon, 19 Jan 2015 22:35:55 GMT
Server @@ -10988,15 +11309,15 @@
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>CREATE DATABASE</Name><Type>Microsoft.SqlAzure.DatabaseOperation</Type><State>COMPLETED</State><SelfLink>https://localhost/servers/myserver01/databaseoperations/abd31d7f-19ca-4f29-a89a-7b38910f7ca9</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>abd31d7f-19ca-4f29-a89a-7b38910f7ca9</Id><StateId>2</StateId><SessionActivityId>2124fd28-a431-40a7-b042-c3a712a32062</SessionActivityId><DatabaseName>testdbcertGetOperationDbName_f1abaa48-a85a-4141-9a40-6acb3ea65771</DatabaseName><PercentComplete>100</PercentComplete><Error.Code>0</Error.Code><Error/><ErrorSeverity>0</ErrorSeverity><ErrorState>0</ErrorState><StartTime>2014-07-01T18:23:32.5330000</StartTime><LastModifyTime>2014-07-01T18:23:33.5470000</LastModifyTime></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 77 + 3 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databaseoperations?databaseName=testdbcertGetOperationDbName_f1abaa48-a85a-4141-9a40-6acb3ea65771 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -11004,11 +11325,15 @@
x-ms-client-session-id - 27627108-5056-4884-85e4-5f7f5bb95d93-2014-07-01 18:22:32Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 134732c5-0b00-4d95-a790-d82a0941cbff-2014-07-01 18:23:35Z + 9b234ccb-23e1-4a94-b2b7-93d99e527399-2015-01-19 22:35:57Z +
+
+ Authorization + Bearer abc
@@ -11021,12 +11346,16 @@
x-ms-request-id - adeb0e05-51f0-4a42-9e01-a8dba063c2fd + 2ae136ef-ad8e-4644-9464-baad6aa20f5a
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -11037,7 +11366,7 @@
Date - Tue, 01 Jul 2014 18:23:34 GMT + Mon, 19 Jan 2015 22:35:57 GMT
Server @@ -11045,15 +11374,15 @@
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>CREATE DATABASE</Name><Type>Microsoft.SqlAzure.DatabaseOperation</Type><State>COMPLETED</State><SelfLink>https://localhost/servers/myserver01/databaseoperations/abd31d7f-19ca-4f29-a89a-7b38910f7ca9</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>abd31d7f-19ca-4f29-a89a-7b38910f7ca9</Id><StateId>2</StateId><SessionActivityId>2124fd28-a431-40a7-b042-c3a712a32062</SessionActivityId><DatabaseName>testdbcertGetOperationDbName_f1abaa48-a85a-4141-9a40-6acb3ea65771</DatabaseName><PercentComplete>100</PercentComplete><Error.Code>0</Error.Code><Error/><ErrorSeverity>0</ErrorSeverity><ErrorState>0</ErrorState><StartTime>2014-07-01T18:23:32.5330000</StartTime><LastModifyTime>2014-07-01T18:23:33.5470000</LastModifyTime></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 78 + 4 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databaseoperations/abd31d7f-19ca-4f29-a89a-7b38910f7ca9 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -11061,11 +11390,15 @@
x-ms-client-session-id - 27627108-5056-4884-85e4-5f7f5bb95d93-2014-07-01 18:22:32Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 9852d4d3-ac5e-40e0-b686-6a16f227bcbc-2014-07-01 18:23:36Z + ea080725-61f8-4c1a-a085-5b95eb93941b-2015-01-19 22:35:59Z +
+
+ Authorization + Bearer abc
@@ -11078,12 +11411,16 @@
x-ms-request-id - a9c2f5b5-9ad9-4c48-b34c-6f0a695e5f15 + a9cc7873-e54c-4ba0-b78e-6ef5831a4769
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -11094,7 +11431,7 @@
Date - Tue, 01 Jul 2014 18:23:36 GMT + Mon, 19 Jan 2015 22:35:59 GMT
Server @@ -11102,15 +11439,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>CREATE DATABASE</Name><Type>Microsoft.SqlAzure.DatabaseOperation</Type><State>COMPLETED</State><SelfLink>https://localhost/servers/myserver01/databaseoperations/abd31d7f-19ca-4f29-a89a-7b38910f7ca9</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>abd31d7f-19ca-4f29-a89a-7b38910f7ca9</Id><StateId>2</StateId><SessionActivityId>2124fd28-a431-40a7-b042-c3a712a32062</SessionActivityId><DatabaseName>testdbcertGetOperationDbName_f1abaa48-a85a-4141-9a40-6acb3ea65771</DatabaseName><PercentComplete>100</PercentComplete><Error.Code>0</Error.Code><Error/><ErrorSeverity>0</ErrorSeverity><ErrorState>0</ErrorState><StartTime>2014-07-01T18:23:32.5330000</StartTime><LastModifyTime>2014-07-01T18:23:33.5470000</LastModifyTime></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 79 + 5 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_f1abaa48-a85a-4141-9a40-6acb3ea65771 - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -11118,15 +11455,19 @@
x-ms-client-session-id - 27627108-5056-4884-85e4-5f7f5bb95d93-2014-07-01 18:22:32Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 69f4bd15-9ac2-48da-be02-e8761b1aad62-2014-07-01 18:23:37Z + 3b99104e-30f2-4eb5-b06a-05cf723b2a07-2015-01-19 22:36:01Z +
+
+ Authorization + Bearer abc
- +
@@ -11135,19 +11476,27 @@
x-ms-request-id - 855079e1-798f-4573-ac16-5f41968c7116 + 145785ed-9713-4d9d-bbc6-00b670a359d0
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Tue, 01 Jul 2014 18:23:37 GMT + Mon, 19 Jan 2015 22:36:01 GMT
Server @@ -11155,15 +11504,15 @@
- + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 80 + 6 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases?contentview=generic + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -11171,11 +11520,15 @@
x-ms-client-session-id - 27627108-5056-4884-85e4-5f7f5bb95d93-2014-07-01 18:22:32Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 8dd2a8fd-d750-498b-945e-6faaf5399855-2014-07-01 18:23:38Z + 1188f19d-0b53-4e61-ac21-752a9203c0ac-2015-01-19 22:36:03Z +
+
+ Authorization + Bearer abc
@@ -11188,12 +11541,16 @@
x-ms-request-id - f4097f94-53d8-4942-9541-6ffc26799d5f + 49b6758a-03e5-44c1-8033-a5d413fc9bdf
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -11204,7 +11561,7 @@
Date - Tue, 01 Jul 2014 18:23:39 GMT + Mon, 19 Jan 2015 22:36:03 GMT
Server @@ -11212,15 +11569,15 @@
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/master</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-01T17:51:19.7300000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</ServiceObjectiveId><AssignedServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-01T17:51:21.6470000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 81 + 7 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -11228,11 +11585,15 @@
x-ms-client-session-id - 27627108-5056-4884-85e4-5f7f5bb95d93-2014-07-01 18:22:32Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - cfd34030-0060-4147-ae45-a8229e815204-2014-07-01 18:23:39Z + 42482339-05d8-4ce1-a5d6-273d498038de-2015-01-19 22:36:05Z +
+
+ Authorization + Bearer abc
@@ -11245,12 +11606,16 @@
x-ms-request-id - 52c57f27-935f-464c-9d61-4360a0bcae6b + e986cb17-9dc7-49af-b158-7446a83aecbf
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -11261,7 +11626,7 @@
Date - Tue, 01 Jul 2014 18:23:39 GMT + Mon, 19 Jan 2015 22:36:05 GMT
Server @@ -11269,15 +11634,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description>Used for master database only.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 10 + 8 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -11285,11 +11650,15 @@
x-ms-client-session-id - 98fd52cf-24a2-4f03-af62-87bb35af25e5-2014-07-07 19:57:15Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 4983bfad-8a7b-4dc3-970d-e95c5a9f7e06-2014-07-07 19:57:24Z + a784b673-33e0-4e4d-abe5-f1845569e50d-2015-01-19 22:36:07Z +
+
+ Authorization + Bearer abc
@@ -11302,12 +11671,16 @@
x-ms-request-id - d59aeb9f-748e-4255-95d9-c9178ad4dc9f + e9df646f-c60b-4d19-8078-1cd753591aa9
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -11318,7 +11691,7 @@
Date - Mon, 07 Jul 2014 19:57:24 GMT + Mon, 19 Jan 2015 22:36:07 GMT
Server @@ -11326,15 +11699,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 57 + 9 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -11342,11 +11715,15 @@
x-ms-client-session-id - 98fd52cf-24a2-4f03-af62-87bb35af25e5-2014-07-07 19:57:15Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - fd46724b-3588-415e-ab3d-d341c7d6b151-2014-07-07 19:58:01Z + 476ac0cd-0e97-4cb3-9df1-2c63e536a43e-2015-01-19 22:36:09Z +
+
+ Authorization + Bearer abc
@@ -11359,12 +11736,16 @@
x-ms-request-id - c62706ca-f932-49d5-a168-15e8973424f3 + 7fa95b59-e249-43e0-a6b3-299f9ae3f58e
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -11375,7 +11756,7 @@
Date - Mon, 07 Jul 2014 19:58:01 GMT + Mon, 19 Jan 2015 22:36:09 GMT
Server @@ -11383,15 +11764,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Premium P2 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 58 + 10 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -11399,32 +11780,37 @@
x-ms-client-session-id - 98fd52cf-24a2-4f03-af62-87bb35af25e5-2014-07-07 19:57:15Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - eefd4a9c-3936-4b09-bc0e-d79333115150-2014-07-07 19:58:01Z + 6cd6f72a-19dc-4820-a611-906f5e268a6a-2015-01-19 22:36:11Z +
+
+ Authorization + Bearer abc
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdbcertGetOperationDbName_76974d03-d70b-4f9b-88d0-76df0cb68f2c</Name> - <CollationName></CollationName> -</ServiceResource> - application/xml + +
- Created + OK
x-ms-request-id - 3360f77a-5284-4662-9dfd-0f37b0af1ec7 + fae7dfe9-2d89-481c-9dc4-aac333326cfb
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -11435,7 +11821,7 @@
Date - Mon, 07 Jul 2014 19:58:04 GMT + Mon, 19 Jan 2015 22:36:11 GMT
Server @@ -11443,15 +11829,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_76974d03-d70b-4f9b-88d0-76df0cb68f2c</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_76974d03-d70b-4f9b-88d0-76df0cb68f2c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-07T19:58:02.3470000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-07T19:58:03.6600000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-07T19:59:02.1470000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 59 + 11 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -11459,11 +11845,15 @@
x-ms-client-session-id - 98fd52cf-24a2-4f03-af62-87bb35af25e5-2014-07-07 19:57:15Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - c9362cd5-149c-40c5-824f-61afe2d28846-2014-07-07 19:58:04Z + c9d74c5e-da8d-4846-95f8-53ccfa371d63-2015-01-19 22:36:13Z +
+
+ Authorization + Bearer abc
@@ -11476,12 +11866,16 @@
x-ms-request-id - 44948804-8991-4755-9b72-6fb853d4f73e + 9bf143c4-ed26-45ab-81af-d222c15c4bfe
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -11492,7 +11886,7 @@
Date - Mon, 07 Jul 2014 19:58:04 GMT + Mon, 19 Jan 2015 22:36:14 GMT
Server @@ -11500,15 +11894,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 60 + 12 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databaseoperations?databaseName=testdbcertGetOperationDbName_76974d03-d70b-4f9b-88d0-76df0cb68f2c + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -11516,11 +11910,15 @@
x-ms-client-session-id - 98fd52cf-24a2-4f03-af62-87bb35af25e5-2014-07-07 19:57:15Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 5ce9227f-50cd-4bf2-9504-9975a07229f0-2014-07-07 19:58:04Z + ca46e951-6946-4764-b69c-6e2b883ce0e9-2015-01-19 22:36:16Z +
+
+ Authorization + Bearer abc
@@ -11533,12 +11931,81 @@
x-ms-request-id - 92947bcc-6c33-4570-85cb-d39c44a9b0a1 + 5f7695a2-7450-4df6-9441-0986a6973db6
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:36:16 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> + +
+ + 13 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 4a48d500-8a44-496d-9466-9da028954f06-2015-01-19 22:36:18Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + db5fa367-3273-4446-b096-ca4eba0d2126 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -11549,7 +12016,7 @@
Date - Mon, 07 Jul 2014 19:58:04 GMT + Mon, 19 Jan 2015 22:36:18 GMT
Server @@ -11557,15 +12024,15 @@
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>CREATE DATABASE</Name><Type>Microsoft.SqlAzure.DatabaseOperation</Type><State>COMPLETED</State><SelfLink>https://localhost/servers/myserver01/databaseoperations/33623226-1f44-4ea5-a18f-b4460664f9b0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>33623226-1f44-4ea5-a18f-b4460664f9b0</Id><StateId>2</StateId><SessionActivityId>3360f77a-5284-4662-9dfd-0f37b0af1ec7</SessionActivityId><DatabaseName>testdbcertGetOperationDbName_76974d03-d70b-4f9b-88d0-76df0cb68f2c</DatabaseName><PercentComplete>100</PercentComplete><Error.Code>0</Error.Code><Error/><ErrorSeverity>0</ErrorSeverity><ErrorState>0</ErrorState><StartTime>2014-07-07T19:58:02.0530000</StartTime><LastModifyTime>2014-07-07T19:58:03.7400000</LastModifyTime></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 61 + 14 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databaseoperations?databaseName=testdbcertGetOperationDbName_76974d03-d70b-4f9b-88d0-76df0cb68f2c + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -11573,11 +12040,15 @@
x-ms-client-session-id - 98fd52cf-24a2-4f03-af62-87bb35af25e5-2014-07-07 19:57:15Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 5cb7dd9b-65c5-4709-86db-e3d3797ef73c-2014-07-07 19:58:04Z + 75934686-5698-4c6a-9eee-f42222496b79-2015-01-19 22:36:20Z +
+
+ Authorization + Bearer abc
@@ -11590,12 +12061,16 @@
x-ms-request-id - cf971bd6-7c0f-4fe6-bab8-1c6d027ac2f8 + bd1ed11b-f89d-4c29-ac46-23faf87af6eb
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -11606,7 +12081,7 @@
Date - Mon, 07 Jul 2014 19:58:04 GMT + Mon, 19 Jan 2015 22:36:20 GMT
Server @@ -11614,15 +12089,15 @@
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>CREATE DATABASE</Name><Type>Microsoft.SqlAzure.DatabaseOperation</Type><State>COMPLETED</State><SelfLink>https://localhost/servers/myserver01/databaseoperations/33623226-1f44-4ea5-a18f-b4460664f9b0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>33623226-1f44-4ea5-a18f-b4460664f9b0</Id><StateId>2</StateId><SessionActivityId>3360f77a-5284-4662-9dfd-0f37b0af1ec7</SessionActivityId><DatabaseName>testdbcertGetOperationDbName_76974d03-d70b-4f9b-88d0-76df0cb68f2c</DatabaseName><PercentComplete>100</PercentComplete><Error.Code>0</Error.Code><Error/><ErrorSeverity>0</ErrorSeverity><ErrorState>0</ErrorState><StartTime>2014-07-07T19:58:02.0530000</StartTime><LastModifyTime>2014-07-07T19:58:03.7400000</LastModifyTime></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 62 + 15 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databaseoperations/33623226-1f44-4ea5-a18f-b4460664f9b0 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -11630,11 +12105,15 @@
x-ms-client-session-id - 98fd52cf-24a2-4f03-af62-87bb35af25e5-2014-07-07 19:57:15Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 85c7aa8c-e1cf-4641-a901-fb5cd4ea6b51-2014-07-07 19:58:04Z + eb8e096b-9930-4b22-9ce8-6813c4f19a2b-2015-01-19 22:36:22Z +
+
+ Authorization + Bearer abc
@@ -11647,12 +12126,16 @@
x-ms-request-id - 05fada32-005a-4268-b7d4-70cc4a8077bc + 916e0452-1e38-4f9d-9529-2eee1b92b896
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -11663,7 +12146,7 @@
Date - Mon, 07 Jul 2014 19:58:04 GMT + Mon, 19 Jan 2015 22:36:22 GMT
Server @@ -11671,15 +12154,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>CREATE DATABASE</Name><Type>Microsoft.SqlAzure.DatabaseOperation</Type><State>COMPLETED</State><SelfLink>https://localhost/servers/myserver01/databaseoperations/33623226-1f44-4ea5-a18f-b4460664f9b0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>33623226-1f44-4ea5-a18f-b4460664f9b0</Id><StateId>2</StateId><SessionActivityId>3360f77a-5284-4662-9dfd-0f37b0af1ec7</SessionActivityId><DatabaseName>testdbcertGetOperationDbName_76974d03-d70b-4f9b-88d0-76df0cb68f2c</DatabaseName><PercentComplete>100</PercentComplete><Error.Code>0</Error.Code><Error/><ErrorSeverity>0</ErrorSeverity><ErrorState>0</ErrorState><StartTime>2014-07-07T19:58:02.0530000</StartTime><LastModifyTime>2014-07-07T19:58:03.7400000</LastModifyTime></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 63 + 16 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert3 - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -11687,15 +12170,19 @@
x-ms-client-session-id - 98fd52cf-24a2-4f03-af62-87bb35af25e5-2014-07-07 19:57:15Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 6cce9387-f9fb-4c0c-8fb7-7e014041d675-2014-07-07 19:58:05Z + b583da2d-a470-4ffe-8ec4-00617f149ee9-2015-01-19 22:36:24Z +
+
+ Authorization + Bearer abc
- +
@@ -11704,19 +12191,27 @@
x-ms-request-id - 015080fa-0bcf-444e-8790-017185c7d5f2 + bb60cebd-9809-49cb-8dee-eefd8fabf4e1
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Mon, 07 Jul 2014 19:58:08 GMT + Mon, 19 Jan 2015 22:36:24 GMT
Server @@ -11724,15 +12219,15 @@
- + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 64 + 17 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -11740,15 +12235,19 @@
x-ms-client-session-id - 98fd52cf-24a2-4f03-af62-87bb35af25e5-2014-07-07 19:57:15Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - d697072b-4165-4901-9af6-75e13e031bb7-2014-07-07 19:58:08Z + f0ec8e8c-2429-4d84-b3c5-acff74dddbf5-2015-01-19 22:36:26Z +
+
+ Authorization + Bearer abc
- +
@@ -11757,19 +12256,27 @@
x-ms-request-id - 44ff1afe-fbf2-4936-8e10-7dd6f5e790e6 + e3cc25f2-e62b-4a40-a9ec-a128e895f661
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Mon, 07 Jul 2014 19:58:10 GMT + Mon, 19 Jan 2015 22:36:26 GMT
Server @@ -11777,15 +12284,15 @@
- + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 65 + 18 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -11793,15 +12300,19 @@
x-ms-client-session-id - 98fd52cf-24a2-4f03-af62-87bb35af25e5-2014-07-07 19:57:15Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 1d398ee1-c2d8-4544-a945-edfc0640b620-2014-07-07 19:58:11Z + e1a30aec-ddc7-431f-9152-9586aeee9b6a-2015-01-19 22:36:28Z +
+
+ Authorization + Bearer abc
- +
@@ -11810,19 +12321,27 @@
x-ms-request-id - 96aab86e-ee99-477a-92b8-12696b422a55 + 052f8be2-3e3e-4fc1-9afa-db9bc9a0800d
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Mon, 07 Jul 2014 19:58:12 GMT + Mon, 19 Jan 2015 22:36:28 GMT
Server @@ -11830,15 +12349,15 @@
- + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 66 + 19 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP1 - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -11846,15 +12365,19 @@
x-ms-client-session-id - 98fd52cf-24a2-4f03-af62-87bb35af25e5-2014-07-07 19:57:15Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - a91aab26-2e82-4201-a831-3e555118f507-2014-07-07 19:58:13Z + 46a9e627-4fe6-4f73-9f30-87d3545864ec-2015-01-19 22:36:30Z +
+
+ Authorization + Bearer abc
- +
@@ -11863,19 +12386,27 @@
x-ms-request-id - 7e36534b-4152-4d45-ace9-796dddab428f + 5b2e2174-bcaf-4130-a113-7f28e40e5c37
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Mon, 07 Jul 2014 19:58:15 GMT + Mon, 19 Jan 2015 22:36:30 GMT
Server @@ -11883,15 +12414,15 @@
- + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 67 + 20 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -11899,15 +12430,19 @@
x-ms-client-session-id - 98fd52cf-24a2-4f03-af62-87bb35af25e5-2014-07-07 19:57:15Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 96beda62-f5ca-4561-ada6-2b11b6b71b60-2014-07-07 19:58:15Z + fb3d5bf7-d3d9-4c96-a801-228905845830-2015-01-19 22:36:32Z +
+
+ Authorization + Bearer abc
- +
@@ -11916,19 +12451,27 @@
x-ms-request-id - 2bff7ff0-075c-4e9d-a595-46f222b1209f + a0af3438-3e60-4767-a70b-fd2a319bd5cb
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Mon, 07 Jul 2014 19:58:18 GMT + Mon, 19 Jan 2015 22:36:32 GMT
Server @@ -11936,15 +12479,15 @@
- + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 68 + 21 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_76974d03-d70b-4f9b-88d0-76df0cb68f2c - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -11952,15 +12495,19 @@
x-ms-client-session-id - 98fd52cf-24a2-4f03-af62-87bb35af25e5-2014-07-07 19:57:15Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - c050b1b1-8e75-456c-a7b0-6c56eff8a54b-2014-07-07 19:58:18Z + 00cf226c-0bed-48b0-8544-b29a123caaf5-2015-01-19 22:36:34Z +
+
+ Authorization + Bearer abc
- +
@@ -11969,19 +12516,27 @@
x-ms-request-id - 51cff5b0-d757-484d-a0dd-9c9f3787a236 + c7feb580-ed56-4916-a735-b28049ebdb62
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Mon, 07 Jul 2014 19:58:20 GMT + Mon, 19 Jan 2015 22:36:35 GMT
Server @@ -11989,15 +12544,15 @@
- + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 69 + 22 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases?contentview=generic + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -12005,11 +12560,15 @@
x-ms-client-session-id - 98fd52cf-24a2-4f03-af62-87bb35af25e5-2014-07-07 19:57:15Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 4a29587c-d167-44fa-a6b4-484dc1b6bc57-2014-07-07 19:58:20Z + 25ce49f5-db4d-4bfc-ad74-86329e2ef787-2015-01-19 22:36:37Z +
+
+ Authorization + Bearer abc
@@ -12022,12 +12581,16 @@
x-ms-request-id - 7e4162c1-b8fd-4573-810d-cb9e1f3db310 + a76cd11c-cce5-4f11-b924-a4bcd07b3089
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -12038,7 +12601,7 @@
Date - Mon, 07 Jul 2014 19:58:20 GMT + Mon, 19 Jan 2015 22:36:37 GMT
Server @@ -12046,15 +12609,15 @@
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/master</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-07T18:27:48.3970000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</ServiceObjectiveId><AssignedServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-07T18:27:51.0930000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 70 + 23 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -12062,11 +12625,15 @@
x-ms-client-session-id - 98fd52cf-24a2-4f03-af62-87bb35af25e5-2014-07-07 19:57:15Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 94df10a3-b218-4dab-8e6e-e35b0a96f8a7-2014-07-07 19:58:20Z + 7346b4b2-d04e-4833-90c0-275de305e7da-2015-01-19 22:36:39Z +
+
+ Authorization + Bearer abc
@@ -12079,12 +12646,16 @@
x-ms-request-id - a21d4e5f-941c-4169-b369-542c9da6a5ff + bfde24de-f30e-44ae-8ae6-ed4a57fb84e5
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -12095,7 +12666,7 @@
Date - Mon, 07 Jul 2014 19:58:20 GMT + Mon, 19 Jan 2015 22:36:39 GMT
Server @@ -12103,15 +12674,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description>Used for master database only.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 0 + 24 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -12119,32 +12690,37 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 58be934b-3b99-4ccf-8e73-2cda33c037a4-2014-07-24 18:33:34Z + a8c4cdfa-265f-4109-900f-e8771ec2d355-2015-01-19 22:36:41Z +
+
+ Authorization + Bearer abc
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdbcert1</Name> - <CollationName></CollationName> -</ServiceResource> - application/xml + +
- Created + OK
x-ms-request-id - 38ee9978-f024-43c6-9cbd-98af1df374a6 + 0beed67f-32e0-4ad4-9ce6-4df1b27446aa
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -12155,23 +12731,23 @@
Date - Thu, 24 Jul 2014 18:33:41 GMT + Mon, 19 Jan 2015 22:36:41 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T18:33:38.6430000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T18:33:40.3830000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T18:34:38.2600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 1 + 25 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -12179,11 +12755,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 3457048e-a701-4693-8b7e-5434f65582c7-2014-07-24 18:33:41Z + 67cb05df-0694-41ef-9a30-ec31c49623d3-2015-01-19 22:36:43Z +
+
+ Authorization + Bearer abc
@@ -12196,12 +12776,16 @@
x-ms-request-id - c66661be-ca5d-411e-9d69-4db15881ee3f + da951102-2656-4ce9-beec-a1d5e3d27d15
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -12212,23 +12796,23 @@
Date - Thu, 24 Jul 2014 18:33:41 GMT + Mon, 19 Jan 2015 22:36:43 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 2 + 26 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -12236,34 +12820,37 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - cd60783d-919c-409b-88e7-41fb05727407-2014-07-24 18:33:41Z + 1a8f631f-6400-41fb-8be9-a6c2dcb8ef60-2015-01-19 22:36:45Z +
+
+ Authorization + Bearer abc
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdbcert2</Name> - <Edition>Business</Edition> - <MaxSizeGB>10</MaxSizeGB> - <CollationName>Japanese_CI_AS</CollationName> -</ServiceResource> - application/xml + +
- Created + OK
x-ms-request-id - 2b9ec546-df74-4295-9b3a-48ccf4dde7be + 62015c79-9b8d-4ba8-9050-d657a88272fe
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -12274,23 +12861,23 @@
Date - Thu, 24 Jul 2014 18:33:44 GMT + Mon, 19 Jan 2015 22:36:45 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2014-07-24T18:33:41.7870000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T18:33:43.5400000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T18:34:41.5700000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 3 + 27 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -12298,11 +12885,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 086531eb-167d-424f-a574-f5829a4162f6-2014-07-24 18:33:44Z + e8f8f73f-8e57-4094-9c06-de5f19e37c61-2015-01-19 22:36:47Z +
+
+ Authorization + Bearer abc
@@ -12315,12 +12906,16 @@
x-ms-request-id - 6b8a5bb9-1b9d-4fec-bf8f-d3db377e3f1b + 61db830a-b580-436d-a2d6-c247dda080f5
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -12331,23 +12926,23 @@
Date - Thu, 24 Jul 2014 18:33:44 GMT + Mon, 19 Jan 2015 22:36:47 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 4 + 28 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -12355,33 +12950,37 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 6f872964-7bc9-4716-8533-3b0a7c2f09c9-2014-07-24 18:33:44Z + 8f4f01c4-da54-4f54-9a6c-99e362bb5a90-2015-01-19 22:36:49Z +
+
+ Authorization + Bearer abc
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdbcert4</Name> - <CollationName></CollationName> - <MaxSizeBytes>104857600</MaxSizeBytes> -</ServiceResource> - application/xml + +
- Created + OK
x-ms-request-id - 7f02e598-aad0-4eec-8152-810e8a28e149 + ac1dedcc-0333-46c7-b725-57bd6c1ca3c1
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -12392,23 +12991,23 @@
Date - Thu, 24 Jul 2014 18:33:47 GMT + Mon, 19 Jan 2015 22:36:49 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Web</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T18:33:44.7330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T18:33:46.5570000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T18:34:44.4770000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 5 + 29 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -12416,11 +13015,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 8caeec5f-70a3-485f-94a0-f4720d89071b-2014-07-24 18:33:47Z + f872490c-4b27-4d13-a1c1-736b1f49154b-2015-01-19 22:36:51Z +
+
+ Authorization + Bearer abc
@@ -12433,12 +13036,16 @@
x-ms-request-id - b7a38d30-5e11-48da-ba9c-7c04ae2f56ca + 3ef7b26d-b2dc-409d-b002-67e33d660839
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -12449,23 +13056,23 @@
Date - Thu, 24 Jul 2014 18:33:47 GMT + Mon, 19 Jan 2015 22:36:51 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 6 + 30 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases?contentview=generic + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -12473,11 +13080,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 3f1a1e06-43ef-41d7-8802-6a725e6ec205-2014-07-24 18:33:47Z + 0d95a595-3381-45b2-8a6a-83c845b17ced-2015-01-19 22:36:53Z +
+
+ Authorization + Bearer abc
@@ -12490,12 +13101,16 @@
x-ms-request-id - 0a1f223f-2313-42b0-8a2e-db8f46478df6 + 385bf2ed-447d-4339-b43f-ebd5a00e1e3b
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -12506,23 +13121,23 @@
Date - Thu, 24 Jul 2014 18:33:47 GMT + Mon, 19 Jan 2015 22:36:53 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/master</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-22T17:52:25.3400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</ServiceObjectiveId><AssignedServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-22T17:52:27.9370000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T18:33:38.6430000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T18:33:40.3830000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T18:34:38.2600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2014-07-24T18:33:41.7870000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T18:33:43.5400000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T18:34:41.5700000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Web</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T18:33:44.7330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T18:33:46.5570000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T18:34:44.4770000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 7 + 31 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -12530,11 +13145,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 1e1329fd-d217-48c7-b644-067555953e2c-2014-07-24 18:33:47Z + e407972e-f8a3-49ed-b080-dc4a853d2c01-2015-01-19 22:36:55Z +
+
+ Authorization + Bearer abc
@@ -12547,12 +13166,16 @@
x-ms-request-id - 51942c38-5a35-49f9-aba7-37e87bf23fe7 + 3ab425c6-d806-474b-9f69-28ec668588b6
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -12563,23 +13186,23 @@
Date - Thu, 24 Jul 2014 18:33:47 GMT + Mon, 19 Jan 2015 22:36:56 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description>Used for master database only.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 8 + 32 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -12587,11 +13210,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 0e293749-1188-44c5-9b7e-8a6ff6c1c2df-2014-07-24 18:33:47Z + e1206177-d185-41fb-9e72-8a0b574b54d1-2015-01-19 22:36:58Z +
+
+ Authorization + Bearer abc
@@ -12604,12 +13231,16 @@
x-ms-request-id - e2a017b5-5fac-497e-8e08-7c6b073e5b8f + 71cf60dc-f068-484a-9944-a6910da6440f
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -12620,23 +13251,23 @@
Date - Thu, 24 Jul 2014 18:33:47 GMT + Mon, 19 Jan 2015 22:36:58 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 9 + 33 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -12644,11 +13275,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 4be0baa5-f437-4598-b920-0461c79936b3-2014-07-24 18:33:47Z + a051dedb-f068-48bb-82df-1d7f1a2c3405-2015-01-19 22:37:00Z +
+
+ Authorization + Bearer abc
@@ -12661,12 +13296,16 @@
x-ms-request-id - 893bb97f-0844-47b6-909a-646cb9d39811 + 8fdfef33-fe99-44ad-abf3-88fb8c050f03
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -12677,23 +13316,23 @@
Date - Thu, 24 Jul 2014 18:33:47 GMT + Mon, 19 Jan 2015 22:37:00 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 10 + 34 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -12701,11 +13340,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 89686d32-f7b6-41c2-adb6-91cd9e5cd75e-2014-07-24 18:33:48Z + c4df5d59-21b7-4a96-b389-107adbe72bae-2015-01-19 22:37:02Z +
+
+ Authorization + Bearer abc
@@ -12718,12 +13361,16 @@
x-ms-request-id - eec540f1-0e27-4e3b-ac5c-2cc511fd30a0 + 15eda1ae-d0e0-428d-a954-83fc37ac5181
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -12734,23 +13381,23 @@
Date - Thu, 24 Jul 2014 18:33:48 GMT + Mon, 19 Jan 2015 22:37:02 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 11 + 35 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -12758,11 +13405,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 64a61701-8397-48fb-8417-2644f8056ccf-2014-07-24 18:33:48Z + 923baa44-f8f5-4f96-8990-4b1d08f83a3d-2015-01-19 22:37:04Z +
+
+ Authorization + Bearer abc
@@ -12775,12 +13426,16 @@
x-ms-request-id - e1cb24de-27b4-440a-9325-f4860b79cc5b + ddecc7d1-3ab2-455d-8cdd-1e5dc7de57d3
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -12791,23 +13446,23 @@
Date - Thu, 24 Jul 2014 18:33:48 GMT + Mon, 19 Jan 2015 22:37:04 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T18:33:38.6430000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T18:33:40.3830000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T18:34:38.2600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 12 + 36 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -12815,11 +13470,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 2cfa0c27-2105-4e40-9aa6-6c564ab8a623-2014-07-24 18:33:48Z + 7fa5fac0-c71f-4d6e-8918-4d87bcc303e2-2015-01-19 22:37:06Z +
+
+ Authorization + Bearer abc
@@ -12832,12 +13491,16 @@
x-ms-request-id - 8efe489c-deac-4abd-8aab-e28874ce3409 + e79ffa3f-9c53-400a-8ec8-0842c1c3de60
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -12848,23 +13511,23 @@
Date - Thu, 24 Jul 2014 18:33:48 GMT + Mon, 19 Jan 2015 22:37:06 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 13 + 37 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -12872,11 +13535,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - e0c06d45-45da-4544-816c-cdeb27b44b79-2014-07-24 18:33:48Z + 35a6e0e5-5577-47a7-b219-ad3f232d1293-2015-01-19 22:37:08Z +
+
+ Authorization + Bearer abc
@@ -12889,12 +13556,16 @@
x-ms-request-id - d28477f9-c3ae-4fee-a831-e9539bde9531 + 40e7b283-909e-4349-a905-e1882e52831a
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -12905,23 +13576,23 @@
Date - Thu, 24 Jul 2014 18:33:48 GMT + Mon, 19 Jan 2015 22:37:08 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Web</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T18:33:44.7330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T18:33:46.5570000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T18:34:44.4770000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 14 + 38 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -12929,11 +13600,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - c21fa624-606c-4342-acc2-9d4fb07ecab4-2014-07-24 18:33:49Z + a8fd11ff-6212-4b68-b7eb-42a42f3164dd-2015-01-19 22:37:10Z +
+
+ Authorization + Bearer abc
@@ -12946,12 +13621,16 @@
x-ms-request-id - 3c5fd499-421d-41cd-b52d-aca020c41b5b + 09eb43b2-c5a5-4702-9072-e0b43013e6cb
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -12962,23 +13641,23 @@
Date - Thu, 24 Jul 2014 18:33:48 GMT + Mon, 19 Jan 2015 22:37:10 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 15 + 39 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -12986,11 +13665,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - d5cb1115-9039-4eb9-9243-c67f2edaad65-2014-07-24 18:33:49Z + 097f630b-e5ba-424e-8d53-32d61a62a445-2015-01-19 22:37:12Z +
+
+ Authorization + Bearer abc
@@ -13003,12 +13686,16 @@
x-ms-request-id - e70c14ef-4d5b-4ebe-8c01-2c67b28e6a14 + 5becd12f-1e93-4504-b389-1fb1311814c8
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -13019,23 +13706,23 @@
Date - Thu, 24 Jul 2014 18:33:49 GMT + Mon, 19 Jan 2015 22:37:12 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T18:33:38.6430000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T18:33:40.3830000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T18:34:38.2600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 16 + 40 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 - PUT - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -13043,20 +13730,20 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - d5cb1115-9039-4eb9-9243-c67f2edaad65-2014-07-24 18:33:49Z + 8eb199e1-7635-4dde-8a5d-bcc536ed6525-2015-01-19 22:37:14Z +
+
+ Authorization + Bearer abc
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdbcert3</Name> - <Edition>Web</Edition> - <ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId> -</ServiceResource> - application/xml + +
@@ -13064,12 +13751,16 @@
x-ms-request-id - d6bd442f-da6f-4e45-9e40-26122730517b + f0547fe5-3eb2-4dbd-9383-26337a1955ed
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -13080,23 +13771,23 @@
Date - Thu, 24 Jul 2014 18:33:51 GMT + Mon, 19 Jan 2015 22:37:14 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T18:33:51.5170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T18:33:40.3830000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T18:34:38.2600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 17 + 41 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -13104,11 +13795,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 95e53ddc-3558-4652-8d44-a32b817d449a-2014-07-24 18:33:51Z + 48069dcd-868a-4d66-9e32-3291fa830715-2015-01-19 22:37:16Z +
+
+ Authorization + Bearer abc
@@ -13121,12 +13816,16 @@
x-ms-request-id - 26577677-e3c1-433c-8758-38ad376317bd + bc802bf6-ae60-4ad7-bb29-b1b830c68862
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -13137,23 +13836,23 @@
Date - Thu, 24 Jul 2014 18:33:51 GMT + Mon, 19 Jan 2015 22:37:17 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 18 + 42 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert3 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -13161,11 +13860,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 523fc064-1033-428b-98f6-a46b2d270cba-2014-07-24 18:33:52Z + e19d6049-facd-44a6-82aa-f88f125886bb-2015-01-19 22:37:19Z +
+
+ Authorization + Bearer abc
@@ -13178,12 +13881,16 @@
x-ms-request-id - 52d27d7c-dc4b-4187-81a9-2b47404ff466 + e97921ea-8363-4a6e-be9c-718adb046dd8
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -13194,23 +13901,23 @@
Date - Thu, 24 Jul 2014 18:33:51 GMT + Mon, 19 Jan 2015 22:37:19 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T18:33:51.5170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T18:33:40.3830000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T18:34:38.2600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 19 + 43 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert3 - PUT - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -13218,21 +13925,20 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 523fc064-1033-428b-98f6-a46b2d270cba-2014-07-24 18:33:52Z + 11eecb59-a458-46bc-94a4-d7790f0093b0-2015-01-19 22:37:21Z +
+
+ Authorization + Bearer abc
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdbcert3</Name> - <Edition>Web</Edition> - <MaxSizeGB>5</MaxSizeGB> - <ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId> -</ServiceResource> - application/xml + +
@@ -13240,12 +13946,16 @@
x-ms-request-id - c0d8a540-9b27-4a04-b918-d6723ba94da7 + 869cc208-2f3e-4a3f-a98e-5aa086a7a297
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -13256,23 +13966,23 @@
Date - Thu, 24 Jul 2014 18:33:54 GMT + Mon, 19 Jan 2015 22:37:21 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4</Id><Edition>Web</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T18:33:51.5170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T18:33:40.3830000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T18:35:38.2600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 20 + 44 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -13280,11 +13990,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - c1e8e6df-6d02-4634-86e6-abf77d276a13-2014-07-24 18:33:54Z + c0543799-aa7f-441e-8545-b0330f0b4e37-2015-01-19 22:37:23Z +
+
+ Authorization + Bearer abc
@@ -13297,12 +14011,16 @@
x-ms-request-id - 4df6df75-0745-411e-a6ad-6e9501f324bd + 37154ffd-7674-4df2-88a8-199ac3103a5a
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -13313,23 +14031,23 @@
Date - Thu, 24 Jul 2014 18:33:54 GMT + Mon, 19 Jan 2015 22:37:23 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 21 + 45 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -13337,11 +14055,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 2dc8b186-fa76-4edd-b5ba-ab3c177932c0-2014-07-24 18:33:54Z + fde42312-5ebb-406f-a6f9-79c650364030-2015-01-19 22:37:25Z +
+
+ Authorization + Bearer abc
@@ -13354,12 +14076,16 @@
x-ms-request-id - 811c8801-9317-4e5c-9fa5-3ae07ba24461 + 1454854d-696f-4f58-bbce-a6d76569a9e1
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -13370,23 +14096,23 @@
Date - Thu, 24 Jul 2014 18:33:54 GMT + Mon, 19 Jan 2015 22:37:25 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Web</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T18:33:44.7330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T18:33:46.5570000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T18:34:44.4770000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 22 + 46 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 - PUT - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -13394,21 +14120,20 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 2dc8b186-fa76-4edd-b5ba-ab3c177932c0-2014-07-24 18:33:54Z + 8b6a9d61-5318-4719-9e99-1fa0958a2329-2015-01-19 22:37:27Z +
+
+ Authorization + Bearer abc
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdbcert4</Name> - <Edition>Web</Edition> - <MaxSizeBytes>1073741824</MaxSizeBytes> - <ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId> -</ServiceResource> - application/xml + +
@@ -13416,12 +14141,16 @@
x-ms-request-id - 7d37d031-5d2e-426d-9dde-fd2c1d202cd4 + 19eab0f0-e1d6-4854-87da-255b8849809e
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -13432,23 +14161,23 @@
Date - Thu, 24 Jul 2014 18:33:56 GMT + Mon, 19 Jan 2015 22:37:27 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T18:33:44.7330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T18:33:46.5570000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T18:35:44.4770000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 23 + 47 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -13456,11 +14185,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - d35075b7-c587-48f0-9604-0e101651a138-2014-07-24 18:33:56Z + 97c03ac8-f714-4ede-a23a-fc9577fbffbc-2015-01-19 22:37:29Z +
+
+ Authorization + Bearer abc
@@ -13473,12 +14206,16 @@
x-ms-request-id - 08dc4a41-ed13-4491-a6cc-a2fef6873ebc + b62b95c1-6e7f-4657-ae3c-2cda30175769
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -13489,23 +14226,23 @@
Date - Thu, 24 Jul 2014 18:33:56 GMT + Mon, 19 Jan 2015 22:37:29 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:40:45.8600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 24 + 48 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -13513,11 +14250,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 3ae34902-6fc4-4fff-9867-575868d4df6c-2014-07-24 18:33:56Z + 6aae06f3-f6be-4290-9e93-56591bdd60d6-2015-01-19 22:37:31Z +
+
+ Authorization + Bearer abc
@@ -13530,12 +14271,16 @@
x-ms-request-id - 5bbced7c-ca2a-41f3-bf9b-34dc550e015e + 77c68e5c-5c45-4e59-9e08-8b0de39f6829
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -13546,23 +14291,23 @@
Date - Thu, 24 Jul 2014 18:33:56 GMT + Mon, 19 Jan 2015 22:37:31 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Standard S2 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Premium P1 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Premium P2 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Basic resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Standard S1 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3 deprecated</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/e210706e-cd95-4f72-b5e5-885f8a1406e8</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e210706e-cd95-4f72-b5e5-885f8a1406e8</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Premium P3 deprecated resource allocation.</Description><Enabled>False</Enabled><DimensionSettings><ServiceResource><Name>P3 deprecated</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/8efe7983-8e31-4ddb-82d2-5c00e4f48631</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8efe7983-8e31-4ddb-82d2-5c00e4f48631</Id><Description>Premium P3 deprecated resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Premium P3 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>8</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description>Used for master database only.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System Standard</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a45fea0c-e63c-4bf0-9f81-9964c86b7d2a</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a45fea0c-e63c-4bf0-9f81-9964c86b7d2a</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description>Used for master database only.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:30.7030000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 25 + 49 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -13570,29 +14315,42 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - d8056bd8-7cb1-4928-a31b-52e825cad5ac-2014-07-24 18:33:57Z + 86b76844-b1b0-40ad-9d42-261d97a3b86c-2015-01-19 22:37:31Z +
+
+ Authorization + Bearer abc
- - + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <Name>testdbcert2</Name> + <Edition>Business</Edition> + <MaxSizeGB>10</MaxSizeGB> + <CollationName>Japanese_CI_AS</CollationName> +</ServiceResource> + application/xml
- OK + Created
x-ms-request-id - 7722e0df-dd8e-4169-847f-8dbd3a7b07e4 + ed395860-dc7f-467e-aca9-8adb9dc5d3d8
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -13603,23 +14361,23 @@
Date - Thu, 24 Jul 2014 18:33:56 GMT + Mon, 19 Jan 2015 22:37:36 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Standard S2 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Premium P1 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Premium P2 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Basic resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Standard S1 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3 deprecated</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/e210706e-cd95-4f72-b5e5-885f8a1406e8</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e210706e-cd95-4f72-b5e5-885f8a1406e8</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Premium P3 deprecated resource allocation.</Description><Enabled>False</Enabled><DimensionSettings><ServiceResource><Name>P3 deprecated</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/8efe7983-8e31-4ddb-82d2-5c00e4f48631</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8efe7983-8e31-4ddb-82d2-5c00e4f48631</Id><Description>Premium P3 deprecated resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Premium P3 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>8</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description>Used for master database only.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System Standard</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a45fea0c-e63c-4bf0-9f81-9964c86b7d2a</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a45fea0c-e63c-4bf0-9f81-9964c86b7d2a</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description>Used for master database only.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 26 + 50 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -13627,11 +14385,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - dec8d8a1-4c84-474d-b959-19542db87944-2014-07-24 18:33:57Z + 6e482d96-d8ef-43a8-96e3-551f627a196d-2015-01-19 22:37:36Z +
+
+ Authorization + Bearer abc
@@ -13644,12 +14406,16 @@
x-ms-request-id - 6f90d34d-444a-49c6-80cc-d2ebd7a5472e + da7900a7-960b-41d3-ba1c-0251eab94410
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -13660,23 +14426,23 @@
Date - Thu, 24 Jul 2014 18:33:56 GMT + Mon, 19 Jan 2015 22:37:36 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Premium P2 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Business</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/4518ce8e-6026-4113-b4fd-3b5d777c6881</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4518ce8e-6026-4113-b4fd-3b5d777c6881</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Business</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/4518ce8e-6026-4113-b4fd-3b5d777c6881</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4518ce8e-6026-4113-b4fd-3b5d777c6881</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources>
- 27 + 51 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -13684,11 +14450,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - deb29996-6267-47c5-9c8c-6e558eb5d600-2014-07-24 18:33:57Z + 6f31bd20-c423-4898-bc58-6bcf787f3077-2015-01-19 22:37:39Z +
+
+ Authorization + Bearer abc
@@ -13701,12 +14471,16 @@
x-ms-request-id - 87472fbd-5202-4c82-947a-954838f93048 + 74c842eb-a1f3-429b-9e3b-81209b72e87c
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -13717,23 +14491,23 @@
Date - Thu, 24 Jul 2014 18:33:56 GMT + Mon, 19 Jan 2015 22:37:39 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T18:33:44.7330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T18:33:46.5570000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T18:34:44.4770000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 28 + 52 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 - PUT - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -13741,21 +14515,20 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - deb29996-6267-47c5-9c8c-6e558eb5d600-2014-07-24 18:33:57Z + beee2587-631b-4843-bcba-592b82ab5444-2015-01-19 22:37:41Z +
+
+ Authorization + Bearer abc
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdbcert4</Name> - <Edition>Premium</Edition> - <MaxSizeGB>10</MaxSizeGB> - <ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId> -</ServiceResource> - application/xml + +
@@ -13763,12 +14536,16 @@
x-ms-request-id - 34acc41e-724e-4996-ad01-2b5d57fe1690 + 9878ba36-ec28-4f07-8e7a-17a07e58c485
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -13779,23 +14556,23 @@
Date - Thu, 24 Jul 2014 18:34:00 GMT + Mon, 19 Jan 2015 22:37:41 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T18:33:44.7330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T18:33:46.5570000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T18:35:44.4770000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 29 + 53 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -13803,11 +14580,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 2893d304-137b-4b2c-9da4-45639c20b151-2014-07-24 18:34:00Z + 144a4df0-b759-4185-8d7e-85f2b55feb56-2015-01-19 22:37:43Z +
+
+ Authorization + Bearer abc
@@ -13820,12 +14601,16 @@
x-ms-request-id - 3a076a66-be26-404a-baf6-01dc4b4e531c + 873755ce-b1c4-4a3b-bc7c-1d89c19c90db
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -13836,23 +14621,23 @@
Date - Thu, 24 Jul 2014 18:34:00 GMT + Mon, 19 Jan 2015 22:37:43 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 30 + 54 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -13860,34 +14645,37 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 48fe16f9-4ae2-4e1d-8926-b59deb5b2970-2014-07-24 18:34:00Z + e9fa3cdd-6ad8-4357-a250-6e08cbf6ae4b-2015-01-19 22:37:45Z +
+
+ Authorization + Bearer abc
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdbcertPremiumDBP1</Name> - <Edition>Premium</Edition> - <CollationName></CollationName> - <ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId> -</ServiceResource> - application/xml + +
- Created + OK
x-ms-request-id - b7dad5bd-16c2-49ef-92a6-789a03600d51 + 81f0d07f-29de-4555-b55a-bf41c033eaa0
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -13898,23 +14686,23 @@
Date - Thu, 24 Jul 2014 18:34:00 GMT + Mon, 19 Jan 2015 22:37:45 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition/><MaxSizeGB>-1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T18:34:00.5700000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>-1</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T18:16:47.9900000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 31 + 55 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -13922,11 +14710,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 585f570a-5ce3-4aab-a768-e4b6c400ac3f-2014-07-24 18:34:01Z + 29578ef4-dfc4-4641-b650-1debc38bdbcd-2015-01-19 22:37:47Z +
+
+ Authorization + Bearer abc
@@ -13939,12 +14731,16 @@
x-ms-request-id - 73079e30-c3c7-4ae0-97eb-1440a63d714b + 91590079-2e4b-4ce0-a588-68b98dcc1320
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -13955,23 +14751,23 @@
Date - Thu, 24 Jul 2014 18:34:01 GMT + Mon, 19 Jan 2015 22:37:47 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Premium P1 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 32 + 56 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP1 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -13979,11 +14775,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 51e5b50a-df85-4d95-a3a8-fd3093c1e0ec-2014-07-24 18:34:03Z + d8093305-10ec-4b71-b022-a1306f12c4af-2015-01-19 22:37:49Z +
+
+ Authorization + Bearer abc
@@ -13996,12 +14796,16 @@
x-ms-request-id - a58d84f2-64eb-44f7-a4c1-db0f2393e031 + e811e9eb-76f7-4aed-b7cf-14b45a3a554a
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -14012,23 +14816,23 @@
Date - Thu, 24 Jul 2014 18:34:03 GMT + Mon, 19 Jan 2015 22:37:49 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition/><MaxSizeGB>-1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T18:34:00.5700000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>-1</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T18:16:47.9900000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 33 + 57 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -14036,11 +14840,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 3b5ed630-9f38-4720-8511-d057b5dd27cc-2014-07-24 18:34:03Z + 661484f5-56bf-4dca-a7df-aef65e4939c2-2015-01-19 22:37:51Z +
+
+ Authorization + Bearer abc
@@ -14053,12 +14861,16 @@
x-ms-request-id - 0f8f82d0-fad4-4dc0-a5b7-42ee222279be + 68129680-cf61-4428-8100-58182032cee3
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -14069,23 +14881,23 @@
Date - Thu, 24 Jul 2014 18:34:03 GMT + Mon, 19 Jan 2015 22:37:51 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Premium P1 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 34 + 58 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP1 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -14093,11 +14905,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - aa6fb7ea-a34b-4f1c-b143-e6e413ec8073-2014-07-24 18:34:05Z + b89425f7-d50e-43b0-b4f5-353cfcc07587-2015-01-19 22:37:53Z +
+
+ Authorization + Bearer abc
@@ -14110,12 +14926,16 @@
x-ms-request-id - 6eaa6443-c93b-4978-b5ed-952ff7707295 + ede49613-0c17-45b0-b59e-e62bc24ed2b2
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -14126,23 +14946,23 @@
Date - Thu, 24 Jul 2014 18:34:05 GMT + Mon, 19 Jan 2015 22:37:53 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition/><MaxSizeGB>-1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T18:34:00.5700000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>-1</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T18:16:47.9900000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 35 + 59 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -14150,11 +14970,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - a57381fa-aa07-4fb2-9123-5616a17823a4-2014-07-24 18:34:05Z + 4b3ab18f-989d-4d0e-a673-d12d52f7d0f6-2015-01-19 22:37:55Z +
+
+ Authorization + Bearer abc
@@ -14167,12 +14991,16 @@
x-ms-request-id - 028dd702-f2d0-4f47-99e1-7e9c5b80e9d3 + c871381b-d654-46a1-abf6-f7664a0417ce
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -14183,23 +15011,23 @@
Date - Thu, 24 Jul 2014 18:34:05 GMT + Mon, 19 Jan 2015 22:37:55 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Premium P1 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 36 + 60 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP1 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -14207,11 +15035,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - afad290e-0e5f-4fb8-8d77-91928bbabbea-2014-07-24 18:34:07Z + 93120ce9-f6b7-47b4-b409-9a882fb01fa0-2015-01-19 22:37:57Z +
+
+ Authorization + Bearer abc
@@ -14224,12 +15056,16 @@
x-ms-request-id - b2d320a7-7371-4257-a13d-5fa64903395f + 4ba5d2da-73e3-4a12-838e-0c674c5a72ed
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -14240,23 +15076,23 @@
Date - Thu, 24 Jul 2014 18:34:07 GMT + Mon, 19 Jan 2015 22:37:58 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Premium</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T18:34:00.5700000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T18:34:05.8830000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T18:35:00.3700000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 37 + 61 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -14264,11 +15100,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 1fcbbce8-8d47-4223-91a3-c190dc34e974-2014-07-24 18:34:07Z + dbd7a314-3ea8-4a46-9f3a-8992bbe70f3d-2015-01-19 22:38:00Z +
+
+ Authorization + Bearer abc
@@ -14281,12 +15121,16 @@
x-ms-request-id - 775c10bf-5f7f-4cf2-8182-a5d109e05aa3 + 1f748a20-0101-492f-bdf1-350da82d7dc4
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -14297,23 +15141,23 @@
Date - Thu, 24 Jul 2014 18:34:07 GMT + Mon, 19 Jan 2015 22:38:00 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Premium P1 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 38 + 62 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -14321,34 +15165,37 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - c2ca5ba0-994e-4385-a771-bd75449f039e-2014-07-24 18:34:08Z + 24b9b80b-43b7-46b6-b395-252fb680c742-2015-01-19 22:38:02Z +
+
+ Authorization + Bearer abc
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdbcertPremiumDBP2</Name> - <Edition>Premium</Edition> - <CollationName></CollationName> - <ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId> -</ServiceResource> - application/xml + +
- Created + OK
x-ms-request-id - 5b8b30df-74a9-4ae7-b052-f3a90b9aadd0 + 0a37bd75-4599-4e49-9ae6-49aa699fd718
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -14359,23 +15206,23 @@
Date - Thu, 24 Jul 2014 18:34:09 GMT + Mon, 19 Jan 2015 22:38:02 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition/><MaxSizeGB>-1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T18:34:08.9900000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>-1</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T18:16:56.4130000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 39 + 63 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -14383,11 +15230,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 8fd024e8-c560-4aec-9f43-9e79c8fb4ab2-2014-07-24 18:34:09Z + 4f2ebf86-35ee-4c99-8334-fc70c0b891e3-2015-01-19 22:38:04Z +
+
+ Authorization + Bearer abc
@@ -14400,12 +15251,16 @@
x-ms-request-id - e4aad33a-7349-4fbd-b2ac-4eace0aeb807 + 2d20f068-787e-45c0-bec9-1159f9bd2af1
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -14416,23 +15271,23 @@
Date - Thu, 24 Jul 2014 18:34:09 GMT + Mon, 19 Jan 2015 22:38:04 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Premium P2 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 40 + 64 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -14440,11 +15295,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - a8bd6c77-8ebd-44d6-ab4d-1ac590ddf081-2014-07-24 18:34:11Z + fdfb867d-1246-4994-9ebc-1920d71bf9e0-2015-01-19 22:38:06Z +
+
+ Authorization + Bearer abc
@@ -14457,12 +15316,16 @@
x-ms-request-id - d9b0d80d-8ee4-41a9-8c81-eeb4220583b3 + 3d9be27e-74e3-4d30-ab55-4ce67f9d334d
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -14473,23 +15336,23 @@
Date - Thu, 24 Jul 2014 18:34:11 GMT + Mon, 19 Jan 2015 22:38:06 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition/><MaxSizeGB>-1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T18:34:08.9900000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>-1</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T18:16:56.4130000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 41 + 65 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -14497,11 +15360,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - d2b29ff2-e972-4c5d-ba56-22d49cb8ff70-2014-07-24 18:34:11Z + dc12d7f8-dfa2-4a77-a35d-f8dfca4cbab0-2015-01-19 22:38:08Z +
+
+ Authorization + Bearer abc
@@ -14514,12 +15381,16 @@
x-ms-request-id - b1eebd1c-e573-47ed-8a0f-edbef5fdb47a + e6e09711-4096-4389-ac1c-6b18c486990b
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -14530,23 +15401,23 @@
Date - Thu, 24 Jul 2014 18:34:11 GMT + Mon, 19 Jan 2015 22:38:08 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Premium P2 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 42 + 66 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -14554,11 +15425,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 66b13673-7bd2-4ab7-993e-17f036389da5-2014-07-24 18:34:14Z + f124d30f-d4d4-4a9b-83da-1a96801e099c-2015-01-19 22:38:10Z +
+
+ Authorization + Bearer abc
@@ -14571,12 +15446,16 @@
x-ms-request-id - 40bdb4e7-92c8-448f-a70a-5a19b6fa23fc + d7dceddb-daf8-41df-a0c3-901776bfca37
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -14587,23 +15466,23 @@
Date - Thu, 24 Jul 2014 18:34:14 GMT + Mon, 19 Jan 2015 22:38:10 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>20</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T18:34:08.9900000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>21474836480</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T18:34:12.2430000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T18:35:08.6030000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 43 + 67 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -14611,11 +15490,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 9cbe4427-f02f-42e9-8501-e5b13aa9a658-2014-07-24 18:34:14Z + 3c33d89f-10ec-4516-8fd8-a05b3ba0800f-2015-01-19 22:38:12Z +
+
+ Authorization + Bearer abc
@@ -14628,12 +15511,16 @@
x-ms-request-id - 3013f980-0b92-4e56-955a-6cebc6955389 + d131e2e4-395a-47e2-bee5-5ad69ea0dd40
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -14644,23 +15531,23 @@
Date - Thu, 24 Jul 2014 18:34:14 GMT + Mon, 19 Jan 2015 22:38:12 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Premium P2 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 44 + 68 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -14668,32 +15555,37 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - a0deb3b7-38bc-47ae-9637-b4c2c6a02fc1-2014-07-24 18:34:14Z + fb767423-13bf-4a21-a8d4-417617e2ece0-2015-01-19 22:38:14Z +
+
+ Authorization + Bearer abc
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdbcertGetOperationDbName_f1abaa48-a85a-4141-9a40-6acb3ea65771</Name> - <CollationName></CollationName> -</ServiceResource> - application/xml + +
- Created + OK
x-ms-request-id - 306236e8-0638-4496-abf3-4095a376c790 + 1cd487ff-c180-45af-b6dd-7d93ff38494e
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -14704,23 +15596,23 @@
Date - Thu, 24 Jul 2014 18:34:17 GMT + Mon, 19 Jan 2015 22:38:14 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_f1abaa48-a85a-4141-9a40-6acb3ea65771</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_f1abaa48-a85a-4141-9a40-6acb3ea65771</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T18:34:15.0130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T18:34:17.0700000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T18:35:14.7600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 45 + 69 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -14728,11 +15620,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - c2502715-23f3-4096-a537-4aa219ef4cdd-2014-07-24 18:34:17Z + b6d81cef-fb3b-4e7a-811a-a5558bab942d-2015-01-19 22:38:16Z +
+
+ Authorization + Bearer abc
@@ -14745,12 +15641,16 @@
x-ms-request-id - 24e4abf4-8725-4a53-b5d9-cf3cd125f3f5 + cc883ab7-2c19-43c8-bb8b-375cf447d98e
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -14761,23 +15661,23 @@
Date - Thu, 24 Jul 2014 18:34:17 GMT + Mon, 19 Jan 2015 22:38:17 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 46 + 70 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databaseoperations?databaseName=testdbcertGetOperationDbName_f1abaa48-a85a-4141-9a40-6acb3ea65771 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -14785,11 +15685,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - e0e92e06-17fc-4ec1-8306-b780290c8263-2014-07-24 18:34:17Z + 82ed8333-c552-4007-ba6e-a4e32bb7f92d-2015-01-19 22:38:19Z +
+
+ Authorization + Bearer abc
@@ -14802,12 +15706,16 @@
x-ms-request-id - c8b2273f-4851-4db6-8272-7b3c147f58c9 + 774ec4b3-3cf9-45f4-8736-12b7201a0d72
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -14818,23 +15726,23 @@
Date - Thu, 24 Jul 2014 18:34:17 GMT + Mon, 19 Jan 2015 22:38:19 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>CREATE DATABASE</Name><Type>Microsoft.SqlAzure.DatabaseOperation</Type><State>COMPLETED</State><SelfLink>https://localhost/servers/myserver01/databaseoperations/2459d7eb-ffc2-45ee-b421-f645739aa5a0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2459d7eb-ffc2-45ee-b421-f645739aa5a0</Id><StateId>2</StateId><SessionActivityId>306236e8-0638-4496-abf3-4095a376c790</SessionActivityId><DatabaseName>testdbcertGetOperationDbName_f1abaa48-a85a-4141-9a40-6acb3ea65771</DatabaseName><PercentComplete>100</PercentComplete><Error.Code>0</Error.Code><Error/><ErrorSeverity>0</ErrorSeverity><ErrorState>0</ErrorState><StartTime>2014-07-24T18:34:14.3700000</StartTime><LastModifyTime>2014-07-24T18:34:17.2270000</LastModifyTime></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 47 + 71 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databaseoperations?databaseName=testdbcertGetOperationDbName_f1abaa48-a85a-4141-9a40-6acb3ea65771 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -14842,11 +15750,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 3b69b9ee-23de-4bca-9db8-3fba5d9e7020-2014-07-24 18:34:17Z + 68794195-d2cd-461d-9bca-2190ca4fcb87-2015-01-19 22:38:21Z +
+
+ Authorization + Bearer abc
@@ -14859,12 +15771,16 @@
x-ms-request-id - 34d7b192-cdef-43e2-9684-5b0e7118858f + 92dd1b88-800e-47ea-abd5-b70a19621026
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -14875,23 +15791,23 @@
Date - Thu, 24 Jul 2014 18:34:17 GMT + Mon, 19 Jan 2015 22:38:21 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>CREATE DATABASE</Name><Type>Microsoft.SqlAzure.DatabaseOperation</Type><State>COMPLETED</State><SelfLink>https://localhost/servers/myserver01/databaseoperations/2459d7eb-ffc2-45ee-b421-f645739aa5a0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2459d7eb-ffc2-45ee-b421-f645739aa5a0</Id><StateId>2</StateId><SessionActivityId>306236e8-0638-4496-abf3-4095a376c790</SessionActivityId><DatabaseName>testdbcertGetOperationDbName_f1abaa48-a85a-4141-9a40-6acb3ea65771</DatabaseName><PercentComplete>100</PercentComplete><Error.Code>0</Error.Code><Error/><ErrorSeverity>0</ErrorSeverity><ErrorState>0</ErrorState><StartTime>2014-07-24T18:34:14.3700000</StartTime><LastModifyTime>2014-07-24T18:34:17.2270000</LastModifyTime></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 48 + 72 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databaseoperations/2459d7eb-ffc2-45ee-b421-f645739aa5a0 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -14899,11 +15815,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 1455b4ba-eae9-4230-b11c-d624e4fb04af-2014-07-24 18:34:17Z + 27b63397-a36a-4cdb-8c20-f839e4c3c2f7-2015-01-19 22:38:23Z +
+
+ Authorization + Bearer abc
@@ -14916,12 +15836,16 @@
x-ms-request-id - b84e4e08-af34-468e-a1c7-1583657008c6 + 85cecbe0-62ac-40b4-8f25-92739699304b
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -14932,23 +15856,23 @@
Date - Thu, 24 Jul 2014 18:34:17 GMT + Mon, 19 Jan 2015 22:38:23 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>CREATE DATABASE</Name><Type>Microsoft.SqlAzure.DatabaseOperation</Type><State>COMPLETED</State><SelfLink>https://localhost/servers/myserver01/databaseoperations/2459d7eb-ffc2-45ee-b421-f645739aa5a0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2459d7eb-ffc2-45ee-b421-f645739aa5a0</Id><StateId>2</StateId><SessionActivityId>306236e8-0638-4496-abf3-4095a376c790</SessionActivityId><DatabaseName>testdbcertGetOperationDbName_f1abaa48-a85a-4141-9a40-6acb3ea65771</DatabaseName><PercentComplete>100</PercentComplete><Error.Code>0</Error.Code><Error/><ErrorSeverity>0</ErrorSeverity><ErrorState>0</ErrorState><StartTime>2014-07-24T18:34:14.3700000</StartTime><LastModifyTime>2014-07-24T18:34:17.2270000</LastModifyTime></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 49 + 73 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert3 - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -14956,15 +15880,19 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - f5e2dbbf-ca17-4a39-8dac-b827628a82ec-2014-07-24 18:34:18Z + 283783a1-e4c7-4c37-b7c2-9ce297f529a5-2015-01-19 22:38:25Z +
+
+ Authorization + Bearer abc
- +
@@ -14973,35 +15901,43 @@
x-ms-request-id - 67e9823f-b795-4733-869e-570349976d7a + 22f92b8d-e05d-45c7-8785-18a40b68a330
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Thu, 24 Jul 2014 18:34:21 GMT + Mon, 19 Jan 2015 22:38:25 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 50 + 74 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -15009,15 +15945,19 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - e2173350-1b0d-4666-a0b5-1294b20e43ed-2014-07-24 18:34:21Z + 2eb97066-ba76-4cfd-9a02-8ca64f182832-2015-01-19 22:38:27Z +
+
+ Authorization + Bearer abc
- +
@@ -15026,35 +15966,43 @@
x-ms-request-id - 383563a6-9ecb-4d67-994c-6cdb6bbec756 + 24b3693c-0820-4f0a-afdd-d86bd94c3178
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Thu, 24 Jul 2014 18:34:24 GMT + Mon, 19 Jan 2015 22:38:27 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 51 + 75 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -15062,15 +16010,19 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - a870ba17-2941-4f46-bad3-0a608f53f3fc-2014-07-24 18:34:24Z + 78e03705-02d7-43ad-a1d1-ff776de0d08d-2015-01-19 22:38:29Z +
+
+ Authorization + Bearer abc
- +
@@ -15079,35 +16031,43 @@
x-ms-request-id - 6d251055-6ab7-4fd8-b070-06cab8e15e2c + 41352a32-aa16-416f-b32b-79fac7ab98a0
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Thu, 24 Jul 2014 18:34:26 GMT + Mon, 19 Jan 2015 22:38:29 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 52 + 76 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP1 - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -15115,15 +16075,19 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 2c1f0d60-f9ad-45ce-8dc7-f43f25d90035-2014-07-24 18:34:26Z + 9e6dd592-7519-48c4-988b-c981bae5c27d-2015-01-19 22:38:31Z +
+
+ Authorization + Bearer abc
- +
@@ -15132,35 +16096,43 @@
x-ms-request-id - 0a48d135-2f78-459a-9ac3-3971f7af4a35 + a2a1e31b-4842-4371-966b-2524359d8709
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Thu, 24 Jul 2014 18:34:29 GMT + Mon, 19 Jan 2015 22:38:31 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 53 + 77 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -15168,15 +16140,19 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 89bfe5df-6d0f-43b9-8e8f-2de2e3acbd9e-2014-07-24 18:34:29Z + 192a8da2-78c0-408f-ac49-0f1252ae30a5-2015-01-19 22:38:33Z +
+
+ Authorization + Bearer abc
- +
@@ -15185,35 +16161,43 @@
x-ms-request-id - c66b0128-0496-45a0-bbcf-063bfefe167d + d9ff70e4-54a0-4bd2-9725-3b1aa0f7fdf1
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Thu, 24 Jul 2014 18:34:31 GMT + Mon, 19 Jan 2015 22:38:33 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 54 + 78 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_f1abaa48-a85a-4141-9a40-6acb3ea65771 - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -15221,15 +16205,19 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 3bcdc1cd-0562-45f5-835f-07e98038c1db-2014-07-24 18:34:31Z + b8192fc1-7de3-491c-9aac-7d92631d68c1-2015-01-19 22:38:35Z +
+
+ Authorization + Bearer abc
- +
@@ -15238,35 +16226,43 @@
x-ms-request-id - 6a0ab9a3-722f-42a9-b0f3-7758fb84869f + d7b31f28-81b7-4724-8fb2-d6e1f66573d8
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Thu, 24 Jul 2014 18:34:35 GMT + Mon, 19 Jan 2015 22:38:36 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 55 + 79 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases?contentview=generic + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -15274,11 +16270,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 61c7faf4-0dd3-4ae7-aa5b-42d25a6c65df-2014-07-24 18:34:35Z + f5f5e54e-9f22-4f9b-9214-487c12a1a27d-2015-01-19 22:38:38Z +
+
+ Authorization + Bearer abc
@@ -15291,12 +16291,16 @@
x-ms-request-id - 352e7e97-4451-4cfb-99b9-b600d938eb3d + 2b2d197a-473c-4fab-9977-f3b230f1cc54
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -15307,23 +16311,23 @@
Date - Thu, 24 Jul 2014 18:34:35 GMT + Mon, 19 Jan 2015 22:38:38 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/master</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-22T17:52:25.3400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</ServiceObjectiveId><AssignedServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-22T17:52:27.9370000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 56 + 80 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -15331,11 +16335,15 @@
x-ms-client-session-id - 3f97c047-32e4-4bf0-a700-647b56515b82-2014-07-24 18:33:34Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - f63806e2-8801-4153-82ce-6b3d50344969-2014-07-24 18:34:35Z + 942f35a3-c92f-4111-9b15-c202f8bef71c-2015-01-19 22:38:40Z +
+
+ Authorization + Bearer abc
@@ -15348,12 +16356,16 @@
x-ms-request-id - 9c35bfb8-c328-4fa9-a5a0-8d191e3ff2bd + 980df189-0752-4054-8e40-716ddb4d6cfe
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -15364,83 +16376,60 @@
Date - Thu, 24 Jul 2014 18:34:35 GMT + Mon, 19 Jan 2015 22:38:40 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description>Used for master database only.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
-
-
- - UnitTest.Common.CreatePremiumDatabasesWithSqlAuth - - 0 + 81 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives()?$filter=Name%20eq%20'P1'&$top=2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== + x-ms-version + 2012-03-01
x-ms-client-session-id - 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - ceb847c0-a813-41ed-8b2f-384ba5382cbc-2014-07-16 17:19:50Z -
-
- Accept-Charset - UTF-8 + d287cc0f-00a0-425d-86ed-f22b4bd37157-2015-01-19 22:38:42Z
- Cookie - .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - 2YfLm3SJ30DuNMtGp+K1qg== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - a0778f5c-9d63-4664-a742-b7a367dde4cf + 71c3267e-f0dc-413c-9ae3-d36c494b284b
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -15448,82 +16437,64 @@
Content-Type - application/atom+xml;type=feed;charset=utf-8 + application/xml; charset=utf-8
Date - Wed, 16 Jul 2014 17:19:50 GMT + Mon, 19 Jan 2015 22:38:42 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives</id><title type="text">ServiceObjectives</title><updated>2014-07-16T17:19:50Z</updated><link rel="self" title="ServiceObjectives" href="ServiceObjectives" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings" /><title /><updated>2014-07-16T17:19:50Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:Id><d:Name>P1</d:Name><d:Description>Premium P1 resource allocation.</d:Description><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry></feed> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 1 + 82 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== + x-ms-version + 2012-03-01
x-ms-client-session-id - 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - ceb847c0-a813-41ed-8b2f-384ba5382cbc-2014-07-16 17:19:50Z -
-
- Accept-Charset - UTF-8 + 04a861d6-bab1-4d2c-960e-522c6b08355b-2015-01-19 22:38:44Z
- Cookie - .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - 2YfLm3SJ30DuNMtGp+K1qg== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - a0778f5c-9d63-4664-a742-b7a367dde4cf + c6bff929-ea7d-4b3e-b8c3-9ccaf7c9219d
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -15531,82 +16502,64 @@
Content-Type - application/atom+xml;type=feed;charset=utf-8 + application/xml; charset=utf-8
Date - Wed, 16 Jul 2014 17:19:50 GMT + Mon, 19 Jan 2015 22:38:44 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings</id><title type="text">DimensionSettings</title><updated>2014-07-16T17:19:50Z</updated><link rel="self" title="DimensionSettings" href="DimensionSettings" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/DimensionSettings(guid'765fbda3-73c9-4fad-996e-7c0e4e219f68')</id><category term="Microsoft.SqlServer.Management.Server.Domain.DimensionSetting" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="DimensionSetting" href="DimensionSettings(guid'765fbda3-73c9-4fad-996e-7c0e4e219f68')" /><title /><updated>2014-07-16T17:19:50Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">765fbda3-73c9-4fad-996e-7c0e4e219f68</d:Id><d:Name>P1</d:Name><d:Description>Premium P1 resource allocation.</d:Description><d:Ordinal m:type="Edm.Byte">6</d:Ordinal><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault></m:properties></content></entry></feed> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 2 + 83 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives()?$filter=Name%20eq%20'P2'&$top=2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== + x-ms-version + 2012-03-01
x-ms-client-session-id - 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - ceb847c0-a813-41ed-8b2f-384ba5382cbc-2014-07-16 17:19:50Z + 1286897d-8a0a-48e9-8438-ac5dbb825897-2015-01-19 22:38:46Z
- Accept-Charset - UTF-8 -
-
- Cookie - .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - 2YfLm3SJ30DuNMtGp+K1qg== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - a0778f5c-9d63-4664-a742-b7a367dde4cf + 5f45bb8f-1a13-4fa8-89f0-531a0b4066c6
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -15614,82 +16567,64 @@
Content-Type - application/atom+xml;type=feed;charset=utf-8 + application/xml; charset=utf-8
Date - Wed, 16 Jul 2014 17:19:50 GMT + Mon, 19 Jan 2015 22:38:46 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives</id><title type="text">ServiceObjectives</title><updated>2014-07-16T17:19:50Z</updated><link rel="self" title="ServiceObjectives" href="ServiceObjectives" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')/DimensionSettings" /><title /><updated>2014-07-16T17:19:50Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:Id><d:Name>P2</d:Name><d:Description>Premium P2 resource allocation.</d:Description><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry></feed> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 3 + 84 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')/DimensionSettings + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== + x-ms-version + 2012-03-01
x-ms-client-session-id - 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - ceb847c0-a813-41ed-8b2f-384ba5382cbc-2014-07-16 17:19:50Z -
-
- Accept-Charset - UTF-8 + eecd609c-57f2-4f06-85fd-8c7394229c84-2015-01-19 22:38:48Z
- Cookie - .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - 2YfLm3SJ30DuNMtGp+K1qg== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - a0778f5c-9d63-4664-a742-b7a367dde4cf + cd12c7a7-dd98-4bf4-8eda-c27100a86d54
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -15697,82 +16632,64 @@
Content-Type - application/atom+xml;type=feed;charset=utf-8 + application/xml; charset=utf-8
Date - Wed, 16 Jul 2014 17:19:50 GMT + Mon, 19 Jan 2015 22:38:48 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')/DimensionSettings</id><title type="text">DimensionSettings</title><updated>2014-07-16T17:19:50Z</updated><link rel="self" title="DimensionSettings" href="DimensionSettings" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/DimensionSettings(guid'b15e89f1-02b5-4618-b44d-75d37261b94b')</id><category term="Microsoft.SqlServer.Management.Server.Domain.DimensionSetting" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="DimensionSetting" href="DimensionSettings(guid'b15e89f1-02b5-4618-b44d-75d37261b94b')" /><title /><updated>2014-07-16T17:19:50Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">b15e89f1-02b5-4618-b44d-75d37261b94b</d:Id><d:Name>P2</d:Name><d:Description>Premium P2 resource allocation.</d:Description><d:Ordinal m:type="Edm.Byte">7</d:Ordinal><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault></m:properties></content></entry></feed> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 4 + 85 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases - POST - AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== + x-ms-version + 2012-03-01
x-ms-client-session-id - 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - a1e6c1bd-58d0-4203-a203-7b519ae0bc38-2014-07-16 17:19:50Z + 1fe7d267-899e-4c80-a7c7-35fa36d364a7-2015-01-19 22:38:50Z
- Accept-Charset - UTF-8 -
-
- Cookie - .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - 2YfLm3SJ30DuNMtGp+K1qg== - - - - <?xml version="1.0" encoding="utf-8"?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id /><title /><updated>2014-07-16T17:19:50Z</updated><author><name /></author><content type="application/xml"><m:properties><d:AssignedServiceObjectiveId m:type="Edm.Guid" m:null="true" /><d:CollationName m:null="true" /><d:CreationDate m:type="Edm.DateTime">0001-01-01T00:00:00</d:CreationDate><d:Edition>Premium</d:Edition><d:Id m:type="Edm.Int32">0</d:Id><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsFederationRoot m:type="Edm.Boolean" m:null="true" /><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsRecursiveTriggersOn m:type="Edm.Boolean" m:null="true" /><d:IsSuspended m:type="Edm.Boolean" m:null="true" /><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:MaxSizeBytes m:type="Edm.Int64" m:null="true" /><d:MaxSizeGB m:type="Edm.Int32" m:null="true" /><d:Name>NewAzureSqlPremiumDatabaseTests_P1</d:Name><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:RecoveryPeriodStartDate m:type="Edm.DateTime" m:null="true" /><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32" m:null="true" /><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentState m:type="Edm.Byte" m:null="true" /><d:ServiceObjectiveAssignmentStateDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime" m:null="true" /><d:ServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:ServiceObjectiveId><d:SizeMB m:type="Edm.Decimal">0</d:SizeMB><d:Status m:type="Edm.Int32">0</d:Status></m:properties></content></entry> - application/atom+xml - application/atom+xml,application/xml + + + +
- Created + OK
x-ms-request-id - a0778f5c-9d63-4664-a742-b7a367dde4cf + 093777cd-00d9-460e-a80d-e6632e9e5ba8
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -15780,86 +16697,64 @@
Content-Type - application/atom+xml;type=entry;charset=utf-8 + application/xml; charset=utf-8
Date - Wed, 16 Jul 2014 17:19:51 GMT -
-
- Location - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) + Mon, 19 Jan 2015 22:38:50 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(4)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(4)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(4)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(4)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(4)/DatabaseCopies" /><title /><updated>2014-07-16T17:19:51Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">4</d:Id><d:Name>NewAzureSqlPremiumDatabaseTests_P1</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">0</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Pending</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2014-07-15T21:55:35.777</d:ServiceObjectiveAssignmentSuccessDate><d:Edition></d:Edition><d:MaxSizeGB m:type="Edm.Int32">-1</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">-1</d:MaxSizeBytes><d:CollationName>SQL_Latin1_General_CP1_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2014-07-16T10:19:51.33</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime" m:null="true" /><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">2048</d:Status><d:IsFederationRoot m:type="Edm.Boolean" m:null="true" /><d:SizeMB m:type="Edm.Decimal">-1</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean" m:null="true" /><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 5 + 86 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== + x-ms-version + 2012-03-01
x-ms-client-session-id - 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - a1e6c1bd-58d0-4203-a203-7b519ae0bc38-2014-07-16 17:19:50Z -
-
- Accept-Charset - UTF-8 + 2eb48a7b-f2af-4eb6-8dbf-df393fa81a49-2015-01-19 22:38:52Z
- Cookie - .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - 2YfLm3SJ30DuNMtGp+K1qg== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - a0778f5c-9d63-4664-a742-b7a367dde4cf + 4a093d18-8e50-4e23-a77d-6901ab405963
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -15867,82 +16762,64 @@
Content-Type - application/atom+xml;type=entry;charset=utf-8 + application/xml; charset=utf-8
Date - Wed, 16 Jul 2014 17:19:51 GMT + Mon, 19 Jan 2015 22:38:52 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(4)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(4)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(4)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(4)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(4)/DatabaseCopies" /><title /><updated>2014-07-16T17:19:52Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">4</d:Id><d:Name>NewAzureSqlPremiumDatabaseTests_P1</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">0</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Pending</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2014-07-15T21:55:35.777</d:ServiceObjectiveAssignmentSuccessDate><d:Edition></d:Edition><d:MaxSizeGB m:type="Edm.Int32">-1</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">-1</d:MaxSizeBytes><d:CollationName>SQL_Latin1_General_CP1_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2014-07-16T10:19:51.33</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime" m:null="true" /><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">2048</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 6 + 87 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== + x-ms-version + 2012-03-01
x-ms-client-session-id - 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - a1e6c1bd-58d0-4203-a203-7b519ae0bc38-2014-07-16 17:19:50Z + fd88dee6-f497-450b-9ba0-80b0f57ff1e8-2015-01-19 22:38:54Z
- Accept-Charset - UTF-8 -
-
- Cookie - .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - 2YfLm3SJ30DuNMtGp+K1qg== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - a0778f5c-9d63-4664-a742-b7a367dde4cf + 620b1f56-b769-4a99-9418-e722c7622897
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -15950,82 +16827,64 @@
Content-Type - application/atom+xml;type=entry;charset=utf-8 + application/xml; charset=utf-8
Date - Wed, 16 Jul 2014 17:19:51 GMT + Mon, 19 Jan 2015 22:38:55 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings" /><title /><updated>2014-07-16T17:19:52Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:Id><d:Name>P1</d:Name><d:Description>Premium P1 resource allocation.</d:Description><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 7 + 88 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'NewAzureSqlPremiumDatabaseTests_P1'&$top=2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== + x-ms-version + 2012-03-01
x-ms-client-session-id - 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - a1e6c1bd-58d0-4203-a203-7b519ae0bc38-2014-07-16 17:19:50Z -
-
- Accept-Charset - UTF-8 + c5b198d3-4ebb-45f0-9221-359fe10b85e7-2015-01-19 22:38:57Z
- Cookie - .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - 2YfLm3SJ30DuNMtGp+K1qg== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - a0778f5c-9d63-4664-a742-b7a367dde4cf + 0016df6c-b6cd-4219-bc56-d74acf092dc7
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -16033,82 +16892,64 @@
Content-Type - application/atom+xml;type=feed;charset=utf-8 + application/xml; charset=utf-8
Date - Wed, 16 Jul 2014 17:19:53 GMT + Mon, 19 Jan 2015 22:38:57 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases</id><title type="text">Databases</title><updated>2014-07-16T17:19:54Z</updated><link rel="self" title="Databases" href="Databases" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(4)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(4)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(4)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(4)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(4)/DatabaseCopies" /><title /><updated>2014-07-16T17:19:54Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">4</d:Id><d:Name>NewAzureSqlPremiumDatabaseTests_P1</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2014-07-16T17:19:54.297</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>Premium</d:Edition><d:MaxSizeGB m:type="Edm.Int32">10</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">10737418240</d:MaxSizeBytes><d:CollationName>SQL_Latin1_General_CP1_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2014-07-16T10:19:51.33</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime">2014-07-16T17:20:50.983Z</d:RecoveryPeriodStartDate><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry></feed> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 8 + 89 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== + x-ms-version + 2012-03-01
x-ms-client-session-id - 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - a1e6c1bd-58d0-4203-a203-7b519ae0bc38-2014-07-16 17:19:50Z -
-
- Accept-Charset - UTF-8 + ca3e6a83-0c1e-4ec2-ae86-adab4c2963ca-2015-01-19 22:38:59Z
- Cookie - .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - 2YfLm3SJ30DuNMtGp+K1qg== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - a0778f5c-9d63-4664-a742-b7a367dde4cf + de66ca97-d3dd-4667-baa1-17b9311df531
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -16116,82 +16957,64 @@
Content-Type - application/atom+xml;type=entry;charset=utf-8 + application/xml; charset=utf-8
Date - Wed, 16 Jul 2014 17:19:53 GMT + Mon, 19 Jan 2015 22:38:59 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings" /><title /><updated>2014-07-16T17:19:54Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:Id><d:Name>P1</d:Name><d:Description>Premium P1 resource allocation.</d:Description><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:32.1100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 9 + 90 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases - POST - AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== + x-ms-version + 2012-03-01
x-ms-client-session-id - 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 37c39e27-1f78-4ebb-8564-d5c75a36a874-2014-07-16 17:19:54Z -
-
- Accept-Charset - UTF-8 + e24470d9-0037-4549-aaad-9bd55b30ad9e-2015-01-19 22:39:01Z
- Cookie - .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - 2YfLm3SJ30DuNMtGp+K1qg== - - - - <?xml version="1.0" encoding="utf-8"?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id /><title /><updated>2014-07-16T17:19:54Z</updated><author><name /></author><content type="application/xml"><m:properties><d:AssignedServiceObjectiveId m:type="Edm.Guid" m:null="true" /><d:CollationName>Japanese_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">0001-01-01T00:00:00</d:CreationDate><d:Edition>Premium</d:Edition><d:Id m:type="Edm.Int32">0</d:Id><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsFederationRoot m:type="Edm.Boolean" m:null="true" /><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsRecursiveTriggersOn m:type="Edm.Boolean" m:null="true" /><d:IsSuspended m:type="Edm.Boolean" m:null="true" /><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:MaxSizeBytes m:type="Edm.Int64" m:null="true" /><d:MaxSizeGB m:type="Edm.Int32">10</d:MaxSizeGB><d:Name>NewAzureSqlPremiumDatabaseTests_P2</d:Name><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:RecoveryPeriodStartDate m:type="Edm.DateTime" m:null="true" /><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32" m:null="true" /><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentState m:type="Edm.Byte" m:null="true" /><d:ServiceObjectiveAssignmentStateDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime" m:null="true" /><d:ServiceObjectiveId m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:ServiceObjectiveId><d:SizeMB m:type="Edm.Decimal">0</d:SizeMB><d:Status m:type="Edm.Int32">0</d:Status></m:properties></content></entry> - application/atom+xml - application/atom+xml,application/xml + + + +
- Created + OK
x-ms-request-id - a0778f5c-9d63-4664-a742-b7a367dde4cf + f28e4bd3-1e45-4ddd-866f-e9fffd709574
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -16199,86 +17022,68 @@
Content-Type - application/atom+xml;type=entry;charset=utf-8 + application/xml; charset=utf-8
Date - Wed, 16 Jul 2014 17:19:55 GMT -
-
- Location - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5) + Mon, 19 Jan 2015 22:39:01 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(5)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(5)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(5)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(5)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(5)/DatabaseCopies" /><title /><updated>2014-07-16T17:19:55Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">5</d:Id><d:Name>NewAzureSqlPremiumDatabaseTests_P2</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">0</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Pending</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2014-07-16T11:03:28.48</d:ServiceObjectiveAssignmentSuccessDate><d:Edition></d:Edition><d:MaxSizeGB m:type="Edm.Int32">-1</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">-1</d:MaxSizeBytes><d:CollationName>Japanese_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2014-07-16T10:19:54.913</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime" m:null="true" /><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">2048</d:Status><d:IsFederationRoot m:type="Edm.Boolean" m:null="true" /><d:SizeMB m:type="Edm.Decimal">-1</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean" m:null="true" /><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:00.2670000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 10 + 91 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5) - GET - AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== + x-ms-version + 2012-03-01
x-ms-client-session-id - 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 37c39e27-1f78-4ebb-8564-d5c75a36a874-2014-07-16 17:19:54Z -
-
- Accept-Charset - UTF-8 + 283fa6a2-735f-464b-9b48-e1338552ae31-2015-01-19 22:39:01Z
- Cookie - .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - 2YfLm3SJ30DuNMtGp+K1qg== - - - - - - application/atom+xml,application/xml + + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <Name>testdbcert4</Name> + <CollationName></CollationName> + <MaxSizeBytes>104857600</MaxSizeBytes> +</ServiceResource> + application/xml +
- OK + Created
x-ms-request-id - a0778f5c-9d63-4664-a742-b7a367dde4cf + b7ec4e79-f187-4e75-a0ce-0411f11415b2
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -16286,82 +17091,64 @@
Content-Type - application/atom+xml;type=entry;charset=utf-8 + application/xml; charset=utf-8
Date - Wed, 16 Jul 2014 17:19:55 GMT + Mon, 19 Jan 2015 22:39:06 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(5)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(5)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(5)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(5)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(5)/DatabaseCopies" /><title /><updated>2014-07-16T17:19:55Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">5</d:Id><d:Name>NewAzureSqlPremiumDatabaseTests_P2</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">0</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Pending</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2014-07-16T11:03:28.48</d:ServiceObjectiveAssignmentSuccessDate><d:Edition></d:Edition><d:MaxSizeGB m:type="Edm.Int32">-1</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">-1</d:MaxSizeBytes><d:CollationName>Japanese_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2014-07-16T10:19:54.913</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime" m:null="true" /><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">2048</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:02.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 11 + 92 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== + x-ms-version + 2012-03-01
x-ms-client-session-id - 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 37c39e27-1f78-4ebb-8564-d5c75a36a874-2014-07-16 17:19:54Z -
-
- Accept-Charset - UTF-8 + 345260cc-8ba2-4fd8-96ae-2aa48e65217b-2015-01-19 22:39:06Z
- Cookie - .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - 2YfLm3SJ30DuNMtGp+K1qg== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - a0778f5c-9d63-4664-a742-b7a367dde4cf + b89ee375-d0ea-4f7c-897a-9493809e4d80
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -16369,82 +17156,64 @@
Content-Type - application/atom+xml;type=entry;charset=utf-8 + application/xml; charset=utf-8
Date - Wed, 16 Jul 2014 17:19:55 GMT + Mon, 19 Jan 2015 22:39:06 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')/DimensionSettings" /><title /><updated>2014-07-16T17:19:55Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:Id><d:Name>P2</d:Name><d:Description>Premium P2 resource allocation.</d:Description><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Business</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/4518ce8e-6026-4113-b4fd-3b5d777c6881</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4518ce8e-6026-4113-b4fd-3b5d777c6881</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Business</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/4518ce8e-6026-4113-b4fd-3b5d777c6881</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4518ce8e-6026-4113-b4fd-3b5d777c6881</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources>
- 12 + 93 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'NewAzureSqlPremiumDatabaseTests_P2'&$top=2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== + x-ms-version + 2012-03-01
x-ms-client-session-id - 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 37c39e27-1f78-4ebb-8564-d5c75a36a874-2014-07-16 17:19:54Z -
-
- Accept-Charset - UTF-8 + a861002c-1e65-4070-99ab-803e0f55f487-2015-01-19 22:39:08Z
- Cookie - .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - 2YfLm3SJ30DuNMtGp+K1qg== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - a0778f5c-9d63-4664-a742-b7a367dde4cf + e57afeec-6ec9-4c7f-8dfc-85427cec9ac4
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -16452,82 +17221,31803 @@
Content-Type - application/atom+xml;type=feed;charset=utf-8 + application/xml; charset=utf-8
Date - Wed, 16 Jul 2014 17:19:57 GMT + Mon, 19 Jan 2015 22:39:08 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases</id><title type="text">Databases</title><updated>2014-07-16T17:19:57Z</updated><link rel="self" title="Databases" href="Databases" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(5)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(5)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(5)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(5)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(5)/DatabaseCopies" /><title /><updated>2014-07-16T17:19:57Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">5</d:Id><d:Name>NewAzureSqlPremiumDatabaseTests_P2</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">0</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Pending</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2014-07-16T11:03:28.48</d:ServiceObjectiveAssignmentSuccessDate><d:Edition></d:Edition><d:MaxSizeGB m:type="Edm.Int32">-1</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">-1</d:MaxSizeBytes><d:CollationName>Japanese_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2014-07-16T10:19:54.913</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime" m:null="true" /><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">2048</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry></feed> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:02.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 13 + 94 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx + x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 03612d31-5279-4e30-b98e-e8bb4514ba51-2015-01-19 22:39:10Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 5c050be5-fbf1-4935-9095-b2d859a59d2e +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:39:11 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:02.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 95 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 36e20a72-fe3b-469f-bc07-0691d160908b-2015-01-19 22:39:13Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 2a69851d-4615-4b1f-bec4-3dbb637d44ab +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:39:13 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:02.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 96 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + f1aab064-fc86-4c4b-bfa5-ec70254df961-2015-01-19 22:39:15Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 3a93182d-cbe3-4a76-bdf6-2c8a97f4e1d5 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:39:15 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:02.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 97 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + d8984c40-b4be-41d8-8fef-4efaa000fbc2-2015-01-19 22:39:17Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 2f036e3a-d87a-48b6-8021-a0b1b2757208 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:39:17 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:02.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 98 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 4498e4d7-e620-4880-812e-fbbd4cd81dca-2015-01-19 22:39:19Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 89c36e43-18a2-43bf-ae53-7d776b9f6a14 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:39:19 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:02.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 99 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 51be9bab-ac61-4ed5-a98d-cf490ac60acc-2015-01-19 22:39:21Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 20e24e17-775c-47f4-8137-8a3e6d8f98df +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:39:21 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:02.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 100 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + c6c2326c-0806-4ed9-a52b-ad68f0a3a271-2015-01-19 22:39:23Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 6ceb5eed-1396-4a4f-8f85-1c5a12ec8086 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:39:23 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:02.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 101 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 696b6111-f1f8-4195-b07e-824d1ffb3e68-2015-01-19 22:39:25Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + aad8fa7a-777b-46a3-a9dd-6c31f1907569 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:39:25 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:02.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 102 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 6e0bf4e9-960f-4e1a-b549-206720df9f7a-2015-01-19 22:39:27Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 92376975-67f6-4cd1-a781-167d93309477 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:39:27 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:02.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 103 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + c9480c05-0f88-4f5e-9a7b-675b289eabca-2015-01-19 22:39:29Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 4848916d-5e7e-4184-a0e1-d9ceb3a9a8a3 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:39:30 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:02.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 104 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + d3632bd7-6f99-4306-aa79-e7f1136f8562-2015-01-19 22:39:32Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 4a78a57d-c7af-430f-b71e-18dc2a18c5d5 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:39:32 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:02.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 105 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 06041b6d-3fce-40c3-9a06-54e34eee87f3-2015-01-19 22:39:34Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + fa7585f6-3796-4fe8-beb4-e742422f8aad +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:39:34 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:02.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 106 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + b988e497-3994-4d3d-b31d-e9cf438f9101-2015-01-19 22:39:36Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 09e496b6-b59f-42fa-a551-a4a6c88550b9 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:39:36 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:02.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 107 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 1146c1c6-12db-4fa1-ba2d-d508180e54a5-2015-01-19 22:39:38Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + bea56970-b4ed-43bf-92cf-2359c5bd4729 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:39:38 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:02.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 108 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 9167227c-02d4-4fcb-8ac4-a6c86f590743-2015-01-19 22:39:40Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + afaa60ed-5a2c-4f4f-a9b4-800633d3d274 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:39:40 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:02.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 109 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 95e4a55c-e5a5-4742-ad69-3f479a170fe8-2015-01-19 22:39:42Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 751ac28e-f288-4e39-9ac2-a4b006d90b67 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:39:42 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:02.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 110 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + f500e5ff-6e3b-4c68-8a39-c28231de0086-2015-01-19 22:39:44Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + a219e308-afe7-444d-a4f7-d405bdc696cf +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:39:44 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:02.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 111 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 56992e6d-8377-4344-8811-f551974f2bc8-2015-01-19 22:39:46Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 7cf63419-5b27-4bbf-a40d-cccd315b15e1 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:39:46 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:02.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 112 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 0dc3100d-4c9e-4e3a-9d37-19afa1353554-2015-01-19 22:39:48Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + a53c9ded-180c-4b43-9ba8-929aed522e15 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:39:49 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:02.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 113 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 3634908f-2e70-4cd3-b226-18f862bfdf76-2015-01-19 22:39:51Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 2743d133-99f3-4dea-b5ab-7951633c8242 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:39:51 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:02.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 114 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 7cc7106b-37e4-423e-a98b-2262c463468e-2015-01-19 22:39:53Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + b78b3def-00bb-46ce-bc1d-fdbbe56be7e6 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:39:53 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:02.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 115 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + cf0a4a93-80c2-45e8-a560-ef545de07875-2015-01-19 22:39:55Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + f85707d6-e1dd-428a-80ce-4674c43910ab +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:39:55 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:02.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 116 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + f5d4eea2-1d5b-4c6a-9fd5-5e83f115cb0d-2015-01-19 22:39:57Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 745b805a-fc47-465f-bea3-b032fcaa4210 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:39:57 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:02.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 117 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 90e4adc0-9cac-4b3e-b24e-8c4da67f42b8-2015-01-19 22:39:59Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + a2624750-bdd0-4e33-a94e-daa9fc8d2f08 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:39:59 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:02.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 118 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 9a043dbc-03f1-4b6e-ae0f-290893856c0d-2015-01-19 22:40:01Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + ef8b244a-9f47-4501-abc0-2adc13fbd3db +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:40:01 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:59.1730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 119 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases?contentview=generic + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 16a23b92-0bb2-429a-a471-1e9039cda0bc-2015-01-19 22:42:08Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + d8f40a13-a104-4768-b884-56c130000510 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:42:08 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:59.1730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/master</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:32:37.0070000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>620323bf-2879-4807-b30d-c2e6d7b3b3aa</ServiceObjectiveId><AssignedServiceObjectiveId>620323bf-2879-4807-b30d-c2e6d7b3b3aa</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource><ServiceResource><Name>testdbcert2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Business</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-19T22:37:32.1100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</ServiceObjectiveId><AssignedServiceObjectiveId>4518ce8e-6026-4113-b4fd-3b5d777c6881</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:00.2670000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource><ServiceResource><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:30.7030000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource></ServiceResources> +
+
+ + 120 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 4afafce4-d224-4697-9807-0ede9c35ce7c-2015-01-19 22:42:08Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + f3f221f5-0ba4-4880-b956-2b88e7a1b97f +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:42:08 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Business</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/4518ce8e-6026-4113-b4fd-3b5d777c6881</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4518ce8e-6026-4113-b4fd-3b5d777c6881</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Business</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/4518ce8e-6026-4113-b4fd-3b5d777c6881</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4518ce8e-6026-4113-b4fd-3b5d777c6881</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources> +
+
+ + 121 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 8303a130-d6be-45bd-9479-3b433160074e-2015-01-19 22:42:08Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 0cb0674b-3055-4324-b388-643ab12e8447 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:42:08 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:30.7030000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 122 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 9dfeae9e-ce4e-4d92-92c9-555a156d0fcf-2015-01-19 22:42:09Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 0343257b-75a6-4ce6-b566-aca1f8e0330f +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:42:08 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Business</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/4518ce8e-6026-4113-b4fd-3b5d777c6881</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4518ce8e-6026-4113-b4fd-3b5d777c6881</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Business</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/4518ce8e-6026-4113-b4fd-3b5d777c6881</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4518ce8e-6026-4113-b4fd-3b5d777c6881</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources> +
+
+ + 123 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + f2e536e6-221c-47be-b548-95b1ecb2edd9-2015-01-19 22:42:09Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + b43d9de8-daad-4e17-b37e-dfb5b89df564 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:42:08 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:59.1730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 124 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 67175a35-b1fe-4f74-8a96-de771cbc40d9-2015-01-19 22:42:09Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + f4513198-2da6-4ef9-91af-3a73714f3e07 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:42:08 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Business</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/4518ce8e-6026-4113-b4fd-3b5d777c6881</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4518ce8e-6026-4113-b4fd-3b5d777c6881</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Business</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/4518ce8e-6026-4113-b4fd-3b5d777c6881</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4518ce8e-6026-4113-b4fd-3b5d777c6881</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources> +
+
+ + 125 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 002e1f75-0b22-4b0b-ad3d-1591ed8f6222-2015-01-19 22:42:09Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 194d83d6-de7b-45d0-a428-1090ddd78430 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:42:08 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:30.7030000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 126 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert1 + PUT + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 002e1f75-0b22-4b0b-ad3d-1591ed8f6222-2015-01-19 22:42:09Z +
+
+ Authorization + Bearer abc +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <Name>testdbcert3</Name> + <Edition>Standard</Edition> + <ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId> +</ServiceResource> + application/xml + +
+ + OK + +
+ x-ms-request-id + 4da4e958-8b08-4e10-b301-f8ba76718fd5 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:42:33 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:30.7030000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 127 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 677e089f-9aee-425e-b40b-47969f9005ff-2015-01-19 22:42:33Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 96363ddf-b190-422c-b059-5f6c35e58d41 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:42:33 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:42:30.7030000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 128 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert3 + PUT + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 677e089f-9aee-425e-b40b-47969f9005ff-2015-01-19 22:42:33Z +
+
+ Authorization + Bearer abc +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <Name>testdbcert3</Name> + <Edition>Standard</Edition> + <MaxSizeGB>5</MaxSizeGB> + <ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId> +</ServiceResource> + application/xml + +
+ + OK + +
+ x-ms-request-id + 170497ac-ba2a-4287-b1df-f0f67ed32e85 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:42:39 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:35:45.8600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2015-01-19T22:42:39.2070000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2015-01-19T22:42:30.7030000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 129 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + f52e7023-84cb-420f-a36d-35019a6a40d7-2015-01-19 22:42:39Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + f5f6523a-214c-4f8c-ade7-e35a3c219d2a +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:42:39 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:44:59.1730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 130 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + PUT + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + f52e7023-84cb-420f-a36d-35019a6a40d7-2015-01-19 22:42:39Z +
+
+ Authorization + Bearer abc +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <Name>testdbcert4</Name> + <Edition>Standard</Edition> + <MaxSizeBytes>1073741824</MaxSizeBytes> + <ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId> +</ServiceResource> + application/xml + +
+ + OK + +
+ x-ms-request-id + 5091743c-08b9-4db0-bbc2-f3e3ec9aad91 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:42:47 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2015-01-19T22:42:47.3170000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2015-01-19T22:44:59.1730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 131 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 60f2414e-59f4-4f62-a3aa-adee453065d3-2015-01-19 22:42:47Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + ebac8d1f-32b8-4901-a410-c8c1641b0ca9 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:42:47 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Business</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/4518ce8e-6026-4113-b4fd-3b5d777c6881</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4518ce8e-6026-4113-b4fd-3b5d777c6881</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Business</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/4518ce8e-6026-4113-b4fd-3b5d777c6881</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4518ce8e-6026-4113-b4fd-3b5d777c6881</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources> +
+
+ + 132 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 94c04971-da67-4791-82fd-460605440cfe-2015-01-19 22:42:47Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + a91814d4-96e4-4aba-9461-ad11bb7ea3a6 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:42:47 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Business</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/4518ce8e-6026-4113-b4fd-3b5d777c6881</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4518ce8e-6026-4113-b4fd-3b5d777c6881</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Business</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/4518ce8e-6026-4113-b4fd-3b5d777c6881</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4518ce8e-6026-4113-b4fd-3b5d777c6881</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources> +
+
+ + 133 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 84fc4303-2602-4ee6-b8a9-1c7667e40e6d-2015-01-19 22:42:47Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + bddc8ac2-1f34-4974-9185-2afedba1dcb1 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:42:47 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Business</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/4518ce8e-6026-4113-b4fd-3b5d777c6881</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4518ce8e-6026-4113-b4fd-3b5d777c6881</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Business</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/4518ce8e-6026-4113-b4fd-3b5d777c6881</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4518ce8e-6026-4113-b4fd-3b5d777c6881</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources> +
+
+ + 134 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 638789ea-5d32-47fa-8428-99f8ccfca67c-2015-01-19 22:42:47Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + e6b7dc47-0028-4ba9-8715-e227f1c2c921 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:42:47 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Business</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/4518ce8e-6026-4113-b4fd-3b5d777c6881</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4518ce8e-6026-4113-b4fd-3b5d777c6881</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Business</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/4518ce8e-6026-4113-b4fd-3b5d777c6881</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4518ce8e-6026-4113-b4fd-3b5d777c6881</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources> +
+
+ + 135 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + d4728755-5085-4a07-94f8-ea97a0565bf1-2015-01-19 22:43:03Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 102903b7-91a8-494c-90af-39e937511ab7 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:43:03 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2015-01-19T22:42:47.3170000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2015-01-19T22:44:59.1730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 136 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + PUT + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + d4728755-5085-4a07-94f8-ea97a0565bf1-2015-01-19 22:43:03Z +
+
+ Authorization + Bearer abc +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <Name>testdbcert4</Name> + <Edition>Premium</Edition> + <MaxSizeGB>10</MaxSizeGB> + <ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId> +</ServiceResource> + application/xml + +
+ + OK + +
+ x-ms-request-id + 6bd249b9-f674-45c4-9e52-24c86ac02bc1 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:43:04 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcert4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcert4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:39:02.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2015-01-19T22:43:03.8000000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2015-01-19T22:44:59.1730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 137 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + e650a6a2-d1ac-4bce-8817-bd05ca2549d4-2015-01-19 22:43:04Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + c0c84fcc-2a0c-4958-9777-b91da0c977b0 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:43:04 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Business</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/4518ce8e-6026-4113-b4fd-3b5d777c6881</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4518ce8e-6026-4113-b4fd-3b5d777c6881</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Business</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/4518ce8e-6026-4113-b4fd-3b5d777c6881</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4518ce8e-6026-4113-b4fd-3b5d777c6881</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources> +
+
+ + 138 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert3 + DELETE + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 5ae561ac-d3e5-4812-958e-e73de21345df-2015-01-19 22:48:46Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 2c97099a-1085-4f27-a51e-e21565cbf338 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Date + Mon, 19 Jan 2015 22:49:05 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + +
+
+ + 139 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert2 + DELETE + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + b7507f7a-b1d0-42b4-9a18-50ca738647c8-2015-01-19 22:49:05Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 1a609a66-0747-4c3f-8b33-8e11371bd3db +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Date + Mon, 19 Jan 2015 22:49:22 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + +
+
+ + 140 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcert4 + DELETE + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 7d86d99b-5905-4435-9ed6-0af580342f8b-2015-01-19 22:49:22Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + f85ad983-8b28-4169-9234-05dc9c7aa611 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Date + Mon, 19 Jan 2015 22:49:41 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + +
+
+ + 141 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases?contentview=generic + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 2a8bdc2e-8559-4a85-8785-db030757e468-2015-01-19 22:49:41Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 9de955c3-5e41-46d1-a77d-af24d690e41b +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:49:41 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/master</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:32:37.0070000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>620323bf-2879-4807-b30d-c2e6d7b3b3aa</ServiceObjectiveId><AssignedServiceObjectiveId>620323bf-2879-4807-b30d-c2e6d7b3b3aa</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource></ServiceResources> +
+
+ + 142 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 06521623-d7bb-4a2c-a6de-3aa8104a77ac-2015-01-19 22:49:41Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + eccca722-a362-436c-96e4-99ba59fc0251 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:49:41 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources> +
+
+ + 143 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + bada4c6d-bf97-43c3-a8cc-bb51276c2b4f-2015-01-19 22:50:53Z +
+
+ Authorization + Bearer abc +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <Name>testdbcertPremiumDBP1</Name> + <Edition>Premium</Edition> + <MaxSizeGB>10</MaxSizeGB> + <CollationName></CollationName> + <ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId> +</ServiceResource> + application/xml + +
+ + Created + +
+ x-ms-request-id + 2ee3afb0-9cbe-4e82-94e7-087eb06c78e0 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:50:58 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:50:53.4770000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:55:53.4770000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 144 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 5c7536a0-c3ba-43f5-8a99-c00d1aea1223-2015-01-19 22:50:58Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 8cdd3bf7-07e5-4d3f-a86f-b9bba26da8ba +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:50:58 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources> +
+
+ + 145 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + fde083da-0423-4480-b151-7a068db1a655-2015-01-19 22:51:00Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 1c21e6a1-a1aa-4af1-a188-6f3cc8e16025 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:51:00 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:50:53.4770000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:55:53.4770000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 146 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 5bc0e90b-9b18-4ecc-b0df-29e594a66454-2015-01-19 22:51:02Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 5516c6a0-de8b-4c04-b557-b71cc97e5618 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:51:02 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:50:53.4770000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:55:53.4770000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 147 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + d710ee00-2314-4054-9741-cfc2546fc530-2015-01-19 22:51:04Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 31e96c65-5d3a-4d36-9e50-aae39427cfd7 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:51:04 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:50:53.4770000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:55:53.4770000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 148 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 3623a6d9-67cd-4c25-8893-1f2d813596bf-2015-01-19 22:51:06Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + f242a7f3-9b4e-4a13-a69a-44863fa94aca +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:51:06 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:50:53.4770000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:55:53.4770000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 149 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 86fa4fe1-8049-4e0e-a78f-a7d5f0c36954-2015-01-19 22:51:08Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 3056e7cb-b0ad-4530-bc95-6c95f37f68f8 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:51:08 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:50:53.4770000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:55:53.4770000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 150 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 0d00a0a8-9704-4a38-8144-52fc3d22ecdc-2015-01-19 22:51:11Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + fd9e17ad-9255-4423-81be-e95b9d050606 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:51:11 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:50:53.4770000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:55:53.4770000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 151 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 0817d730-7ad1-4c6b-be94-c6dfef6cd875-2015-01-19 22:51:13Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 95c58c4f-199e-42c2-bec7-efb8fdfa4f62 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:51:13 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:50:53.4770000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:55:53.4770000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 345 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + d0097a64-9893-48b4-a7aa-1da001305be5-2015-01-19 22:58:08Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 266e06c9-0a2e-42eb-a9c0-18ff57536666 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:58:08 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:50:53.4770000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T22:55:53.4770000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 346 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 293d3f59-21ee-48cf-ad23-8c08eaa252e7-2015-01-19 22:58:10Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 8a34e7a4-b476-4727-8438-e1fe6aa7352b +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:58:10 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:50:53.4770000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:09.2900000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 347 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 390ae579-b9e8-4b16-a140-906eaf171bb7-2015-01-19 22:58:30Z +
+
+ Authorization + Bearer abc +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <Name>testdbcertPremiumDBP2</Name> + <Edition>Premium</Edition> + <MaxSizeGB>10</MaxSizeGB> + <CollationName></CollationName> + <ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId> +</ServiceResource> + application/xml + +
+ + Created + +
+ x-ms-request-id + 56498008-25bd-4ecf-8cca-0f6231d830b6 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:58:35 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 348 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 45d3c28c-00a9-4cf2-accc-acf9d0a244e1-2015-01-19 22:58:35Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 8064f992-a06f-488e-9175-9e06718f9300 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:58:35 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources> +
+
+ + 349 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 561ae126-4537-4cbe-842b-54a081784ab1-2015-01-19 22:58:38Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 853e66b0-42a5-4e3f-af8e-d74b11ba8634 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:58:38 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 350 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 1537c8b7-3508-40e4-9ab4-8c9542db072b-2015-01-19 22:58:40Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 2e7e876b-e01b-4934-882e-fa904e76ce54 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:58:40 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 351 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 5eb2cfa1-ff4f-4ead-8cb2-4ecd35db3331-2015-01-19 22:58:42Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + f30c8569-80d6-47fe-9bd0-c3fa6deac553 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:58:42 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 352 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 110d1572-bcac-4097-8636-b233c7852105-2015-01-19 22:58:44Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + fd4b5a1f-72fe-4f08-b9ba-f9c53d55783e +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:58:44 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 353 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + d4860e27-6d97-4870-923e-86bc9fed9c9b-2015-01-19 22:58:46Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + a383b801-6c1e-44dd-a3d2-59b6c1e376d3 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:58:46 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 354 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + bab39e2f-1d46-4f8a-b1cf-d5d27456854e-2015-01-19 22:58:48Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 652b015c-5ec3-4943-a87b-f56067838f39 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:58:49 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 355 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 633aba86-e2f0-48d7-8b4b-079fde8c2913-2015-01-19 22:58:51Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 0ddff7bb-8e43-4794-8540-db1efbea5c9e +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:58:51 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 356 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + caaabee7-dc49-4533-8452-dad332ee16af-2015-01-19 22:58:53Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + c6973ae0-848d-44b0-bfd6-9e066541cacb +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:58:53 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 357 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 02862211-12ea-42fc-8482-c9387283775d-2015-01-19 22:58:55Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 41f8c86d-9cdb-47b1-a83c-d5cec5b56060 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:58:55 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 358 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + b265ae21-b20d-4e7e-87b6-94c352ed29b5-2015-01-19 22:58:57Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 2d83a106-02df-4b0c-9984-eaa9a70bdb79 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:58:57 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 359 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 4cc196e8-e818-4c9f-97bb-42bab2ccc85a-2015-01-19 22:58:59Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 9f22758e-2055-4c9a-9b10-7391ea12406e +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:00 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 360 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 1bdc6fef-fa0a-49b1-9e03-afccefef2bac-2015-01-19 22:59:02Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + de9f6e05-58f8-4c16-b2b0-ed522f40d6c2 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:02 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 361 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 0673dd39-9b81-4a9f-a957-95924c9c7883-2015-01-19 22:59:04Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 21f0eee5-8fed-42f4-8d4a-ab3df86c3285 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:04 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 362 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 10c63c00-f608-4271-9e72-cce313e5e30c-2015-01-19 22:59:06Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 92bc5d0a-2bf7-47b9-89e8-2d157c87d8ce +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:06 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 363 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 408aacbb-a8fc-412a-9b24-fca47f00b89f-2015-01-19 22:59:08Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 4521a7b0-f04a-441c-8b49-87260fde97a7 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:08 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 364 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 3467cf96-5c9a-4366-b149-369ae1943e7d-2015-01-19 22:59:10Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + b1a9382a-cd54-43c5-8e8e-0201e143de7b +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:10 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 365 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 21d5cdaf-2a31-405a-b223-38db558b8843-2015-01-19 22:59:12Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 8d0fec85-9816-46a8-826f-4d6c8aedbece +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:12 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 366 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 8e6f375c-892d-4c49-9646-0d4fa7588f85-2015-01-19 22:59:14Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + c3e02235-db56-422a-ac6d-d945679830cb +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:14 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 367 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + a573f630-dbb9-48e9-a26b-f8f113b6466f-2015-01-19 22:59:16Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 3bab6ae0-1635-4a25-acba-3efe1702293c +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:17 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 368 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + bf0e2b25-5c1c-4a74-b5fb-b93582cd9a0f-2015-01-19 22:59:19Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 1b5de47a-50d5-41e2-b7d7-12cff1cc1ba0 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:19 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 369 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 393040b1-4b7d-47e9-b16e-e41a5d6784d9-2015-01-19 22:59:21Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + d0bf0ddb-391e-438b-a1b4-6259758ea9aa +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:21 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 370 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + aa8f978d-f2e4-4db2-87cf-f782982cb85e-2015-01-19 22:59:23Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 84a8f1d4-2bc2-465c-a6d7-566b633676bc +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:23 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 371 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 5796596b-69d0-4e3d-931a-c44f3899f3f1-2015-01-19 22:59:25Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 60fe7563-cd4f-49ca-8011-409bdbd9bdde +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:25 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 372 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + d21d4112-c21a-43ac-b891-b949a2a984a8-2015-01-19 22:59:27Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + d6e4a679-6f2f-4781-9091-01d2c9c30af1 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:27 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 373 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + b1cbb653-575b-4489-9b43-123d39fc42db-2015-01-19 22:59:29Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 29cad422-535e-42b2-814b-fb98620eb2a2 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:30 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 374 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 151f6664-9aff-425a-b57e-1eee96aaf41b-2015-01-19 22:59:32Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 2363a4eb-64d4-4319-a8b2-aebe2f70d592 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:32 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 375 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 8b7c592e-b332-4716-b99a-ec763ac16812-2015-01-19 22:59:34Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 3369a701-e30a-45d8-8c1b-6467f0561d3a +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:34 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 376 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + e0b2f971-2f67-44fc-bd51-69e642628e73-2015-01-19 22:59:36Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 059b5921-8db9-47dd-9e3a-85c5fb832dda +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:36 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 377 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + b52a0a3f-f8dc-4a76-866c-247839b775db-2015-01-19 22:59:38Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 84b606ed-f6dd-4f1f-b009-31ac59b22479 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:38 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 378 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 27d26ea6-a3e9-46cb-b225-e24524b72be9-2015-01-19 22:59:40Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 6b34b8d1-1955-4b4a-b118-bc4550c5c8d5 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:41 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 379 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 0a1eb4d3-a604-42b3-9128-a1948e00fe18-2015-01-19 22:59:43Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + b6227c70-ad3b-401e-ac08-f424122210f8 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:43 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 380 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + a3911a5a-c2f0-4093-827d-45ee2cdcf605-2015-01-19 22:59:45Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 8a2edb9f-90d3-46f2-8e08-d45a84f5df4f +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:45 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 381 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 6075929c-50b7-421d-9ce4-0048521f8a45-2015-01-19 22:59:47Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 134e043e-5d9f-4512-998d-40b6af710fbb +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:47 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 382 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 629a7cc5-a2d9-4d62-9a9a-80ba564d8af7-2015-01-19 22:59:49Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + ce515b94-53eb-4bd3-ada3-926a1e940777 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:49 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 383 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + beef418c-dfff-4c41-8cee-927d7bda2101-2015-01-19 22:59:51Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + ec5be717-ceb0-4204-803e-447077f7ea27 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:51 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 384 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 3ca74b45-6ef1-4dd7-ac3d-c72144872a97-2015-01-19 22:59:53Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + d5c74e97-996f-4440-8146-317cf99c2de9 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:54 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 385 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + c306d424-2887-4f3e-b3ee-dc21a3e0886c-2015-01-19 22:59:56Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + c33527ea-153d-4c0f-86f2-884ffb8c2e99 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:56 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 386 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 2f25f206-4274-49d7-96dc-812962cc9889-2015-01-19 22:59:58Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + f3ab7b92-7da9-498a-9bc9-4cf88c4b7ed8 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 22:59:58 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 387 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 29ab23d3-49a7-446a-814c-162a3b276976-2015-01-19 23:00:00Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + a92f174e-0f1f-4b2d-9ebc-097080efc28c +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:00:00 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 388 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 453785e2-6221-4f32-b106-becb29719629-2015-01-19 23:00:02Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 91c0b0e0-21fe-4888-a718-922cdcca0996 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:00:02 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 389 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 05dfa72e-599a-4e34-9979-08ac64d41621-2015-01-19 23:00:04Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + f6397039-9fe3-4efc-a0a4-e650c93c975c +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:00:04 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 390 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 2a6be94d-130e-4b1b-b67f-aff2c4ef47af-2015-01-19 23:00:06Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 2eacdd9f-3073-4fdf-a1b6-d934004872dd +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:00:07 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 391 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + ecef5539-c250-4ee6-a0be-e878b1a5fa4d-2015-01-19 23:00:09Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + c33b68b7-c1bf-49a5-b621-3e0590d12716 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:00:09 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 392 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + bebc475a-47da-4bec-963a-5548c7c924c0-2015-01-19 23:00:11Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 2be9436f-f372-46c4-aae5-45bfd6b8fe02 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:00:11 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 393 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + bcae597f-13d0-462a-959c-e035f8002f4d-2015-01-19 23:00:13Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 6556a778-3e82-44d7-bbff-76e1459be706 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:00:13 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 394 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + f3bd0e72-e4d3-4405-ba5a-3903033a23db-2015-01-19 23:00:15Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + e9c9b4f3-18cd-4cdf-84da-a58c6a150d39 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:00:15 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 395 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 112a75ef-0167-4958-963b-13302b449c2f-2015-01-19 23:00:17Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + cbb42576-2856-4ed3-bd15-49f533e77541 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:00:18 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 396 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 1f44e6f7-7fc9-464e-98f3-af4939fa65ab-2015-01-19 23:00:20Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + bf8a63f9-8c55-4647-bdf6-a0264cfd4b7c +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:00:20 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 397 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + e6b16bcd-7645-4e42-8a91-2f57ebbaabe0-2015-01-19 23:00:22Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 2d35e00e-0c55-4fdf-92d1-66be24d94813 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:00:22 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 398 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 2651b242-460d-4180-8d22-b2b286982681-2015-01-19 23:00:24Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 9a0bd999-acf6-49a0-baad-c3c08ff45010 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:00:24 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 399 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 4a67a49b-1cc7-4bcf-b3e4-554e38073089-2015-01-19 23:00:26Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + b8890986-585b-493c-9af1-7c82ccb69384 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:00:26 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 400 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 3668a937-170c-4a79-99c4-c36f02a54781-2015-01-19 23:00:28Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 4857e23e-1da7-43e1-bd69-172798db484c +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:00:29 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 401 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 83355efe-f3e0-429f-a214-7805ba4eb922-2015-01-19 23:00:31Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 3a4ddc0c-fdff-44fc-8355-72a851fede63 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:00:31 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:03:31.1330000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 402 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + acac1e25-f240-4d9c-82f8-c65aa1f3eb9c-2015-01-19 23:00:33Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 6e1494fa-b330-42cc-b7e8-d6046ac2607d +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:00:33 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertPremiumDBP2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertPremiumDBP2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:58:31.1330000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</ServiceObjectiveId><AssignedServiceObjectiveId>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:05:30.6170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 403 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 11bf3dc8-1e7f-422f-840a-acb186cb8c2a-2015-01-19 23:02:07Z +
+
+ Authorization + Bearer abc +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name> + <CollationName></CollationName> +</ServiceResource> + application/xml + +
+ + Created + +
+ x-ms-request-id + 608c12bd-4347-45c5-aa1f-7705f97746e8 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:02:12 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 404 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 9f63df11-77c6-41fc-9524-d2b119d1fca2-2015-01-19 23:02:12Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + fdc92350-468e-4ccb-b3dd-be25f9f0c146 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:02:12 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources> +
+
+ + 405 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 53539a3d-794b-45d7-aa7f-f1f25e2d060e-2015-01-19 23:02:14Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + bd16e0f5-2009-440b-8415-16f908678b6a +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:02:14 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 406 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + b6e8558d-81cf-4eb0-976d-5738d8b08b68-2015-01-19 23:02:16Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 2479c517-7c87-4da9-95a9-a212bd109d24 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:02:17 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 407 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 9a5da4ed-8282-43f5-8e39-83e09a7398d6-2015-01-19 23:02:19Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + d40aff58-1dfd-4bad-b762-85650e7d89d0 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:02:19 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 408 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 04a5946d-1075-4fe6-a83f-f1786ae2fb7d-2015-01-19 23:02:21Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 66f1c096-8ad8-4d92-a097-bd86851abdb9 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:02:21 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 409 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 62b25d05-e6a1-41af-a919-d282a599e6ad-2015-01-19 23:02:23Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 78ddd0a9-5c39-4a93-8832-e9172e8b3b04 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:02:23 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 410 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 59adc81e-bd78-4dc5-943c-72d47a92019c-2015-01-19 23:02:25Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + b95f5e5c-9ec0-4149-a369-37a73b872e4a +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:02:25 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 411 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 4c07e85a-6ba1-483e-a17e-0aae9f87c163-2015-01-19 23:02:27Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + e96a63f6-00e8-4cc4-9f63-41f5b1184911 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:02:27 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 412 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + c1cdec7a-28fd-4e3b-b6bf-b50ef815781f-2015-01-19 23:02:29Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + cd7e8fb8-dbdb-46f0-ba3f-5ae7b42a1866 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:02:30 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 413 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 9d5647b9-5c35-4bcb-a7ee-1821430e35a5-2015-01-19 23:02:32Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 3bd6176e-cb8e-4ec6-863c-1db719f41b60 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:02:32 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 414 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + cfbc3ab4-37dc-445f-a931-7a07e7380af8-2015-01-19 23:02:34Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + fd14266e-5a3d-43a7-b98a-ada00dc6799f +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:02:34 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 415 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 8c8d14c2-6ac5-42d7-a870-35e1f7b05e86-2015-01-19 23:02:36Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 67753df5-53dc-49af-b2ea-e7f418c950d7 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:02:36 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 416 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + e6f2f43d-4303-403b-be14-b26e9d0fc1ba-2015-01-19 23:02:38Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + a142bcc1-8c04-4b06-bc20-8a4f55939cc0 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:02:38 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 417 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + a8bdef81-88c8-4b59-b613-f2e8fe3b1662-2015-01-19 23:02:40Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 8f4b21d8-1a38-4dfd-afef-685fd7491845 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:02:41 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 418 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 25417952-f1e3-4626-8962-0c91666536db-2015-01-19 23:02:43Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + cb3365a7-ae83-4de2-8dc2-cf5b4e1633e5 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:02:43 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 419 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 0b42eeeb-1f64-4d6b-9d84-d4cc84d2e9f2-2015-01-19 23:02:45Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + adb645e8-f732-42c5-9c0a-cd4a69b1b188 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:02:45 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 420 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + b897f19b-bbbc-4890-a975-3c3546d3b3b9-2015-01-19 23:02:47Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 498a209f-2a06-469e-9539-3c3544aa12f3 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:02:47 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 421 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 28a5fd8b-c46f-4243-92a2-419c23522f90-2015-01-19 23:02:49Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 75f83881-4ef9-4a82-8513-0fbd044c33dc +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:02:49 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 422 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + f38a3221-8c60-4bf6-8cd1-1092a6ffe6e3-2015-01-19 23:02:51Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 656b3f36-9d86-467b-943e-20cf08dd0284 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:02:51 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 423 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 821ff88d-88a3-4f49-b5dd-5fc2e4443d64-2015-01-19 23:02:53Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + fd1ca187-11a0-4a42-a4f9-f67bc841e825 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:02:54 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 424 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + ae443d55-a4f5-48b6-ad6c-c4f89cce5026-2015-01-19 23:02:56Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 9cbb367d-d1e6-46e4-91eb-2f25448e7d39 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:02:56 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 425 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 0f647d29-124d-40f1-b63c-e294d5db965d-2015-01-19 23:02:58Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + cde6ed0a-0213-44be-a426-34f7bb07f1bf +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:02:58 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 426 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + addd54d8-6328-4cda-a87a-e3db66621d3f-2015-01-19 23:03:00Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 2a8dad07-394c-4bb9-b15b-2a3c42f59b6e +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:00 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 427 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 5b9692cf-1b18-4dc6-b33b-92387e9f7fff-2015-01-19 23:03:02Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 06fe744d-26d9-4974-a300-863bb59dc5ef +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:02 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 428 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 8f3a45d4-a853-4527-927a-c49bd3560ec3-2015-01-19 23:03:04Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + b521a3b7-d775-4fd3-8652-57c4e38100df +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:05 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 429 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 0e99d6c3-7d3e-4d64-845d-79a6eb0fbb29-2015-01-19 23:03:07Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 0b42040b-e56d-4fc7-983d-91984b23e862 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:07 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 430 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 2c15f4e9-40f7-46dd-a3a3-dfb3e5a159c2-2015-01-19 23:03:09Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 97843cd9-7086-4f56-983f-f6381084e359 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:09 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 431 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + cf11abf4-a491-4849-b5cf-43fa70e9438f-2015-01-19 23:03:11Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 0c8b93aa-560b-4b82-9693-333870b5ae42 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:11 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 432 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + d1e1afab-5f13-4578-92bb-8d886a3417d0-2015-01-19 23:03:13Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 12a86d94-5634-4b9a-af0e-0af7ba7c5a9b +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:13 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 433 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 095b75ce-98fe-4bd1-aeb8-9bb5532daeed-2015-01-19 23:03:15Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 11ff398c-6cb8-4da0-89b7-f4f2e1e7a5b9 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:15 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 434 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + d9e032c3-2cc9-4fac-bd7c-c5d5d1e01cdc-2015-01-19 23:03:17Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 84bacfcd-fa41-46ae-aa82-8a05988d698f +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:18 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 435 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 1805fe29-2f42-440a-acd9-c2129c16c844-2015-01-19 23:03:20Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + f0150db0-77d4-4701-9ff0-c16de0864160 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:20 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 436 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 28a8f210-2360-4b77-827e-08e038f3cac3-2015-01-19 23:03:22Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 27bccdc3-486d-4229-88b9-883ca016cffb +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:22 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 437 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + d68db327-410c-43ef-959a-668d3925d1dd-2015-01-19 23:03:24Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + a517f20f-32bf-4d57-9fd9-0c275ac47e16 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:24 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 438 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 01bf4db7-1fba-4a7d-a016-5351f6c390fa-2015-01-19 23:03:26Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 0187f6c7-9ad2-443a-a26f-460f8d992de8 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:26 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 439 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 279e4cb9-a3a5-4795-998a-34be6ad62c8c-2015-01-19 23:03:28Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + ab113465-4e70-4307-81d9-43ab3942b519 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:28 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 440 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 4ff96f16-a57c-42f5-9add-f27fe8d6156d-2015-01-19 23:03:30Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 31f36d73-2833-402a-a175-3654d792d5e0 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:31 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 441 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 592f8be7-7784-4010-a217-186af15ff029-2015-01-19 23:03:33Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + b3bb941e-09c0-4d3c-b619-c934c06578b1 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:33 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 442 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + db9ae8be-1013-4d47-af04-42d59c09c6c1-2015-01-19 23:03:35Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 5fb45bd1-5e72-4e38-ac71-ee37f68ac7c8 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:35 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 443 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + eeae16d6-dea2-4835-92f6-820873078b81-2015-01-19 23:03:37Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 2f23a587-a126-4b55-95d8-f745562ad728 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:37 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 444 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 6aa0e18d-0a3f-4c34-8afe-53d8cfdc64a7-2015-01-19 23:03:39Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 027725b9-1f29-4115-8c94-658d54e47a03 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:39 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 445 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 5f543d37-1e4f-40e8-8319-a7136cda06ab-2015-01-19 23:03:41Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 371ca0f3-979e-48ff-9af9-1be73d8a9e4f +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:41 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 446 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 40dce7b4-a378-4922-a9e9-9a2cb77e21b4-2015-01-19 23:03:43Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + bb3dd616-854e-4942-a949-3ec68e050ae4 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:44 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 447 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 12b33ca1-ad49-4f17-b3b8-479606e9c6b3-2015-01-19 23:03:46Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + ca09a5da-b3eb-44ff-a2cc-441a3f4c4535 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:46 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 448 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 1f49a73c-3ea3-4698-aec7-4dbb44d1f8a2-2015-01-19 23:03:48Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 12c04afa-aac5-4ac8-8073-ca9fc2a546b5 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:48 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 449 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 44cbd334-eb67-498b-89c4-ea3c48050004-2015-01-19 23:03:50Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + d974ff81-4d62-4b12-80d1-5cbba2a0a869 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:50 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 450 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + ebf1486e-e214-4700-a144-2bdd8dea1eb7-2015-01-19 23:03:52Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + b6acba28-25b2-41e3-a167-e0e7c4d09828 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:52 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 451 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 194683c3-f4b5-44ce-bb9a-b0c8f3a8a327-2015-01-19 23:03:54Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + ba49b299-c600-431e-a464-a6b2afee23a0 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:54 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 452 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 9194c32f-8bdd-43f7-a6d2-b2b03e049dfe-2015-01-19 23:03:56Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 5d7063fc-d3c4-4cde-8bd9-874f73ae3eb0 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:57 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 453 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 5d3bbf47-34f9-4dae-a6b2-3d7b5cb522c6-2015-01-19 23:03:59Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + a38fe3f9-c717-4233-8f6f-932879977ef0 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:03:59 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 454 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 1276b376-5df9-45a4-b223-2b31ab521fb0-2015-01-19 23:04:01Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + d8a4a589-c325-4030-875f-5ce514a6d56c +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:04:01 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:07:07.7130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 455 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 83c39178-8fb2-4e2b-ba10-c1dadb4c72f4-2015-01-19 23:04:03Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 44ab7088-e138-4705-9f05-eb35c40c8320 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:04:03 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T23:02:07.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-19T23:09:01.0700000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 456 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databaseoperations?databaseName=testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + f3f2460d-f847-46dc-8d72-41e331697ee7-2015-01-19 23:04:18Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 0c04c113-69b5-44aa-9a71-f9580eff0dcb +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:04:19 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>CREATE DATABASE</Name><Type>Microsoft.SqlAzure.DatabaseOperation</Type><State>COMPLETED</State><SelfLink>https://localhost/servers/myserver01/databaseoperations/5e0bef58-0282-4e8a-ace3-36d9cb3c1e6c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5e0bef58-0282-4e8a-ace3-36d9cb3c1e6c</Id><StateId>2</StateId><SessionActivityId>5e0bef58-0282-4e8a-ace3-36d9cb3c1e6c</SessionActivityId><DatabaseName>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</DatabaseName><PercentComplete>100</PercentComplete><ErrorCode>0</ErrorCode><Error/><ErrorSeverity>0</ErrorSeverity><ErrorState>0</ErrorState><StartTime>2015-01-19T23:02:07.2730000Z</StartTime><LastModifyTime>2015-01-19T23:04:01.9000000Z</LastModifyTime></ServiceResource></ServiceResources> +
+
+ + 457 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databaseoperations?databaseName=testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + c536a9ab-b6cd-4245-95b9-012439edfe4f-2015-01-19 23:04:22Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 5ad273b8-2d9f-4000-bf50-f4a1faeae7da +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:04:23 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>CREATE DATABASE</Name><Type>Microsoft.SqlAzure.DatabaseOperation</Type><State>COMPLETED</State><SelfLink>https://localhost/servers/myserver01/databaseoperations/5e0bef58-0282-4e8a-ace3-36d9cb3c1e6c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5e0bef58-0282-4e8a-ace3-36d9cb3c1e6c</Id><StateId>2</StateId><SessionActivityId>5e0bef58-0282-4e8a-ace3-36d9cb3c1e6c</SessionActivityId><DatabaseName>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</DatabaseName><PercentComplete>100</PercentComplete><ErrorCode>0</ErrorCode><Error/><ErrorSeverity>0</ErrorSeverity><ErrorState>0</ErrorState><StartTime>2015-01-19T23:02:07.2730000Z</StartTime><LastModifyTime>2015-01-19T23:04:01.9000000Z</LastModifyTime></ServiceResource></ServiceResources> +
+
+ + 458 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databaseoperations/5e0bef58-0282-4e8a-ace3-36d9cb3c1e6c + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 2c2c5783-abcb-467e-a67c-3d19f916a1c5-2015-01-19 23:04:23Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + a68c8ad3-5997-4266-8b8d-b60478c050b0 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:04:23 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>CREATE DATABASE</Name><Type>Microsoft.SqlAzure.DatabaseOperation</Type><State>COMPLETED</State><SelfLink>https://localhost/servers/myserver01/databaseoperations/5e0bef58-0282-4e8a-ace3-36d9cb3c1e6c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5e0bef58-0282-4e8a-ace3-36d9cb3c1e6c</Id><StateId>2</StateId><SessionActivityId>5e0bef58-0282-4e8a-ace3-36d9cb3c1e6c</SessionActivityId><DatabaseName>testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2</DatabaseName><PercentComplete>100</PercentComplete><ErrorCode>0</ErrorCode><Error/><ErrorSeverity>0</ErrorSeverity><ErrorState>0</ErrorState><StartTime>2015-01-19T23:02:07.2730000Z</StartTime><LastModifyTime>2015-01-19T23:04:01.9000000Z</LastModifyTime></ServiceResource> +
+
+ + 459 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP1 + DELETE + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + d733e110-18ef-4fae-bae1-4e4eb233cacb-2015-01-19 23:04:36Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + e4204c54-7f12-47c1-88e7-ad94d9e2a0fb +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Date + Mon, 19 Jan 2015 23:04:42 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + +
+
+ + 460 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertPremiumDBP2 + DELETE + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + ee7469c2-905c-4b1a-a8cf-8a83818540e7-2015-01-19 23:04:42Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + a3f32313-9a93-44c9-b2f9-db8ffeeb1eef +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Date + Mon, 19 Jan 2015 23:05:03 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + +
+
+ + 461 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2 + DELETE + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 505f653d-d526-4749-89cf-e40970ce22d1-2015-01-19 23:05:03Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 45d5e145-0051-4a9c-be5e-4921d31a6383 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Date + Mon, 19 Jan 2015 23:05:24 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + +
+
+ + 462 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases?contentview=generic + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 2db099e0-9a25-4b8a-9750-e5ca9b0f5afa-2015-01-19 23:05:24Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 2ea78305-860d-498d-aa04-87704343de2f +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:05:24 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/master</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:32:37.0070000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>620323bf-2879-4807-b30d-c2e6d7b3b3aa</ServiceObjectiveId><AssignedServiceObjectiveId>620323bf-2879-4807-b30d-c2e6d7b3b3aa</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource></ServiceResources> +
+
+ + 463 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z +
+
+ x-ms-client-request-id + 2758c5e6-c8d6-4355-92a7-6dc7815c7ee8-2015-01-19 23:05:24Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + d4c5934b-379c-4f85-806a-80236847b75e +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 19 Jan 2015 23:05:24 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources> +
+
+
+
+ + UnitTest.Common.CreatePremiumDatabasesWithSqlAuth + + + 0 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives()?$filter=Name%20eq%20'P1'&$top=2 + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== +
+
+ x-ms-client-session-id + 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z +
+
+ x-ms-client-request-id + ceb847c0-a813-41ed-8b2f-384ba5382cbc-2014-07-16 17:19:50Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== +
+
+ + + .SQLSERVERMANAGEMENT + 2YfLm3SJ30DuNMtGp+K1qg== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + a0778f5c-9d63-4664-a742-b7a367dde4cf +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=feed;charset=utf-8 +
+
+ Date + Wed, 16 Jul 2014 17:19:50 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives</id><title type="text">ServiceObjectives</title><updated>2014-07-16T17:19:50Z</updated><link rel="self" title="ServiceObjectives" href="ServiceObjectives" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings" /><title /><updated>2014-07-16T17:19:50Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:Id><d:Name>P1</d:Name><d:Description>Premium P1 resource allocation.</d:Description><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry></feed> +
+
+ + 1 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== +
+
+ x-ms-client-session-id + 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z +
+
+ x-ms-client-request-id + ceb847c0-a813-41ed-8b2f-384ba5382cbc-2014-07-16 17:19:50Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== +
+
+ + + .SQLSERVERMANAGEMENT + 2YfLm3SJ30DuNMtGp+K1qg== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + a0778f5c-9d63-4664-a742-b7a367dde4cf +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=feed;charset=utf-8 +
+
+ Date + Wed, 16 Jul 2014 17:19:50 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings</id><title type="text">DimensionSettings</title><updated>2014-07-16T17:19:50Z</updated><link rel="self" title="DimensionSettings" href="DimensionSettings" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/DimensionSettings(guid'765fbda3-73c9-4fad-996e-7c0e4e219f68')</id><category term="Microsoft.SqlServer.Management.Server.Domain.DimensionSetting" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="DimensionSetting" href="DimensionSettings(guid'765fbda3-73c9-4fad-996e-7c0e4e219f68')" /><title /><updated>2014-07-16T17:19:50Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">765fbda3-73c9-4fad-996e-7c0e4e219f68</d:Id><d:Name>P1</d:Name><d:Description>Premium P1 resource allocation.</d:Description><d:Ordinal m:type="Edm.Byte">6</d:Ordinal><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault></m:properties></content></entry></feed> +
+
+ + 2 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives()?$filter=Name%20eq%20'P2'&$top=2 + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== +
+
+ x-ms-client-session-id + 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z +
+
+ x-ms-client-request-id + ceb847c0-a813-41ed-8b2f-384ba5382cbc-2014-07-16 17:19:50Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== +
+
+ + + .SQLSERVERMANAGEMENT + 2YfLm3SJ30DuNMtGp+K1qg== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + a0778f5c-9d63-4664-a742-b7a367dde4cf +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=feed;charset=utf-8 +
+
+ Date + Wed, 16 Jul 2014 17:19:50 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives</id><title type="text">ServiceObjectives</title><updated>2014-07-16T17:19:50Z</updated><link rel="self" title="ServiceObjectives" href="ServiceObjectives" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')/DimensionSettings" /><title /><updated>2014-07-16T17:19:50Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:Id><d:Name>P2</d:Name><d:Description>Premium P2 resource allocation.</d:Description><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry></feed> +
+
+ + 3 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')/DimensionSettings + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== +
+
+ x-ms-client-session-id + 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z +
+
+ x-ms-client-request-id + ceb847c0-a813-41ed-8b2f-384ba5382cbc-2014-07-16 17:19:50Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== +
+
+ + + .SQLSERVERMANAGEMENT + 2YfLm3SJ30DuNMtGp+K1qg== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + a0778f5c-9d63-4664-a742-b7a367dde4cf +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=feed;charset=utf-8 +
+
+ Date + Wed, 16 Jul 2014 17:19:50 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')/DimensionSettings</id><title type="text">DimensionSettings</title><updated>2014-07-16T17:19:50Z</updated><link rel="self" title="DimensionSettings" href="DimensionSettings" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/DimensionSettings(guid'b15e89f1-02b5-4618-b44d-75d37261b94b')</id><category term="Microsoft.SqlServer.Management.Server.Domain.DimensionSetting" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="DimensionSetting" href="DimensionSettings(guid'b15e89f1-02b5-4618-b44d-75d37261b94b')" /><title /><updated>2014-07-16T17:19:50Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">b15e89f1-02b5-4618-b44d-75d37261b94b</d:Id><d:Name>P2</d:Name><d:Description>Premium P2 resource allocation.</d:Description><d:Ordinal m:type="Edm.Byte">7</d:Ordinal><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault></m:properties></content></entry></feed> +
+
+ + 4 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases + POST + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== +
+
+ x-ms-client-session-id + 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z +
+
+ x-ms-client-request-id + a1e6c1bd-58d0-4203-a203-7b519ae0bc38-2014-07-16 17:19:50Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== +
+
+ + + .SQLSERVERMANAGEMENT + 2YfLm3SJ30DuNMtGp+K1qg== + + + + <?xml version="1.0" encoding="utf-8"?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id /><title /><updated>2014-07-16T17:19:50Z</updated><author><name /></author><content type="application/xml"><m:properties><d:AssignedServiceObjectiveId m:type="Edm.Guid" m:null="true" /><d:CollationName m:null="true" /><d:CreationDate m:type="Edm.DateTime">0001-01-01T00:00:00</d:CreationDate><d:Edition>Premium</d:Edition><d:Id m:type="Edm.Int32">0</d:Id><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsFederationRoot m:type="Edm.Boolean" m:null="true" /><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsRecursiveTriggersOn m:type="Edm.Boolean" m:null="true" /><d:IsSuspended m:type="Edm.Boolean" m:null="true" /><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:MaxSizeBytes m:type="Edm.Int64" m:null="true" /><d:MaxSizeGB m:type="Edm.Int32" m:null="true" /><d:Name>NewAzureSqlPremiumDatabaseTests_P1</d:Name><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:RecoveryPeriodStartDate m:type="Edm.DateTime" m:null="true" /><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32" m:null="true" /><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentState m:type="Edm.Byte" m:null="true" /><d:ServiceObjectiveAssignmentStateDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime" m:null="true" /><d:ServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:ServiceObjectiveId><d:SizeMB m:type="Edm.Decimal">0</d:SizeMB><d:Status m:type="Edm.Int32">0</d:Status></m:properties></content></entry> + application/atom+xml + application/atom+xml,application/xml +
+ + Created + +
+ x-ms-request-id + a0778f5c-9d63-4664-a742-b7a367dde4cf +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=entry;charset=utf-8 +
+
+ Date + Wed, 16 Jul 2014 17:19:51 GMT +
+
+ Location + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(4)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(4)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(4)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(4)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(4)/DatabaseCopies" /><title /><updated>2014-07-16T17:19:51Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">4</d:Id><d:Name>NewAzureSqlPremiumDatabaseTests_P1</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">0</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Pending</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2014-07-15T21:55:35.777</d:ServiceObjectiveAssignmentSuccessDate><d:Edition></d:Edition><d:MaxSizeGB m:type="Edm.Int32">-1</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">-1</d:MaxSizeBytes><d:CollationName>SQL_Latin1_General_CP1_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2014-07-16T10:19:51.33</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime" m:null="true" /><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">2048</d:Status><d:IsFederationRoot m:type="Edm.Boolean" m:null="true" /><d:SizeMB m:type="Edm.Decimal">-1</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean" m:null="true" /><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry> +
+
+ + 5 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== +
+
+ x-ms-client-session-id + 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z +
+
+ x-ms-client-request-id + a1e6c1bd-58d0-4203-a203-7b519ae0bc38-2014-07-16 17:19:50Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== +
+
+ + + .SQLSERVERMANAGEMENT + 2YfLm3SJ30DuNMtGp+K1qg== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + a0778f5c-9d63-4664-a742-b7a367dde4cf +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=entry;charset=utf-8 +
+
+ Date + Wed, 16 Jul 2014 17:19:51 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(4)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(4)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(4)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(4)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(4)/DatabaseCopies" /><title /><updated>2014-07-16T17:19:52Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">4</d:Id><d:Name>NewAzureSqlPremiumDatabaseTests_P1</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">0</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Pending</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2014-07-15T21:55:35.777</d:ServiceObjectiveAssignmentSuccessDate><d:Edition></d:Edition><d:MaxSizeGB m:type="Edm.Int32">-1</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">-1</d:MaxSizeBytes><d:CollationName>SQL_Latin1_General_CP1_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2014-07-16T10:19:51.33</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime" m:null="true" /><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">2048</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry> +
+
+ + 6 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== +
+
+ x-ms-client-session-id + 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z +
+
+ x-ms-client-request-id + a1e6c1bd-58d0-4203-a203-7b519ae0bc38-2014-07-16 17:19:50Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== +
+
+ + + .SQLSERVERMANAGEMENT + 2YfLm3SJ30DuNMtGp+K1qg== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + a0778f5c-9d63-4664-a742-b7a367dde4cf +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=entry;charset=utf-8 +
+
+ Date + Wed, 16 Jul 2014 17:19:51 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings" /><title /><updated>2014-07-16T17:19:52Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:Id><d:Name>P1</d:Name><d:Description>Premium P1 resource allocation.</d:Description><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> +
+
+ + 7 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'NewAzureSqlPremiumDatabaseTests_P1'&$top=2 + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== +
+
+ x-ms-client-session-id + 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z +
+
+ x-ms-client-request-id + a1e6c1bd-58d0-4203-a203-7b519ae0bc38-2014-07-16 17:19:50Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== +
+
+ + + .SQLSERVERMANAGEMENT + 2YfLm3SJ30DuNMtGp+K1qg== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + a0778f5c-9d63-4664-a742-b7a367dde4cf +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=feed;charset=utf-8 +
+
+ Date + Wed, 16 Jul 2014 17:19:53 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases</id><title type="text">Databases</title><updated>2014-07-16T17:19:54Z</updated><link rel="self" title="Databases" href="Databases" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(4)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(4)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(4)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(4)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(4)/DatabaseCopies" /><title /><updated>2014-07-16T17:19:54Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">4</d:Id><d:Name>NewAzureSqlPremiumDatabaseTests_P1</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2014-07-16T17:19:54.297</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>Premium</d:Edition><d:MaxSizeGB m:type="Edm.Int32">10</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">10737418240</d:MaxSizeBytes><d:CollationName>SQL_Latin1_General_CP1_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2014-07-16T10:19:51.33</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime">2014-07-16T17:20:50.983Z</d:RecoveryPeriodStartDate><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry></feed> +
+
+ + 8 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== +
+
+ x-ms-client-session-id + 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z +
+
+ x-ms-client-request-id + a1e6c1bd-58d0-4203-a203-7b519ae0bc38-2014-07-16 17:19:50Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== +
+
+ + + .SQLSERVERMANAGEMENT + 2YfLm3SJ30DuNMtGp+K1qg== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + a0778f5c-9d63-4664-a742-b7a367dde4cf +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=entry;charset=utf-8 +
+
+ Date + Wed, 16 Jul 2014 17:19:53 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings" /><title /><updated>2014-07-16T17:19:54Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:Id><d:Name>P1</d:Name><d:Description>Premium P1 resource allocation.</d:Description><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> +
+
+ + 9 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases + POST + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== +
+
+ x-ms-client-session-id + 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z +
+
+ x-ms-client-request-id + 37c39e27-1f78-4ebb-8564-d5c75a36a874-2014-07-16 17:19:54Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== +
+
+ + + .SQLSERVERMANAGEMENT + 2YfLm3SJ30DuNMtGp+K1qg== + + + + <?xml version="1.0" encoding="utf-8"?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id /><title /><updated>2014-07-16T17:19:54Z</updated><author><name /></author><content type="application/xml"><m:properties><d:AssignedServiceObjectiveId m:type="Edm.Guid" m:null="true" /><d:CollationName>Japanese_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">0001-01-01T00:00:00</d:CreationDate><d:Edition>Premium</d:Edition><d:Id m:type="Edm.Int32">0</d:Id><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsFederationRoot m:type="Edm.Boolean" m:null="true" /><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsRecursiveTriggersOn m:type="Edm.Boolean" m:null="true" /><d:IsSuspended m:type="Edm.Boolean" m:null="true" /><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:MaxSizeBytes m:type="Edm.Int64" m:null="true" /><d:MaxSizeGB m:type="Edm.Int32">10</d:MaxSizeGB><d:Name>NewAzureSqlPremiumDatabaseTests_P2</d:Name><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:RecoveryPeriodStartDate m:type="Edm.DateTime" m:null="true" /><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32" m:null="true" /><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentState m:type="Edm.Byte" m:null="true" /><d:ServiceObjectiveAssignmentStateDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime" m:null="true" /><d:ServiceObjectiveId m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:ServiceObjectiveId><d:SizeMB m:type="Edm.Decimal">0</d:SizeMB><d:Status m:type="Edm.Int32">0</d:Status></m:properties></content></entry> + application/atom+xml + application/atom+xml,application/xml +
+ + Created + +
+ x-ms-request-id + a0778f5c-9d63-4664-a742-b7a367dde4cf +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=entry;charset=utf-8 +
+
+ Date + Wed, 16 Jul 2014 17:19:55 GMT +
+
+ Location + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5) +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(5)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(5)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(5)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(5)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(5)/DatabaseCopies" /><title /><updated>2014-07-16T17:19:55Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">5</d:Id><d:Name>NewAzureSqlPremiumDatabaseTests_P2</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">0</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Pending</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2014-07-16T11:03:28.48</d:ServiceObjectiveAssignmentSuccessDate><d:Edition></d:Edition><d:MaxSizeGB m:type="Edm.Int32">-1</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">-1</d:MaxSizeBytes><d:CollationName>Japanese_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2014-07-16T10:19:54.913</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime" m:null="true" /><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">2048</d:Status><d:IsFederationRoot m:type="Edm.Boolean" m:null="true" /><d:SizeMB m:type="Edm.Decimal">-1</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean" m:null="true" /><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry> +
+
+ + 10 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5) + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== +
+
+ x-ms-client-session-id + 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z +
+
+ x-ms-client-request-id + 37c39e27-1f78-4ebb-8564-d5c75a36a874-2014-07-16 17:19:54Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== +
+
+ + + .SQLSERVERMANAGEMENT + 2YfLm3SJ30DuNMtGp+K1qg== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + a0778f5c-9d63-4664-a742-b7a367dde4cf +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=entry;charset=utf-8 +
+
+ Date + Wed, 16 Jul 2014 17:19:55 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(5)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(5)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(5)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(5)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(5)/DatabaseCopies" /><title /><updated>2014-07-16T17:19:55Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">5</d:Id><d:Name>NewAzureSqlPremiumDatabaseTests_P2</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">0</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Pending</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2014-07-16T11:03:28.48</d:ServiceObjectiveAssignmentSuccessDate><d:Edition></d:Edition><d:MaxSizeGB m:type="Edm.Int32">-1</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">-1</d:MaxSizeBytes><d:CollationName>Japanese_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2014-07-16T10:19:54.913</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime" m:null="true" /><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">2048</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry> +
+
+ + 11 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== +
+
+ x-ms-client-session-id + 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z +
+
+ x-ms-client-request-id + 37c39e27-1f78-4ebb-8564-d5c75a36a874-2014-07-16 17:19:54Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== +
+
+ + + .SQLSERVERMANAGEMENT + 2YfLm3SJ30DuNMtGp+K1qg== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + a0778f5c-9d63-4664-a742-b7a367dde4cf +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=entry;charset=utf-8 +
+
+ Date + Wed, 16 Jul 2014 17:19:55 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')/DimensionSettings" /><title /><updated>2014-07-16T17:19:55Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:Id><d:Name>P2</d:Name><d:Description>Premium P2 resource allocation.</d:Description><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> +
+
+ + 12 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'NewAzureSqlPremiumDatabaseTests_P2'&$top=2 + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== +
+
+ x-ms-client-session-id + 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z +
+
+ x-ms-client-request-id + 37c39e27-1f78-4ebb-8564-d5c75a36a874-2014-07-16 17:19:54Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== +
+
+ + + .SQLSERVERMANAGEMENT + 2YfLm3SJ30DuNMtGp+K1qg== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + a0778f5c-9d63-4664-a742-b7a367dde4cf +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=feed;charset=utf-8 +
+
+ Date + Wed, 16 Jul 2014 17:19:57 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases</id><title type="text">Databases</title><updated>2014-07-16T17:19:57Z</updated><link rel="self" title="Databases" href="Databases" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(5)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(5)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(5)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(5)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(5)/DatabaseCopies" /><title /><updated>2014-07-16T17:19:57Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">5</d:Id><d:Name>NewAzureSqlPremiumDatabaseTests_P2</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">0</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Pending</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2014-07-16T11:03:28.48</d:ServiceObjectiveAssignmentSuccessDate><d:Edition></d:Edition><d:MaxSizeGB m:type="Edm.Int32">-1</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">-1</d:MaxSizeBytes><d:CollationName>Japanese_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2014-07-16T10:19:54.913</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime" m:null="true" /><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">2048</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry></feed> +
+
+ + 13 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== +
+
+ x-ms-client-session-id + 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z +
+
+ x-ms-client-request-id + 37c39e27-1f78-4ebb-8564-d5c75a36a874-2014-07-16 17:19:54Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== +
+
+ + + .SQLSERVERMANAGEMENT + 2YfLm3SJ30DuNMtGp+K1qg== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + a0778f5c-9d63-4664-a742-b7a367dde4cf +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=entry;charset=utf-8 +
+
+ Date + Wed, 16 Jul 2014 17:19:57 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')/DimensionSettings" /><title /><updated>2014-07-16T17:19:57Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:Id><d:Name>P2</d:Name><d:Description>Premium P2 resource allocation.</d:Description><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> +
+
+ + 14 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'NewAzureSqlPremiumDatabaseTests_P2'&$top=2 + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== +
+
+ x-ms-client-session-id + 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z +
+
+ x-ms-client-request-id + 37c39e27-1f78-4ebb-8564-d5c75a36a874-2014-07-16 17:19:54Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== +
+
+ + + .SQLSERVERMANAGEMENT + 2YfLm3SJ30DuNMtGp+K1qg== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + a0778f5c-9d63-4664-a742-b7a367dde4cf +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=feed;charset=utf-8 +
+
+ Date + Wed, 16 Jul 2014 17:19:59 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases</id><title type="text">Databases</title><updated>2014-07-16T17:19:59Z</updated><link rel="self" title="Databases" href="Databases" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(5)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(5)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(5)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(5)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(5)/DatabaseCopies" /><title /><updated>2014-07-16T17:19:59Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">5</d:Id><d:Name>NewAzureSqlPremiumDatabaseTests_P2</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2014-07-16T17:19:58.127</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>Premium</d:Edition><d:MaxSizeGB m:type="Edm.Int32">10</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">10737418240</d:MaxSizeBytes><d:CollationName>Japanese_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2014-07-16T10:19:54.913</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime">2014-07-16T17:20:54.737Z</d:RecoveryPeriodStartDate><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry></feed> +
+
+ + 15 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== +
+
+ x-ms-client-session-id + 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z +
+
+ x-ms-client-request-id + 37c39e27-1f78-4ebb-8564-d5c75a36a874-2014-07-16 17:19:54Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== +
+
+ + + .SQLSERVERMANAGEMENT + 2YfLm3SJ30DuNMtGp+K1qg== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + a0778f5c-9d63-4664-a742-b7a367dde4cf +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=entry;charset=utf-8 +
+
+ Date + Wed, 16 Jul 2014 17:19:59 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')/DimensionSettings" /><title /><updated>2014-07-16T17:20:00Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:Id><d:Name>P2</d:Name><d:Description>Premium P2 resource allocation.</d:Description><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> +
+
+
+
+ + UnitTest.Common.GetAzureSqlDatabaseOperationWithSqlAuth + + + 0 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases + POST + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + WyrofbbfUPt8hxnIYsZ7ZGnk2jxMjJXAPlyR7+VN/KDgi2lk5xEomfUrI+uwFrXLdZuz91BT+XJRzzGl4JADsTTqtCWjd7IRc3vnZIDw782zlXP+bZlOTpHd3taLXGm01nti3B79+rKcov787SpH0x1KkoIQy5OekEdL/dG0G3aE2XcrQW9aKqEmyG1yJw9hqxoHYhQJl5tY4HEykFj51TEXO/u4cuY8Lo40MNgYuhMdrIwqGgIscBCYZgPeDwMzYVGk61COH5Ws9HpYx4BpTSoF9zXlhNNaSz7gsyYLOrm6qcu+1ma3frd2RY8paPF6OgtJdp+ikxPWqBEGZ2OP74KVi6D5Rmxt32nw2jG6hIsAnpG+aieXt4WR9r3/Dvs3lJ2vJJuPCbXif+zJXccwtSDeVnuDQFyw7PQitAWsxgj60x88+zYhiecNgH7J2vITAKCL6nipXDrxFGVTCVvNa7qnOpPPc4YEjdkj9K42CxwKChFxx8pn65P4GT2jm9Z/ewswDyM6tx0JiWDz15WAI9vJIWvYUxqdp+4T21kdNqEE6aEpRUrfS4Rwd7NvD3GguweYaMkgzczl64QFwPr1mH1KkyMekbK85gh+p42hhuLxw4OXuU2S7J1U3tyPuHRoigPDrbSstzZAmYmldOs6fa9h9WegL1g9riWJrYGyO3SDohyMreAERsNnBO0F+fZ1SYglMTVtSaGWfYpWstVZz2bAWrMcP3pDWjS49kBUcZUkLZt0VeEbwESni3m7Gs7pid1Lc6oW9U4G297U0VWvKQ== +
+
+ x-ms-client-session-id + fab71a0d-62cc-40f6-a716-059200f855df-2013-11-12 02:29:31Z +
+
+ x-ms-client-request-id + 8844fdbc-1e7e-47a6-b51d-f93b09f78374-2013-11-12 02:30:59Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=pYRuwnUZAKKeJjOoHwVAfA== +
+
+ + + .SQLSERVERMANAGEMENT + pYRuwnUZAKKeJjOoHwVAfA== + + + + + <?xml version="1.0" encoding="utf-8" standalone="yes"?> + <entry xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom"> + <title /> + <author> + <name /> + </author> + <updated>2013-11-12T02:30:59.4532451Z</updated> + <id /> + <content type="application/xml"> + <m:properties> + <d:AssignedServiceObjectiveId m:type="Edm.Guid" m:null="true" /> + <d:CollationName m:null="true" /> + <d:CreationDate m:type="Edm.DateTime">0001-01-01T00:00:00</d:CreationDate> + <d:Edition m:null="true" /> + <d:Id m:type="Edm.Int32">0</d:Id> + <d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember> + <d:IsFederationRoot m:type="Edm.Boolean" m:null="true" /> + <d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn> + <d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /> + <d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly> + <d:IsRecursiveTriggersOn m:type="Edm.Boolean" m:null="true" /> + <d:IsSuspended m:type="Edm.Boolean" m:null="true" /> + <d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject> + <d:MaxSizeBytes m:type="Edm.Int64" m:null="true" /> + <d:MaxSizeGB m:type="Edm.Int32" m:null="true" /> + <d:Name>getAzureSqlDatabaseOperationTestsDB_08ebd7c9-bfb7-426a-9e2f-9921999567e1</d:Name> + <d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /> + <d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /> + <d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /> + <d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /> + <d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /> + <d:RecoveryPeriodStartDate m:type="Edm.DateTime" m:null="true" /> + <d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32" m:null="true" /> + <d:ServiceObjectiveAssignmentErrorDescription m:null="true" /> + <d:ServiceObjectiveAssignmentState m:type="Edm.Byte" m:null="true" /> + <d:ServiceObjectiveAssignmentStateDescription m:null="true" /> + <d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime" m:null="true" /> + <d:ServiceObjectiveId m:type="Edm.Guid" m:null="true" /> + <d:SizeMB m:type="Edm.Decimal">0</d:SizeMB> + <d:Status m:type="Edm.Int32">0</d:Status> + </m:properties> + </content> + </entry> + + application/atom+xml + application/atom+xml,application/xml +
+ + Created + +
+ x-ms-request-id + 77726b05-5e41-4bbe-15da-cfefa4f16571 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=entry;charset=utf-8 +
+
+ Date + Tue, 12 Nov 2013 02:31:04 GMT +
+
+ Location + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(4)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(4)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(4)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(4)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(4)/DatabaseCopies" /><title /><updated>2013-11-12T02:31:04Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">4</d:Id><d:Name>getAzureSqlDatabaseOperationTestsDB_08ebd7c9-bfb7-426a-9e2f-9921999567e1</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2013-11-12T02:31:03.33</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>Web</d:Edition><d:MaxSizeGB m:type="Edm.Int32">1</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">1073741824</d:MaxSizeBytes><d:CollationName>SQL_Latin1_General_CP1_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2013-11-11T18:31:00.19</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime">2013-11-12T02:31:59.173Z</d:RecoveryPeriodStartDate><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean" m:null="true" /><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry> +
+
+ + 1 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + WyrofbbfUPt8hxnIYsZ7ZGnk2jxMjJXAPlyR7+VN/KDgi2lk5xEomfUrI+uwFrXLdZuz91BT+XJRzzGl4JADsTTqtCWjd7IRc3vnZIDw782zlXP+bZlOTpHd3taLXGm01nti3B79+rKcov787SpH0x1KkoIQy5OekEdL/dG0G3aE2XcrQW9aKqEmyG1yJw9hqxoHYhQJl5tY4HEykFj51TEXO/u4cuY8Lo40MNgYuhMdrIwqGgIscBCYZgPeDwMzYVGk61COH5Ws9HpYx4BpTSoF9zXlhNNaSz7gsyYLOrm6qcu+1ma3frd2RY8paPF6OgtJdp+ikxPWqBEGZ2OP74KVi6D5Rmxt32nw2jG6hIsAnpG+aieXt4WR9r3/Dvs3lJ2vJJuPCbXif+zJXccwtSDeVnuDQFyw7PQitAWsxgj60x88+zYhiecNgH7J2vITAKCL6nipXDrxFGVTCVvNa7qnOpPPc4YEjdkj9K42CxwKChFxx8pn65P4GT2jm9Z/ewswDyM6tx0JiWDz15WAI9vJIWvYUxqdp+4T21kdNqEE6aEpRUrfS4Rwd7NvD3GguweYaMkgzczl64QFwPr1mH1KkyMekbK85gh+p42hhuLxw4OXuU2S7J1U3tyPuHRoigPDrbSstzZAmYmldOs6fa9h9WegL1g9riWJrYGyO3SDohyMreAERsNnBO0F+fZ1SYglMTVtSaGWfYpWstVZz2bAWrMcP3pDWjS49kBUcZUkLZt0VeEbwESni3m7Gs7pid1Lc6oW9U4G297U0VWvKQ== +
+
+ x-ms-client-session-id + fab71a0d-62cc-40f6-a716-059200f855df-2013-11-12 02:29:31Z +
+
+ x-ms-client-request-id + 8844fdbc-1e7e-47a6-b51d-f93b09f78374-2013-11-12 02:30:59Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=pYRuwnUZAKKeJjOoHwVAfA== +
+
+ + + .SQLSERVERMANAGEMENT + pYRuwnUZAKKeJjOoHwVAfA== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + 77726b05-5e41-4bbe-15da-cfefa4f16571 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=entry;charset=utf-8 +
+
+ Date + Tue, 12 Nov 2013 02:31:04 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(4)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(4)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(4)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(4)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(4)/DatabaseCopies" /><title /><updated>2013-11-12T02:31:05Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">4</d:Id><d:Name>getAzureSqlDatabaseOperationTestsDB_08ebd7c9-bfb7-426a-9e2f-9921999567e1</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2013-11-12T02:31:03.33</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>Web</d:Edition><d:MaxSizeGB m:type="Edm.Int32">1</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">1073741824</d:MaxSizeBytes><d:CollationName>SQL_Latin1_General_CP1_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2013-11-11T18:31:00.19</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime">2013-11-12T02:31:59.173Z</d:RecoveryPeriodStartDate><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry> +
+
+ + 2 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + WyrofbbfUPt8hxnIYsZ7ZGnk2jxMjJXAPlyR7+VN/KDgi2lk5xEomfUrI+uwFrXLdZuz91BT+XJRzzGl4JADsTTqtCWjd7IRc3vnZIDw782zlXP+bZlOTpHd3taLXGm01nti3B79+rKcov787SpH0x1KkoIQy5OekEdL/dG0G3aE2XcrQW9aKqEmyG1yJw9hqxoHYhQJl5tY4HEykFj51TEXO/u4cuY8Lo40MNgYuhMdrIwqGgIscBCYZgPeDwMzYVGk61COH5Ws9HpYx4BpTSoF9zXlhNNaSz7gsyYLOrm6qcu+1ma3frd2RY8paPF6OgtJdp+ikxPWqBEGZ2OP74KVi6D5Rmxt32nw2jG6hIsAnpG+aieXt4WR9r3/Dvs3lJ2vJJuPCbXif+zJXccwtSDeVnuDQFyw7PQitAWsxgj60x88+zYhiecNgH7J2vITAKCL6nipXDrxFGVTCVvNa7qnOpPPc4YEjdkj9K42CxwKChFxx8pn65P4GT2jm9Z/ewswDyM6tx0JiWDz15WAI9vJIWvYUxqdp+4T21kdNqEE6aEpRUrfS4Rwd7NvD3GguweYaMkgzczl64QFwPr1mH1KkyMekbK85gh+p42hhuLxw4OXuU2S7J1U3tyPuHRoigPDrbSstzZAmYmldOs6fa9h9WegL1g9riWJrYGyO3SDohyMreAERsNnBO0F+fZ1SYglMTVtSaGWfYpWstVZz2bAWrMcP3pDWjS49kBUcZUkLZt0VeEbwESni3m7Gs7pid1Lc6oW9U4G297U0VWvKQ== +
+
+ x-ms-client-session-id + fab71a0d-62cc-40f6-a716-059200f855df-2013-11-12 02:29:31Z +
+
+ x-ms-client-request-id + 8844fdbc-1e7e-47a6-b51d-f93b09f78374-2013-11-12 02:30:59Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=pYRuwnUZAKKeJjOoHwVAfA== +
+
+ + + .SQLSERVERMANAGEMENT + pYRuwnUZAKKeJjOoHwVAfA== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + 77726b05-5e41-4bbe-15da-cfefa4f16571 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=entry;charset=utf-8 +
+
+ Date + Tue, 12 Nov 2013 02:31:04 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')/DimensionSettings" /><title /><updated>2013-11-12T02:31:05Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:Id><d:Name>Shared</d:Name><d:Description>Resource capacity is not reserved.</d:Description><d:IsDefault m:type="Edm.Boolean">true</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> +
+
+ + 3 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'getAzureSqlDatabaseOperationTestsDB_08ebd7c9-bfb7-426a-9e2f-9921999567e1'&$top=2 + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + WyrofbbfUPt8hxnIYsZ7ZGnk2jxMjJXAPlyR7+VN/KDgi2lk5xEomfUrI+uwFrXLdZuz91BT+XJRzzGl4JADsTTqtCWjd7IRc3vnZIDw782zlXP+bZlOTpHd3taLXGm01nti3B79+rKcov787SpH0x1KkoIQy5OekEdL/dG0G3aE2XcrQW9aKqEmyG1yJw9hqxoHYhQJl5tY4HEykFj51TEXO/u4cuY8Lo40MNgYuhMdrIwqGgIscBCYZgPeDwMzYVGk61COH5Ws9HpYx4BpTSoF9zXlhNNaSz7gsyYLOrm6qcu+1ma3frd2RY8paPF6OgtJdp+ikxPWqBEGZ2OP74KVi6D5Rmxt32nw2jG6hIsAnpG+aieXt4WR9r3/Dvs3lJ2vJJuPCbXif+zJXccwtSDeVnuDQFyw7PQitAWsxgj60x88+zYhiecNgH7J2vITAKCL6nipXDrxFGVTCVvNa7qnOpPPc4YEjdkj9K42CxwKChFxx8pn65P4GT2jm9Z/ewswDyM6tx0JiWDz15WAI9vJIWvYUxqdp+4T21kdNqEE6aEpRUrfS4Rwd7NvD3GguweYaMkgzczl64QFwPr1mH1KkyMekbK85gh+p42hhuLxw4OXuU2S7J1U3tyPuHRoigPDrbSstzZAmYmldOs6fa9h9WegL1g9riWJrYGyO3SDohyMreAERsNnBO0F+fZ1SYglMTVtSaGWfYpWstVZz2bAWrMcP3pDWjS49kBUcZUkLZt0VeEbwESni3m7Gs7pid1Lc6oW9U4G297U0VWvKQ== +
+
+ x-ms-client-session-id + fab71a0d-62cc-40f6-a716-059200f855df-2013-11-12 02:29:31Z +
+
+ x-ms-client-request-id + 8844fdbc-1e7e-47a6-b51d-f93b09f78374-2013-11-12 02:30:59Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=pYRuwnUZAKKeJjOoHwVAfA== +
+
+ + + .SQLSERVERMANAGEMENT + pYRuwnUZAKKeJjOoHwVAfA== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + 77726b05-5e41-4bbe-15da-cfefa4f16571 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=feed;charset=utf-8 +
+
+ Date + Tue, 12 Nov 2013 02:31:04 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases</id><title type="text">Databases</title><updated>2013-11-12T02:31:05Z</updated><link rel="self" title="Databases" href="Databases" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(4)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(4)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(4)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(4)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(4)/DatabaseCopies" /><title /><updated>2013-11-12T02:31:05Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">4</d:Id><d:Name>getAzureSqlDatabaseOperationTestsDB_08ebd7c9-bfb7-426a-9e2f-9921999567e1</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2013-11-12T02:31:03.33</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>Web</d:Edition><d:MaxSizeGB m:type="Edm.Int32">1</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">1073741824</d:MaxSizeBytes><d:CollationName>SQL_Latin1_General_CP1_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2013-11-11T18:31:00.19</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime">2013-11-12T02:31:59.173Z</d:RecoveryPeriodStartDate><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry></feed> +
+
+ + 4 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + WyrofbbfUPt8hxnIYsZ7ZGnk2jxMjJXAPlyR7+VN/KDgi2lk5xEomfUrI+uwFrXLdZuz91BT+XJRzzGl4JADsTTqtCWjd7IRc3vnZIDw782zlXP+bZlOTpHd3taLXGm01nti3B79+rKcov787SpH0x1KkoIQy5OekEdL/dG0G3aE2XcrQW9aKqEmyG1yJw9hqxoHYhQJl5tY4HEykFj51TEXO/u4cuY8Lo40MNgYuhMdrIwqGgIscBCYZgPeDwMzYVGk61COH5Ws9HpYx4BpTSoF9zXlhNNaSz7gsyYLOrm6qcu+1ma3frd2RY8paPF6OgtJdp+ikxPWqBEGZ2OP74KVi6D5Rmxt32nw2jG6hIsAnpG+aieXt4WR9r3/Dvs3lJ2vJJuPCbXif+zJXccwtSDeVnuDQFyw7PQitAWsxgj60x88+zYhiecNgH7J2vITAKCL6nipXDrxFGVTCVvNa7qnOpPPc4YEjdkj9K42CxwKChFxx8pn65P4GT2jm9Z/ewswDyM6tx0JiWDz15WAI9vJIWvYUxqdp+4T21kdNqEE6aEpRUrfS4Rwd7NvD3GguweYaMkgzczl64QFwPr1mH1KkyMekbK85gh+p42hhuLxw4OXuU2S7J1U3tyPuHRoigPDrbSstzZAmYmldOs6fa9h9WegL1g9riWJrYGyO3SDohyMreAERsNnBO0F+fZ1SYglMTVtSaGWfYpWstVZz2bAWrMcP3pDWjS49kBUcZUkLZt0VeEbwESni3m7Gs7pid1Lc6oW9U4G297U0VWvKQ== +
+
+ x-ms-client-session-id + fab71a0d-62cc-40f6-a716-059200f855df-2013-11-12 02:29:31Z +
+
+ x-ms-client-request-id + 8844fdbc-1e7e-47a6-b51d-f93b09f78374-2013-11-12 02:30:59Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=pYRuwnUZAKKeJjOoHwVAfA== +
+
+ + + .SQLSERVERMANAGEMENT + pYRuwnUZAKKeJjOoHwVAfA== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + 77726b05-5e41-4bbe-15da-cfefa4f16571 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=entry;charset=utf-8 +
+
+ Date + Tue, 12 Nov 2013 02:31:04 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')/DimensionSettings" /><title /><updated>2013-11-12T02:31:05Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:Id><d:Name>Shared</d:Name><d:Description>Resource capacity is not reserved.</d:Description><d:IsDefault m:type="Edm.Boolean">true</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> +
+
+ + 5 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) + DELETE + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + WyrofbbfUPt8hxnIYsZ7ZGnk2jxMjJXAPlyR7+VN/KDgi2lk5xEomfUrI+uwFrXLdZuz91BT+XJRzzGl4JADsTTqtCWjd7IRc3vnZIDw782zlXP+bZlOTpHd3taLXGm01nti3B79+rKcov787SpH0x1KkoIQy5OekEdL/dG0G3aE2XcrQW9aKqEmyG1yJw9hqxoHYhQJl5tY4HEykFj51TEXO/u4cuY8Lo40MNgYuhMdrIwqGgIscBCYZgPeDwMzYVGk61COH5Ws9HpYx4BpTSoF9zXlhNNaSz7gsyYLOrm6qcu+1ma3frd2RY8paPF6OgtJdp+ikxPWqBEGZ2OP74KVi6D5Rmxt32nw2jG6hIsAnpG+aieXt4WR9r3/Dvs3lJ2vJJuPCbXif+zJXccwtSDeVnuDQFyw7PQitAWsxgj60x88+zYhiecNgH7J2vITAKCL6nipXDrxFGVTCVvNa7qnOpPPc4YEjdkj9K42CxwKChFxx8pn65P4GT2jm9Z/ewswDyM6tx0JiWDz15WAI9vJIWvYUxqdp+4T21kdNqEE6aEpRUrfS4Rwd7NvD3GguweYaMkgzczl64QFwPr1mH1KkyMekbK85gh+p42hhuLxw4OXuU2S7J1U3tyPuHRoigPDrbSstzZAmYmldOs6fa9h9WegL1g9riWJrYGyO3SDohyMreAERsNnBO0F+fZ1SYglMTVtSaGWfYpWstVZz2bAWrMcP3pDWjS49kBUcZUkLZt0VeEbwESni3m7Gs7pid1Lc6oW9U4G297U0VWvKQ== +
+
+ x-ms-client-session-id + fab71a0d-62cc-40f6-a716-059200f855df-2013-11-12 02:29:31Z +
+
+ x-ms-client-request-id + 8844fdbc-1e7e-47a6-b51d-f93b09f78374-2013-11-12 02:30:59Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=pYRuwnUZAKKeJjOoHwVAfA== +
+
+ + + .SQLSERVERMANAGEMENT + pYRuwnUZAKKeJjOoHwVAfA== + + + + + application/atom+xml + application/atom+xml,application/xml +
+ + NoContent + +
+ x-ms-request-id + 77726b05-5e41-4bbe-15da-cfefa4f16571 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 1.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Date + Tue, 12 Nov 2013 02:31:13 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + +
+
+ + 6 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/DatabaseOperations()?$filter=DatabaseName%20eq%20'getAzureSqlDatabaseOperationTestsDB_08ebd7c9-bfb7-426a-9e2f-9921999567e1' + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + WyrofbbfUPt8hxnIYsZ7ZGnk2jxMjJXAPlyR7+VN/KDgi2lk5xEomfUrI+uwFrXLdZuz91BT+XJRzzGl4JADsTTqtCWjd7IRc3vnZIDw782zlXP+bZlOTpHd3taLXGm01nti3B79+rKcov787SpH0x1KkoIQy5OekEdL/dG0G3aE2XcrQW9aKqEmyG1yJw9hqxoHYhQJl5tY4HEykFj51TEXO/u4cuY8Lo40MNgYuhMdrIwqGgIscBCYZgPeDwMzYVGk61COH5Ws9HpYx4BpTSoF9zXlhNNaSz7gsyYLOrm6qcu+1ma3frd2RY8paPF6OgtJdp+ikxPWqBEGZ2OP74KVi6D5Rmxt32nw2jG6hIsAnpG+aieXt4WR9r3/Dvs3lJ2vJJuPCbXif+zJXccwtSDeVnuDQFyw7PQitAWsxgj60x88+zYhiecNgH7J2vITAKCL6nipXDrxFGVTCVvNa7qnOpPPc4YEjdkj9K42CxwKChFxx8pn65P4GT2jm9Z/ewswDyM6tx0JiWDz15WAI9vJIWvYUxqdp+4T21kdNqEE6aEpRUrfS4Rwd7NvD3GguweYaMkgzczl64QFwPr1mH1KkyMekbK85gh+p42hhuLxw4OXuU2S7J1U3tyPuHRoigPDrbSstzZAmYmldOs6fa9h9WegL1g9riWJrYGyO3SDohyMreAERsNnBO0F+fZ1SYglMTVtSaGWfYpWstVZz2bAWrMcP3pDWjS49kBUcZUkLZt0VeEbwESni3m7Gs7pid1Lc6oW9U4G297U0VWvKQ== +
+
+ x-ms-client-session-id + fab71a0d-62cc-40f6-a716-059200f855df-2013-11-12 02:29:31Z +
+
+ x-ms-client-request-id + 8844fdbc-1e7e-47a6-b51d-f93b09f78374-2013-11-12 02:30:59Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=pYRuwnUZAKKeJjOoHwVAfA== +
+
+ + + .SQLSERVERMANAGEMENT + pYRuwnUZAKKeJjOoHwVAfA== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + 77726b05-5e41-4bbe-15da-cfefa4f16571 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=feed;charset=utf-8 +
+
+ Date + Tue, 12 Nov 2013 02:31:13 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/DatabaseOperations</id><title type="text">DatabaseOperations</title><updated>2013-11-12T02:31:13Z</updated><link rel="self" title="DatabaseOperations" href="DatabaseOperations" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/DatabaseOperations(guid'6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659')</id><category term="Microsoft.SqlServer.Management.Server.Domain.DatabaseOperation" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="DatabaseOperation" href="DatabaseOperations(guid'6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="DatabaseOperations(guid'6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659')/Server" /><title /><updated>2013-11-12T02:31:13Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659</d:Id><d:Name>CREATE DATABASE</d:Name><d:State>COMPLETED</d:State><d:StateId m:type="Edm.Int32">2</d:StateId><d:SessionActivityId m:type="Edm.Guid">8844fdbc-1e7e-47a6-b51d-f93b09f78374</d:SessionActivityId><d:DatabaseName>getAzureSqlDatabaseOperationTestsDB_08ebd7c9-bfb7-426a-9e2f-9921999567e1</d:DatabaseName><d:PercentComplete m:type="Edm.Int32">100</d:PercentComplete><d:Error.Code m:type="Edm.Int32">0</d:Error.Code><d:Error></d:Error><d:ErrorSeverity m:type="Edm.Int32">0</d:ErrorSeverity><d:ErrorState m:type="Edm.Int32">0</d:ErrorState><d:StartTime m:type="Edm.DateTime">2013-11-12T02:30:58.157</d:StartTime><d:LastModifyTime m:type="Edm.DateTime">2013-11-12T02:31:04.36</d:LastModifyTime></m:properties></content></entry></feed> +
+
+ + 7 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/DatabaseOperations()?$filter=DatabaseName%20eq%20'getAzureSqlDatabaseOperationTestsDB_08ebd7c9-bfb7-426a-9e2f-9921999567e1' + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + WyrofbbfUPt8hxnIYsZ7ZGnk2jxMjJXAPlyR7+VN/KDgi2lk5xEomfUrI+uwFrXLdZuz91BT+XJRzzGl4JADsTTqtCWjd7IRc3vnZIDw782zlXP+bZlOTpHd3taLXGm01nti3B79+rKcov787SpH0x1KkoIQy5OekEdL/dG0G3aE2XcrQW9aKqEmyG1yJw9hqxoHYhQJl5tY4HEykFj51TEXO/u4cuY8Lo40MNgYuhMdrIwqGgIscBCYZgPeDwMzYVGk61COH5Ws9HpYx4BpTSoF9zXlhNNaSz7gsyYLOrm6qcu+1ma3frd2RY8paPF6OgtJdp+ikxPWqBEGZ2OP74KVi6D5Rmxt32nw2jG6hIsAnpG+aieXt4WR9r3/Dvs3lJ2vJJuPCbXif+zJXccwtSDeVnuDQFyw7PQitAWsxgj60x88+zYhiecNgH7J2vITAKCL6nipXDrxFGVTCVvNa7qnOpPPc4YEjdkj9K42CxwKChFxx8pn65P4GT2jm9Z/ewswDyM6tx0JiWDz15WAI9vJIWvYUxqdp+4T21kdNqEE6aEpRUrfS4Rwd7NvD3GguweYaMkgzczl64QFwPr1mH1KkyMekbK85gh+p42hhuLxw4OXuU2S7J1U3tyPuHRoigPDrbSstzZAmYmldOs6fa9h9WegL1g9riWJrYGyO3SDohyMreAERsNnBO0F+fZ1SYglMTVtSaGWfYpWstVZz2bAWrMcP3pDWjS49kBUcZUkLZt0VeEbwESni3m7Gs7pid1Lc6oW9U4G297U0VWvKQ== +
+
+ x-ms-client-session-id + fab71a0d-62cc-40f6-a716-059200f855df-2013-11-12 02:29:31Z +
+
+ x-ms-client-request-id + 8844fdbc-1e7e-47a6-b51d-f93b09f78374-2013-11-12 02:30:59Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=pYRuwnUZAKKeJjOoHwVAfA== +
+
+ + + .SQLSERVERMANAGEMENT + pYRuwnUZAKKeJjOoHwVAfA== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + 77726b05-5e41-4bbe-15da-cfefa4f16571 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=feed;charset=utf-8 +
+
+ Date + Tue, 12 Nov 2013 02:31:13 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/DatabaseOperations</id><title type="text">DatabaseOperations</title><updated>2013-11-12T02:31:13Z</updated><link rel="self" title="DatabaseOperations" href="DatabaseOperations" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/DatabaseOperations(guid'6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659')</id><category term="Microsoft.SqlServer.Management.Server.Domain.DatabaseOperation" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="DatabaseOperation" href="DatabaseOperations(guid'6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="DatabaseOperations(guid'6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659')/Server" /><title /><updated>2013-11-12T02:31:13Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659</d:Id><d:Name>CREATE DATABASE</d:Name><d:State>COMPLETED</d:State><d:StateId m:type="Edm.Int32">2</d:StateId><d:SessionActivityId m:type="Edm.Guid">8844fdbc-1e7e-47a6-b51d-f93b09f78374</d:SessionActivityId><d:DatabaseName>getAzureSqlDatabaseOperationTestsDB_08ebd7c9-bfb7-426a-9e2f-9921999567e1</d:DatabaseName><d:PercentComplete m:type="Edm.Int32">100</d:PercentComplete><d:Error.Code m:type="Edm.Int32">0</d:Error.Code><d:Error></d:Error><d:ErrorSeverity m:type="Edm.Int32">0</d:ErrorSeverity><d:ErrorState m:type="Edm.Int32">0</d:ErrorState><d:StartTime m:type="Edm.DateTime">2013-11-12T02:30:58.157</d:StartTime><d:LastModifyTime m:type="Edm.DateTime">2013-11-12T02:31:04.36</d:LastModifyTime></m:properties></content></entry></feed> +
+
+ + 8 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/DatabaseOperations(guid'6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659') + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + WyrofbbfUPt8hxnIYsZ7ZGnk2jxMjJXAPlyR7+VN/KDgi2lk5xEomfUrI+uwFrXLdZuz91BT+XJRzzGl4JADsTTqtCWjd7IRc3vnZIDw782zlXP+bZlOTpHd3taLXGm01nti3B79+rKcov787SpH0x1KkoIQy5OekEdL/dG0G3aE2XcrQW9aKqEmyG1yJw9hqxoHYhQJl5tY4HEykFj51TEXO/u4cuY8Lo40MNgYuhMdrIwqGgIscBCYZgPeDwMzYVGk61COH5Ws9HpYx4BpTSoF9zXlhNNaSz7gsyYLOrm6qcu+1ma3frd2RY8paPF6OgtJdp+ikxPWqBEGZ2OP74KVi6D5Rmxt32nw2jG6hIsAnpG+aieXt4WR9r3/Dvs3lJ2vJJuPCbXif+zJXccwtSDeVnuDQFyw7PQitAWsxgj60x88+zYhiecNgH7J2vITAKCL6nipXDrxFGVTCVvNa7qnOpPPc4YEjdkj9K42CxwKChFxx8pn65P4GT2jm9Z/ewswDyM6tx0JiWDz15WAI9vJIWvYUxqdp+4T21kdNqEE6aEpRUrfS4Rwd7NvD3GguweYaMkgzczl64QFwPr1mH1KkyMekbK85gh+p42hhuLxw4OXuU2S7J1U3tyPuHRoigPDrbSstzZAmYmldOs6fa9h9WegL1g9riWJrYGyO3SDohyMreAERsNnBO0F+fZ1SYglMTVtSaGWfYpWstVZz2bAWrMcP3pDWjS49kBUcZUkLZt0VeEbwESni3m7Gs7pid1Lc6oW9U4G297U0VWvKQ== +
+
+ x-ms-client-session-id + fab71a0d-62cc-40f6-a716-059200f855df-2013-11-12 02:29:31Z +
+
+ x-ms-client-request-id + 8844fdbc-1e7e-47a6-b51d-f93b09f78374-2013-11-12 02:30:59Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=pYRuwnUZAKKeJjOoHwVAfA== +
+
+ + + .SQLSERVERMANAGEMENT + pYRuwnUZAKKeJjOoHwVAfA== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + 77726b05-5e41-4bbe-15da-cfefa4f16571 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=entry;charset=utf-8 +
+
+ Date + Tue, 12 Nov 2013 02:31:13 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/DatabaseOperations(guid'6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659')</id><category term="Microsoft.SqlServer.Management.Server.Domain.DatabaseOperation" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="DatabaseOperation" href="DatabaseOperations(guid'6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="DatabaseOperations(guid'6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659')/Server" /><title /><updated>2013-11-12T02:31:13Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659</d:Id><d:Name>CREATE DATABASE</d:Name><d:State>COMPLETED</d:State><d:StateId m:type="Edm.Int32">2</d:StateId><d:SessionActivityId m:type="Edm.Guid">8844fdbc-1e7e-47a6-b51d-f93b09f78374</d:SessionActivityId><d:DatabaseName>getAzureSqlDatabaseOperationTestsDB_08ebd7c9-bfb7-426a-9e2f-9921999567e1</d:DatabaseName><d:PercentComplete m:type="Edm.Int32">100</d:PercentComplete><d:Error.Code m:type="Edm.Int32">0</d:Error.Code><d:Error></d:Error><d:ErrorSeverity m:type="Edm.Int32">0</d:ErrorSeverity><d:ErrorState m:type="Edm.Int32">0</d:ErrorState><d:StartTime m:type="Edm.DateTime">2013-11-12T02:30:58.157</d:StartTime><d:LastModifyTime m:type="Edm.DateTime">2013-11-12T02:31:04.36</d:LastModifyTime></m:properties></content></entry> +
+
+
+
+ + UnitTest.Common.RemoveTestPremiumDatabasesWithSqlAuth + + + 0 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + Pl48rNQ0Q0LolzYn6C70ExCjy+xRhQxHoZzm+UVg5+zYdNkSdy4DvkCPbQVk93j+cJ1VctG4DVOp649IBqpQX5S8A+e28gVgAsPFUGukzxTWts4OEnasXNR5OQ8yW8taZZgRCIvQcIMidqaMJblLurhqOHi2lCrle2HJ2Mqa6nqX9WmOzC1naAMXprGa6d771dOB2WBYbf3Vr10616HRaogEIdRZkHDOtCRcBJCuO9mTqrlwkNkuPCInIiovtcofwfzJpy2VWh4j/jMxv+jsSqGeVW6F0ZZ8843EarQjKzdeZ9HBfANUFijFTVhAOSpy6aNbGUIVWnzj8GYTiflZmHMT5ts5+6Y3mwWR6fbxfiT2Cp5b4mvDba1tFrSXfb1xRSsE/WqF/+5WURT8qui/+JKs5oyZHvosu3AdcCliGqvAErkNk/Gf23H5cx+cSs+uSN0cLc2Xw9xdd+xK5t+xiGod1TwaEZfgH0w6FYQwjRE7MiTaWFv/376hNpOkDGgALmv/Xjk7FH559yjBDcxxN4sHw6Bloof6ZaCKF9xr9EBvKIk8EMwFdX9jDnoNvnXGFadc/p3rfvX+KEna1NslgSU9Jc1X+7kVaSZsJVZpp3wNHVGulzCWWY0LdBvLRG1DicUNMDBecmp3j6ZpiAmP73HxjuYX67djlSB0FxpyeaUnLyomDykObUw/oXWYuIW+Sbs5eW7lAM65zKNL5+6rLmjAI3Hbzdi7ZIdTmoAymTd4+rqcwsWAnYpVNAvCxI57f9jTHy5eBWGIwBLMMp5Iqg== +
+
+ x-ms-client-session-id + 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z +
+
+ x-ms-client-request-id + dc4d642c-e6c1-4b55-97e8-81770e1e8bb4-2014-07-16 17:20:00Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=LTursKkmgxCbAjpLub/ZOQ== +
+
+ + + .SQLSERVERMANAGEMENT + LTursKkmgxCbAjpLub/ZOQ== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + 2d9d764b-25e6-afd5-0c6f-cf197fb37284 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=feed;charset=utf-8 +
+
+ Date + Wed, 16 Jul 2014 17:20:01 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases</id><title type="text">Databases</title><updated>2014-07-16T17:20:01Z</updated><link rel="self" title="Databases" href="Databases" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(1)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(1)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(1)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(1)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(1)/DatabaseCopies" /><title /><updated>2014-07-16T17:20:01Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>master</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">26e021db-f1f9-4c98-84c6-92af8ef433d7</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">26e021db-f1f9-4c98-84c6-92af8ef433d7</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2014-07-16T11:03:28.51</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>System</d:Edition><d:MaxSizeGB m:type="Edm.Int32">5</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">5368709120</d:MaxSizeBytes><d:CollationName>SQL_Latin1_General_CP1_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2014-07-14T08:22:42.45</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime" m:null="true" /><d:IsSystemObject m:type="Edm.Boolean">true</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(4)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(4)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(4)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(4)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(4)/DatabaseCopies" /><title /><updated>2014-07-16T17:20:01Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">4</d:Id><d:Name>NewAzureSqlPremiumDatabaseTests_P1</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2014-07-16T17:19:54.297</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>Premium</d:Edition><d:MaxSizeGB m:type="Edm.Int32">10</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">10737418240</d:MaxSizeBytes><d:CollationName>SQL_Latin1_General_CP1_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2014-07-16T10:19:51.33</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime">2014-07-16T17:20:50.983Z</d:RecoveryPeriodStartDate><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(5)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(5)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(5)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(5)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(5)/DatabaseCopies" /><title /><updated>2014-07-16T17:20:01Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">5</d:Id><d:Name>NewAzureSqlPremiumDatabaseTests_P2</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2014-07-16T17:19:58.127</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>Premium</d:Edition><d:MaxSizeGB m:type="Edm.Int32">10</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">10737418240</d:MaxSizeBytes><d:CollationName>Japanese_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2014-07-16T10:19:54.913</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime">2014-07-16T17:20:54.737Z</d:RecoveryPeriodStartDate><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry></feed> +
+
+ + 1 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(1)/ServiceObjective + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + Pl48rNQ0Q0LolzYn6C70ExCjy+xRhQxHoZzm+UVg5+zYdNkSdy4DvkCPbQVk93j+cJ1VctG4DVOp649IBqpQX5S8A+e28gVgAsPFUGukzxTWts4OEnasXNR5OQ8yW8taZZgRCIvQcIMidqaMJblLurhqOHi2lCrle2HJ2Mqa6nqX9WmOzC1naAMXprGa6d771dOB2WBYbf3Vr10616HRaogEIdRZkHDOtCRcBJCuO9mTqrlwkNkuPCInIiovtcofwfzJpy2VWh4j/jMxv+jsSqGeVW6F0ZZ8843EarQjKzdeZ9HBfANUFijFTVhAOSpy6aNbGUIVWnzj8GYTiflZmHMT5ts5+6Y3mwWR6fbxfiT2Cp5b4mvDba1tFrSXfb1xRSsE/WqF/+5WURT8qui/+JKs5oyZHvosu3AdcCliGqvAErkNk/Gf23H5cx+cSs+uSN0cLc2Xw9xdd+xK5t+xiGod1TwaEZfgH0w6FYQwjRE7MiTaWFv/376hNpOkDGgALmv/Xjk7FH559yjBDcxxN4sHw6Bloof6ZaCKF9xr9EBvKIk8EMwFdX9jDnoNvnXGFadc/p3rfvX+KEna1NslgSU9Jc1X+7kVaSZsJVZpp3wNHVGulzCWWY0LdBvLRG1DicUNMDBecmp3j6ZpiAmP73HxjuYX67djlSB0FxpyeaUnLyomDykObUw/oXWYuIW+Sbs5eW7lAM65zKNL5+6rLmjAI3Hbzdi7ZIdTmoAymTd4+rqcwsWAnYpVNAvCxI57f9jTHy5eBWGIwBLMMp5Iqg== +
+
+ x-ms-client-session-id + 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z +
+
+ x-ms-client-request-id + dc4d642c-e6c1-4b55-97e8-81770e1e8bb4-2014-07-16 17:20:00Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=LTursKkmgxCbAjpLub/ZOQ== +
+
+ + + .SQLSERVERMANAGEMENT + LTursKkmgxCbAjpLub/ZOQ== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + 2d9d764b-25e6-afd5-0c6f-cf197fb37284 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=entry;charset=utf-8 +
+
+ Date + Wed, 16 Jul 2014 17:20:01 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'26e021db-f1f9-4c98-84c6-92af8ef433d7')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'26e021db-f1f9-4c98-84c6-92af8ef433d7')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'26e021db-f1f9-4c98-84c6-92af8ef433d7')/DimensionSettings" /><title /><updated>2014-07-16T17:20:01Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">26e021db-f1f9-4c98-84c6-92af8ef433d7</d:Id><d:Name>System</d:Name><d:Description>Used for master database only.</d:Description><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault><d:IsSystem m:type="Edm.Boolean">true</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> +
+
+ + 2 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + Pl48rNQ0Q0LolzYn6C70ExCjy+xRhQxHoZzm+UVg5+zYdNkSdy4DvkCPbQVk93j+cJ1VctG4DVOp649IBqpQX5S8A+e28gVgAsPFUGukzxTWts4OEnasXNR5OQ8yW8taZZgRCIvQcIMidqaMJblLurhqOHi2lCrle2HJ2Mqa6nqX9WmOzC1naAMXprGa6d771dOB2WBYbf3Vr10616HRaogEIdRZkHDOtCRcBJCuO9mTqrlwkNkuPCInIiovtcofwfzJpy2VWh4j/jMxv+jsSqGeVW6F0ZZ8843EarQjKzdeZ9HBfANUFijFTVhAOSpy6aNbGUIVWnzj8GYTiflZmHMT5ts5+6Y3mwWR6fbxfiT2Cp5b4mvDba1tFrSXfb1xRSsE/WqF/+5WURT8qui/+JKs5oyZHvosu3AdcCliGqvAErkNk/Gf23H5cx+cSs+uSN0cLc2Xw9xdd+xK5t+xiGod1TwaEZfgH0w6FYQwjRE7MiTaWFv/376hNpOkDGgALmv/Xjk7FH559yjBDcxxN4sHw6Bloof6ZaCKF9xr9EBvKIk8EMwFdX9jDnoNvnXGFadc/p3rfvX+KEna1NslgSU9Jc1X+7kVaSZsJVZpp3wNHVGulzCWWY0LdBvLRG1DicUNMDBecmp3j6ZpiAmP73HxjuYX67djlSB0FxpyeaUnLyomDykObUw/oXWYuIW+Sbs5eW7lAM65zKNL5+6rLmjAI3Hbzdi7ZIdTmoAymTd4+rqcwsWAnYpVNAvCxI57f9jTHy5eBWGIwBLMMp5Iqg== +
+
+ x-ms-client-session-id + 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z +
+
+ x-ms-client-request-id + dc4d642c-e6c1-4b55-97e8-81770e1e8bb4-2014-07-16 17:20:00Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=LTursKkmgxCbAjpLub/ZOQ== +
+
+ + + .SQLSERVERMANAGEMENT + LTursKkmgxCbAjpLub/ZOQ== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + 2d9d764b-25e6-afd5-0c6f-cf197fb37284 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=entry;charset=utf-8 +
+
+ Date + Wed, 16 Jul 2014 17:20:01 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings" /><title /><updated>2014-07-16T17:20:01Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:Id><d:Name>P1</d:Name><d:Description>Premium P1 resource allocation.</d:Description><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> +
+
+ + 3 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + Pl48rNQ0Q0LolzYn6C70ExCjy+xRhQxHoZzm+UVg5+zYdNkSdy4DvkCPbQVk93j+cJ1VctG4DVOp649IBqpQX5S8A+e28gVgAsPFUGukzxTWts4OEnasXNR5OQ8yW8taZZgRCIvQcIMidqaMJblLurhqOHi2lCrle2HJ2Mqa6nqX9WmOzC1naAMXprGa6d771dOB2WBYbf3Vr10616HRaogEIdRZkHDOtCRcBJCuO9mTqrlwkNkuPCInIiovtcofwfzJpy2VWh4j/jMxv+jsSqGeVW6F0ZZ8843EarQjKzdeZ9HBfANUFijFTVhAOSpy6aNbGUIVWnzj8GYTiflZmHMT5ts5+6Y3mwWR6fbxfiT2Cp5b4mvDba1tFrSXfb1xRSsE/WqF/+5WURT8qui/+JKs5oyZHvosu3AdcCliGqvAErkNk/Gf23H5cx+cSs+uSN0cLc2Xw9xdd+xK5t+xiGod1TwaEZfgH0w6FYQwjRE7MiTaWFv/376hNpOkDGgALmv/Xjk7FH559yjBDcxxN4sHw6Bloof6ZaCKF9xr9EBvKIk8EMwFdX9jDnoNvnXGFadc/p3rfvX+KEna1NslgSU9Jc1X+7kVaSZsJVZpp3wNHVGulzCWWY0LdBvLRG1DicUNMDBecmp3j6ZpiAmP73HxjuYX67djlSB0FxpyeaUnLyomDykObUw/oXWYuIW+Sbs5eW7lAM65zKNL5+6rLmjAI3Hbzdi7ZIdTmoAymTd4+rqcwsWAnYpVNAvCxI57f9jTHy5eBWGIwBLMMp5Iqg== +
+
+ x-ms-client-session-id + 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z +
+
+ x-ms-client-request-id + dc4d642c-e6c1-4b55-97e8-81770e1e8bb4-2014-07-16 17:20:00Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=LTursKkmgxCbAjpLub/ZOQ== +
+
+ + + .SQLSERVERMANAGEMENT + LTursKkmgxCbAjpLub/ZOQ== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + 2d9d764b-25e6-afd5-0c6f-cf197fb37284 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=entry;charset=utf-8 +
+
+ Date + Wed, 16 Jul 2014 17:20:01 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')/DimensionSettings" /><title /><updated>2014-07-16T17:20:01Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:Id><d:Name>P2</d:Name><d:Description>Premium P2 resource allocation.</d:Description><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> +
+
+ + 4 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'NewAzureSqlPremiumDatabaseTests_P1'&$top=2 + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + Pl48rNQ0Q0LolzYn6C70ExCjy+xRhQxHoZzm+UVg5+zYdNkSdy4DvkCPbQVk93j+cJ1VctG4DVOp649IBqpQX5S8A+e28gVgAsPFUGukzxTWts4OEnasXNR5OQ8yW8taZZgRCIvQcIMidqaMJblLurhqOHi2lCrle2HJ2Mqa6nqX9WmOzC1naAMXprGa6d771dOB2WBYbf3Vr10616HRaogEIdRZkHDOtCRcBJCuO9mTqrlwkNkuPCInIiovtcofwfzJpy2VWh4j/jMxv+jsSqGeVW6F0ZZ8843EarQjKzdeZ9HBfANUFijFTVhAOSpy6aNbGUIVWnzj8GYTiflZmHMT5ts5+6Y3mwWR6fbxfiT2Cp5b4mvDba1tFrSXfb1xRSsE/WqF/+5WURT8qui/+JKs5oyZHvosu3AdcCliGqvAErkNk/Gf23H5cx+cSs+uSN0cLc2Xw9xdd+xK5t+xiGod1TwaEZfgH0w6FYQwjRE7MiTaWFv/376hNpOkDGgALmv/Xjk7FH559yjBDcxxN4sHw6Bloof6ZaCKF9xr9EBvKIk8EMwFdX9jDnoNvnXGFadc/p3rfvX+KEna1NslgSU9Jc1X+7kVaSZsJVZpp3wNHVGulzCWWY0LdBvLRG1DicUNMDBecmp3j6ZpiAmP73HxjuYX67djlSB0FxpyeaUnLyomDykObUw/oXWYuIW+Sbs5eW7lAM65zKNL5+6rLmjAI3Hbzdi7ZIdTmoAymTd4+rqcwsWAnYpVNAvCxI57f9jTHy5eBWGIwBLMMp5Iqg== +
+
+ x-ms-client-session-id + 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z +
+
+ x-ms-client-request-id + dc4d642c-e6c1-4b55-97e8-81770e1e8bb4-2014-07-16 17:20:00Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=LTursKkmgxCbAjpLub/ZOQ== +
+
+ + + .SQLSERVERMANAGEMENT + LTursKkmgxCbAjpLub/ZOQ== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + 2d9d764b-25e6-afd5-0c6f-cf197fb37284 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=feed;charset=utf-8 +
+
+ Date + Wed, 16 Jul 2014 17:20:01 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases</id><title type="text">Databases</title><updated>2014-07-16T17:20:01Z</updated><link rel="self" title="Databases" href="Databases" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(4)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(4)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(4)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(4)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(4)/DatabaseCopies" /><title /><updated>2014-07-16T17:20:01Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">4</d:Id><d:Name>NewAzureSqlPremiumDatabaseTests_P1</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2014-07-16T17:19:54.297</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>Premium</d:Edition><d:MaxSizeGB m:type="Edm.Int32">10</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">10737418240</d:MaxSizeBytes><d:CollationName>SQL_Latin1_General_CP1_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2014-07-16T10:19:51.33</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime">2014-07-16T17:20:50.983Z</d:RecoveryPeriodStartDate><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry></feed> +
+
+ + 5 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + Pl48rNQ0Q0LolzYn6C70ExCjy+xRhQxHoZzm+UVg5+zYdNkSdy4DvkCPbQVk93j+cJ1VctG4DVOp649IBqpQX5S8A+e28gVgAsPFUGukzxTWts4OEnasXNR5OQ8yW8taZZgRCIvQcIMidqaMJblLurhqOHi2lCrle2HJ2Mqa6nqX9WmOzC1naAMXprGa6d771dOB2WBYbf3Vr10616HRaogEIdRZkHDOtCRcBJCuO9mTqrlwkNkuPCInIiovtcofwfzJpy2VWh4j/jMxv+jsSqGeVW6F0ZZ8843EarQjKzdeZ9HBfANUFijFTVhAOSpy6aNbGUIVWnzj8GYTiflZmHMT5ts5+6Y3mwWR6fbxfiT2Cp5b4mvDba1tFrSXfb1xRSsE/WqF/+5WURT8qui/+JKs5oyZHvosu3AdcCliGqvAErkNk/Gf23H5cx+cSs+uSN0cLc2Xw9xdd+xK5t+xiGod1TwaEZfgH0w6FYQwjRE7MiTaWFv/376hNpOkDGgALmv/Xjk7FH559yjBDcxxN4sHw6Bloof6ZaCKF9xr9EBvKIk8EMwFdX9jDnoNvnXGFadc/p3rfvX+KEna1NslgSU9Jc1X+7kVaSZsJVZpp3wNHVGulzCWWY0LdBvLRG1DicUNMDBecmp3j6ZpiAmP73HxjuYX67djlSB0FxpyeaUnLyomDykObUw/oXWYuIW+Sbs5eW7lAM65zKNL5+6rLmjAI3Hbzdi7ZIdTmoAymTd4+rqcwsWAnYpVNAvCxI57f9jTHy5eBWGIwBLMMp5Iqg== +
+
+ x-ms-client-session-id + 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z +
+
+ x-ms-client-request-id + dc4d642c-e6c1-4b55-97e8-81770e1e8bb4-2014-07-16 17:20:00Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=LTursKkmgxCbAjpLub/ZOQ== +
+
+ + + .SQLSERVERMANAGEMENT + LTursKkmgxCbAjpLub/ZOQ== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + 2d9d764b-25e6-afd5-0c6f-cf197fb37284 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=entry;charset=utf-8 +
+
+ Date + Wed, 16 Jul 2014 17:20:01 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings" /><title /><updated>2014-07-16T17:20:01Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:Id><d:Name>P1</d:Name><d:Description>Premium P1 resource allocation.</d:Description><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> +
+
+ + 6 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) + DELETE + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + Pl48rNQ0Q0LolzYn6C70ExCjy+xRhQxHoZzm+UVg5+zYdNkSdy4DvkCPbQVk93j+cJ1VctG4DVOp649IBqpQX5S8A+e28gVgAsPFUGukzxTWts4OEnasXNR5OQ8yW8taZZgRCIvQcIMidqaMJblLurhqOHi2lCrle2HJ2Mqa6nqX9WmOzC1naAMXprGa6d771dOB2WBYbf3Vr10616HRaogEIdRZkHDOtCRcBJCuO9mTqrlwkNkuPCInIiovtcofwfzJpy2VWh4j/jMxv+jsSqGeVW6F0ZZ8843EarQjKzdeZ9HBfANUFijFTVhAOSpy6aNbGUIVWnzj8GYTiflZmHMT5ts5+6Y3mwWR6fbxfiT2Cp5b4mvDba1tFrSXfb1xRSsE/WqF/+5WURT8qui/+JKs5oyZHvosu3AdcCliGqvAErkNk/Gf23H5cx+cSs+uSN0cLc2Xw9xdd+xK5t+xiGod1TwaEZfgH0w6FYQwjRE7MiTaWFv/376hNpOkDGgALmv/Xjk7FH559yjBDcxxN4sHw6Bloof6ZaCKF9xr9EBvKIk8EMwFdX9jDnoNvnXGFadc/p3rfvX+KEna1NslgSU9Jc1X+7kVaSZsJVZpp3wNHVGulzCWWY0LdBvLRG1DicUNMDBecmp3j6ZpiAmP73HxjuYX67djlSB0FxpyeaUnLyomDykObUw/oXWYuIW+Sbs5eW7lAM65zKNL5+6rLmjAI3Hbzdi7ZIdTmoAymTd4+rqcwsWAnYpVNAvCxI57f9jTHy5eBWGIwBLMMp5Iqg== +
+
+ x-ms-client-session-id + 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z +
+
+ x-ms-client-request-id + dc4d642c-e6c1-4b55-97e8-81770e1e8bb4-2014-07-16 17:20:00Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=LTursKkmgxCbAjpLub/ZOQ== +
+
+ + + .SQLSERVERMANAGEMENT + LTursKkmgxCbAjpLub/ZOQ== + + + + + + application/atom+xml,application/xml +
+ + NoContent + +
+ x-ms-request-id + 2d9d764b-25e6-afd5-0c6f-cf197fb37284 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 1.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Date + Wed, 16 Jul 2014 17:20:02 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + +
+
+ + 7 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'NewAzureSqlPremiumDatabaseTests_P2'&$top=2 + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + Pl48rNQ0Q0LolzYn6C70ExCjy+xRhQxHoZzm+UVg5+zYdNkSdy4DvkCPbQVk93j+cJ1VctG4DVOp649IBqpQX5S8A+e28gVgAsPFUGukzxTWts4OEnasXNR5OQ8yW8taZZgRCIvQcIMidqaMJblLurhqOHi2lCrle2HJ2Mqa6nqX9WmOzC1naAMXprGa6d771dOB2WBYbf3Vr10616HRaogEIdRZkHDOtCRcBJCuO9mTqrlwkNkuPCInIiovtcofwfzJpy2VWh4j/jMxv+jsSqGeVW6F0ZZ8843EarQjKzdeZ9HBfANUFijFTVhAOSpy6aNbGUIVWnzj8GYTiflZmHMT5ts5+6Y3mwWR6fbxfiT2Cp5b4mvDba1tFrSXfb1xRSsE/WqF/+5WURT8qui/+JKs5oyZHvosu3AdcCliGqvAErkNk/Gf23H5cx+cSs+uSN0cLc2Xw9xdd+xK5t+xiGod1TwaEZfgH0w6FYQwjRE7MiTaWFv/376hNpOkDGgALmv/Xjk7FH559yjBDcxxN4sHw6Bloof6ZaCKF9xr9EBvKIk8EMwFdX9jDnoNvnXGFadc/p3rfvX+KEna1NslgSU9Jc1X+7kVaSZsJVZpp3wNHVGulzCWWY0LdBvLRG1DicUNMDBecmp3j6ZpiAmP73HxjuYX67djlSB0FxpyeaUnLyomDykObUw/oXWYuIW+Sbs5eW7lAM65zKNL5+6rLmjAI3Hbzdi7ZIdTmoAymTd4+rqcwsWAnYpVNAvCxI57f9jTHy5eBWGIwBLMMp5Iqg== +
+
+ x-ms-client-session-id + 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z +
+
+ x-ms-client-request-id + dc4d642c-e6c1-4b55-97e8-81770e1e8bb4-2014-07-16 17:20:00Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=LTursKkmgxCbAjpLub/ZOQ== +
+
+ + + .SQLSERVERMANAGEMENT + LTursKkmgxCbAjpLub/ZOQ== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + 2d9d764b-25e6-afd5-0c6f-cf197fb37284 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=feed;charset=utf-8 +
+
+ Date + Wed, 16 Jul 2014 17:20:02 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases</id><title type="text">Databases</title><updated>2014-07-16T17:20:03Z</updated><link rel="self" title="Databases" href="Databases" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(5)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(5)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(5)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(5)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(5)/DatabaseCopies" /><title /><updated>2014-07-16T17:20:03Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">5</d:Id><d:Name>NewAzureSqlPremiumDatabaseTests_P2</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2014-07-16T17:19:58.127</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>Premium</d:Edition><d:MaxSizeGB m:type="Edm.Int32">10</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">10737418240</d:MaxSizeBytes><d:CollationName>Japanese_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2014-07-16T10:19:54.913</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime">2014-07-16T17:20:54.737Z</d:RecoveryPeriodStartDate><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry></feed> +
+
+ + 8 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + Pl48rNQ0Q0LolzYn6C70ExCjy+xRhQxHoZzm+UVg5+zYdNkSdy4DvkCPbQVk93j+cJ1VctG4DVOp649IBqpQX5S8A+e28gVgAsPFUGukzxTWts4OEnasXNR5OQ8yW8taZZgRCIvQcIMidqaMJblLurhqOHi2lCrle2HJ2Mqa6nqX9WmOzC1naAMXprGa6d771dOB2WBYbf3Vr10616HRaogEIdRZkHDOtCRcBJCuO9mTqrlwkNkuPCInIiovtcofwfzJpy2VWh4j/jMxv+jsSqGeVW6F0ZZ8843EarQjKzdeZ9HBfANUFijFTVhAOSpy6aNbGUIVWnzj8GYTiflZmHMT5ts5+6Y3mwWR6fbxfiT2Cp5b4mvDba1tFrSXfb1xRSsE/WqF/+5WURT8qui/+JKs5oyZHvosu3AdcCliGqvAErkNk/Gf23H5cx+cSs+uSN0cLc2Xw9xdd+xK5t+xiGod1TwaEZfgH0w6FYQwjRE7MiTaWFv/376hNpOkDGgALmv/Xjk7FH559yjBDcxxN4sHw6Bloof6ZaCKF9xr9EBvKIk8EMwFdX9jDnoNvnXGFadc/p3rfvX+KEna1NslgSU9Jc1X+7kVaSZsJVZpp3wNHVGulzCWWY0LdBvLRG1DicUNMDBecmp3j6ZpiAmP73HxjuYX67djlSB0FxpyeaUnLyomDykObUw/oXWYuIW+Sbs5eW7lAM65zKNL5+6rLmjAI3Hbzdi7ZIdTmoAymTd4+rqcwsWAnYpVNAvCxI57f9jTHy5eBWGIwBLMMp5Iqg== +
+
+ x-ms-client-session-id + 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z +
+
+ x-ms-client-request-id + dc4d642c-e6c1-4b55-97e8-81770e1e8bb4-2014-07-16 17:20:00Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=LTursKkmgxCbAjpLub/ZOQ== +
+
+ + + .SQLSERVERMANAGEMENT + LTursKkmgxCbAjpLub/ZOQ== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + 2d9d764b-25e6-afd5-0c6f-cf197fb37284 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=entry;charset=utf-8 +
+
+ Date + Wed, 16 Jul 2014 17:20:02 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')/DimensionSettings" /><title /><updated>2014-07-16T17:20:03Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:Id><d:Name>P2</d:Name><d:Description>Premium P2 resource allocation.</d:Description><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> +
+
+ + 9 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5) + DELETE + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + Pl48rNQ0Q0LolzYn6C70ExCjy+xRhQxHoZzm+UVg5+zYdNkSdy4DvkCPbQVk93j+cJ1VctG4DVOp649IBqpQX5S8A+e28gVgAsPFUGukzxTWts4OEnasXNR5OQ8yW8taZZgRCIvQcIMidqaMJblLurhqOHi2lCrle2HJ2Mqa6nqX9WmOzC1naAMXprGa6d771dOB2WBYbf3Vr10616HRaogEIdRZkHDOtCRcBJCuO9mTqrlwkNkuPCInIiovtcofwfzJpy2VWh4j/jMxv+jsSqGeVW6F0ZZ8843EarQjKzdeZ9HBfANUFijFTVhAOSpy6aNbGUIVWnzj8GYTiflZmHMT5ts5+6Y3mwWR6fbxfiT2Cp5b4mvDba1tFrSXfb1xRSsE/WqF/+5WURT8qui/+JKs5oyZHvosu3AdcCliGqvAErkNk/Gf23H5cx+cSs+uSN0cLc2Xw9xdd+xK5t+xiGod1TwaEZfgH0w6FYQwjRE7MiTaWFv/376hNpOkDGgALmv/Xjk7FH559yjBDcxxN4sHw6Bloof6ZaCKF9xr9EBvKIk8EMwFdX9jDnoNvnXGFadc/p3rfvX+KEna1NslgSU9Jc1X+7kVaSZsJVZpp3wNHVGulzCWWY0LdBvLRG1DicUNMDBecmp3j6ZpiAmP73HxjuYX67djlSB0FxpyeaUnLyomDykObUw/oXWYuIW+Sbs5eW7lAM65zKNL5+6rLmjAI3Hbzdi7ZIdTmoAymTd4+rqcwsWAnYpVNAvCxI57f9jTHy5eBWGIwBLMMp5Iqg== +
+
+ x-ms-client-session-id + 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z +
+
+ x-ms-client-request-id + dc4d642c-e6c1-4b55-97e8-81770e1e8bb4-2014-07-16 17:20:00Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=LTursKkmgxCbAjpLub/ZOQ== +
+
+ + + .SQLSERVERMANAGEMENT + LTursKkmgxCbAjpLub/ZOQ== + + + + + + application/atom+xml,application/xml +
+ + NoContent + +
+ x-ms-request-id + 2d9d764b-25e6-afd5-0c6f-cf197fb37284 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 1.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Date + Wed, 16 Jul 2014 17:20:05 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + +
+
+
+
+ + UnitTests.SetAzureSqlDatabaseServiceObjectiveWithSqlAuth + + + 7 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(7)/ServiceObjective + GET + WindowsAzurePowershell/v0.7.3.1 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + aGXjWlPHwbnEIF7xh4IAOlnzaj9fgX6ewJsAjdEykzm12qQ8ZCcEx3wRmU1gL9xAWhVSK5a+KHgqDU5MINBgIrtYzE+M+cE8UOygBdJ+B8w4ypr3YF/5b9Pnyk7C30K8Lqfj9HUEg3pZDDDSVDN3r+UN1YDAPQLZI0ylNfRzmSTmVKG2vSJHzZnORxneJyRJ0W9FQYmDbhnpno38fyM2i6q9PGgBA4uMJrZEAIUBp8c2Fo2YqLyp4xKmXukLax+DnKYQykcqUsC71ypgh7o8ZtLaRTPYtM5kCmNRWY6XA9wO3oNC3A09iJvaCuPVpPgCrj26ghTQFIhd1i2K0JzPrAhmFrrPgE2W8h9uwCoU7QtN8lVwMLqAHrEOfKRHzatsVU8Hr2JPNpcz806ecaIYFx6OkwAmfIUTcbBd+SjWwFAIDN2AxXrRnHXVN7yq6z+dfJNsB0jTQ6OPMKfYqwocenxLc3S5KZwMW6VlBucmeQsKRwi7eEfElvHm9ENthNKgLLUaCANeLwf/M15l4k6M1yDCvZ8ruwcw5ZCFXzJWVEf+HLiKXQNebMKBpLCgx/TL5z/FJFebecnHaE/luPFuWarzLFGXDg5VxI20F+7Jl8k0HrQx5kH76PCjGs7luxVAXcgyK8Kn2uD0Fll1yrPQOBMlQwTo8lyzu8W2xTV7GSyHNihZsmsWf7fG913Dr4Nft9qGykuDsqBgQ83Dh0UaYN3a7rCW+ZKHtt17OLcLX1L6+Nr/XA7bhp93isHiNS3zoi04f1qIIqVQVaYIY6i3hg== +
+
+ x-ms-client-session-id + ef1140f7-7b53-40f4-8288-24516cf8980f-2012-10-08 23:48:38Z +
+
+ x-ms-client-request-id + ed5e9fa7-ce70-48a4-a330-868f6e318f45-2013-05-08 21:18:04Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=3Y4zVOxuQwnI3U6C86ChIw== +
+
+ + + .SQLSERVERMANAGEMENT + 3Y4zVOxuQwnI3U6C86ChIw== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + c94d3c72-84f6-a9ab-a04f-dd9209855014 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=entry;charset=utf-8 +
+
+ Date + Wed, 08 May 2013 21:18:07 GMT +
+
+ + <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')/DimensionSettings" /><title /><updated>2013-05-08T21:18:08Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:Id><d:Name>Shared</d:Name><d:Description>Resource capacity is not reserved.</d:Description><d:IsDefault m:type="Edm.Boolean">true</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> +
+
+ + 0 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives()?$filter=Name%20eq%20'P1'&$top=2 + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + KGuMwKdkAEAmekvfiuEPQANSeyL/gZiYn1bXDjIRJw8wvnqmaFSKIxIDi1W4P2zazf1n2i1TsBMpAQHbicAwS71Q/lTBbO+5MuIe+tX3D6s77uElAXVmkBBf+QDcHQ6PS1XVAcPp8ylyOVCx+tCHJ5rOBvfb168OAdheGjP/PT40Rhn0ANzrNwPzAqJql4kErC2BPLM0bumlXUkH+APhyt3C2afCqtIEPul6pnJtcpzSaEZlxEkpTqOJxYXAsqVPwLux9JKnDkUasBZ+4mwCAKL5/NbN+rmbNZjGKcTT+LpCU8n/xeaqZUJ9a5Wk5vtzroAW/gO+qoForVy7/uYhrCu7YoH164g+saqBAymh6tMUanaw9wLVTdRv8CC1TpGYx02kQrTTVvk72GIkABc6Bmaz+AVxri9Ehsg/DvqEtD6qYFGnggklovAd0PvPN8BHJfLxQSG3RAjyE3xTxariJM3zQmzspFA3zP1cIC4AtQ3FxOaFQrPNbdsN36rqDmzwbjoFR+Q9u9UXVd5b3OhvnobdncqQp/wxq+aEcgtrSpBPx5/rDUpor9rktuqdti77B0703BTtXk2HQS+b8ek2kvRs/qCFbCxN5Cxqk6rJb0InbeJsEG9McLOP6FhGTblIlQSwyrgR30MGjXKqX/Nj6x41+1F856afnHvCoax4FlyleQ6vVqbaPASDZX09CjNkqttGC0KDzF34MXaYD9Db3lSHuKE/yltF0ughBxMR+SIeQnXWNd8d1fLxeAdIL991DxVRsRXwVTm68WCQaR4ShA== +
+
+ x-ms-client-session-id + 9773bc04-827f-4ef7-9332-fbb87ead8126-2013-06-28 18:54:39Z +
+
+ x-ms-client-request-id + 68f03aec-3f21-4c3e-897b-4c5c1c03e37f-2013-06-28 18:54:45Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=hveMZwFSfs1yjf5QsT2osQ== +
+
+ + + .SQLSERVERMANAGEMENT + hveMZwFSfs1yjf5QsT2osQ== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + 5bb5f5c5-d9e9-d296-dcb0-a15030610d63 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=feed;charset=utf-8 +
+
+ Date + Fri, 28 Jun 2013 18:54:45 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives</id><title type="text">ServiceObjectives</title><updated>2013-06-28T18:54:45Z</updated><link rel="self" title="ServiceObjectives" href="ServiceObjectives" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings" /><title /><updated>2013-06-28T18:54:45Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:Id><d:Name>P1</d:Name><d:Description>Resource capacity is reserved.</d:Description><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry></feed> +
+
+ + 1 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + KGuMwKdkAEAmekvfiuEPQANSeyL/gZiYn1bXDjIRJw8wvnqmaFSKIxIDi1W4P2zazf1n2i1TsBMpAQHbicAwS71Q/lTBbO+5MuIe+tX3D6s77uElAXVmkBBf+QDcHQ6PS1XVAcPp8ylyOVCx+tCHJ5rOBvfb168OAdheGjP/PT40Rhn0ANzrNwPzAqJql4kErC2BPLM0bumlXUkH+APhyt3C2afCqtIEPul6pnJtcpzSaEZlxEkpTqOJxYXAsqVPwLux9JKnDkUasBZ+4mwCAKL5/NbN+rmbNZjGKcTT+LpCU8n/xeaqZUJ9a5Wk5vtzroAW/gO+qoForVy7/uYhrCu7YoH164g+saqBAymh6tMUanaw9wLVTdRv8CC1TpGYx02kQrTTVvk72GIkABc6Bmaz+AVxri9Ehsg/DvqEtD6qYFGnggklovAd0PvPN8BHJfLxQSG3RAjyE3xTxariJM3zQmzspFA3zP1cIC4AtQ3FxOaFQrPNbdsN36rqDmzwbjoFR+Q9u9UXVd5b3OhvnobdncqQp/wxq+aEcgtrSpBPx5/rDUpor9rktuqdti77B0703BTtXk2HQS+b8ek2kvRs/qCFbCxN5Cxqk6rJb0InbeJsEG9McLOP6FhGTblIlQSwyrgR30MGjXKqX/Nj6x41+1F856afnHvCoax4FlyleQ6vVqbaPASDZX09CjNkqttGC0KDzF34MXaYD9Db3lSHuKE/yltF0ughBxMR+SIeQnXWNd8d1fLxeAdIL991DxVRsRXwVTm68WCQaR4ShA== +
+
+ x-ms-client-session-id + 9773bc04-827f-4ef7-9332-fbb87ead8126-2013-06-28 18:54:39Z +
+
+ x-ms-client-request-id + 68f03aec-3f21-4c3e-897b-4c5c1c03e37f-2013-06-28 18:54:45Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=hveMZwFSfs1yjf5QsT2osQ== +
+
+ + + .SQLSERVERMANAGEMENT + hveMZwFSfs1yjf5QsT2osQ== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + 5bb5f5c5-d9e9-d296-dcb0-a15030610d63 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=feed;charset=utf-8 +
+
+ Date + Fri, 28 Jun 2013 18:54:45 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings</id><title type="text">DimensionSettings</title><updated>2013-06-28T18:54:45Z</updated><link rel="self" title="DimensionSettings" href="DimensionSettings" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/DimensionSettings(guid'765fbda3-73c9-4fad-996e-7c0e4e219f68')</id><category term="Microsoft.SqlServer.Management.Server.Domain.DimensionSetting" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="DimensionSetting" href="DimensionSettings(guid'765fbda3-73c9-4fad-996e-7c0e4e219f68')" /><title /><updated>2013-06-28T18:54:45Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">765fbda3-73c9-4fad-996e-7c0e4e219f68</d:Id><d:Name>P1</d:Name><d:Description>Resource capacity is reserved.</d:Description><d:Ordinal m:type="Edm.Byte">3</d:Ordinal><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault></m:properties></content></entry></feed> +
+
+ + 2 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2 + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + KGuMwKdkAEAmekvfiuEPQANSeyL/gZiYn1bXDjIRJw8wvnqmaFSKIxIDi1W4P2zazf1n2i1TsBMpAQHbicAwS71Q/lTBbO+5MuIe+tX3D6s77uElAXVmkBBf+QDcHQ6PS1XVAcPp8ylyOVCx+tCHJ5rOBvfb168OAdheGjP/PT40Rhn0ANzrNwPzAqJql4kErC2BPLM0bumlXUkH+APhyt3C2afCqtIEPul6pnJtcpzSaEZlxEkpTqOJxYXAsqVPwLux9JKnDkUasBZ+4mwCAKL5/NbN+rmbNZjGKcTT+LpCU8n/xeaqZUJ9a5Wk5vtzroAW/gO+qoForVy7/uYhrCu7YoH164g+saqBAymh6tMUanaw9wLVTdRv8CC1TpGYx02kQrTTVvk72GIkABc6Bmaz+AVxri9Ehsg/DvqEtD6qYFGnggklovAd0PvPN8BHJfLxQSG3RAjyE3xTxariJM3zQmzspFA3zP1cIC4AtQ3FxOaFQrPNbdsN36rqDmzwbjoFR+Q9u9UXVd5b3OhvnobdncqQp/wxq+aEcgtrSpBPx5/rDUpor9rktuqdti77B0703BTtXk2HQS+b8ek2kvRs/qCFbCxN5Cxqk6rJb0InbeJsEG9McLOP6FhGTblIlQSwyrgR30MGjXKqX/Nj6x41+1F856afnHvCoax4FlyleQ6vVqbaPASDZX09CjNkqttGC0KDzF34MXaYD9Db3lSHuKE/yltF0ughBxMR+SIeQnXWNd8d1fLxeAdIL991DxVRsRXwVTm68WCQaR4ShA== +
+
+ x-ms-client-session-id + 9773bc04-827f-4ef7-9332-fbb87ead8126-2013-06-28 18:54:39Z +
+
+ x-ms-client-request-id + 68f03aec-3f21-4c3e-897b-4c5c1c03e37f-2013-06-28 18:54:45Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=hveMZwFSfs1yjf5QsT2osQ== +
+
+ + + .SQLSERVERMANAGEMENT + hveMZwFSfs1yjf5QsT2osQ== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + 5bb5f5c5-d9e9-d296-dcb0-a15030610d63 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=feed;charset=utf-8 +
+
+ Date + Fri, 28 Jun 2013 18:54:45 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases</id><title type="text">Databases</title><updated>2013-06-28T18:54:45Z</updated><link rel="self" title="Databases" href="Databases" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(5)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(5)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(5)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(5)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(5)/DatabaseCopies" /><title /><updated>2013-06-28T18:54:45Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">5</d:Id><d:Name>testdb2</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2013-06-28T18:54:45.12</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>Web</d:Edition><d:MaxSizeGB m:type="Edm.Int32">5</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">5368709120</d:MaxSizeBytes><d:CollationName>Japanese_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2013-06-28T11:54:44.697</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime">2013-06-28T18:54:44.697Z</d:RecoveryPeriodStartDate><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /></m:properties></content></entry></feed> +
+
+ + 3 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + KGuMwKdkAEAmekvfiuEPQANSeyL/gZiYn1bXDjIRJw8wvnqmaFSKIxIDi1W4P2zazf1n2i1TsBMpAQHbicAwS71Q/lTBbO+5MuIe+tX3D6s77uElAXVmkBBf+QDcHQ6PS1XVAcPp8ylyOVCx+tCHJ5rOBvfb168OAdheGjP/PT40Rhn0ANzrNwPzAqJql4kErC2BPLM0bumlXUkH+APhyt3C2afCqtIEPul6pnJtcpzSaEZlxEkpTqOJxYXAsqVPwLux9JKnDkUasBZ+4mwCAKL5/NbN+rmbNZjGKcTT+LpCU8n/xeaqZUJ9a5Wk5vtzroAW/gO+qoForVy7/uYhrCu7YoH164g+saqBAymh6tMUanaw9wLVTdRv8CC1TpGYx02kQrTTVvk72GIkABc6Bmaz+AVxri9Ehsg/DvqEtD6qYFGnggklovAd0PvPN8BHJfLxQSG3RAjyE3xTxariJM3zQmzspFA3zP1cIC4AtQ3FxOaFQrPNbdsN36rqDmzwbjoFR+Q9u9UXVd5b3OhvnobdncqQp/wxq+aEcgtrSpBPx5/rDUpor9rktuqdti77B0703BTtXk2HQS+b8ek2kvRs/qCFbCxN5Cxqk6rJb0InbeJsEG9McLOP6FhGTblIlQSwyrgR30MGjXKqX/Nj6x41+1F856afnHvCoax4FlyleQ6vVqbaPASDZX09CjNkqttGC0KDzF34MXaYD9Db3lSHuKE/yltF0ughBxMR+SIeQnXWNd8d1fLxeAdIL991DxVRsRXwVTm68WCQaR4ShA== +
+
+ x-ms-client-session-id + 9773bc04-827f-4ef7-9332-fbb87ead8126-2013-06-28 18:54:39Z +
+
+ x-ms-client-request-id + 68f03aec-3f21-4c3e-897b-4c5c1c03e37f-2013-06-28 18:54:45Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=hveMZwFSfs1yjf5QsT2osQ== +
+
+ + + .SQLSERVERMANAGEMENT + hveMZwFSfs1yjf5QsT2osQ== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + 5bb5f5c5-d9e9-d296-dcb0-a15030610d63 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=entry;charset=utf-8 +
+
+ Date + Fri, 28 Jun 2013 18:54:45 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')/DimensionSettings" /><title /><updated>2013-06-28T18:54:45Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:Id><d:Name>Shared</d:Name><d:Description>Resource capacity is not reserved.</d:Description><d:IsDefault m:type="Edm.Boolean">true</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> +
+
+ + 4 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5) + MERGE + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + KGuMwKdkAEAmekvfiuEPQANSeyL/gZiYn1bXDjIRJw8wvnqmaFSKIxIDi1W4P2zazf1n2i1TsBMpAQHbicAwS71Q/lTBbO+5MuIe+tX3D6s77uElAXVmkBBf+QDcHQ6PS1XVAcPp8ylyOVCx+tCHJ5rOBvfb168OAdheGjP/PT40Rhn0ANzrNwPzAqJql4kErC2BPLM0bumlXUkH+APhyt3C2afCqtIEPul6pnJtcpzSaEZlxEkpTqOJxYXAsqVPwLux9JKnDkUasBZ+4mwCAKL5/NbN+rmbNZjGKcTT+LpCU8n/xeaqZUJ9a5Wk5vtzroAW/gO+qoForVy7/uYhrCu7YoH164g+saqBAymh6tMUanaw9wLVTdRv8CC1TpGYx02kQrTTVvk72GIkABc6Bmaz+AVxri9Ehsg/DvqEtD6qYFGnggklovAd0PvPN8BHJfLxQSG3RAjyE3xTxariJM3zQmzspFA3zP1cIC4AtQ3FxOaFQrPNbdsN36rqDmzwbjoFR+Q9u9UXVd5b3OhvnobdncqQp/wxq+aEcgtrSpBPx5/rDUpor9rktuqdti77B0703BTtXk2HQS+b8ek2kvRs/qCFbCxN5Cxqk6rJb0InbeJsEG9McLOP6FhGTblIlQSwyrgR30MGjXKqX/Nj6x41+1F856afnHvCoax4FlyleQ6vVqbaPASDZX09CjNkqttGC0KDzF34MXaYD9Db3lSHuKE/yltF0ughBxMR+SIeQnXWNd8d1fLxeAdIL991DxVRsRXwVTm68WCQaR4ShA== +
+
+ x-ms-client-session-id + 9773bc04-827f-4ef7-9332-fbb87ead8126-2013-06-28 18:54:39Z +
+
+ x-ms-client-request-id + 68f03aec-3f21-4c3e-897b-4c5c1c03e37f-2013-06-28 18:54:45Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=hveMZwFSfs1yjf5QsT2osQ== +
+
+ + + .SQLSERVERMANAGEMENT + hveMZwFSfs1yjf5QsT2osQ== + + + + + <?xml version="1.0" encoding="utf-8" standalone="yes"?> + <entry xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom"> + <category scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" term="Microsoft.SqlServer.Management.Server.Domain.Database" /> + <title /> + <author> + <name /> + </author> + <updated>2013-06-28T18:54:45.5007453Z</updated> + <id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)</id> + <content type="application/xml"> + <m:properties> + <d:AssignedServiceObjectiveId m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:AssignedServiceObjectiveId> + <d:CollationName>Japanese_CI_AS</d:CollationName> + <d:CreationDate m:type="Edm.DateTime">2013-06-28T11:54:44.697</d:CreationDate> + <d:Edition m:null="true" /> + <d:Id m:type="Edm.Int32">5</d:Id> + <d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember> + <d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot> + <d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn> + <d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /> + <d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly> + <d:IsRecursiveTriggersOn m:type="Edm.Boolean" m:null="true" /> + <d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject> + <d:MaxSizeBytes m:type="Edm.Int64">5368709120</d:MaxSizeBytes> + <d:MaxSizeGB m:type="Edm.Int32" m:null="true" /> + <d:Name>testdb2</d:Name> + <d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /> + <d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /> + <d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /> + <d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /> + <d:RecoveryPeriodStartDate m:type="Edm.DateTime">2013-06-28T18:54:44.697Z</d:RecoveryPeriodStartDate> + <d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode> + <d:ServiceObjectiveAssignmentErrorDescription m:null="true" /> + <d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState> + <d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription> + <d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2013-06-28T18:54:45.12</d:ServiceObjectiveAssignmentSuccessDate> + <d:ServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:ServiceObjectiveId> + <d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB> + <d:Status m:type="Edm.Int32">1</d:Status> + </m:properties> + </content> + </entry> + + application/atom+xml + application/atom+xml,application/xml +
+ + NoContent + +
+ x-ms-request-id + 5bb5f5c5-d9e9-d296-dcb0-a15030610d63 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 1.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Date + Fri, 28 Jun 2013 18:54:45 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + +
+
+ + 5 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2 + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + KGuMwKdkAEAmekvfiuEPQANSeyL/gZiYn1bXDjIRJw8wvnqmaFSKIxIDi1W4P2zazf1n2i1TsBMpAQHbicAwS71Q/lTBbO+5MuIe+tX3D6s77uElAXVmkBBf+QDcHQ6PS1XVAcPp8ylyOVCx+tCHJ5rOBvfb168OAdheGjP/PT40Rhn0ANzrNwPzAqJql4kErC2BPLM0bumlXUkH+APhyt3C2afCqtIEPul6pnJtcpzSaEZlxEkpTqOJxYXAsqVPwLux9JKnDkUasBZ+4mwCAKL5/NbN+rmbNZjGKcTT+LpCU8n/xeaqZUJ9a5Wk5vtzroAW/gO+qoForVy7/uYhrCu7YoH164g+saqBAymh6tMUanaw9wLVTdRv8CC1TpGYx02kQrTTVvk72GIkABc6Bmaz+AVxri9Ehsg/DvqEtD6qYFGnggklovAd0PvPN8BHJfLxQSG3RAjyE3xTxariJM3zQmzspFA3zP1cIC4AtQ3FxOaFQrPNbdsN36rqDmzwbjoFR+Q9u9UXVd5b3OhvnobdncqQp/wxq+aEcgtrSpBPx5/rDUpor9rktuqdti77B0703BTtXk2HQS+b8ek2kvRs/qCFbCxN5Cxqk6rJb0InbeJsEG9McLOP6FhGTblIlQSwyrgR30MGjXKqX/Nj6x41+1F856afnHvCoax4FlyleQ6vVqbaPASDZX09CjNkqttGC0KDzF34MXaYD9Db3lSHuKE/yltF0ughBxMR+SIeQnXWNd8d1fLxeAdIL991DxVRsRXwVTm68WCQaR4ShA== +
+
+ x-ms-client-session-id + 9773bc04-827f-4ef7-9332-fbb87ead8126-2013-06-28 18:54:39Z +
+
+ x-ms-client-request-id + 68f03aec-3f21-4c3e-897b-4c5c1c03e37f-2013-06-28 18:54:45Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=hveMZwFSfs1yjf5QsT2osQ== +
+
+ + + .SQLSERVERMANAGEMENT + hveMZwFSfs1yjf5QsT2osQ== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + 5bb5f5c5-d9e9-d296-dcb0-a15030610d63 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=feed;charset=utf-8 +
+
+ Date + Fri, 28 Jun 2013 18:54:45 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases</id><title type="text">Databases</title><updated>2013-06-28T18:54:45Z</updated><link rel="self" title="Databases" href="Databases" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(5)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(5)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(5)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(5)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(5)/DatabaseCopies" /><title /><updated>2013-06-28T18:54:45Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">5</d:Id><d:Name>testdb2</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">0</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Pending</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2013-06-28T18:54:45.12</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>Web</d:Edition><d:MaxSizeGB m:type="Edm.Int32">5</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">5368709120</d:MaxSizeBytes><d:CollationName>Japanese_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2013-06-28T11:54:44.697</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime">2013-06-28T18:54:44.697Z</d:RecoveryPeriodStartDate><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /></m:properties></content></entry></feed> +
+
+ + 6 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + KGuMwKdkAEAmekvfiuEPQANSeyL/gZiYn1bXDjIRJw8wvnqmaFSKIxIDi1W4P2zazf1n2i1TsBMpAQHbicAwS71Q/lTBbO+5MuIe+tX3D6s77uElAXVmkBBf+QDcHQ6PS1XVAcPp8ylyOVCx+tCHJ5rOBvfb168OAdheGjP/PT40Rhn0ANzrNwPzAqJql4kErC2BPLM0bumlXUkH+APhyt3C2afCqtIEPul6pnJtcpzSaEZlxEkpTqOJxYXAsqVPwLux9JKnDkUasBZ+4mwCAKL5/NbN+rmbNZjGKcTT+LpCU8n/xeaqZUJ9a5Wk5vtzroAW/gO+qoForVy7/uYhrCu7YoH164g+saqBAymh6tMUanaw9wLVTdRv8CC1TpGYx02kQrTTVvk72GIkABc6Bmaz+AVxri9Ehsg/DvqEtD6qYFGnggklovAd0PvPN8BHJfLxQSG3RAjyE3xTxariJM3zQmzspFA3zP1cIC4AtQ3FxOaFQrPNbdsN36rqDmzwbjoFR+Q9u9UXVd5b3OhvnobdncqQp/wxq+aEcgtrSpBPx5/rDUpor9rktuqdti77B0703BTtXk2HQS+b8ek2kvRs/qCFbCxN5Cxqk6rJb0InbeJsEG9McLOP6FhGTblIlQSwyrgR30MGjXKqX/Nj6x41+1F856afnHvCoax4FlyleQ6vVqbaPASDZX09CjNkqttGC0KDzF34MXaYD9Db3lSHuKE/yltF0ughBxMR+SIeQnXWNd8d1fLxeAdIL991DxVRsRXwVTm68WCQaR4ShA== +
+
+ x-ms-client-session-id + 9773bc04-827f-4ef7-9332-fbb87ead8126-2013-06-28 18:54:39Z +
+
+ x-ms-client-request-id + 68f03aec-3f21-4c3e-897b-4c5c1c03e37f-2013-06-28 18:54:45Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=hveMZwFSfs1yjf5QsT2osQ== +
+
+ + + .SQLSERVERMANAGEMENT + hveMZwFSfs1yjf5QsT2osQ== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + 5bb5f5c5-d9e9-d296-dcb0-a15030610d63 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=entry;charset=utf-8 +
+
+ Date + Fri, 28 Jun 2013 18:54:45 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')/DimensionSettings" /><title /><updated>2013-06-28T18:54:45Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:Id><d:Name>Shared</d:Name><d:Description>Resource capacity is not reserved.</d:Description><d:IsDefault m:type="Edm.Boolean">true</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> +
+
+
+
+ + UnitTest.Common.RemoveTestDatabasesWithSqlAuth + + + 0 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2 + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + QUEHI+CeF7bu0N0bUz2v1JuXPrKljYQ+mhLLC5PJeh4YX9psW8ACYgZEjgeqOGd8E7kme+QFhKrJHlnK9LKubXIQnsdDxOpXWtBXcXeV3DvaTerIQte1eFvCXhfBRhWnGN9ysNJY6d2b7zY8aIVRGO8oWPQ1L1vizlvM53Mjo2d+M+IY6s2H2KE7Oe80G74SEnsv5BLSu8mCdt+aifn4IoNl6T658QTYAv7oX2Gz4z80N8PHswynFBOmtQNW/1R0jFQCdGjUgnmodkf8Da8afyH96JTONe+cx+ve0HlPtIlC2YKr5ohJg6PTgXuJvaMtaDFaeyl0WsLymBCUqQpoz1zUDHpCPub8Vdin/TqLR7FMfixnZUF6aEoI9bH6R7+OzJQj9409xGNJx2ZdpEw0cCMazLV2HH5kIk98e3s91j2vOjYIT511ugp6dUEJ9fU2cQxEvwlVwPcivrm4FLPKuL/XoihgWdgx8zBID1lkW81saHKMfAZHF0f+riC2wiSkpIkdp/cjk8KG8xdbs1zwjAcRFRlGiMtqnX1OIOZvP5Gcdzi/MkO8njJJyTJZuKTraO/bzDtkeLyC272o+UOB+4IMCjDiDSPtCFYeblqqFZKxBmDKTYu9snoCi0CHF3b7gSOtn3EqgWCte5Fe5B5fDhN8+UT2GZ0y+6u6i6dL8bSHKLNdAMX/z4ilncQR5t0bBM9Ry77XRs/pN1tnE65mZ9oxCd/I3SpTUxFhO2ZJWb9OcTVDVnEspappAUYpYXN+qJBnzfCvcNYynfyQxdUbgA== +
+
+ x-ms-client-session-id + 9773bc04-827f-4ef7-9332-fbb87ead8126-2013-06-28 18:54:39Z +
+
+ x-ms-client-request-id + 9f1a8dee-d3b9-43a9-a3a5-a78ea42c9b54-2013-06-28 18:55:03Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=6wHW7S6FaCJ0zkOt7dw6PA== +
+
+ + + .SQLSERVERMANAGEMENT + 6wHW7S6FaCJ0zkOt7dw6PA== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + fbbd93c8-3d3a-8ef2-a7f2-918558547429 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=feed;charset=utf-8 +
+
+ Date + Fri, 28 Jun 2013 18:55:03 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases</id><title type="text">Databases</title><updated>2013-06-28T18:55:03Z</updated><link rel="self" title="Databases" href="Databases" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(4)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(4)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(4)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(4)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(4)/DatabaseCopies" /><title /><updated>2013-06-28T18:55:03Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">4</d:Id><d:Name>testdb1</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2013-06-28T18:55:01.64</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>Web</d:Edition><d:MaxSizeGB m:type="Edm.Int32">1</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">1073741824</d:MaxSizeBytes><d:CollationName>SQL_Latin1_General_CP1_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2013-06-28T11:55:03.02</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime">2013-06-28T18:55:03.02Z</d:RecoveryPeriodStartDate><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /></m:properties></content></entry></feed> +
+
+ + 1 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + QUEHI+CeF7bu0N0bUz2v1JuXPrKljYQ+mhLLC5PJeh4YX9psW8ACYgZEjgeqOGd8E7kme+QFhKrJHlnK9LKubXIQnsdDxOpXWtBXcXeV3DvaTerIQte1eFvCXhfBRhWnGN9ysNJY6d2b7zY8aIVRGO8oWPQ1L1vizlvM53Mjo2d+M+IY6s2H2KE7Oe80G74SEnsv5BLSu8mCdt+aifn4IoNl6T658QTYAv7oX2Gz4z80N8PHswynFBOmtQNW/1R0jFQCdGjUgnmodkf8Da8afyH96JTONe+cx+ve0HlPtIlC2YKr5ohJg6PTgXuJvaMtaDFaeyl0WsLymBCUqQpoz1zUDHpCPub8Vdin/TqLR7FMfixnZUF6aEoI9bH6R7+OzJQj9409xGNJx2ZdpEw0cCMazLV2HH5kIk98e3s91j2vOjYIT511ugp6dUEJ9fU2cQxEvwlVwPcivrm4FLPKuL/XoihgWdgx8zBID1lkW81saHKMfAZHF0f+riC2wiSkpIkdp/cjk8KG8xdbs1zwjAcRFRlGiMtqnX1OIOZvP5Gcdzi/MkO8njJJyTJZuKTraO/bzDtkeLyC272o+UOB+4IMCjDiDSPtCFYeblqqFZKxBmDKTYu9snoCi0CHF3b7gSOtn3EqgWCte5Fe5B5fDhN8+UT2GZ0y+6u6i6dL8bSHKLNdAMX/z4ilncQR5t0bBM9Ry77XRs/pN1tnE65mZ9oxCd/I3SpTUxFhO2ZJWb9OcTVDVnEspappAUYpYXN+qJBnzfCvcNYynfyQxdUbgA== +
+
+ x-ms-client-session-id + 9773bc04-827f-4ef7-9332-fbb87ead8126-2013-06-28 18:54:39Z +
+
+ x-ms-client-request-id + 9f1a8dee-d3b9-43a9-a3a5-a78ea42c9b54-2013-06-28 18:55:03Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=6wHW7S6FaCJ0zkOt7dw6PA== +
+
+ + + .SQLSERVERMANAGEMENT + 6wHW7S6FaCJ0zkOt7dw6PA== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + fbbd93c8-3d3a-8ef2-a7f2-918558547429 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=entry;charset=utf-8 +
+
+ Date + Fri, 28 Jun 2013 18:55:03 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')/DimensionSettings" /><title /><updated>2013-06-28T18:55:03Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:Id><d:Name>Shared</d:Name><d:Description>Resource capacity is not reserved.</d:Description><d:IsDefault m:type="Edm.Boolean">true</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> +
+
+ + 2 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) + DELETE + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + QUEHI+CeF7bu0N0bUz2v1JuXPrKljYQ+mhLLC5PJeh4YX9psW8ACYgZEjgeqOGd8E7kme+QFhKrJHlnK9LKubXIQnsdDxOpXWtBXcXeV3DvaTerIQte1eFvCXhfBRhWnGN9ysNJY6d2b7zY8aIVRGO8oWPQ1L1vizlvM53Mjo2d+M+IY6s2H2KE7Oe80G74SEnsv5BLSu8mCdt+aifn4IoNl6T658QTYAv7oX2Gz4z80N8PHswynFBOmtQNW/1R0jFQCdGjUgnmodkf8Da8afyH96JTONe+cx+ve0HlPtIlC2YKr5ohJg6PTgXuJvaMtaDFaeyl0WsLymBCUqQpoz1zUDHpCPub8Vdin/TqLR7FMfixnZUF6aEoI9bH6R7+OzJQj9409xGNJx2ZdpEw0cCMazLV2HH5kIk98e3s91j2vOjYIT511ugp6dUEJ9fU2cQxEvwlVwPcivrm4FLPKuL/XoihgWdgx8zBID1lkW81saHKMfAZHF0f+riC2wiSkpIkdp/cjk8KG8xdbs1zwjAcRFRlGiMtqnX1OIOZvP5Gcdzi/MkO8njJJyTJZuKTraO/bzDtkeLyC272o+UOB+4IMCjDiDSPtCFYeblqqFZKxBmDKTYu9snoCi0CHF3b7gSOtn3EqgWCte5Fe5B5fDhN8+UT2GZ0y+6u6i6dL8bSHKLNdAMX/z4ilncQR5t0bBM9Ry77XRs/pN1tnE65mZ9oxCd/I3SpTUxFhO2ZJWb9OcTVDVnEspappAUYpYXN+qJBnzfCvcNYynfyQxdUbgA== +
+
+ x-ms-client-session-id + 9773bc04-827f-4ef7-9332-fbb87ead8126-2013-06-28 18:54:39Z +
+
+ x-ms-client-request-id + 9f1a8dee-d3b9-43a9-a3a5-a78ea42c9b54-2013-06-28 18:55:03Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=6wHW7S6FaCJ0zkOt7dw6PA== +
+
+ + + .SQLSERVERMANAGEMENT + 6wHW7S6FaCJ0zkOt7dw6PA== + + + + + application/atom+xml + application/atom+xml,application/xml +
+ + NoContent + +
+ x-ms-request-id + fbbd93c8-3d3a-8ef2-a7f2-918558547429 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 1.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Date + Fri, 28 Jun 2013 18:55:03 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + +
+
+ + 3 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2 + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + QUEHI+CeF7bu0N0bUz2v1JuXPrKljYQ+mhLLC5PJeh4YX9psW8ACYgZEjgeqOGd8E7kme+QFhKrJHlnK9LKubXIQnsdDxOpXWtBXcXeV3DvaTerIQte1eFvCXhfBRhWnGN9ysNJY6d2b7zY8aIVRGO8oWPQ1L1vizlvM53Mjo2d+M+IY6s2H2KE7Oe80G74SEnsv5BLSu8mCdt+aifn4IoNl6T658QTYAv7oX2Gz4z80N8PHswynFBOmtQNW/1R0jFQCdGjUgnmodkf8Da8afyH96JTONe+cx+ve0HlPtIlC2YKr5ohJg6PTgXuJvaMtaDFaeyl0WsLymBCUqQpoz1zUDHpCPub8Vdin/TqLR7FMfixnZUF6aEoI9bH6R7+OzJQj9409xGNJx2ZdpEw0cCMazLV2HH5kIk98e3s91j2vOjYIT511ugp6dUEJ9fU2cQxEvwlVwPcivrm4FLPKuL/XoihgWdgx8zBID1lkW81saHKMfAZHF0f+riC2wiSkpIkdp/cjk8KG8xdbs1zwjAcRFRlGiMtqnX1OIOZvP5Gcdzi/MkO8njJJyTJZuKTraO/bzDtkeLyC272o+UOB+4IMCjDiDSPtCFYeblqqFZKxBmDKTYu9snoCi0CHF3b7gSOtn3EqgWCte5Fe5B5fDhN8+UT2GZ0y+6u6i6dL8bSHKLNdAMX/z4ilncQR5t0bBM9Ry77XRs/pN1tnE65mZ9oxCd/I3SpTUxFhO2ZJWb9OcTVDVnEspappAUYpYXN+qJBnzfCvcNYynfyQxdUbgA== +
+
+ x-ms-client-session-id + 9773bc04-827f-4ef7-9332-fbb87ead8126-2013-06-28 18:54:39Z +
+
+ x-ms-client-request-id + 9f1a8dee-d3b9-43a9-a3a5-a78ea42c9b54-2013-06-28 18:55:03Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=6wHW7S6FaCJ0zkOt7dw6PA== +
+
+ + + .SQLSERVERMANAGEMENT + 6wHW7S6FaCJ0zkOt7dw6PA== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + fbbd93c8-3d3a-8ef2-a7f2-918558547429 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=feed;charset=utf-8 +
+
+ Date + Fri, 28 Jun 2013 18:55:03 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases</id><title type="text">Databases</title><updated>2013-06-28T18:55:03Z</updated><link rel="self" title="Databases" href="Databases" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(5)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(5)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(5)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(5)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(5)/DatabaseCopies" /><title /><updated>2013-06-28T18:55:03Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">5</d:Id><d:Name>testdb2</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2013-06-28T18:55:02.163</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>Web</d:Edition><d:MaxSizeGB m:type="Edm.Int32">5</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">5368709120</d:MaxSizeBytes><d:CollationName>Japanese_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2013-06-28T11:55:01.81</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime">2013-06-28T18:55:01.81Z</d:RecoveryPeriodStartDate><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /></m:properties></content></entry></feed> +
+
+ + 4 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective + GET + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + QUEHI+CeF7bu0N0bUz2v1JuXPrKljYQ+mhLLC5PJeh4YX9psW8ACYgZEjgeqOGd8E7kme+QFhKrJHlnK9LKubXIQnsdDxOpXWtBXcXeV3DvaTerIQte1eFvCXhfBRhWnGN9ysNJY6d2b7zY8aIVRGO8oWPQ1L1vizlvM53Mjo2d+M+IY6s2H2KE7Oe80G74SEnsv5BLSu8mCdt+aifn4IoNl6T658QTYAv7oX2Gz4z80N8PHswynFBOmtQNW/1R0jFQCdGjUgnmodkf8Da8afyH96JTONe+cx+ve0HlPtIlC2YKr5ohJg6PTgXuJvaMtaDFaeyl0WsLymBCUqQpoz1zUDHpCPub8Vdin/TqLR7FMfixnZUF6aEoI9bH6R7+OzJQj9409xGNJx2ZdpEw0cCMazLV2HH5kIk98e3s91j2vOjYIT511ugp6dUEJ9fU2cQxEvwlVwPcivrm4FLPKuL/XoihgWdgx8zBID1lkW81saHKMfAZHF0f+riC2wiSkpIkdp/cjk8KG8xdbs1zwjAcRFRlGiMtqnX1OIOZvP5Gcdzi/MkO8njJJyTJZuKTraO/bzDtkeLyC272o+UOB+4IMCjDiDSPtCFYeblqqFZKxBmDKTYu9snoCi0CHF3b7gSOtn3EqgWCte5Fe5B5fDhN8+UT2GZ0y+6u6i6dL8bSHKLNdAMX/z4ilncQR5t0bBM9Ry77XRs/pN1tnE65mZ9oxCd/I3SpTUxFhO2ZJWb9OcTVDVnEspappAUYpYXN+qJBnzfCvcNYynfyQxdUbgA== +
+
+ x-ms-client-session-id + 9773bc04-827f-4ef7-9332-fbb87ead8126-2013-06-28 18:54:39Z +
+
+ x-ms-client-request-id + 9f1a8dee-d3b9-43a9-a3a5-a78ea42c9b54-2013-06-28 18:55:03Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=6wHW7S6FaCJ0zkOt7dw6PA== +
+
+ + + .SQLSERVERMANAGEMENT + 6wHW7S6FaCJ0zkOt7dw6PA== + + + + + + application/atom+xml,application/xml +
+ + OK + +
+ x-ms-request-id + fbbd93c8-3d3a-8ef2-a7f2-918558547429 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 2.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/atom+xml;type=entry;charset=utf-8 +
+
+ Date + Fri, 28 Jun 2013 18:55:03 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')/DimensionSettings" /><title /><updated>2013-06-28T18:55:03Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:Id><d:Name>Shared</d:Name><d:Description>Resource capacity is not reserved.</d:Description><d:IsDefault m:type="Edm.Boolean">true</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> +
+
+ + 5 + + http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5) + DELETE + AzurePowershell/v0.8.14 + +
+ DataServiceVersion + 1.0;NetFx +
+
+ MaxDataServiceVersion + 2.0;NetFx +
+
+ AccessToken + QUEHI+CeF7bu0N0bUz2v1JuXPrKljYQ+mhLLC5PJeh4YX9psW8ACYgZEjgeqOGd8E7kme+QFhKrJHlnK9LKubXIQnsdDxOpXWtBXcXeV3DvaTerIQte1eFvCXhfBRhWnGN9ysNJY6d2b7zY8aIVRGO8oWPQ1L1vizlvM53Mjo2d+M+IY6s2H2KE7Oe80G74SEnsv5BLSu8mCdt+aifn4IoNl6T658QTYAv7oX2Gz4z80N8PHswynFBOmtQNW/1R0jFQCdGjUgnmodkf8Da8afyH96JTONe+cx+ve0HlPtIlC2YKr5ohJg6PTgXuJvaMtaDFaeyl0WsLymBCUqQpoz1zUDHpCPub8Vdin/TqLR7FMfixnZUF6aEoI9bH6R7+OzJQj9409xGNJx2ZdpEw0cCMazLV2HH5kIk98e3s91j2vOjYIT511ugp6dUEJ9fU2cQxEvwlVwPcivrm4FLPKuL/XoihgWdgx8zBID1lkW81saHKMfAZHF0f+riC2wiSkpIkdp/cjk8KG8xdbs1zwjAcRFRlGiMtqnX1OIOZvP5Gcdzi/MkO8njJJyTJZuKTraO/bzDtkeLyC272o+UOB+4IMCjDiDSPtCFYeblqqFZKxBmDKTYu9snoCi0CHF3b7gSOtn3EqgWCte5Fe5B5fDhN8+UT2GZ0y+6u6i6dL8bSHKLNdAMX/z4ilncQR5t0bBM9Ry77XRs/pN1tnE65mZ9oxCd/I3SpTUxFhO2ZJWb9OcTVDVnEspappAUYpYXN+qJBnzfCvcNYynfyQxdUbgA== +
+
+ x-ms-client-session-id + 9773bc04-827f-4ef7-9332-fbb87ead8126-2013-06-28 18:54:39Z +
+
+ x-ms-client-request-id + 9f1a8dee-d3b9-43a9-a3a5-a78ea42c9b54-2013-06-28 18:55:03Z +
+
+ Accept-Charset + UTF-8 +
+
+ Cookie + .SQLSERVERMANAGEMENT=6wHW7S6FaCJ0zkOt7dw6PA== +
+
+ + + .SQLSERVERMANAGEMENT + 6wHW7S6FaCJ0zkOt7dw6PA== + + + + + application/atom+xml + application/atom+xml,application/xml +
+ + NoContent + +
+ x-ms-request-id + fbbd93c8-3d3a-8ef2-a7f2-918558547429 +
+
+ X-Content-Type-Options + nosniff +
+
+ DataServiceVersion + 1.0; +
+
+ Cache-Control + no-store,no-cache +
+
+ Date + Fri, 28 Jun 2013 18:55:03 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + +
+
+
+
+ + UnitTest.AzureSqlDatabaseServerV2Tests + + + 0 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 WindowsAzurePowershell/v0.7.3.1 + +
+ x-ms-version + 2012-03-01 +
+
+ + + <Server xmlns="http://schemas.microsoft.com/sqlazure/2010/12/"> + <AdministratorLogin>mylogin</AdministratorLogin> + <AdministratorLoginPassword>Pa$$w0rd!</AdministratorLoginPassword> + <Location>East Asia</Location> + <Version>2.0</Version> + </Server> + + application/xml + +
+ + Created + +
+ x-ms-request-id + a90a75b8-9492-43e9-8664-7a592efdc653 +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 17 Mar 2014 19:33:58 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServerName FullyQualifiedDomainName="m4mfnkbsoc.database.windows.net" xmlns="http://schemas.microsoft.com/sqlazure/2010/12/">m4mfnkbsoc</ServerName> +
+
+ + 1 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 9b748b65-4c0f-4330-addb-e4fc2c068a36-2015-01-14 23:22:17Z +
+
+ x-ms-client-request-id + a5640cbc-153b-454e-8edc-54df19b45467-2015-01-14 23:22:17Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Wed, 14 Jan 2015 23:23:32 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <Servers xmlns="http://schemas.microsoft.com/sqlazure/2010/12/"> + <Server> + <Name>m4mfnkbsoc</Name> + <AdministratorLogin>mylogin</AdministratorLogin> + <Location>East Asia</Location> + <FullyQualifiedDomainName>m4mfnkbsoc.database.windows.net</FullyQualifiedDomainName> + <Version>2.0</Version> + <State>Ready</State> + </Server> +</Servers> +
+
+ + 2 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 WindowsAzurePowershell/v0.7.3.1 + +
+ x-ms-version + 2012-03-01 +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 69f2f0ae-fe41-4b2a-bbe4-136e4bd3e94f +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 17 Mar 2014 19:33:58 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + + <Servers xmlns="http://schemas.microsoft.com/sqlazure/2010/12/"> + <Server> + <Name>m4mfnkbsoc</Name> + <AdministratorLogin>mylogin</AdministratorLogin> + <Location>East Asia</Location> + <FullyQualifiedDomainName>m4mfnkbsoc.database.windows.net</FullyQualifiedDomainName> + <Version>2.0</Version> + <State>Ready</State> + </Server> + </Servers> + +
+
+ + 3 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/m4mfnkbsoc + DELETE + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 WindowsAzurePowershell/v0.7.3.1 + +
+ x-ms-version + 2012-03-01 +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 47268585-f7ef-4caa-b671-6b01343a7c7e +
+
+ Date + Mon, 17 Mar 2014 19:34:01 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + +
+
+ + 4 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 WindowsAzurePowershell/v0.7.3.1 + +
+ x-ms-version + 2012-03-01 +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 1c962199-46ba-4c3f-b9d8-c65db05ee4df +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Mon, 17 Mar 2014 19:34:01 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <Servers xmlns="http://schemas.microsoft.com/sqlazure/2010/12/" /> +
+
+
+
+ + UnitTest.AzureSqlDatabaseEditionsTests + + + 0 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 1053e206-a727-4cf8-8a39-fb59c052e9e3-2015-01-20 01:26:26Z +
+
+ Authorization + Bearer abc +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <Name>testdbeditions1</Name> + <CollationName></CollationName> +</ServiceResource> + application/xml + +
+ + Created + +
+ x-ms-request-id + 4f5f5b53-d6ae-4180-91e6-c145d0a9407a +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:26:32 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 1 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 7a72e05c-a992-46d3-867e-e1cf183d8744-2015-01-20 01:26:32Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + c21c5f08-760f-4bd0-b0b9-7c1ebb943cf3 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:26:32 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources> +
+
+ + 2 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + b345f578-75b9-4b2a-86e2-1fc073b626d0-2015-01-20 01:26:35Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + a8a17a37-43fc-4b5d-8557-3a6eca4f094b +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:26:35 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 3 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 2041272c-6b83-45fe-b687-a5f8ef0d7702-2015-01-20 01:26:37Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 04953ae1-fe1a-40d0-85c1-9ce44b1ad833 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:26:37 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 4 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 2c6924b1-7e5a-433a-a465-234d1e2808b4-2015-01-20 01:26:39Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 93289362-9870-4a1f-a686-094ad001029d +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:26:39 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 5 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 755861db-7858-4d29-b03b-a5089615530e-2015-01-20 01:26:41Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 9eaeb917-fff2-49b4-9a58-11c3a2cd212d +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:26:41 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 6 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 0ed77200-4939-40a4-bd10-154f4b2f718e-2015-01-20 01:26:43Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + bc68d40f-a4cb-4770-936c-590ec9bc9134 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:26:44 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 7 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + f8f53dd3-0d1f-47fa-842c-ac6a575ec60b-2015-01-20 01:26:46Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 6596a254-9db4-45f5-b698-fffb0860777d +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:26:46 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 8 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + d09e7aa4-1230-421c-9437-42f5a5455b0b-2015-01-20 01:26:48Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + b5b5c46b-03b2-48a2-a7a5-af8071fff4e7 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:26:48 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 9 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 654fb41e-00a1-44e3-8961-1090081a07a3-2015-01-20 01:26:50Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 20fd438d-5c16-4706-a23d-0522485393ba +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:26:50 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 10 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + fd3def0c-c91f-4719-ac50-8f965fc99497-2015-01-20 01:26:52Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + dbc0eb0b-111b-44a9-b938-cd7cbe1b4c27 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:26:52 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 11 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + bed16d09-8c6d-4635-b477-4fbdea56408e-2015-01-20 01:26:54Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + fae8fdb1-2196-4377-8d91-0ccbbe312e14 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:26:55 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 12 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 0af3589f-744d-4ca1-9a97-bf1c7a5f9876-2015-01-20 01:26:57Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 6ae3a5b2-5164-421c-9bd7-5076d5e850bf +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:26:57 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 13 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 809b8bba-2354-4a19-ba34-417456e3277d-2015-01-20 01:26:59Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + d5c2bb12-1638-44ef-b73a-f69079664ebf +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:26:59 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 14 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 38896ad4-9cbc-448d-9651-b082eb9c54a8-2015-01-20 01:27:01Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 864cb275-859e-4eb5-b816-fef02f65baed +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:01 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 15 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 6679fc00-bd02-4d72-8cc1-cea5022d2ea7-2015-01-20 01:27:03Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 9b7af579-2935-4a6d-9530-3c4720e49915 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:03 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 16 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 79a3d2ff-7526-424d-8bad-c727e324fb26-2015-01-20 01:27:05Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + eb44629d-1736-4524-91d2-f581440a96c4 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:06 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 17 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 5846b449-4417-470a-9b77-d8ab92bb7d88-2015-01-20 01:27:08Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 6bd74dc2-70c8-4879-802a-15b71ebd5c74 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:08 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 18 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 8061a2cd-4ff8-44d5-9637-873b7e1b7184-2015-01-20 01:27:10Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + d997843a-64d3-42b4-a5d7-fd047239cd19 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:10 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 19 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 2b84143c-5671-4bad-92e6-2a0ec86a2e33-2015-01-20 01:27:12Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 128dfe7b-9694-438b-8cfa-30ce10ffd6ed +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:12 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 20 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 87c85a24-17ef-4cc3-aff1-74ac1301bbca-2015-01-20 01:27:14Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 5cccb25c-69a4-4438-9e7f-8b3d155e440b +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:14 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 21 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + c8a6d1b7-ee34-49bc-aa13-1b7de5942208-2015-01-20 01:27:16Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 4ea7d99f-9577-4fa4-8c27-6591ad97728e +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:16 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 22 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 35f637d9-381c-41ca-a6fa-657b63968793-2015-01-20 01:27:18Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 4d3c6752-f16a-422d-b4d1-b7d1f89bce99 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:19 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 23 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + a9a74ebf-b656-41ee-b383-55b4fa8e14ef-2015-01-20 01:27:21Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 9837274c-fb6f-4d86-bb54-f11d1509df04 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:21 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 24 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + d2dbf6ad-4d7c-4f34-8825-8734c6a7de6d-2015-01-20 01:27:23Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 7fd6c8d0-4349-418f-9b8f-ef8dae4f8687 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:23 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 25 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 5e5d778e-6036-48ae-80e1-d465a50592ab-2015-01-20 01:27:25Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 318bda2e-f7b8-4dc1-859e-f9e77e159ab2 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:25 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 26 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 9ac33ca7-18a5-4b8f-81f1-da66da77cf93-2015-01-20 01:27:27Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 421d5818-05c0-4b3f-b8e6-f430a905aec2 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:27 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 27 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 794623dd-0911-40a2-9ac1-99db742e6351-2015-01-20 01:27:29Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + cb84611e-96f2-45a5-bb5f-11ea9601f58d +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:30 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 28 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 16dc9bf0-48b6-4de2-aa88-e7f789a99fca-2015-01-20 01:27:32Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 06ccf02b-5c34-4aee-bd3d-c79c1812e000 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:32 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 29 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 1cb15778-e6cc-4278-aa4b-2bda29a95c7f-2015-01-20 01:27:34Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + cc6f119d-348e-4a1b-b33b-c83b17432f97 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:34 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 30 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 6d739701-e574-4a92-bd44-98c812c9aea2-2015-01-20 01:27:36Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 9de36f65-545c-4900-a9de-4bf7e7d8023a +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:36 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 31 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + c8593f92-3f50-4ff0-abdc-cfda0ade583b-2015-01-20 01:27:38Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 0e823a57-9317-417d-ad32-1aedddec671f +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:38 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 32 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 34c166e0-52d5-4ee8-a616-97e9efa73f16-2015-01-20 01:27:40Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 2175ecc3-c8d7-4a22-822f-4301f25640de +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:41 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 33 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 9f89ae9e-2da6-4bda-9637-32072fd758af-2015-01-20 01:27:43Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 0cdd3139-c65a-4030-9d37-9abdcdb8af99 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:43 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 34 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 60975e66-0119-4fc2-a33a-3d281a4521ad-2015-01-20 01:27:45Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 285606b8-b039-4698-a1a4-55339ac17551 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:45 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 35 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 7c69983e-2c26-4367-8f61-12a961cd93c3-2015-01-20 01:27:47Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + b8374471-2596-4c23-bff4-67a506d72eb5 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:47 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 36 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 49fe6e0b-a610-4a5f-bd4d-65ce5841e2e1-2015-01-20 01:27:49Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + b6dafbec-d4c6-4b2c-9428-86ba3e989255 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:49 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 37 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 5c9785ae-8558-4961-a6fd-91f815622651-2015-01-20 01:27:51Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + cc190261-0689-4e03-8589-47b4e0c099fe +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:52 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 38 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 85cfc695-8558-468e-b697-812a806654b0-2015-01-20 01:27:54Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 67d838ad-0dbe-47ea-a898-0aee5ecd41a8 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:54 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 39 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 2b54274e-9c82-4af6-88d8-b2471c254a3e-2015-01-20 01:27:56Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 682844cc-4e1e-426a-b61a-b1c4c9b4298c +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:56 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 40 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 2cf9f8f7-341a-4aae-ae28-5b2e2e9e7d98-2015-01-20 01:27:58Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 2113648e-ab7c-4532-ac9e-26284248f14b +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:27:58 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 41 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + afcf128b-2363-4636-a952-02b778a0f068-2015-01-20 01:28:00Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 39aa0506-b5f3-467f-a547-c32edd5faa43 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:28:00 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 42 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 2b9974d7-a72a-4910-8554-f834f6c49604-2015-01-20 01:28:02Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + eb4194d8-0fed-4520-af46-9471a0488dd0 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:28:03 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 43 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 058b8f55-3db6-4a09-a8c4-86018c405334-2015-01-20 01:28:05Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 8ac546c7-1fec-45a1-9582-033fa49895a6 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:28:05 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 44 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 96c64c5c-ef5c-4b60-8cac-077fda106cad-2015-01-20 01:28:07Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 11c8c309-445a-4453-af40-2f4418c1e90f +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:28:07 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 45 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + e78ac3de-fab6-43d7-b248-69a894f202b1-2015-01-20 01:28:09Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + bb143bb3-44b4-4012-9de3-e288b405f303 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:28:09 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 46 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + f7139b17-2f81-4b99-bd2d-9d628caf37f2-2015-01-20 01:28:11Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + e2b69cfb-4a59-4ce2-b562-66f96420cf22 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:28:11 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 47 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 0720d54f-e834-4963-bde0-292534addb85-2015-01-20 01:28:13Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + c1df8e12-fb39-4fea-b02a-baef1aae04e5 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:28:14 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 48 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + c90ea810-1816-485e-9384-66dac75dd441-2015-01-20 01:28:16Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 9f524146-b129-4e6a-aefd-0c78d3f02f67 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:28:16 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 49 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + f72b5243-1faf-47e5-a742-2d4bb61b92a5-2015-01-20 01:28:18Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 3fa56564-9347-4966-bf67-f8ef30adf46d +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:28:18 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:31:27.8730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 50 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 0a5f7ebc-5054-4977-a826-2401466d07f5-2015-01-20 01:28:20Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + e188f8eb-a09a-468f-968e-78458094bd47 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:28:20 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:33:19.1130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 51 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 558042b7-a428-4d08-8437-dd30493e3467-2015-01-20 01:28:46Z +
+
+ Authorization + Bearer abc +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <Name>testdbeditions2</Name> + <Edition>Standard</Edition> + <CollationName></CollationName> +</ServiceResource> + application/xml + +
+ + Created + +
+ x-ms-request-id + ed16997f-a9c9-4af5-a336-571a301397c6 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:28:51 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:28:46.7400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:33:46.7400000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 52 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 4cc19132-0d14-4b6e-913c-435c0306288f-2015-01-20 01:28:51Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 5eab2053-e469-487d-aed6-7cfb7ebfd430 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:28:51 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources> +
+
+ + 53 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 588626cb-93df-4dc9-8660-d010139967e9-2015-01-20 01:28:53Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + d207d142-78b0-47b5-9fa3-38324c73ca0d +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:28:54 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:28:46.7400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:33:46.7400000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 54 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 50d47863-f438-4bb8-b36c-310f556f94ce-2015-01-20 01:28:56Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + c5b73f44-283f-4c4e-8277-e11d8db3ce97 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:28:56 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:28:46.7400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:33:46.7400000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 55 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 207c4d13-f08b-4255-8b6a-3f4ebc52a42f-2015-01-20 01:28:58Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + a4a61fe6-c502-42e5-be73-818b02d8d7f0 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:28:58 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:28:46.7400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:33:46.7400000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 56 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 180c2e52-9a34-41dd-9e16-63c226ab49ad-2015-01-20 01:29:00Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + a0361c44-4069-4e68-8b32-70c161329552 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:29:00 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:28:46.7400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:33:46.7400000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 57 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 53d86a2e-8799-4bd5-9a50-e644698e5f5e-2015-01-20 01:29:02Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 01723a58-edd2-4850-8f48-36ab48cd2b6a +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:29:02 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:28:46.7400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:33:46.7400000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 58 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 9d74fde0-90ef-497a-8bc2-bf28832b3ad5-2015-01-20 01:29:04Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + ba371d7b-d8aa-41a8-90f1-5fa41203c1ce +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:29:05 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:28:46.7400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:33:46.7400000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 59 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 1641ee39-55cc-4bd4-8d97-c1f15e3cffba-2015-01-20 01:29:07Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 87469c17-4080-4232-b613-5c1c8779c4fe +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:29:07 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:28:46.7400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:33:46.7400000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 60 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 9cf47e2b-b6af-4243-ac7b-252ab17d87af-2015-01-20 01:29:09Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + c2ae27e9-405e-4aef-8101-f20f135e83a0 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:29:09 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:28:46.7400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:33:46.7400000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 61 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + f20147e5-2bf2-4636-ad9b-ff62adc9a8d6-2015-01-20 01:29:11Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 1f037d46-8337-43ae-811e-9219c46fd1f2 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:29:11 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:28:46.7400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:33:46.7400000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 62 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 42117468-8f09-4a90-a5ea-2f1df87d41b9-2015-01-20 01:29:13Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + ba4cbeed-15bd-4f5c-bf8b-91c337cccc70 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:29:14 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:28:46.7400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:33:46.7400000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 63 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 25489b7b-9fd9-4d0b-8236-aece3686ec95-2015-01-20 01:29:16Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 6cb5f9cc-e57d-4968-85b9-e6cbaad22aec +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:29:16 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:28:46.7400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:33:46.7400000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 64 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 1a45931a-0f53-4c98-955f-b81f25dc2f27-2015-01-20 01:29:18Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 57116fee-d7ad-4fb7-a439-fbb8ba2f10e8 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:29:18 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:28:46.7400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:16.2500000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 65 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 71ffdf68-e444-4911-95c2-0283894abc12-2015-01-20 01:29:23Z +
+
+ Authorization + Bearer abc +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <Name>testdbeditions3</Name> + <Edition>Basic</Edition> + <CollationName></CollationName> +</ServiceResource> + application/xml + +
+ + Created + +
+ x-ms-request-id + d9141100-fe1a-4caf-aed4-1af5f7f225c9 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:29:29 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 66 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 7719ae8f-b4fc-45df-8109-204cd941a4a8-2015-01-20 01:29:29Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 9ff48060-030a-4bf5-92a6-98ffd51d7b14 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:29:29 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources> +
+
+ + 67 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + e956ca96-afce-454b-8dcc-56f823f616e9-2015-01-20 01:29:31Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 1841c557-6f97-47f8-826f-bfeca714b07f +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:29:31 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 68 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 502e3b87-db4d-40af-aa47-001ba6fc9177-2015-01-20 01:29:33Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 9fcd0b90-bb1a-4109-8f69-22b1131fcef4 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:29:33 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 69 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + a57344c5-51f4-4fab-950b-e3e4cda6d834-2015-01-20 01:29:35Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 60d4d10c-fd2b-4204-9f99-505600796752 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:29:36 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 70 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 941b2a24-45f7-4605-aba6-1c32c034020e-2015-01-20 01:29:38Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + ffa1e6c0-971a-4144-ad4d-f16caa2d3840 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:29:38 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 71 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + fa63614c-510a-4746-bc86-e34990720850-2015-01-20 01:29:40Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + ea2fd3d7-3406-44e8-8547-3a9195e435f8 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:29:40 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 72 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + c44dd106-823f-4ab2-8b87-ffd371ca5312-2015-01-20 01:29:42Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 0ad1a7ae-20e5-4769-868d-c0daca6fb35e +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:29:42 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 73 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 3b141f2b-b9e9-4475-8be6-5b3b361c402f-2015-01-20 01:29:44Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 2958f88f-ac9f-4b1f-aeac-429b9fc134d8 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:29:45 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 74 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 2ef8b603-fc3f-4d9a-8458-ffb4447696d9-2015-01-20 01:29:47Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + aacc57a6-ccb5-488c-8259-a8636734617a +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:29:47 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 75 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + b3752aa4-411d-4d42-b36f-f21eba2ad37e-2015-01-20 01:29:49Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + e3dfa67b-d358-42a5-a120-9ba50d062778 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:29:49 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 76 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 5d1b335b-d94f-482a-ba8d-87a639ac50c8-2015-01-20 01:29:51Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 95e40426-e48c-4aa9-9290-a1fe41b651ca +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:29:51 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 77 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + a4df6234-318b-4b07-9f89-20b2e8e79dd8-2015-01-20 01:29:53Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 24cca8e1-7af6-43d4-94a6-df72cf8c4929 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:29:53 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 78 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 6fb4bc7b-285c-427b-85de-f81cfca920af-2015-01-20 01:29:55Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 5107d36f-7948-4c82-8292-a1dea11c67eb +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:29:56 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 79 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + a8db509c-4e26-48b8-8ea5-b415da9a6859-2015-01-20 01:29:58Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + b918ed72-da4c-43db-a57b-20f8c5ae6d09 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:29:58 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 80 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 664214b9-d3c0-4315-87ac-eb5c162962af-2015-01-20 01:30:00Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + ef240bd4-0d0f-470c-8d72-be25f56c6ce3 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:00 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 81 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 199fa04d-b142-4962-8554-5d70de3dcd07-2015-01-20 01:30:02Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + bd4bed02-e120-47b7-8732-e8600d33fcf5 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:02 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 82 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 5ac648e4-33ba-4e0a-80d1-af9ed2762f97-2015-01-20 01:30:04Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 9dff0cb6-2b77-4699-9183-92b81e0c053d +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:04 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 83 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 413ace61-69cb-4a9c-aa59-17bbb60c8ebc-2015-01-20 01:30:06Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + d415a90f-10e2-41aa-9be4-c226a60c3d0a +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:07 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 84 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + c1154941-60e8-4c38-8633-08f349df6fb3-2015-01-20 01:30:09Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 369c60a1-6b52-4fab-a175-66ecd43fbd5d +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:09 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 85 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 3551360e-869f-4613-8655-236961dd3cb5-2015-01-20 01:30:11Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 59fc6d03-ee16-4f9a-8094-19bfc677c1a9 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:11 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 86 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + e585331b-3a8a-4db3-976e-cc6f5abb8d3b-2015-01-20 01:30:13Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + fdcc6bb8-b421-470c-89a0-6e1f2e834541 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:13 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 87 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 6725233d-8cdd-449d-b086-bf04dc09aa58-2015-01-20 01:30:15Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 3a955d09-8e4f-4bdc-9d66-9adf1a1c17ba +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:15 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 88 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 19c6d3c1-79a7-4de4-b42e-5f390523acc2-2015-01-20 01:30:17Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 451d0943-2a6f-49bc-b064-4c0114e9a51c +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:18 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 89 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 1d7bb320-2cff-4d87-badd-21aea04f4529-2015-01-20 01:30:20Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 21ad176d-caaf-4a50-8475-d8f4e3658c43 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:20 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 90 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + f474a920-663b-4fbd-a198-ddb48459dc78-2015-01-20 01:30:22Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 719df8d5-f311-4d47-95ee-1323d83d86f3 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:22 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 91 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 89910ffc-d498-47dd-9096-3b4d42e227a9-2015-01-20 01:30:24Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 7b73e25f-0659-4426-ae14-139b6c3879ad +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:24 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 92 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + cfefcac0-71c0-4aed-b852-feadacd9ffbb-2015-01-20 01:30:26Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 6841ed83-1445-430b-95cf-b6bd58996dfa +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:27 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 93 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 54358c1f-13b5-46cb-be44-cf66c5b208a0-2015-01-20 01:30:29Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + fe8c2ca0-5e87-4d11-a740-a065bac3f0b8 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:29 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 94 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + b6427ba8-396d-4cc3-b965-7fa3c87ad18f-2015-01-20 01:30:31Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + c3e1ef4c-b969-41ab-8fd5-1c7b3a45bbcf +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:31 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 95 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + eb395a7f-1edf-4e89-8a9a-0f4e2266e4c5-2015-01-20 01:30:33Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + a896d04d-6581-4abd-bc42-49bb7c2e7acb +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:33 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 96 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 9bf02bab-4440-41b7-acba-981f6b4ce61d-2015-01-20 01:30:35Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + d8df1658-d984-4f6c-8bd9-e995d55cfce5 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:35 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 97 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + d7d835f9-6084-4345-809d-29ac3d90c582-2015-01-20 01:30:37Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 6fd07fef-fcd1-4e66-8ca0-b250ccc5b45f +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:37 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 98 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 692f1cf1-08ac-48c6-9daa-13d8483fe2e8-2015-01-20 01:30:39Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + d76f6fde-0fe7-4b68-a301-c4e4081c89fd +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:40 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 99 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + ac0199d4-0d22-4d3f-8cfd-cd4623f7c468-2015-01-20 01:30:42Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + ad58f575-ebe0-43ae-bd94-0d1666a6aae8 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:42 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 100 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 1bda2072-d922-4f5c-886c-b7064ce1139b-2015-01-20 01:30:44Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 8f032998-b766-4595-a78b-bd8b6c17364f +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:44 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 101 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + c81de7ef-c891-40f6-a670-78b866c3f8d8-2015-01-20 01:30:46Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 861b6763-bee7-4329-9ba6-b98c40d9094a +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:46 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 102 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + a93b7997-5ff7-4dba-adcf-f5dcbe88b800-2015-01-20 01:30:48Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + f83d1670-8ab6-4c93-a05b-54da9c6c30df +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:48 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 103 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 7c71aa50-1e93-4cfb-9e47-b67d6dfe46b0-2015-01-20 01:30:50Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 3bb12318-7989-4f71-96f8-d24115fc84c0 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:51 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 104 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + e4e6ce98-0870-42f4-85f4-571a437ec5e4-2015-01-20 01:30:53Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 5bee90b8-2bd8-4a95-9c92-61d402bd0e0c +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:53 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 105 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + e026a2d9-ef2e-46bc-b38a-f042a9c46a12-2015-01-20 01:30:55Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 661d7afe-6336-4ff5-856e-8dd0ac5f3b98 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:55 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 106 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + afc1ccb9-3c43-43b8-aafe-b861485c1d3d-2015-01-20 01:30:57Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 03e0e9c5-f19e-46df-8aa4-673b7c0d7130 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:57 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 107 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 19b70188-de70-4676-b2f0-a2208be5bf3d-2015-01-20 01:30:59Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + fe89178a-fde8-486d-83e7-3e22d1566c35 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:30:59 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 108 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 8f72a890-3007-4da9-a1ba-8846fff03a14-2015-01-20 01:31:01Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 023311ea-65e0-4ce1-94c9-0c54553b1a16 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:31:02 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 109 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 41813af3-5592-446e-816f-f5a7f6ae9939-2015-01-20 01:31:04Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 02acd979-3976-4aed-8315-37565bcf7665 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:31:04 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 110 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 66958f09-2e22-4cda-8100-6b9ddf09f954-2015-01-20 01:31:06Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 63ad0a2d-f44e-4150-bf38-c4f40019cedf +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:31:06 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 111 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 4acdfddd-7e7b-4715-b1ca-9bad17a13892-2015-01-20 01:31:08Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + c3aea321-a736-4ee5-af9b-dd356417e271 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:31:08 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 112 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + c760959d-84f8-44b3-b3bf-f4e2bd8fb67b-2015-01-20 01:31:10Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 197f0222-2c02-4e59-be90-48c8c5e04176 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:31:10 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:24.3170000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 113 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + e695ef47-72f8-4bb2-8fea-fbbe3c68bbc9-2015-01-20 01:31:12Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 36030b74-50be-4e75-920f-9d81f3aa43e6 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:31:13 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:36:10.7770000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 114 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + d67e8f6d-85a1-404a-8821-85ab60ebbea1-2015-01-20 01:32:28Z +
+
+ Authorization + Bearer abc +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <Name>testdbeditions4</Name> + <Edition>Premium</Edition> + <CollationName></CollationName> +</ServiceResource> + application/xml + +
+ + Created + +
+ x-ms-request-id + 094fc4b2-cfaf-4d03-9c1d-e3af665be1bf +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:32:34 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 115 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + c0ec299a-dcad-4fa0-ab97-793213d015cc-2015-01-20 01:32:34Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + ec64d34a-4b76-41c6-a0e1-a3e82c53ea5d +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:32:34 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources> +
+
+ + 116 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + df229d5b-ac1d-44d8-b96d-3904a9dfd6ea-2015-01-20 01:32:36Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 81fd1596-b73b-4d96-be3b-bbbf883e78e4 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:32:36 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 117 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + f03e2a9b-a13e-4f5d-9d84-be6e3aea1ae9-2015-01-20 01:32:38Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 1fd6719a-71e5-49dc-a356-0e568398b647 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:32:38 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 118 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + e8f10a10-89df-4640-a997-7ef554409af1-2015-01-20 01:32:40Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 7c83e8a5-7ec6-4b6c-851b-97aa43b5a4dd +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:32:40 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 119 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + ab2050a3-c55e-4a20-87ac-4f961c380dd3-2015-01-20 01:32:43Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + cc90dd19-5750-4cb2-a0d4-9f16192dccb8 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:32:43 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 120 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 64549f24-619f-4c15-bd08-23a079700ea1-2015-01-20 01:32:45Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + de21e530-fcd9-4931-bb0c-5c0c05bed41d +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:32:45 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 121 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 44a6c036-de80-4d50-8c08-bdcf369c78cd-2015-01-20 01:32:47Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 515026bc-9573-4731-b3e5-4fe5299854c0 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:32:47 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 122 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + e41c2188-d25d-433b-a18c-542649d176ff-2015-01-20 01:32:49Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + aaf43d82-fb74-44df-9600-ced265a52018 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:32:49 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 123 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 81aea1b4-1639-4a54-a537-8c3a3283e947-2015-01-20 01:32:51Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 634e5a9c-7caa-4c87-890f-c1ebc857437b +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:32:52 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 124 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + a5c70f4a-8aef-4db2-b9c3-7a33d2c57412-2015-01-20 01:32:54Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 24bdb0ad-d340-4dfe-bded-4d003380318a +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:32:54 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 125 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + a10143b8-e6dd-42c7-b107-a6668adf88af-2015-01-20 01:32:56Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 3b2ab5fc-4fae-44e6-b07f-ec55aaf30c4a +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:32:56 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 126 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 74f1c860-84a5-4f8a-a260-1389c856a1d4-2015-01-20 01:32:58Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + fcc07818-dae5-4b68-bbef-f6154a282d3b +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:32:58 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 127 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + e7c3736a-f0ec-4ad6-90a3-134a3ee111c4-2015-01-20 01:33:00Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + e2383e92-3a43-42b8-a2ab-36554d0548b5 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:01 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 128 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 509fc7a2-9cdf-42bc-b960-9e8e055552c5-2015-01-20 01:33:03Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + fba45f55-b19e-4fd6-8c5a-8d213a8e704c +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:03 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 129 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + f180c7f0-9e51-42fe-a265-8c826a75f56b-2015-01-20 01:33:05Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + a73c953c-4dcf-4e6d-8d6b-630316a59919 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:05 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 130 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 82997fa6-1456-4754-b732-877b9b032068-2015-01-20 01:33:07Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 24714b38-f298-4dd4-ad7f-079f4117e958 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:07 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 131 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + b2fe18e7-39c8-4960-afd9-d90a7fb36204-2015-01-20 01:33:09Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 14c64dd6-6395-456f-85ba-3b9797b7296d +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:09 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 132 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 7ed1faa9-9e7b-4e32-9626-5e7e06a5f3c1-2015-01-20 01:33:11Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + c0400a12-67b5-4d07-baa6-d5b401fef3f0 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:12 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 133 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 20128988-5667-4139-af5f-034a921319fd-2015-01-20 01:33:14Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 45f7e043-d22d-4b75-8cc6-671e75c6b2b5 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:14 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 134 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 13495c5b-df10-4b76-aebc-7397b3a781cd-2015-01-20 01:33:16Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 06ab86ab-1281-4899-bdc7-f295dec4c3ef +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:16 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 135 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 5f11192b-71e0-40d1-ac2b-1aa81d994592-2015-01-20 01:33:18Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 73d82251-2fd7-41bd-8ab9-4cd9beedd85c +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:18 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 136 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + c52a3992-49b3-4a13-a227-4feccfbae457-2015-01-20 01:33:20Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 14664b5a-5537-4dcd-b1a5-0732aedee93b +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:20 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 137 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 8c0c92db-ae77-40ab-a45c-05815bb9c2c9-2015-01-20 01:33:22Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + e9799e48-2898-43c5-92d6-029524a4a5ea +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:23 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 138 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + d6d56ac1-554d-403f-a89f-d2fa7080026a-2015-01-20 01:33:25Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 26c74a72-5637-401c-a666-ed94379e877e +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:25 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 139 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 76c8eef0-b08d-4a19-b6d4-c28821321ebc-2015-01-20 01:33:27Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 0d7ddb7a-1b45-4ff7-85d0-c1d0661cac66 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:27 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 140 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + a266056c-dc52-4b55-9f1c-3f8ffcd33dea-2015-01-20 01:33:29Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + be70bfd5-3368-457e-a0cb-e2ae1640aa95 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:29 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 141 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 4a85f28f-2277-4aac-a06e-254f97c46878-2015-01-20 01:33:31Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + e66e96c1-b485-48fe-a7fd-1d0ec694fddd +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:31 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 142 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 21a8b77a-75e0-4df6-8942-998505c961f9-2015-01-20 01:33:33Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + e2edfbff-9238-4e88-86d2-65a649a05be4 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:34 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 143 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 7250f6a3-f711-4608-a869-07f1c1f78dcd-2015-01-20 01:33:36Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 71f2b9d2-f57e-43d5-af21-caf7cdea9757 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:36 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 144 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + dc8aefbb-019b-49d6-b94f-36a43f066337-2015-01-20 01:33:38Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 8449cc04-236c-4e3a-b445-8eda465becc6 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:38 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 145 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + ddef69e3-fb9a-4c8b-9697-f8edd0d8878f-2015-01-20 01:33:40Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 4680681e-7333-4dac-a657-3446145548b1 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:40 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 146 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 7c0ddeeb-d2a7-420a-bd0a-6dd4d5815ef3-2015-01-20 01:33:42Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 778028e8-d602-4900-a66e-fb148a169b26 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:42 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 147 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 515b9144-b95d-47a5-8062-e12b6199db02-2015-01-20 01:33:44Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 14bb7e12-9c20-4c4e-999d-9ccbb3278fb0 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:45 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 148 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 12ba26da-94ae-434a-a5e8-c81be82f475d-2015-01-20 01:33:47Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + acf4e053-4a10-477e-b3ab-f539900735ca +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:47 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 149 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + e7077399-9c7f-4133-a074-aefa3a9fee23-2015-01-20 01:33:49Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + bb0fdad3-a597-476c-9ac3-c8e18663abb4 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:49 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 150 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 987e147a-e094-4c8d-b21f-a9d6b1a9956e-2015-01-20 01:33:51Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 3c97875d-71ae-4647-bbf1-ea0ddd4a8d14 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:51 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 151 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 9afca8f2-0adb-4009-9ac8-acfb7b854e05-2015-01-20 01:33:53Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 5de38e9e-ca12-4ea2-8541-074e5e658d81 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:53 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 152 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 9fbf7ec3-865e-4fde-999c-36177058acc6-2015-01-20 01:33:55Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 7e50dace-bbf5-4875-a747-c667a772f884 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:55 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 153 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + d4953702-a02b-4d0c-859f-452ee5eee42a-2015-01-20 01:33:57Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + c72184f4-ce2b-4e86-a9bf-a868f87f4fd0 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:33:58 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 154 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 2547ae83-0736-42ef-8351-4d343654532f-2015-01-20 01:34:00Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 37ee22f3-a649-4b3d-b0ed-cf7647e00c97 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:34:00 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 155 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 014a3166-cc08-4179-9cde-71ec63b8284c-2015-01-20 01:34:02Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + d0b71940-6df2-437f-8bde-4b378d2be0db +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:34:02 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 156 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 51482b81-4c0d-4420-9cad-6f55929c8040-2015-01-20 01:34:04Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 6f60d3e6-0478-4990-9ee4-a7e6d2e1b912 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:34:04 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 157 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 690879b6-1efe-4cac-96b4-0e10e38d5d29-2015-01-20 01:34:06Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 13adfeca-b971-4730-aef7-5e597f3edff8 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:34:07 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 158 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 09c8ca94-95ec-4424-b019-eca4fafd7b86-2015-01-20 01:34:09Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + be863bf4-1021-44b6-9d5a-bece418d140f +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:34:09 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 159 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 8a4e8036-c415-4c0a-9cbc-0217dfbb82e7-2015-01-20 01:34:11Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 2318db9b-36d3-40c1-a4aa-1fde5555096c +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:34:11 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 160 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + ac429a34-ed3f-4236-bfca-c7dc84c63983-2015-01-20 01:34:13Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 61c92b03-90aa-4849-a647-1532af41a8fb +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:34:13 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 161 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 5e869a2f-4604-42af-a046-5ea29e0a97da-2015-01-20 01:34:15Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + d0f4c78d-7891-4b8f-bf51-41836524922d +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:34:16 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 162 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + d627870c-bdab-4493-aeeb-f73095a57c21-2015-01-20 01:34:18Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + bdd68503-a188-414c-a8a4-450cfff4e4c3 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:34:18 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 163 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + d0705f48-5791-4949-bb26-ba6272d64e27-2015-01-20 01:34:20Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 7cd5bb20-36ca-488e-ba0d-e0c45199c7a9 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:34:20 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 164 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + f399d6cc-df32-4339-b5df-702efa8920b9-2015-01-20 01:34:22Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 1f6ea490-83cf-4705-be25-6dd4936a8d5b +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:34:22 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 165 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 8e9694c5-36fa-49a8-a6e7-e4d51a98d26f-2015-01-20 01:34:24Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + d72e17ee-91d1-40e3-9e30-b902784a5d1b +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:34:24 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:37:29.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 166 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + d2c2cc37-49c4-4598-acb1-65d0fcf36d3d-2015-01-20 01:34:26Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 1fe78a71-1994-4d51-9d5c-d1d742334b65 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:34:27 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:39:24.5970000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 167 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 6d43c3f2-c54e-41f0-97ba-e7ba915a9eb7-2015-01-20 01:34:27Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + c4660183-bf99-47ee-a4b4-aafa9d097d92 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:34:27 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources> +
+
+ + 168 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 3a0aa7b9-7022-4e2a-b458-4a363c1fe009-2015-01-20 01:44:00Z +
+
+ Authorization + Bearer abc +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <Name>testdbeditions5</Name> + <Edition>Standard</Edition> + <CollationName></CollationName> + <ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId> +</ServiceResource> + application/xml + +
+ + Created + +
+ x-ms-request-id + 6cf5fec7-61dc-4390-adc2-ae6aacc8592e +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:44:05 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 169 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 479dbbd4-9f81-4034-b435-6deaca8f97e2-2015-01-20 01:44:05Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 20f36912-462a-4c93-a62f-a0e2ded46ba7 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:44:05 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources> +
+
+ + 170 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + bbb196df-8ee6-4e57-8815-5daafc4e8e15-2015-01-20 01:44:07Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + c613ab4e-02f5-474b-85ec-77461a267398 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:44:07 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 171 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 3d8e61cc-7a7e-4ed0-b178-b8759605ac69-2015-01-20 01:44:09Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + b67a92a6-324b-4f70-b77e-e31fb9c73b57 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:44:10 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 172 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 32d9e1b9-c811-492d-a949-e5e7042bba0f-2015-01-20 01:44:12Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + b38db013-75c3-47e1-90cd-6f0282b70ec2 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:44:12 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 173 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + da70b0c0-bbbb-4d6c-8eed-fe8347fb2865-2015-01-20 01:44:14Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 751ee3c3-52a8-4124-92ec-8e330454c445 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:44:14 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 174 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + eaddfb47-7e5d-49df-ac83-a2dc9fa47c98-2015-01-20 01:44:16Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 82ae871e-b928-4e49-ac2b-739ea45c6f46 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:44:16 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 175 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 46ad6142-3c41-41fe-a5d1-f87f8cb42bda-2015-01-20 01:44:18Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + c0e30644-a8d8-4029-8ae2-f70124b9c76a +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:44:18 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 176 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + e22c8b01-9315-4f2b-92d1-92e434204095-2015-01-20 01:44:20Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 06f3d909-42b8-4a9b-ac06-534c5207a45a +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:44:21 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 177 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + fd370fc3-36cf-42bd-a31b-3aecaca9e786-2015-01-20 01:44:23Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 16cd99d3-0d6d-4f67-abef-038139744e18 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:44:23 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 178 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + fc0fbaa2-2ab0-4b2a-816e-1ea16e065d09-2015-01-20 01:44:25Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 0d6a1739-4b8f-4c50-bcf5-0314b8cecaf8 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:44:25 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 179 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + d2099828-26df-4465-a6f4-3184443ece42-2015-01-20 01:44:27Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 14b85c91-f1c7-451b-a5f9-d0cb9e5d76aa +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:44:27 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 180 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + eca0fe98-fc0b-4068-a19f-9b828ed10ed5-2015-01-20 01:44:29Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 63bb2aec-1762-47d6-9b71-b5291e6b7ab0 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:44:29 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 181 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 9e0613b2-0ee8-4d70-83a3-184d25e109ae-2015-01-20 01:44:31Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + c33ca5b9-6298-4aee-9176-3ca05ddf8e42 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:44:32 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 182 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + fe03d72c-259d-40b8-a228-b2d439c4ca20-2015-01-20 01:44:34Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + c8c78c80-9e3b-400a-80c6-8986915532b5 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:44:34 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 183 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 219aaa82-7fff-4f87-8760-bffaafcdd575-2015-01-20 01:44:36Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 0952506e-b089-4230-89cc-8f871986ae51 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:44:36 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 184 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + bae49efa-a32f-45df-bd46-73c447d8aee4-2015-01-20 01:44:38Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + dcba4e72-58a9-4987-9aa2-ef6e6ce2603c +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:44:38 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 185 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 02ac0cb8-26e0-4f6d-93b5-f19208ca43e8-2015-01-20 01:44:40Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 02f40384-dcac-46f6-aada-170107d64bbc +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:44:40 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 186 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + f73a92cd-cd25-4dff-908f-1b05ec9d8e89-2015-01-20 01:44:42Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 10110cc4-aa78-4672-b871-209d9a7227c5 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:44:43 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 187 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 8dd77ca3-1b97-4d9f-9a8a-9490351e8c68-2015-01-20 01:44:45Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 90584b80-f068-4af5-9f15-5dd0b4427e5a +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:44:45 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 188 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + fb060ce3-858b-43f5-a7e8-0ecc455a9168-2015-01-20 01:44:47Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 6ae43b40-d07b-46e6-ad2b-3b2428069b33 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:44:47 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 189 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 6ef218fb-5268-4fd0-9c23-6db25f7bdd96-2015-01-20 01:44:49Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + ebb05aa3-4bc7-4dd8-b69c-b9e5dc8a9a1f +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:44:49 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 190 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + fb5fdc41-dbf7-41e2-ac6f-c51d20034e7c-2015-01-20 01:44:51Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 8a161721-61f0-4cf5-959b-0a077d46cf76 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:44:51 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 191 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 7c23b4cb-3bbc-48f4-a9e0-a718f9805ed2-2015-01-20 01:44:53Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 3244f24d-636a-4eb6-930c-070ff9b224f1 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:44:54 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 192 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 3327fe74-5693-4d0b-9e5c-93b85ac8dd23-2015-01-20 01:44:56Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 6837f4cd-a265-4c8c-bd56-c2458a1f7758 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:44:56 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 193 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + e5c0f1dc-15b0-4e75-b925-bf647909a170-2015-01-20 01:44:58Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + b47f428f-a4eb-4019-8f11-3ea661c5dc90 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:44:58 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 194 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 2ba087a5-6fad-40d4-8712-918e51231914-2015-01-20 01:45:00Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 10465bf4-3b7a-4e28-8907-10a45262047f +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:00 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 195 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 3f6f2b1e-547c-4f43-8d51-06f5951fe343-2015-01-20 01:45:02Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + f6490683-4cff-4064-8c01-6b9abbf6c0d2 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:03 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 196 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + d4ad78d9-6e28-4c4a-ace1-2c8bde1a4d11-2015-01-20 01:45:05Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + ae2f3f0d-9c11-4107-92d0-7b4f090d397e +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:05 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 197 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + ba8de95b-1fca-4255-9f63-68651f5cd009-2015-01-20 01:45:07Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + cdadc7d7-ca30-4967-a877-543302c37782 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:07 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 198 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 2f9eb523-3150-4340-acbb-e6407b660f82-2015-01-20 01:45:09Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 123c33cd-fa84-4129-a606-ac0acebcf71e +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:09 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 199 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + de57efd5-85c1-4545-82c0-bfd4746e2adc-2015-01-20 01:45:11Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + c9a1c6cc-d400-4be6-90d6-c2f510e73e81 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:11 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 200 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 3bfad3b6-d5f9-48b3-9d7e-ef6ce71cf96e-2015-01-20 01:45:13Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 7ff3c58e-07ac-4a8a-a2dc-765b90e20fe7 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:14 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 201 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + b19bed90-deca-45d0-8186-4602493b353e-2015-01-20 01:45:16Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + d8c7e0ee-acf3-4fc4-8233-b22bd31c841a +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:16 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 202 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 7de646bf-0cca-4b2a-9224-1f456605b734-2015-01-20 01:45:18Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + c33333f0-8822-4735-91fb-f75939a48ea3 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:18 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 203 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 66766dd2-a9a5-482c-9cbd-8e22b52c02e6-2015-01-20 01:45:20Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + afcbc523-093f-4e2e-81a6-4e932f9f2de1 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:20 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 204 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + a209cd1e-034d-49e6-b1a2-086fb87d4b80-2015-01-20 01:45:22Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 9293de90-860b-4a22-b77c-8bf464b2e725 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:22 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 205 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 18cd024a-091e-4a61-9c46-c21ae96701b1-2015-01-20 01:45:24Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + f59c1566-56dd-47fc-abdf-f5f845fbbe8a +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:25 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 206 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 5d902214-da9b-4ffc-8e25-146b186cc650-2015-01-20 01:45:27Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 906a0ec6-6f64-473c-ab95-4ac21405d8e4 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:27 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 207 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 56ba9a59-dfb3-4937-a98f-14593d9e8e95-2015-01-20 01:45:29Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + a24463bb-b759-4d11-8468-55c16ca9f46d +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:29 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 208 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 5b52dbe2-fe71-4779-b7c9-162585707534-2015-01-20 01:45:31Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 7f89b35d-5d0a-4a65-86c9-303a8caedc43 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:31 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 209 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 49080a0f-485c-4fd9-ae27-c5152448a69d-2015-01-20 01:45:33Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 2e7dd738-a490-41a7-9a29-9d2c2582ecf4 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:34 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 210 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 0637765f-883a-48c8-afb0-8350291b9ca3-2015-01-20 01:45:36Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 579f8fca-42da-4ee6-9150-cf4462ce791a +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:36 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 211 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + d68dfcc0-c9fc-4954-884a-54c1f87844a0-2015-01-20 01:45:38Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 208dd012-fc8e-44fd-b45d-d7a66131287d +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:38 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 212 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + e18bc0c3-da63-49b4-9d30-0ed7553b7f34-2015-01-20 01:45:40Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 75adf256-b703-48e0-848f-a13b0cf4c3ce +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:40 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 213 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 395c561a-5250-4cdc-94bb-f4b8f5ac8667-2015-01-20 01:45:42Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 0c540a27-0584-4f04-b75a-856a85727276 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:42 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 214 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + b8caee25-2106-4b17-9358-c795999f921d-2015-01-20 01:45:45Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 04e16674-e32e-49e6-b419-b87d4711ad87 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:45 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 215 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + b4e9287d-b5fe-4a00-ac5d-f9d72378b049-2015-01-20 01:45:47Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 8e650c4a-aaee-489b-a510-24c12d12b8b2 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:47 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 216 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 6c9b791c-eab0-47bf-8aaa-3d3489d20c96-2015-01-20 01:45:49Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + feb79f27-bf63-4a17-a74e-9c48557bb82d +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:49 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 217 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 2b82aa8a-ac31-4708-ba18-4fa94bb7cf1d-2015-01-20 01:45:51Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 7ea91fec-2441-4cfa-adfb-1e899b53c2a0 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:51 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 218 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + a90ef6de-c4f9-4242-a57f-d39728241058-2015-01-20 01:45:53Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 57cd2bfb-d54c-4f80-a6a9-e22a6b90abcb +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:53 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 219 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 8ce3153b-e4cb-4630-9d8b-a705b6b467ad-2015-01-20 01:45:55Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + acbc0836-ab7f-4f6d-b9fc-725dae7536df +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:56 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 220 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 571d5116-20db-4e49-9070-78527d7c01ef-2015-01-20 01:45:58Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + c588907b-70d4-47f3-8b83-be6cc0f5c7ef +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:45:58 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 221 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + a54aacd6-49f1-4a7e-9315-55ffcb630778-2015-01-20 01:46:00Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 9b27275e-269c-4c3e-b3d6-8a8eaf7507c2 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:46:00 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 222 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 903bc5a9-d122-4049-9b25-e8b2dac08841-2015-01-20 01:46:02Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 4d14ac22-e8ef-4f37-a0e1-d387da07a3d9 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:46:02 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 223 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + a5b41faf-a194-4dea-b3d7-364075b60e4e-2015-01-20 01:46:04Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + f5f95870-3243-4c5c-adc2-c8b4c53e8970 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:46:04 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 224 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 282a8d3f-021a-4bf5-a5d1-e81c6d04cfc6-2015-01-20 01:46:06Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 2abdd89b-ab51-45f1-8741-d90fb1bb77c9 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:46:06 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 225 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 4742742e-1aec-4042-8623-4da0b888ae70-2015-01-20 01:46:08Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 8f7643de-6bf4-46b7-b39e-9b4c412c3474 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:46:08 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 226 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + faae1910-ceb7-48a8-b940-35a2c20e4f51-2015-01-20 01:46:11Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + ea9c1546-e926-422f-a9da-b0f535480757 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:46:11 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 227 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 137bad5a-536b-45a3-8193-90b5037eb65d-2015-01-20 01:46:13Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 44ce22ea-713a-4de5-9ab6-4567d8b9dc11 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:46:13 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 228 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 7654d98e-8213-4afd-bafd-62c4d37f49c3-2015-01-20 01:46:15Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + a06b89a6-32fd-483b-8bb2-9e18895a0f72 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:46:15 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 229 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + d1074443-df17-4a62-9739-aa8b2d897b4e-2015-01-20 01:46:17Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 8e039fb8-0c0c-4bdb-b488-c0b00c2881dd +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:46:17 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 230 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 94e27562-18e2-4d9c-bc51-f058a03b229b-2015-01-20 01:46:19Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 2af6eb3d-d7a3-46c1-b586-1b00cd15e3ad +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:46:19 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 231 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 71d1167a-7ec9-4a90-8050-4c0152831182-2015-01-20 01:46:21Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 9dc397f1-a36d-49e6-a4da-666dffc9d807 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:46:21 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 232 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 71d0ccde-df38-4160-ae7d-6b4198e5df0e-2015-01-20 01:46:23Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 85d510cb-ac61-43b0-aaa4-ce91e684afbe +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:46:24 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 233 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 206da016-6534-46fd-aed2-2b81581e367f-2015-01-20 01:46:26Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 6c90c873-9b07-4052-929c-7adb5fdddd52 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:46:26 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 234 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 391ab722-b1f3-4f75-8ac7-b5cb4a28fcf0-2015-01-20 01:46:28Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 4ff702c4-d81d-4af3-b583-f46293900616 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:46:28 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 235 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 1f89fddd-5959-4baa-a932-67963b5452d3-2015-01-20 01:46:30Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + bee1761d-6d03-45e2-a231-364814d877e4 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:46:30 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 236 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 1e00e42c-05dc-4732-b18b-82f3025b7669-2015-01-20 01:46:32Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 07b973f9-b10a-4382-a357-a5a61931fd39 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:46:32 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 237 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 499e968a-84ff-4674-852f-b7be5aad685b-2015-01-20 01:46:34Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + e2f7d625-5c3c-4a38-a4af-b1cd205e3dd0 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:46:35 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 238 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + e38f1639-9226-4648-b739-bca1cde62146-2015-01-20 01:46:37Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + d032635a-c467-44dc-b791-b4ce22bf8843 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:46:37 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 239 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 33aa7d69-814a-4af9-be71-7c0e019c04ee-2015-01-20 01:46:39Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + e3787aaf-abf2-4f59-bb20-3996c03f86ef +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:46:39 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 240 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + c4d08320-e2da-4bca-bf2d-ffaf8c8c314d-2015-01-20 01:46:41Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + bd679fd1-1d9b-4005-8264-6fd4238bb64b +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:46:41 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 241 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 76394b1f-e8fa-4a04-9c05-00455245a19f-2015-01-20 01:46:43Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + a8df1978-d297-47b4-8cf7-39522e624281 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:46:43 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 242 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 06d4e2e6-8e2b-4cb9-98a1-ba30b13fe81f-2015-01-20 01:46:45Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 6f4fdbe2-9b35-4096-9ae6-969fc5d5f56c +
+
+ X-Content-Type-Options + nosniff
- MaxDataServiceVersion - 2.0;NetFx + Strict-Transport-Security + max-age=31536000; includeSubDomains
- AccessToken - JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== + Cache-Control + no-store,no-cache
- x-ms-client-session-id - 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z + Content-Type + application/xml; charset=utf-8
- x-ms-client-request-id - 37c39e27-1f78-4ebb-8564-d5c75a36a874-2014-07-16 17:19:54Z + Date + Tue, 20 Jan 2015 01:46:46 GMT
- Accept-Charset - UTF-8 + Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 243 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01
- Cookie - .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== + x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 7a539ad8-005d-4f49-afeb-48312080ccd5-2015-01-20 01:46:48Z +
+
+ Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - 2YfLm3SJ30DuNMtGp+K1qg== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - a0778f5c-9d63-4664-a742-b7a367dde4cf + 1293dac9-378a-4125-8000-2c64bf8b8470
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -16535,82 +49025,64 @@
Content-Type - application/atom+xml;type=entry;charset=utf-8 + application/xml; charset=utf-8
Date - Wed, 16 Jul 2014 17:19:57 GMT + Tue, 20 Jan 2015 01:46:48 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')/DimensionSettings" /><title /><updated>2014-07-16T17:19:57Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:Id><d:Name>P2</d:Name><d:Description>Premium P2 resource allocation.</d:Description><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 14 + 244 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'NewAzureSqlPremiumDatabaseTests_P2'&$top=2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== + x-ms-version + 2012-03-01
x-ms-client-session-id - 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 37c39e27-1f78-4ebb-8564-d5c75a36a874-2014-07-16 17:19:54Z -
-
- Accept-Charset - UTF-8 + ef9430a9-5aa7-4512-bc66-2b0196114775-2015-01-20 01:46:50Z
- Cookie - .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - 2YfLm3SJ30DuNMtGp+K1qg== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - a0778f5c-9d63-4664-a742-b7a367dde4cf + 945daca3-553e-429f-91aa-d7764cdf00c5
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -16618,82 +49090,64 @@
Content-Type - application/atom+xml;type=feed;charset=utf-8 + application/xml; charset=utf-8
Date - Wed, 16 Jul 2014 17:19:59 GMT + Tue, 20 Jan 2015 01:46:50 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases</id><title type="text">Databases</title><updated>2014-07-16T17:19:59Z</updated><link rel="self" title="Databases" href="Databases" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(5)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(5)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(5)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(5)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(5)/DatabaseCopies" /><title /><updated>2014-07-16T17:19:59Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">5</d:Id><d:Name>NewAzureSqlPremiumDatabaseTests_P2</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2014-07-16T17:19:58.127</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>Premium</d:Edition><d:MaxSizeGB m:type="Edm.Int32">10</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">10737418240</d:MaxSizeBytes><d:CollationName>Japanese_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2014-07-16T10:19:54.913</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime">2014-07-16T17:20:54.737Z</d:RecoveryPeriodStartDate><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry></feed> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 15 + 245 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - JQyIkIkKsErNdepg2gVT/JK/sJc1zsHwZSbXA5ddiyxUHYLTXHgjODkeImqrSBK0EG0TDHDGZP92AJ5ijtqCNhVQlC817QFmnsiKGgkFEGYSgHAz+gdiKX9C50Lqz8DWfhOwzOu4Pc0ful+zMC8C9auf8ZWcEaTd40Lh7vTI4Is1B2AkTC9wsH9/fW7CJV29Z5PIolvml93SHBJzo6+SLAj4BoE6CnpMAcqp4uyINLlObFfeJ/23IdfY/leQGN9DsmWipVpJYOmbCIVe1Mk64+8zsT58uautvekVGXorBUPQJhuouFas0YOWwiquWbdqmQ5Z2HJogNecTzXXHQdE7ErG3OiFV+ptxAec4GzEbPm43kGw/TiGr/wyFCAGmTQrFW7AfgUZBpji/+uGHqTw53CRXI6ZRkyjqyZKknJ/J12VdTT2ZIELBhZQ5X6ti/oDEW/OD67Q8/JffCAOFhXERQx8p12e6V3ojkNpWLZOgsywHkmlYmv89yaVepHorUNHEf3xtUgxPDjWdUo0MeyRGYcQJ6V/g2No5SISctxGNg01eMAl4y8t6buQXvTttfLMYKjLnZ0h8ybZR21LDPPeNG7fu+JAnKq5D9502/xcDeuauJwYtMiP7UQF1DbecFaTJHYJudH8k1J5FsEVefZkzDUq/errsW125Jc10lf3r7RxG9eKpBXOYMWoi91cx0f6QsEa7hduVMk49WFhNn2sjCaVuFX0vgkGUO4AuuasvTs9AnegkvcxN9FGtMKEjFxTANtKPeKXU2Ra+UxnQsYGYw== + x-ms-version + 2012-03-01
x-ms-client-session-id - 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 37c39e27-1f78-4ebb-8564-d5c75a36a874-2014-07-16 17:19:54Z -
-
- Accept-Charset - UTF-8 + ed784ff6-00a4-48f5-ab7d-75e160b1bca8-2015-01-20 01:46:52Z
- Cookie - .SQLSERVERMANAGEMENT=2YfLm3SJ30DuNMtGp+K1qg== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - 2YfLm3SJ30DuNMtGp+K1qg== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - a0778f5c-9d63-4664-a742-b7a367dde4cf + 519d2f9d-60b4-4c43-8281-321fcb56b5b8
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -16701,131 +49155,64 @@
Content-Type - application/atom+xml;type=entry;charset=utf-8 + application/xml; charset=utf-8
Date - Wed, 16 Jul 2014 17:19:59 GMT + Tue, 20 Jan 2015 01:46:52 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')/DimensionSettings" /><title /><updated>2014-07-16T17:20:00Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:Id><d:Name>P2</d:Name><d:Description>Premium P2 resource allocation.</d:Description><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
-
-
- - UnitTest.Common.GetAzureSqlDatabaseOperationWithSqlAuth - - 0 + 246 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases - POST - AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - WyrofbbfUPt8hxnIYsZ7ZGnk2jxMjJXAPlyR7+VN/KDgi2lk5xEomfUrI+uwFrXLdZuz91BT+XJRzzGl4JADsTTqtCWjd7IRc3vnZIDw782zlXP+bZlOTpHd3taLXGm01nti3B79+rKcov787SpH0x1KkoIQy5OekEdL/dG0G3aE2XcrQW9aKqEmyG1yJw9hqxoHYhQJl5tY4HEykFj51TEXO/u4cuY8Lo40MNgYuhMdrIwqGgIscBCYZgPeDwMzYVGk61COH5Ws9HpYx4BpTSoF9zXlhNNaSz7gsyYLOrm6qcu+1ma3frd2RY8paPF6OgtJdp+ikxPWqBEGZ2OP74KVi6D5Rmxt32nw2jG6hIsAnpG+aieXt4WR9r3/Dvs3lJ2vJJuPCbXif+zJXccwtSDeVnuDQFyw7PQitAWsxgj60x88+zYhiecNgH7J2vITAKCL6nipXDrxFGVTCVvNa7qnOpPPc4YEjdkj9K42CxwKChFxx8pn65P4GT2jm9Z/ewswDyM6tx0JiWDz15WAI9vJIWvYUxqdp+4T21kdNqEE6aEpRUrfS4Rwd7NvD3GguweYaMkgzczl64QFwPr1mH1KkyMekbK85gh+p42hhuLxw4OXuU2S7J1U3tyPuHRoigPDrbSstzZAmYmldOs6fa9h9WegL1g9riWJrYGyO3SDohyMreAERsNnBO0F+fZ1SYglMTVtSaGWfYpWstVZz2bAWrMcP3pDWjS49kBUcZUkLZt0VeEbwESni3m7Gs7pid1Lc6oW9U4G297U0VWvKQ== + x-ms-version + 2012-03-01
x-ms-client-session-id - fab71a0d-62cc-40f6-a716-059200f855df-2013-11-12 02:29:31Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 8844fdbc-1e7e-47a6-b51d-f93b09f78374-2013-11-12 02:30:59Z -
-
- Accept-Charset - UTF-8 + 747d5c37-72df-40ee-bf7f-39ec449dd9bb-2015-01-20 01:46:54Z
- Cookie - .SQLSERVERMANAGEMENT=pYRuwnUZAKKeJjOoHwVAfA== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - pYRuwnUZAKKeJjOoHwVAfA== - - - - - <?xml version="1.0" encoding="utf-8" standalone="yes"?> - <entry xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom"> - <title /> - <author> - <name /> - </author> - <updated>2013-11-12T02:30:59.4532451Z</updated> - <id /> - <content type="application/xml"> - <m:properties> - <d:AssignedServiceObjectiveId m:type="Edm.Guid" m:null="true" /> - <d:CollationName m:null="true" /> - <d:CreationDate m:type="Edm.DateTime">0001-01-01T00:00:00</d:CreationDate> - <d:Edition m:null="true" /> - <d:Id m:type="Edm.Int32">0</d:Id> - <d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember> - <d:IsFederationRoot m:type="Edm.Boolean" m:null="true" /> - <d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn> - <d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /> - <d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly> - <d:IsRecursiveTriggersOn m:type="Edm.Boolean" m:null="true" /> - <d:IsSuspended m:type="Edm.Boolean" m:null="true" /> - <d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject> - <d:MaxSizeBytes m:type="Edm.Int64" m:null="true" /> - <d:MaxSizeGB m:type="Edm.Int32" m:null="true" /> - <d:Name>getAzureSqlDatabaseOperationTestsDB_08ebd7c9-bfb7-426a-9e2f-9921999567e1</d:Name> - <d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /> - <d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /> - <d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /> - <d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /> - <d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /> - <d:RecoveryPeriodStartDate m:type="Edm.DateTime" m:null="true" /> - <d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32" m:null="true" /> - <d:ServiceObjectiveAssignmentErrorDescription m:null="true" /> - <d:ServiceObjectiveAssignmentState m:type="Edm.Byte" m:null="true" /> - <d:ServiceObjectiveAssignmentStateDescription m:null="true" /> - <d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime" m:null="true" /> - <d:ServiceObjectiveId m:type="Edm.Guid" m:null="true" /> - <d:SizeMB m:type="Edm.Decimal">0</d:SizeMB> - <d:Status m:type="Edm.Int32">0</d:Status> - </m:properties> - </content> - </entry> - - application/atom+xml - application/atom+xml,application/xml + + + +
- Created + OK
x-ms-request-id - 77726b05-5e41-4bbe-15da-cfefa4f16571 + 9e9a5f4f-2f0a-4919-bca3-c1b56db19cf5
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -16833,86 +49220,64 @@
Content-Type - application/atom+xml;type=entry;charset=utf-8 + application/xml; charset=utf-8
Date - Tue, 12 Nov 2013 02:31:04 GMT -
-
- Location - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) + Tue, 20 Jan 2015 01:46:54 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(4)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(4)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(4)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(4)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(4)/DatabaseCopies" /><title /><updated>2013-11-12T02:31:04Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">4</d:Id><d:Name>getAzureSqlDatabaseOperationTestsDB_08ebd7c9-bfb7-426a-9e2f-9921999567e1</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2013-11-12T02:31:03.33</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>Web</d:Edition><d:MaxSizeGB m:type="Edm.Int32">1</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">1073741824</d:MaxSizeBytes><d:CollationName>SQL_Latin1_General_CP1_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2013-11-11T18:31:00.19</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime">2013-11-12T02:31:59.173Z</d:RecoveryPeriodStartDate><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean" m:null="true" /><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 1 + 247 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - WyrofbbfUPt8hxnIYsZ7ZGnk2jxMjJXAPlyR7+VN/KDgi2lk5xEomfUrI+uwFrXLdZuz91BT+XJRzzGl4JADsTTqtCWjd7IRc3vnZIDw782zlXP+bZlOTpHd3taLXGm01nti3B79+rKcov787SpH0x1KkoIQy5OekEdL/dG0G3aE2XcrQW9aKqEmyG1yJw9hqxoHYhQJl5tY4HEykFj51TEXO/u4cuY8Lo40MNgYuhMdrIwqGgIscBCYZgPeDwMzYVGk61COH5Ws9HpYx4BpTSoF9zXlhNNaSz7gsyYLOrm6qcu+1ma3frd2RY8paPF6OgtJdp+ikxPWqBEGZ2OP74KVi6D5Rmxt32nw2jG6hIsAnpG+aieXt4WR9r3/Dvs3lJ2vJJuPCbXif+zJXccwtSDeVnuDQFyw7PQitAWsxgj60x88+zYhiecNgH7J2vITAKCL6nipXDrxFGVTCVvNa7qnOpPPc4YEjdkj9K42CxwKChFxx8pn65P4GT2jm9Z/ewswDyM6tx0JiWDz15WAI9vJIWvYUxqdp+4T21kdNqEE6aEpRUrfS4Rwd7NvD3GguweYaMkgzczl64QFwPr1mH1KkyMekbK85gh+p42hhuLxw4OXuU2S7J1U3tyPuHRoigPDrbSstzZAmYmldOs6fa9h9WegL1g9riWJrYGyO3SDohyMreAERsNnBO0F+fZ1SYglMTVtSaGWfYpWstVZz2bAWrMcP3pDWjS49kBUcZUkLZt0VeEbwESni3m7Gs7pid1Lc6oW9U4G297U0VWvKQ== + x-ms-version + 2012-03-01
x-ms-client-session-id - fab71a0d-62cc-40f6-a716-059200f855df-2013-11-12 02:29:31Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 8844fdbc-1e7e-47a6-b51d-f93b09f78374-2013-11-12 02:30:59Z -
-
- Accept-Charset - UTF-8 + 49ec5610-8e6f-45dd-b181-c60ebaebe89b-2015-01-20 01:46:56Z
- Cookie - .SQLSERVERMANAGEMENT=pYRuwnUZAKKeJjOoHwVAfA== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - pYRuwnUZAKKeJjOoHwVAfA== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - 77726b05-5e41-4bbe-15da-cfefa4f16571 + 656be939-2cf4-4f12-9f0e-ae4eba9f59a1
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -16920,82 +49285,64 @@
Content-Type - application/atom+xml;type=entry;charset=utf-8 + application/xml; charset=utf-8
Date - Tue, 12 Nov 2013 02:31:04 GMT + Tue, 20 Jan 2015 01:46:57 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(4)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(4)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(4)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(4)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(4)/DatabaseCopies" /><title /><updated>2013-11-12T02:31:05Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">4</d:Id><d:Name>getAzureSqlDatabaseOperationTestsDB_08ebd7c9-bfb7-426a-9e2f-9921999567e1</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2013-11-12T02:31:03.33</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>Web</d:Edition><d:MaxSizeGB m:type="Edm.Int32">1</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">1073741824</d:MaxSizeBytes><d:CollationName>SQL_Latin1_General_CP1_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2013-11-11T18:31:00.19</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime">2013-11-12T02:31:59.173Z</d:RecoveryPeriodStartDate><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 2 + 248 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - WyrofbbfUPt8hxnIYsZ7ZGnk2jxMjJXAPlyR7+VN/KDgi2lk5xEomfUrI+uwFrXLdZuz91BT+XJRzzGl4JADsTTqtCWjd7IRc3vnZIDw782zlXP+bZlOTpHd3taLXGm01nti3B79+rKcov787SpH0x1KkoIQy5OekEdL/dG0G3aE2XcrQW9aKqEmyG1yJw9hqxoHYhQJl5tY4HEykFj51TEXO/u4cuY8Lo40MNgYuhMdrIwqGgIscBCYZgPeDwMzYVGk61COH5Ws9HpYx4BpTSoF9zXlhNNaSz7gsyYLOrm6qcu+1ma3frd2RY8paPF6OgtJdp+ikxPWqBEGZ2OP74KVi6D5Rmxt32nw2jG6hIsAnpG+aieXt4WR9r3/Dvs3lJ2vJJuPCbXif+zJXccwtSDeVnuDQFyw7PQitAWsxgj60x88+zYhiecNgH7J2vITAKCL6nipXDrxFGVTCVvNa7qnOpPPc4YEjdkj9K42CxwKChFxx8pn65P4GT2jm9Z/ewswDyM6tx0JiWDz15WAI9vJIWvYUxqdp+4T21kdNqEE6aEpRUrfS4Rwd7NvD3GguweYaMkgzczl64QFwPr1mH1KkyMekbK85gh+p42hhuLxw4OXuU2S7J1U3tyPuHRoigPDrbSstzZAmYmldOs6fa9h9WegL1g9riWJrYGyO3SDohyMreAERsNnBO0F+fZ1SYglMTVtSaGWfYpWstVZz2bAWrMcP3pDWjS49kBUcZUkLZt0VeEbwESni3m7Gs7pid1Lc6oW9U4G297U0VWvKQ== + x-ms-version + 2012-03-01
x-ms-client-session-id - fab71a0d-62cc-40f6-a716-059200f855df-2013-11-12 02:29:31Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 8844fdbc-1e7e-47a6-b51d-f93b09f78374-2013-11-12 02:30:59Z -
-
- Accept-Charset - UTF-8 + f5e998c3-043d-4af1-a641-56c1e1fa0c4c-2015-01-20 01:46:59Z
- Cookie - .SQLSERVERMANAGEMENT=pYRuwnUZAKKeJjOoHwVAfA== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - pYRuwnUZAKKeJjOoHwVAfA== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - 77726b05-5e41-4bbe-15da-cfefa4f16571 + e71d84be-2c3b-4367-8abe-2fe379063576
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -17003,82 +49350,64 @@
Content-Type - application/atom+xml;type=entry;charset=utf-8 + application/xml; charset=utf-8
Date - Tue, 12 Nov 2013 02:31:04 GMT + Tue, 20 Jan 2015 01:46:59 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')/DimensionSettings" /><title /><updated>2013-11-12T02:31:05Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:Id><d:Name>Shared</d:Name><d:Description>Resource capacity is not reserved.</d:Description><d:IsDefault m:type="Edm.Boolean">true</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 3 + 249 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'getAzureSqlDatabaseOperationTestsDB_08ebd7c9-bfb7-426a-9e2f-9921999567e1'&$top=2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - WyrofbbfUPt8hxnIYsZ7ZGnk2jxMjJXAPlyR7+VN/KDgi2lk5xEomfUrI+uwFrXLdZuz91BT+XJRzzGl4JADsTTqtCWjd7IRc3vnZIDw782zlXP+bZlOTpHd3taLXGm01nti3B79+rKcov787SpH0x1KkoIQy5OekEdL/dG0G3aE2XcrQW9aKqEmyG1yJw9hqxoHYhQJl5tY4HEykFj51TEXO/u4cuY8Lo40MNgYuhMdrIwqGgIscBCYZgPeDwMzYVGk61COH5Ws9HpYx4BpTSoF9zXlhNNaSz7gsyYLOrm6qcu+1ma3frd2RY8paPF6OgtJdp+ikxPWqBEGZ2OP74KVi6D5Rmxt32nw2jG6hIsAnpG+aieXt4WR9r3/Dvs3lJ2vJJuPCbXif+zJXccwtSDeVnuDQFyw7PQitAWsxgj60x88+zYhiecNgH7J2vITAKCL6nipXDrxFGVTCVvNa7qnOpPPc4YEjdkj9K42CxwKChFxx8pn65P4GT2jm9Z/ewswDyM6tx0JiWDz15WAI9vJIWvYUxqdp+4T21kdNqEE6aEpRUrfS4Rwd7NvD3GguweYaMkgzczl64QFwPr1mH1KkyMekbK85gh+p42hhuLxw4OXuU2S7J1U3tyPuHRoigPDrbSstzZAmYmldOs6fa9h9WegL1g9riWJrYGyO3SDohyMreAERsNnBO0F+fZ1SYglMTVtSaGWfYpWstVZz2bAWrMcP3pDWjS49kBUcZUkLZt0VeEbwESni3m7Gs7pid1Lc6oW9U4G297U0VWvKQ== + x-ms-version + 2012-03-01
x-ms-client-session-id - fab71a0d-62cc-40f6-a716-059200f855df-2013-11-12 02:29:31Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 8844fdbc-1e7e-47a6-b51d-f93b09f78374-2013-11-12 02:30:59Z -
-
- Accept-Charset - UTF-8 + ed3978c9-e2ab-4fa2-8e9c-6a58e72d80da-2015-01-20 01:47:01Z
- Cookie - .SQLSERVERMANAGEMENT=pYRuwnUZAKKeJjOoHwVAfA== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - pYRuwnUZAKKeJjOoHwVAfA== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - 77726b05-5e41-4bbe-15da-cfefa4f16571 + 7d2c4dab-07ff-4578-89fe-da12d948b00d
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -17086,82 +49415,129 @@
Content-Type - application/atom+xml;type=feed;charset=utf-8 + application/xml; charset=utf-8
Date - Tue, 12 Nov 2013 02:31:04 GMT + Tue, 20 Jan 2015 01:47:01 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases</id><title type="text">Databases</title><updated>2013-11-12T02:31:05Z</updated><link rel="self" title="Databases" href="Databases" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(4)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(4)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(4)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(4)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(4)/DatabaseCopies" /><title /><updated>2013-11-12T02:31:05Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">4</d:Id><d:Name>getAzureSqlDatabaseOperationTestsDB_08ebd7c9-bfb7-426a-9e2f-9921999567e1</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2013-11-12T02:31:03.33</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>Web</d:Edition><d:MaxSizeGB m:type="Edm.Int32">1</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">1073741824</d:MaxSizeBytes><d:CollationName>SQL_Latin1_General_CP1_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2013-11-11T18:31:00.19</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime">2013-11-12T02:31:59.173Z</d:RecoveryPeriodStartDate><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry></feed> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 4 + 250 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx + x-ms-version + 2012-03-01
- MaxDataServiceVersion - 2.0;NetFx + x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
- AccessToken - WyrofbbfUPt8hxnIYsZ7ZGnk2jxMjJXAPlyR7+VN/KDgi2lk5xEomfUrI+uwFrXLdZuz91BT+XJRzzGl4JADsTTqtCWjd7IRc3vnZIDw782zlXP+bZlOTpHd3taLXGm01nti3B79+rKcov787SpH0x1KkoIQy5OekEdL/dG0G3aE2XcrQW9aKqEmyG1yJw9hqxoHYhQJl5tY4HEykFj51TEXO/u4cuY8Lo40MNgYuhMdrIwqGgIscBCYZgPeDwMzYVGk61COH5Ws9HpYx4BpTSoF9zXlhNNaSz7gsyYLOrm6qcu+1ma3frd2RY8paPF6OgtJdp+ikxPWqBEGZ2OP74KVi6D5Rmxt32nw2jG6hIsAnpG+aieXt4WR9r3/Dvs3lJ2vJJuPCbXif+zJXccwtSDeVnuDQFyw7PQitAWsxgj60x88+zYhiecNgH7J2vITAKCL6nipXDrxFGVTCVvNa7qnOpPPc4YEjdkj9K42CxwKChFxx8pn65P4GT2jm9Z/ewswDyM6tx0JiWDz15WAI9vJIWvYUxqdp+4T21kdNqEE6aEpRUrfS4Rwd7NvD3GguweYaMkgzczl64QFwPr1mH1KkyMekbK85gh+p42hhuLxw4OXuU2S7J1U3tyPuHRoigPDrbSstzZAmYmldOs6fa9h9WegL1g9riWJrYGyO3SDohyMreAERsNnBO0F+fZ1SYglMTVtSaGWfYpWstVZz2bAWrMcP3pDWjS49kBUcZUkLZt0VeEbwESni3m7Gs7pid1Lc6oW9U4G297U0VWvKQ== + x-ms-client-request-id + afc0ae5a-a314-4d45-9428-cd67d81edaa2-2015-01-20 01:47:03Z
- x-ms-client-session-id - fab71a0d-62cc-40f6-a716-059200f855df-2013-11-12 02:29:31Z + Authorization + Bearer abc
+
+ + + + +
+ + OK +
- x-ms-client-request-id - 8844fdbc-1e7e-47a6-b51d-f93b09f78374-2013-11-12 02:30:59Z + x-ms-request-id + bc936907-6ae6-48d5-b77f-e7bfbe20852b
- Accept-Charset - UTF-8 + X-Content-Type-Options + nosniff
- Cookie - .SQLSERVERMANAGEMENT=pYRuwnUZAKKeJjOoHwVAfA== + Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:47:03 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- - - .SQLSERVERMANAGEMENT - pYRuwnUZAKKeJjOoHwVAfA== - - - + + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 251 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 634c8797-fc10-4433-b13e-252a8a88205a-2015-01-20 01:47:05Z +
+
+ Authorization + Bearer abc +
+
+ - application/atom+xml,application/xml +
OK
x-ms-request-id - 77726b05-5e41-4bbe-15da-cfefa4f16571 + 621c18b7-ba8e-40e3-b32a-32ad5a275adf
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -17169,161 +49545,194 @@
Content-Type - application/atom+xml;type=entry;charset=utf-8 + application/xml; charset=utf-8
Date - Tue, 12 Nov 2013 02:31:04 GMT + Tue, 20 Jan 2015 01:47:06 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')/DimensionSettings" /><title /><updated>2013-11-12T02:31:05Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:Id><d:Name>Shared</d:Name><d:Description>Resource capacity is not reserved.</d:Description><d:IsDefault m:type="Edm.Boolean">true</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 5 + 252 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) - DELETE - AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx + x-ms-version + 2012-03-01
- MaxDataServiceVersion - 2.0;NetFx + x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + e73bad89-c648-47bd-9b7e-36870b593463-2015-01-20 01:47:08Z +
+
+ Authorization + Bearer abc +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 28f20740-8998-4ffc-b901-29c5f30390c1 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Tue, 20 Jan 2015 01:47:08 GMT
- AccessToken - WyrofbbfUPt8hxnIYsZ7ZGnk2jxMjJXAPlyR7+VN/KDgi2lk5xEomfUrI+uwFrXLdZuz91BT+XJRzzGl4JADsTTqtCWjd7IRc3vnZIDw782zlXP+bZlOTpHd3taLXGm01nti3B79+rKcov787SpH0x1KkoIQy5OekEdL/dG0G3aE2XcrQW9aKqEmyG1yJw9hqxoHYhQJl5tY4HEykFj51TEXO/u4cuY8Lo40MNgYuhMdrIwqGgIscBCYZgPeDwMzYVGk61COH5Ws9HpYx4BpTSoF9zXlhNNaSz7gsyYLOrm6qcu+1ma3frd2RY8paPF6OgtJdp+ikxPWqBEGZ2OP74KVi6D5Rmxt32nw2jG6hIsAnpG+aieXt4WR9r3/Dvs3lJ2vJJuPCbXif+zJXccwtSDeVnuDQFyw7PQitAWsxgj60x88+zYhiecNgH7J2vITAKCL6nipXDrxFGVTCVvNa7qnOpPPc4YEjdkj9K42CxwKChFxx8pn65P4GT2jm9Z/ewswDyM6tx0JiWDz15WAI9vJIWvYUxqdp+4T21kdNqEE6aEpRUrfS4Rwd7NvD3GguweYaMkgzczl64QFwPr1mH1KkyMekbK85gh+p42hhuLxw4OXuU2S7J1U3tyPuHRoigPDrbSstzZAmYmldOs6fa9h9WegL1g9riWJrYGyO3SDohyMreAERsNnBO0F+fZ1SYglMTVtSaGWfYpWstVZz2bAWrMcP3pDWjS49kBUcZUkLZt0VeEbwESni3m7Gs7pid1Lc6oW9U4G297U0VWvKQ== + Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource> +
+
+ + 253 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01
x-ms-client-session-id - fab71a0d-62cc-40f6-a716-059200f855df-2013-11-12 02:29:31Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 8844fdbc-1e7e-47a6-b51d-f93b09f78374-2013-11-12 02:30:59Z -
-
- Accept-Charset - UTF-8 + 53b3967e-d5e5-42c4-9222-842dc0e7d6de-2015-01-20 01:47:10Z
- Cookie - .SQLSERVERMANAGEMENT=pYRuwnUZAKKeJjOoHwVAfA== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - pYRuwnUZAKKeJjOoHwVAfA== - - - - - application/atom+xml - application/atom+xml,application/xml + + + +
- NoContent + OK
x-ms-request-id - 77726b05-5e41-4bbe-15da-cfefa4f16571 + cfc52632-08bd-4e46-9fdd-b1940d718e4e
X-Content-Type-Options nosniff
- DataServiceVersion - 1.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Tue, 12 Nov 2013 02:31:13 GMT + Tue, 20 Jan 2015 01:47:10 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 6 + 254 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/DatabaseOperations()?$filter=DatabaseName%20eq%20'getAzureSqlDatabaseOperationTestsDB_08ebd7c9-bfb7-426a-9e2f-9921999567e1' + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - WyrofbbfUPt8hxnIYsZ7ZGnk2jxMjJXAPlyR7+VN/KDgi2lk5xEomfUrI+uwFrXLdZuz91BT+XJRzzGl4JADsTTqtCWjd7IRc3vnZIDw782zlXP+bZlOTpHd3taLXGm01nti3B79+rKcov787SpH0x1KkoIQy5OekEdL/dG0G3aE2XcrQW9aKqEmyG1yJw9hqxoHYhQJl5tY4HEykFj51TEXO/u4cuY8Lo40MNgYuhMdrIwqGgIscBCYZgPeDwMzYVGk61COH5Ws9HpYx4BpTSoF9zXlhNNaSz7gsyYLOrm6qcu+1ma3frd2RY8paPF6OgtJdp+ikxPWqBEGZ2OP74KVi6D5Rmxt32nw2jG6hIsAnpG+aieXt4WR9r3/Dvs3lJ2vJJuPCbXif+zJXccwtSDeVnuDQFyw7PQitAWsxgj60x88+zYhiecNgH7J2vITAKCL6nipXDrxFGVTCVvNa7qnOpPPc4YEjdkj9K42CxwKChFxx8pn65P4GT2jm9Z/ewswDyM6tx0JiWDz15WAI9vJIWvYUxqdp+4T21kdNqEE6aEpRUrfS4Rwd7NvD3GguweYaMkgzczl64QFwPr1mH1KkyMekbK85gh+p42hhuLxw4OXuU2S7J1U3tyPuHRoigPDrbSstzZAmYmldOs6fa9h9WegL1g9riWJrYGyO3SDohyMreAERsNnBO0F+fZ1SYglMTVtSaGWfYpWstVZz2bAWrMcP3pDWjS49kBUcZUkLZt0VeEbwESni3m7Gs7pid1Lc6oW9U4G297U0VWvKQ== + x-ms-version + 2012-03-01
x-ms-client-session-id - fab71a0d-62cc-40f6-a716-059200f855df-2013-11-12 02:29:31Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 8844fdbc-1e7e-47a6-b51d-f93b09f78374-2013-11-12 02:30:59Z -
-
- Accept-Charset - UTF-8 + abb64a51-143f-4fa1-bc12-87a3e27e91e3-2015-01-20 01:47:12Z
- Cookie - .SQLSERVERMANAGEMENT=pYRuwnUZAKKeJjOoHwVAfA== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - pYRuwnUZAKKeJjOoHwVAfA== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - 77726b05-5e41-4bbe-15da-cfefa4f16571 + 5b638b48-d9cd-40b7-b167-e684744d02fc
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -17331,82 +49740,64 @@
Content-Type - application/atom+xml;type=feed;charset=utf-8 + application/xml; charset=utf-8
Date - Tue, 12 Nov 2013 02:31:13 GMT + Tue, 20 Jan 2015 01:47:13 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/DatabaseOperations</id><title type="text">DatabaseOperations</title><updated>2013-11-12T02:31:13Z</updated><link rel="self" title="DatabaseOperations" href="DatabaseOperations" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/DatabaseOperations(guid'6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659')</id><category term="Microsoft.SqlServer.Management.Server.Domain.DatabaseOperation" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="DatabaseOperation" href="DatabaseOperations(guid'6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="DatabaseOperations(guid'6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659')/Server" /><title /><updated>2013-11-12T02:31:13Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659</d:Id><d:Name>CREATE DATABASE</d:Name><d:State>COMPLETED</d:State><d:StateId m:type="Edm.Int32">2</d:StateId><d:SessionActivityId m:type="Edm.Guid">8844fdbc-1e7e-47a6-b51d-f93b09f78374</d:SessionActivityId><d:DatabaseName>getAzureSqlDatabaseOperationTestsDB_08ebd7c9-bfb7-426a-9e2f-9921999567e1</d:DatabaseName><d:PercentComplete m:type="Edm.Int32">100</d:PercentComplete><d:Error.Code m:type="Edm.Int32">0</d:Error.Code><d:Error></d:Error><d:ErrorSeverity m:type="Edm.Int32">0</d:ErrorSeverity><d:ErrorState m:type="Edm.Int32">0</d:ErrorState><d:StartTime m:type="Edm.DateTime">2013-11-12T02:30:58.157</d:StartTime><d:LastModifyTime m:type="Edm.DateTime">2013-11-12T02:31:04.36</d:LastModifyTime></m:properties></content></entry></feed> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 7 + 255 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/DatabaseOperations()?$filter=DatabaseName%20eq%20'getAzureSqlDatabaseOperationTestsDB_08ebd7c9-bfb7-426a-9e2f-9921999567e1' + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - WyrofbbfUPt8hxnIYsZ7ZGnk2jxMjJXAPlyR7+VN/KDgi2lk5xEomfUrI+uwFrXLdZuz91BT+XJRzzGl4JADsTTqtCWjd7IRc3vnZIDw782zlXP+bZlOTpHd3taLXGm01nti3B79+rKcov787SpH0x1KkoIQy5OekEdL/dG0G3aE2XcrQW9aKqEmyG1yJw9hqxoHYhQJl5tY4HEykFj51TEXO/u4cuY8Lo40MNgYuhMdrIwqGgIscBCYZgPeDwMzYVGk61COH5Ws9HpYx4BpTSoF9zXlhNNaSz7gsyYLOrm6qcu+1ma3frd2RY8paPF6OgtJdp+ikxPWqBEGZ2OP74KVi6D5Rmxt32nw2jG6hIsAnpG+aieXt4WR9r3/Dvs3lJ2vJJuPCbXif+zJXccwtSDeVnuDQFyw7PQitAWsxgj60x88+zYhiecNgH7J2vITAKCL6nipXDrxFGVTCVvNa7qnOpPPc4YEjdkj9K42CxwKChFxx8pn65P4GT2jm9Z/ewswDyM6tx0JiWDz15WAI9vJIWvYUxqdp+4T21kdNqEE6aEpRUrfS4Rwd7NvD3GguweYaMkgzczl64QFwPr1mH1KkyMekbK85gh+p42hhuLxw4OXuU2S7J1U3tyPuHRoigPDrbSstzZAmYmldOs6fa9h9WegL1g9riWJrYGyO3SDohyMreAERsNnBO0F+fZ1SYglMTVtSaGWfYpWstVZz2bAWrMcP3pDWjS49kBUcZUkLZt0VeEbwESni3m7Gs7pid1Lc6oW9U4G297U0VWvKQ== + x-ms-version + 2012-03-01
x-ms-client-session-id - fab71a0d-62cc-40f6-a716-059200f855df-2013-11-12 02:29:31Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 8844fdbc-1e7e-47a6-b51d-f93b09f78374-2013-11-12 02:30:59Z -
-
- Accept-Charset - UTF-8 + f77036a4-3bb6-4b90-a385-6960315863d7-2015-01-20 01:47:15Z
- Cookie - .SQLSERVERMANAGEMENT=pYRuwnUZAKKeJjOoHwVAfA== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - pYRuwnUZAKKeJjOoHwVAfA== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - 77726b05-5e41-4bbe-15da-cfefa4f16571 + 8e3d99c0-21f5-4663-9d06-6346de45f1a9
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -17414,82 +49805,64 @@
Content-Type - application/atom+xml;type=feed;charset=utf-8 + application/xml; charset=utf-8
Date - Tue, 12 Nov 2013 02:31:13 GMT + Tue, 20 Jan 2015 01:47:15 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/DatabaseOperations</id><title type="text">DatabaseOperations</title><updated>2013-11-12T02:31:13Z</updated><link rel="self" title="DatabaseOperations" href="DatabaseOperations" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/DatabaseOperations(guid'6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659')</id><category term="Microsoft.SqlServer.Management.Server.Domain.DatabaseOperation" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="DatabaseOperation" href="DatabaseOperations(guid'6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="DatabaseOperations(guid'6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659')/Server" /><title /><updated>2013-11-12T02:31:13Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659</d:Id><d:Name>CREATE DATABASE</d:Name><d:State>COMPLETED</d:State><d:StateId m:type="Edm.Int32">2</d:StateId><d:SessionActivityId m:type="Edm.Guid">8844fdbc-1e7e-47a6-b51d-f93b09f78374</d:SessionActivityId><d:DatabaseName>getAzureSqlDatabaseOperationTestsDB_08ebd7c9-bfb7-426a-9e2f-9921999567e1</d:DatabaseName><d:PercentComplete m:type="Edm.Int32">100</d:PercentComplete><d:Error.Code m:type="Edm.Int32">0</d:Error.Code><d:Error></d:Error><d:ErrorSeverity m:type="Edm.Int32">0</d:ErrorSeverity><d:ErrorState m:type="Edm.Int32">0</d:ErrorState><d:StartTime m:type="Edm.DateTime">2013-11-12T02:30:58.157</d:StartTime><d:LastModifyTime m:type="Edm.DateTime">2013-11-12T02:31:04.36</d:LastModifyTime></m:properties></content></entry></feed> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 8 + 256 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/DatabaseOperations(guid'6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659') + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - WyrofbbfUPt8hxnIYsZ7ZGnk2jxMjJXAPlyR7+VN/KDgi2lk5xEomfUrI+uwFrXLdZuz91BT+XJRzzGl4JADsTTqtCWjd7IRc3vnZIDw782zlXP+bZlOTpHd3taLXGm01nti3B79+rKcov787SpH0x1KkoIQy5OekEdL/dG0G3aE2XcrQW9aKqEmyG1yJw9hqxoHYhQJl5tY4HEykFj51TEXO/u4cuY8Lo40MNgYuhMdrIwqGgIscBCYZgPeDwMzYVGk61COH5Ws9HpYx4BpTSoF9zXlhNNaSz7gsyYLOrm6qcu+1ma3frd2RY8paPF6OgtJdp+ikxPWqBEGZ2OP74KVi6D5Rmxt32nw2jG6hIsAnpG+aieXt4WR9r3/Dvs3lJ2vJJuPCbXif+zJXccwtSDeVnuDQFyw7PQitAWsxgj60x88+zYhiecNgH7J2vITAKCL6nipXDrxFGVTCVvNa7qnOpPPc4YEjdkj9K42CxwKChFxx8pn65P4GT2jm9Z/ewswDyM6tx0JiWDz15WAI9vJIWvYUxqdp+4T21kdNqEE6aEpRUrfS4Rwd7NvD3GguweYaMkgzczl64QFwPr1mH1KkyMekbK85gh+p42hhuLxw4OXuU2S7J1U3tyPuHRoigPDrbSstzZAmYmldOs6fa9h9WegL1g9riWJrYGyO3SDohyMreAERsNnBO0F+fZ1SYglMTVtSaGWfYpWstVZz2bAWrMcP3pDWjS49kBUcZUkLZt0VeEbwESni3m7Gs7pid1Lc6oW9U4G297U0VWvKQ== + x-ms-version + 2012-03-01
x-ms-client-session-id - fab71a0d-62cc-40f6-a716-059200f855df-2013-11-12 02:29:31Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 8844fdbc-1e7e-47a6-b51d-f93b09f78374-2013-11-12 02:30:59Z -
-
- Accept-Charset - UTF-8 + b1e2daec-f32d-46f5-8f36-ff1021937fb1-2015-01-20 01:47:17Z
- Cookie - .SQLSERVERMANAGEMENT=pYRuwnUZAKKeJjOoHwVAfA== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - pYRuwnUZAKKeJjOoHwVAfA== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - 77726b05-5e41-4bbe-15da-cfefa4f16571 + bc211acb-18a4-4953-b537-cd3fdb4baa77
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -17497,87 +49870,64 @@
Content-Type - application/atom+xml;type=entry;charset=utf-8 + application/xml; charset=utf-8
Date - Tue, 12 Nov 2013 02:31:13 GMT + Tue, 20 Jan 2015 01:47:17 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/DatabaseOperations(guid'6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659')</id><category term="Microsoft.SqlServer.Management.Server.Domain.DatabaseOperation" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="DatabaseOperation" href="DatabaseOperations(guid'6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="DatabaseOperations(guid'6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659')/Server" /><title /><updated>2013-11-12T02:31:13Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">6c3afd55-7ce5-45cd-8e4c-f5ae8f8e1659</d:Id><d:Name>CREATE DATABASE</d:Name><d:State>COMPLETED</d:State><d:StateId m:type="Edm.Int32">2</d:StateId><d:SessionActivityId m:type="Edm.Guid">8844fdbc-1e7e-47a6-b51d-f93b09f78374</d:SessionActivityId><d:DatabaseName>getAzureSqlDatabaseOperationTestsDB_08ebd7c9-bfb7-426a-9e2f-9921999567e1</d:DatabaseName><d:PercentComplete m:type="Edm.Int32">100</d:PercentComplete><d:Error.Code m:type="Edm.Int32">0</d:Error.Code><d:Error></d:Error><d:ErrorSeverity m:type="Edm.Int32">0</d:ErrorSeverity><d:ErrorState m:type="Edm.Int32">0</d:ErrorState><d:StartTime m:type="Edm.DateTime">2013-11-12T02:30:58.157</d:StartTime><d:LastModifyTime m:type="Edm.DateTime">2013-11-12T02:31:04.36</d:LastModifyTime></m:properties></content></entry> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
-
-
- - UnitTest.Common.RemoveTestPremiumDatabasesWithSqlAuth - - 0 + 257 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - Pl48rNQ0Q0LolzYn6C70ExCjy+xRhQxHoZzm+UVg5+zYdNkSdy4DvkCPbQVk93j+cJ1VctG4DVOp649IBqpQX5S8A+e28gVgAsPFUGukzxTWts4OEnasXNR5OQ8yW8taZZgRCIvQcIMidqaMJblLurhqOHi2lCrle2HJ2Mqa6nqX9WmOzC1naAMXprGa6d771dOB2WBYbf3Vr10616HRaogEIdRZkHDOtCRcBJCuO9mTqrlwkNkuPCInIiovtcofwfzJpy2VWh4j/jMxv+jsSqGeVW6F0ZZ8843EarQjKzdeZ9HBfANUFijFTVhAOSpy6aNbGUIVWnzj8GYTiflZmHMT5ts5+6Y3mwWR6fbxfiT2Cp5b4mvDba1tFrSXfb1xRSsE/WqF/+5WURT8qui/+JKs5oyZHvosu3AdcCliGqvAErkNk/Gf23H5cx+cSs+uSN0cLc2Xw9xdd+xK5t+xiGod1TwaEZfgH0w6FYQwjRE7MiTaWFv/376hNpOkDGgALmv/Xjk7FH559yjBDcxxN4sHw6Bloof6ZaCKF9xr9EBvKIk8EMwFdX9jDnoNvnXGFadc/p3rfvX+KEna1NslgSU9Jc1X+7kVaSZsJVZpp3wNHVGulzCWWY0LdBvLRG1DicUNMDBecmp3j6ZpiAmP73HxjuYX67djlSB0FxpyeaUnLyomDykObUw/oXWYuIW+Sbs5eW7lAM65zKNL5+6rLmjAI3Hbzdi7ZIdTmoAymTd4+rqcwsWAnYpVNAvCxI57f9jTHy5eBWGIwBLMMp5Iqg== + x-ms-version + 2012-03-01
x-ms-client-session-id - 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - dc4d642c-e6c1-4b55-97e8-81770e1e8bb4-2014-07-16 17:20:00Z + a0d207dd-e9da-43cf-b731-525030d39d24-2015-01-20 01:47:19Z
- Accept-Charset - UTF-8 -
-
- Cookie - .SQLSERVERMANAGEMENT=LTursKkmgxCbAjpLub/ZOQ== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - LTursKkmgxCbAjpLub/ZOQ== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - 2d9d764b-25e6-afd5-0c6f-cf197fb37284 + 876ce31e-7876-41fd-9ab9-f58ad1fda133
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -17585,82 +49935,64 @@
Content-Type - application/atom+xml;type=feed;charset=utf-8 + application/xml; charset=utf-8
Date - Wed, 16 Jul 2014 17:20:01 GMT + Tue, 20 Jan 2015 01:47:20 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases</id><title type="text">Databases</title><updated>2014-07-16T17:20:01Z</updated><link rel="self" title="Databases" href="Databases" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(1)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(1)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(1)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(1)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(1)/DatabaseCopies" /><title /><updated>2014-07-16T17:20:01Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>master</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">26e021db-f1f9-4c98-84c6-92af8ef433d7</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">26e021db-f1f9-4c98-84c6-92af8ef433d7</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2014-07-16T11:03:28.51</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>System</d:Edition><d:MaxSizeGB m:type="Edm.Int32">5</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">5368709120</d:MaxSizeBytes><d:CollationName>SQL_Latin1_General_CP1_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2014-07-14T08:22:42.45</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime" m:null="true" /><d:IsSystemObject m:type="Edm.Boolean">true</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(4)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(4)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(4)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(4)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(4)/DatabaseCopies" /><title /><updated>2014-07-16T17:20:01Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">4</d:Id><d:Name>NewAzureSqlPremiumDatabaseTests_P1</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2014-07-16T17:19:54.297</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>Premium</d:Edition><d:MaxSizeGB m:type="Edm.Int32">10</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">10737418240</d:MaxSizeBytes><d:CollationName>SQL_Latin1_General_CP1_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2014-07-16T10:19:51.33</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime">2014-07-16T17:20:50.983Z</d:RecoveryPeriodStartDate><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(5)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(5)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(5)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(5)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(5)/DatabaseCopies" /><title /><updated>2014-07-16T17:20:01Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">5</d:Id><d:Name>NewAzureSqlPremiumDatabaseTests_P2</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2014-07-16T17:19:58.127</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>Premium</d:Edition><d:MaxSizeGB m:type="Edm.Int32">10</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">10737418240</d:MaxSizeBytes><d:CollationName>Japanese_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2014-07-16T10:19:54.913</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime">2014-07-16T17:20:54.737Z</d:RecoveryPeriodStartDate><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry></feed> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 1 + 258 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(1)/ServiceObjective + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - Pl48rNQ0Q0LolzYn6C70ExCjy+xRhQxHoZzm+UVg5+zYdNkSdy4DvkCPbQVk93j+cJ1VctG4DVOp649IBqpQX5S8A+e28gVgAsPFUGukzxTWts4OEnasXNR5OQ8yW8taZZgRCIvQcIMidqaMJblLurhqOHi2lCrle2HJ2Mqa6nqX9WmOzC1naAMXprGa6d771dOB2WBYbf3Vr10616HRaogEIdRZkHDOtCRcBJCuO9mTqrlwkNkuPCInIiovtcofwfzJpy2VWh4j/jMxv+jsSqGeVW6F0ZZ8843EarQjKzdeZ9HBfANUFijFTVhAOSpy6aNbGUIVWnzj8GYTiflZmHMT5ts5+6Y3mwWR6fbxfiT2Cp5b4mvDba1tFrSXfb1xRSsE/WqF/+5WURT8qui/+JKs5oyZHvosu3AdcCliGqvAErkNk/Gf23H5cx+cSs+uSN0cLc2Xw9xdd+xK5t+xiGod1TwaEZfgH0w6FYQwjRE7MiTaWFv/376hNpOkDGgALmv/Xjk7FH559yjBDcxxN4sHw6Bloof6ZaCKF9xr9EBvKIk8EMwFdX9jDnoNvnXGFadc/p3rfvX+KEna1NslgSU9Jc1X+7kVaSZsJVZpp3wNHVGulzCWWY0LdBvLRG1DicUNMDBecmp3j6ZpiAmP73HxjuYX67djlSB0FxpyeaUnLyomDykObUw/oXWYuIW+Sbs5eW7lAM65zKNL5+6rLmjAI3Hbzdi7ZIdTmoAymTd4+rqcwsWAnYpVNAvCxI57f9jTHy5eBWGIwBLMMp5Iqg== + x-ms-version + 2012-03-01
x-ms-client-session-id - 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - dc4d642c-e6c1-4b55-97e8-81770e1e8bb4-2014-07-16 17:20:00Z -
-
- Accept-Charset - UTF-8 + 4eed556f-1824-491c-a905-a54f57e6fb97-2015-01-20 01:47:22Z
- Cookie - .SQLSERVERMANAGEMENT=LTursKkmgxCbAjpLub/ZOQ== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - LTursKkmgxCbAjpLub/ZOQ== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - 2d9d764b-25e6-afd5-0c6f-cf197fb37284 + a7c44fff-f509-4d41-9875-3913cf2a46b9
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -17668,82 +50000,64 @@
Content-Type - application/atom+xml;type=entry;charset=utf-8 + application/xml; charset=utf-8
Date - Wed, 16 Jul 2014 17:20:01 GMT + Tue, 20 Jan 2015 01:47:22 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'26e021db-f1f9-4c98-84c6-92af8ef433d7')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'26e021db-f1f9-4c98-84c6-92af8ef433d7')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'26e021db-f1f9-4c98-84c6-92af8ef433d7')/DimensionSettings" /><title /><updated>2014-07-16T17:20:01Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">26e021db-f1f9-4c98-84c6-92af8ef433d7</d:Id><d:Name>System</d:Name><d:Description>Used for master database only.</d:Description><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault><d:IsSystem m:type="Edm.Boolean">true</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 2 + 259 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - Pl48rNQ0Q0LolzYn6C70ExCjy+xRhQxHoZzm+UVg5+zYdNkSdy4DvkCPbQVk93j+cJ1VctG4DVOp649IBqpQX5S8A+e28gVgAsPFUGukzxTWts4OEnasXNR5OQ8yW8taZZgRCIvQcIMidqaMJblLurhqOHi2lCrle2HJ2Mqa6nqX9WmOzC1naAMXprGa6d771dOB2WBYbf3Vr10616HRaogEIdRZkHDOtCRcBJCuO9mTqrlwkNkuPCInIiovtcofwfzJpy2VWh4j/jMxv+jsSqGeVW6F0ZZ8843EarQjKzdeZ9HBfANUFijFTVhAOSpy6aNbGUIVWnzj8GYTiflZmHMT5ts5+6Y3mwWR6fbxfiT2Cp5b4mvDba1tFrSXfb1xRSsE/WqF/+5WURT8qui/+JKs5oyZHvosu3AdcCliGqvAErkNk/Gf23H5cx+cSs+uSN0cLc2Xw9xdd+xK5t+xiGod1TwaEZfgH0w6FYQwjRE7MiTaWFv/376hNpOkDGgALmv/Xjk7FH559yjBDcxxN4sHw6Bloof6ZaCKF9xr9EBvKIk8EMwFdX9jDnoNvnXGFadc/p3rfvX+KEna1NslgSU9Jc1X+7kVaSZsJVZpp3wNHVGulzCWWY0LdBvLRG1DicUNMDBecmp3j6ZpiAmP73HxjuYX67djlSB0FxpyeaUnLyomDykObUw/oXWYuIW+Sbs5eW7lAM65zKNL5+6rLmjAI3Hbzdi7ZIdTmoAymTd4+rqcwsWAnYpVNAvCxI57f9jTHy5eBWGIwBLMMp5Iqg== + x-ms-version + 2012-03-01
x-ms-client-session-id - 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - dc4d642c-e6c1-4b55-97e8-81770e1e8bb4-2014-07-16 17:20:00Z -
-
- Accept-Charset - UTF-8 + dd69834d-4db2-40e4-803d-0ceb54eb1030-2015-01-20 01:47:24Z
- Cookie - .SQLSERVERMANAGEMENT=LTursKkmgxCbAjpLub/ZOQ== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - LTursKkmgxCbAjpLub/ZOQ== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - 2d9d764b-25e6-afd5-0c6f-cf197fb37284 + 8272aa57-50a6-4662-a6da-a431384e5c4e
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -17751,82 +50065,64 @@
Content-Type - application/atom+xml;type=entry;charset=utf-8 + application/xml; charset=utf-8
Date - Wed, 16 Jul 2014 17:20:01 GMT + Tue, 20 Jan 2015 01:47:24 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings" /><title /><updated>2014-07-16T17:20:01Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:Id><d:Name>P1</d:Name><d:Description>Premium P1 resource allocation.</d:Description><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 3 + 260 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - Pl48rNQ0Q0LolzYn6C70ExCjy+xRhQxHoZzm+UVg5+zYdNkSdy4DvkCPbQVk93j+cJ1VctG4DVOp649IBqpQX5S8A+e28gVgAsPFUGukzxTWts4OEnasXNR5OQ8yW8taZZgRCIvQcIMidqaMJblLurhqOHi2lCrle2HJ2Mqa6nqX9WmOzC1naAMXprGa6d771dOB2WBYbf3Vr10616HRaogEIdRZkHDOtCRcBJCuO9mTqrlwkNkuPCInIiovtcofwfzJpy2VWh4j/jMxv+jsSqGeVW6F0ZZ8843EarQjKzdeZ9HBfANUFijFTVhAOSpy6aNbGUIVWnzj8GYTiflZmHMT5ts5+6Y3mwWR6fbxfiT2Cp5b4mvDba1tFrSXfb1xRSsE/WqF/+5WURT8qui/+JKs5oyZHvosu3AdcCliGqvAErkNk/Gf23H5cx+cSs+uSN0cLc2Xw9xdd+xK5t+xiGod1TwaEZfgH0w6FYQwjRE7MiTaWFv/376hNpOkDGgALmv/Xjk7FH559yjBDcxxN4sHw6Bloof6ZaCKF9xr9EBvKIk8EMwFdX9jDnoNvnXGFadc/p3rfvX+KEna1NslgSU9Jc1X+7kVaSZsJVZpp3wNHVGulzCWWY0LdBvLRG1DicUNMDBecmp3j6ZpiAmP73HxjuYX67djlSB0FxpyeaUnLyomDykObUw/oXWYuIW+Sbs5eW7lAM65zKNL5+6rLmjAI3Hbzdi7ZIdTmoAymTd4+rqcwsWAnYpVNAvCxI57f9jTHy5eBWGIwBLMMp5Iqg== + x-ms-version + 2012-03-01
x-ms-client-session-id - 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - dc4d642c-e6c1-4b55-97e8-81770e1e8bb4-2014-07-16 17:20:00Z -
-
- Accept-Charset - UTF-8 + d72696fd-dc09-4029-8971-e7d39f25e6e4-2015-01-20 01:47:26Z
- Cookie - .SQLSERVERMANAGEMENT=LTursKkmgxCbAjpLub/ZOQ== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - LTursKkmgxCbAjpLub/ZOQ== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - 2d9d764b-25e6-afd5-0c6f-cf197fb37284 + c9e6c82d-7942-45f2-a3c3-1b680351f570
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -17834,82 +50130,64 @@
Content-Type - application/atom+xml;type=entry;charset=utf-8 + application/xml; charset=utf-8
Date - Wed, 16 Jul 2014 17:20:01 GMT + Tue, 20 Jan 2015 01:47:27 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')/DimensionSettings" /><title /><updated>2014-07-16T17:20:01Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:Id><d:Name>P2</d:Name><d:Description>Premium P2 resource allocation.</d:Description><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 4 + 261 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'NewAzureSqlPremiumDatabaseTests_P1'&$top=2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - Pl48rNQ0Q0LolzYn6C70ExCjy+xRhQxHoZzm+UVg5+zYdNkSdy4DvkCPbQVk93j+cJ1VctG4DVOp649IBqpQX5S8A+e28gVgAsPFUGukzxTWts4OEnasXNR5OQ8yW8taZZgRCIvQcIMidqaMJblLurhqOHi2lCrle2HJ2Mqa6nqX9WmOzC1naAMXprGa6d771dOB2WBYbf3Vr10616HRaogEIdRZkHDOtCRcBJCuO9mTqrlwkNkuPCInIiovtcofwfzJpy2VWh4j/jMxv+jsSqGeVW6F0ZZ8843EarQjKzdeZ9HBfANUFijFTVhAOSpy6aNbGUIVWnzj8GYTiflZmHMT5ts5+6Y3mwWR6fbxfiT2Cp5b4mvDba1tFrSXfb1xRSsE/WqF/+5WURT8qui/+JKs5oyZHvosu3AdcCliGqvAErkNk/Gf23H5cx+cSs+uSN0cLc2Xw9xdd+xK5t+xiGod1TwaEZfgH0w6FYQwjRE7MiTaWFv/376hNpOkDGgALmv/Xjk7FH559yjBDcxxN4sHw6Bloof6ZaCKF9xr9EBvKIk8EMwFdX9jDnoNvnXGFadc/p3rfvX+KEna1NslgSU9Jc1X+7kVaSZsJVZpp3wNHVGulzCWWY0LdBvLRG1DicUNMDBecmp3j6ZpiAmP73HxjuYX67djlSB0FxpyeaUnLyomDykObUw/oXWYuIW+Sbs5eW7lAM65zKNL5+6rLmjAI3Hbzdi7ZIdTmoAymTd4+rqcwsWAnYpVNAvCxI57f9jTHy5eBWGIwBLMMp5Iqg== + x-ms-version + 2012-03-01
x-ms-client-session-id - 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - dc4d642c-e6c1-4b55-97e8-81770e1e8bb4-2014-07-16 17:20:00Z + bf17a055-b6ea-42fc-92f9-504a74438451-2015-01-20 01:47:29Z
- Accept-Charset - UTF-8 -
-
- Cookie - .SQLSERVERMANAGEMENT=LTursKkmgxCbAjpLub/ZOQ== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - LTursKkmgxCbAjpLub/ZOQ== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - 2d9d764b-25e6-afd5-0c6f-cf197fb37284 + f978b9d5-1884-42e2-8b93-10f20cfa2515
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -17917,82 +50195,64 @@
Content-Type - application/atom+xml;type=feed;charset=utf-8 + application/xml; charset=utf-8
Date - Wed, 16 Jul 2014 17:20:01 GMT + Tue, 20 Jan 2015 01:47:29 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases</id><title type="text">Databases</title><updated>2014-07-16T17:20:01Z</updated><link rel="self" title="Databases" href="Databases" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(4)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(4)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(4)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(4)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(4)/DatabaseCopies" /><title /><updated>2014-07-16T17:20:01Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">4</d:Id><d:Name>NewAzureSqlPremiumDatabaseTests_P1</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2014-07-16T17:19:54.297</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>Premium</d:Edition><d:MaxSizeGB m:type="Edm.Int32">10</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">10737418240</d:MaxSizeBytes><d:CollationName>SQL_Latin1_General_CP1_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2014-07-16T10:19:51.33</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime">2014-07-16T17:20:50.983Z</d:RecoveryPeriodStartDate><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry></feed> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 5 + 262 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - Pl48rNQ0Q0LolzYn6C70ExCjy+xRhQxHoZzm+UVg5+zYdNkSdy4DvkCPbQVk93j+cJ1VctG4DVOp649IBqpQX5S8A+e28gVgAsPFUGukzxTWts4OEnasXNR5OQ8yW8taZZgRCIvQcIMidqaMJblLurhqOHi2lCrle2HJ2Mqa6nqX9WmOzC1naAMXprGa6d771dOB2WBYbf3Vr10616HRaogEIdRZkHDOtCRcBJCuO9mTqrlwkNkuPCInIiovtcofwfzJpy2VWh4j/jMxv+jsSqGeVW6F0ZZ8843EarQjKzdeZ9HBfANUFijFTVhAOSpy6aNbGUIVWnzj8GYTiflZmHMT5ts5+6Y3mwWR6fbxfiT2Cp5b4mvDba1tFrSXfb1xRSsE/WqF/+5WURT8qui/+JKs5oyZHvosu3AdcCliGqvAErkNk/Gf23H5cx+cSs+uSN0cLc2Xw9xdd+xK5t+xiGod1TwaEZfgH0w6FYQwjRE7MiTaWFv/376hNpOkDGgALmv/Xjk7FH559yjBDcxxN4sHw6Bloof6ZaCKF9xr9EBvKIk8EMwFdX9jDnoNvnXGFadc/p3rfvX+KEna1NslgSU9Jc1X+7kVaSZsJVZpp3wNHVGulzCWWY0LdBvLRG1DicUNMDBecmp3j6ZpiAmP73HxjuYX67djlSB0FxpyeaUnLyomDykObUw/oXWYuIW+Sbs5eW7lAM65zKNL5+6rLmjAI3Hbzdi7ZIdTmoAymTd4+rqcwsWAnYpVNAvCxI57f9jTHy5eBWGIwBLMMp5Iqg== + x-ms-version + 2012-03-01
x-ms-client-session-id - 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - dc4d642c-e6c1-4b55-97e8-81770e1e8bb4-2014-07-16 17:20:00Z -
-
- Accept-Charset - UTF-8 + ec28b32c-fbe3-4487-b463-66f2810fe49d-2015-01-20 01:47:31Z
- Cookie - .SQLSERVERMANAGEMENT=LTursKkmgxCbAjpLub/ZOQ== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - LTursKkmgxCbAjpLub/ZOQ== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - 2d9d764b-25e6-afd5-0c6f-cf197fb37284 + 7313bb58-d650-4884-870d-a6feaa160fc1
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -18000,161 +50260,129 @@
Content-Type - application/atom+xml;type=entry;charset=utf-8 + application/xml; charset=utf-8
Date - Wed, 16 Jul 2014 17:20:01 GMT + Tue, 20 Jan 2015 01:47:31 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings" /><title /><updated>2014-07-16T17:20:01Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:Id><d:Name>P1</d:Name><d:Description>Premium P1 resource allocation.</d:Description><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 6 + 263 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) - DELETE - AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - Pl48rNQ0Q0LolzYn6C70ExCjy+xRhQxHoZzm+UVg5+zYdNkSdy4DvkCPbQVk93j+cJ1VctG4DVOp649IBqpQX5S8A+e28gVgAsPFUGukzxTWts4OEnasXNR5OQ8yW8taZZgRCIvQcIMidqaMJblLurhqOHi2lCrle2HJ2Mqa6nqX9WmOzC1naAMXprGa6d771dOB2WBYbf3Vr10616HRaogEIdRZkHDOtCRcBJCuO9mTqrlwkNkuPCInIiovtcofwfzJpy2VWh4j/jMxv+jsSqGeVW6F0ZZ8843EarQjKzdeZ9HBfANUFijFTVhAOSpy6aNbGUIVWnzj8GYTiflZmHMT5ts5+6Y3mwWR6fbxfiT2Cp5b4mvDba1tFrSXfb1xRSsE/WqF/+5WURT8qui/+JKs5oyZHvosu3AdcCliGqvAErkNk/Gf23H5cx+cSs+uSN0cLc2Xw9xdd+xK5t+xiGod1TwaEZfgH0w6FYQwjRE7MiTaWFv/376hNpOkDGgALmv/Xjk7FH559yjBDcxxN4sHw6Bloof6ZaCKF9xr9EBvKIk8EMwFdX9jDnoNvnXGFadc/p3rfvX+KEna1NslgSU9Jc1X+7kVaSZsJVZpp3wNHVGulzCWWY0LdBvLRG1DicUNMDBecmp3j6ZpiAmP73HxjuYX67djlSB0FxpyeaUnLyomDykObUw/oXWYuIW+Sbs5eW7lAM65zKNL5+6rLmjAI3Hbzdi7ZIdTmoAymTd4+rqcwsWAnYpVNAvCxI57f9jTHy5eBWGIwBLMMp5Iqg== + x-ms-version + 2012-03-01
x-ms-client-session-id - 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - dc4d642c-e6c1-4b55-97e8-81770e1e8bb4-2014-07-16 17:20:00Z -
-
- Accept-Charset - UTF-8 + 67ccb7af-31e7-4422-8989-53f368f91b04-2015-01-20 01:47:33Z
- Cookie - .SQLSERVERMANAGEMENT=LTursKkmgxCbAjpLub/ZOQ== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - LTursKkmgxCbAjpLub/ZOQ== - - - - + + - application/atom+xml,application/xml +
- NoContent + OK
x-ms-request-id - 2d9d764b-25e6-afd5-0c6f-cf197fb37284 + 887993eb-e9cf-419a-8d26-640bd03c3e49
X-Content-Type-Options nosniff
- DataServiceVersion - 1.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Wed, 16 Jul 2014 17:20:02 GMT + Tue, 20 Jan 2015 01:47:33 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 7 + 264 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'NewAzureSqlPremiumDatabaseTests_P2'&$top=2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - Pl48rNQ0Q0LolzYn6C70ExCjy+xRhQxHoZzm+UVg5+zYdNkSdy4DvkCPbQVk93j+cJ1VctG4DVOp649IBqpQX5S8A+e28gVgAsPFUGukzxTWts4OEnasXNR5OQ8yW8taZZgRCIvQcIMidqaMJblLurhqOHi2lCrle2HJ2Mqa6nqX9WmOzC1naAMXprGa6d771dOB2WBYbf3Vr10616HRaogEIdRZkHDOtCRcBJCuO9mTqrlwkNkuPCInIiovtcofwfzJpy2VWh4j/jMxv+jsSqGeVW6F0ZZ8843EarQjKzdeZ9HBfANUFijFTVhAOSpy6aNbGUIVWnzj8GYTiflZmHMT5ts5+6Y3mwWR6fbxfiT2Cp5b4mvDba1tFrSXfb1xRSsE/WqF/+5WURT8qui/+JKs5oyZHvosu3AdcCliGqvAErkNk/Gf23H5cx+cSs+uSN0cLc2Xw9xdd+xK5t+xiGod1TwaEZfgH0w6FYQwjRE7MiTaWFv/376hNpOkDGgALmv/Xjk7FH559yjBDcxxN4sHw6Bloof6ZaCKF9xr9EBvKIk8EMwFdX9jDnoNvnXGFadc/p3rfvX+KEna1NslgSU9Jc1X+7kVaSZsJVZpp3wNHVGulzCWWY0LdBvLRG1DicUNMDBecmp3j6ZpiAmP73HxjuYX67djlSB0FxpyeaUnLyomDykObUw/oXWYuIW+Sbs5eW7lAM65zKNL5+6rLmjAI3Hbzdi7ZIdTmoAymTd4+rqcwsWAnYpVNAvCxI57f9jTHy5eBWGIwBLMMp5Iqg== + x-ms-version + 2012-03-01
x-ms-client-session-id - 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z -
-
- x-ms-client-request-id - dc4d642c-e6c1-4b55-97e8-81770e1e8bb4-2014-07-16 17:20:00Z -
-
- Accept-Charset - UTF-8 + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
- Cookie - .SQLSERVERMANAGEMENT=LTursKkmgxCbAjpLub/ZOQ== -
-
- - - .SQLSERVERMANAGEMENT - LTursKkmgxCbAjpLub/ZOQ== - - - + x-ms-client-request-id + 1cf77d3c-8f33-434a-bc40-5c32d22a1205-2015-01-20 01:47:35Z +
+
+ Authorization + Bearer abc +
+
+ - application/atom+xml,application/xml +
OK
x-ms-request-id - 2d9d764b-25e6-afd5-0c6f-cf197fb37284 + f8de9e6d-7015-437d-9011-45dfe8817540
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -18162,82 +50390,64 @@
Content-Type - application/atom+xml;type=feed;charset=utf-8 + application/xml; charset=utf-8
Date - Wed, 16 Jul 2014 17:20:02 GMT + Tue, 20 Jan 2015 01:47:36 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases</id><title type="text">Databases</title><updated>2014-07-16T17:20:03Z</updated><link rel="self" title="Databases" href="Databases" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(5)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(5)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(5)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(5)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(5)/DatabaseCopies" /><title /><updated>2014-07-16T17:20:03Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">5</d:Id><d:Name>NewAzureSqlPremiumDatabaseTests_P2</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2014-07-16T17:19:58.127</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>Premium</d:Edition><d:MaxSizeGB m:type="Edm.Int32">10</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">10737418240</d:MaxSizeBytes><d:CollationName>Japanese_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2014-07-16T10:19:54.913</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime">2014-07-16T17:20:54.737Z</d:RecoveryPeriodStartDate><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /><d:QueryStoreStaleQueryThresholdDays m:type="Edm.Int32" m:null="true" /><d:IsSuspended m:type="Edm.Boolean">false</d:IsSuspended></m:properties></content></entry></feed> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 8 + 265 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - Pl48rNQ0Q0LolzYn6C70ExCjy+xRhQxHoZzm+UVg5+zYdNkSdy4DvkCPbQVk93j+cJ1VctG4DVOp649IBqpQX5S8A+e28gVgAsPFUGukzxTWts4OEnasXNR5OQ8yW8taZZgRCIvQcIMidqaMJblLurhqOHi2lCrle2HJ2Mqa6nqX9WmOzC1naAMXprGa6d771dOB2WBYbf3Vr10616HRaogEIdRZkHDOtCRcBJCuO9mTqrlwkNkuPCInIiovtcofwfzJpy2VWh4j/jMxv+jsSqGeVW6F0ZZ8843EarQjKzdeZ9HBfANUFijFTVhAOSpy6aNbGUIVWnzj8GYTiflZmHMT5ts5+6Y3mwWR6fbxfiT2Cp5b4mvDba1tFrSXfb1xRSsE/WqF/+5WURT8qui/+JKs5oyZHvosu3AdcCliGqvAErkNk/Gf23H5cx+cSs+uSN0cLc2Xw9xdd+xK5t+xiGod1TwaEZfgH0w6FYQwjRE7MiTaWFv/376hNpOkDGgALmv/Xjk7FH559yjBDcxxN4sHw6Bloof6ZaCKF9xr9EBvKIk8EMwFdX9jDnoNvnXGFadc/p3rfvX+KEna1NslgSU9Jc1X+7kVaSZsJVZpp3wNHVGulzCWWY0LdBvLRG1DicUNMDBecmp3j6ZpiAmP73HxjuYX67djlSB0FxpyeaUnLyomDykObUw/oXWYuIW+Sbs5eW7lAM65zKNL5+6rLmjAI3Hbzdi7ZIdTmoAymTd4+rqcwsWAnYpVNAvCxI57f9jTHy5eBWGIwBLMMp5Iqg== + x-ms-version + 2012-03-01
x-ms-client-session-id - 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - dc4d642c-e6c1-4b55-97e8-81770e1e8bb4-2014-07-16 17:20:00Z -
-
- Accept-Charset - UTF-8 + 19a0652a-8fa9-4f16-9f12-040a25494774-2015-01-20 01:47:38Z
- Cookie - .SQLSERVERMANAGEMENT=LTursKkmgxCbAjpLub/ZOQ== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - LTursKkmgxCbAjpLub/ZOQ== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - 2d9d764b-25e6-afd5-0c6f-cf197fb37284 + 553a26e9-5d39-41aa-afab-aef892619f60
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -18245,166 +50455,129 @@
Content-Type - application/atom+xml;type=entry;charset=utf-8 + application/xml; charset=utf-8
Date - Wed, 16 Jul 2014 17:20:02 GMT + Tue, 20 Jan 2015 01:47:38 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0')/DimensionSettings" /><title /><updated>2014-07-16T17:20:03Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</d:Id><d:Name>P2</d:Name><d:Description>Premium P2 resource allocation.</d:Description><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 9 + 266 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5) - DELETE - AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - Pl48rNQ0Q0LolzYn6C70ExCjy+xRhQxHoZzm+UVg5+zYdNkSdy4DvkCPbQVk93j+cJ1VctG4DVOp649IBqpQX5S8A+e28gVgAsPFUGukzxTWts4OEnasXNR5OQ8yW8taZZgRCIvQcIMidqaMJblLurhqOHi2lCrle2HJ2Mqa6nqX9WmOzC1naAMXprGa6d771dOB2WBYbf3Vr10616HRaogEIdRZkHDOtCRcBJCuO9mTqrlwkNkuPCInIiovtcofwfzJpy2VWh4j/jMxv+jsSqGeVW6F0ZZ8843EarQjKzdeZ9HBfANUFijFTVhAOSpy6aNbGUIVWnzj8GYTiflZmHMT5ts5+6Y3mwWR6fbxfiT2Cp5b4mvDba1tFrSXfb1xRSsE/WqF/+5WURT8qui/+JKs5oyZHvosu3AdcCliGqvAErkNk/Gf23H5cx+cSs+uSN0cLc2Xw9xdd+xK5t+xiGod1TwaEZfgH0w6FYQwjRE7MiTaWFv/376hNpOkDGgALmv/Xjk7FH559yjBDcxxN4sHw6Bloof6ZaCKF9xr9EBvKIk8EMwFdX9jDnoNvnXGFadc/p3rfvX+KEna1NslgSU9Jc1X+7kVaSZsJVZpp3wNHVGulzCWWY0LdBvLRG1DicUNMDBecmp3j6ZpiAmP73HxjuYX67djlSB0FxpyeaUnLyomDykObUw/oXWYuIW+Sbs5eW7lAM65zKNL5+6rLmjAI3Hbzdi7ZIdTmoAymTd4+rqcwsWAnYpVNAvCxI57f9jTHy5eBWGIwBLMMp5Iqg== + x-ms-version + 2012-03-01
x-ms-client-session-id - 412c953f-d104-44b3-936b-95e24d8a7259-2014-07-16 17:19:50Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - dc4d642c-e6c1-4b55-97e8-81770e1e8bb4-2014-07-16 17:20:00Z -
-
- Accept-Charset - UTF-8 + e35c4802-2211-44de-9b7d-6d5618e5a923-2015-01-20 01:47:40Z
- Cookie - .SQLSERVERMANAGEMENT=LTursKkmgxCbAjpLub/ZOQ== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - LTursKkmgxCbAjpLub/ZOQ== - - - - + + - application/atom+xml,application/xml +
- NoContent + OK
x-ms-request-id - 2d9d764b-25e6-afd5-0c6f-cf197fb37284 + c8b945ac-fd84-4533-a8a3-2f4962216b14
X-Content-Type-Options nosniff
- DataServiceVersion - 1.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Wed, 16 Jul 2014 17:20:05 GMT + Tue, 20 Jan 2015 01:47:40 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- - - - UnitTests.SetAzureSqlDatabaseServiceObjectiveWithSqlAuth - - 7 + 267 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(7)/ServiceObjective + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - WindowsAzurePowershell/v0.7.3.1 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - aGXjWlPHwbnEIF7xh4IAOlnzaj9fgX6ewJsAjdEykzm12qQ8ZCcEx3wRmU1gL9xAWhVSK5a+KHgqDU5MINBgIrtYzE+M+cE8UOygBdJ+B8w4ypr3YF/5b9Pnyk7C30K8Lqfj9HUEg3pZDDDSVDN3r+UN1YDAPQLZI0ylNfRzmSTmVKG2vSJHzZnORxneJyRJ0W9FQYmDbhnpno38fyM2i6q9PGgBA4uMJrZEAIUBp8c2Fo2YqLyp4xKmXukLax+DnKYQykcqUsC71ypgh7o8ZtLaRTPYtM5kCmNRWY6XA9wO3oNC3A09iJvaCuPVpPgCrj26ghTQFIhd1i2K0JzPrAhmFrrPgE2W8h9uwCoU7QtN8lVwMLqAHrEOfKRHzatsVU8Hr2JPNpcz806ecaIYFx6OkwAmfIUTcbBd+SjWwFAIDN2AxXrRnHXVN7yq6z+dfJNsB0jTQ6OPMKfYqwocenxLc3S5KZwMW6VlBucmeQsKRwi7eEfElvHm9ENthNKgLLUaCANeLwf/M15l4k6M1yDCvZ8ruwcw5ZCFXzJWVEf+HLiKXQNebMKBpLCgx/TL5z/FJFebecnHaE/luPFuWarzLFGXDg5VxI20F+7Jl8k0HrQx5kH76PCjGs7luxVAXcgyK8Kn2uD0Fll1yrPQOBMlQwTo8lyzu8W2xTV7GSyHNihZsmsWf7fG913Dr4Nft9qGykuDsqBgQ83Dh0UaYN3a7rCW+ZKHtt17OLcLX1L6+Nr/XA7bhp93isHiNS3zoi04f1qIIqVQVaYIY6i3hg== + x-ms-version + 2012-03-01
x-ms-client-session-id - ef1140f7-7b53-40f4-8288-24516cf8980f-2012-10-08 23:48:38Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - ed5e9fa7-ce70-48a4-a330-868f6e318f45-2013-05-08 21:18:04Z -
-
- Accept-Charset - UTF-8 + 67fab5ff-22ec-41d5-9a38-146f2e82fc6f-2015-01-20 01:47:42Z
- Cookie - .SQLSERVERMANAGEMENT=3Y4zVOxuQwnI3U6C86ChIw== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - 3Y4zVOxuQwnI3U6C86ChIw== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - c94d3c72-84f6-a9ab-a04f-dd9209855014 + cd714bf1-c4be-4c5f-bb8e-b98e10c6cbf1
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -18412,78 +50585,64 @@
Content-Type - application/atom+xml;type=entry;charset=utf-8 + application/xml; charset=utf-8
Date - Wed, 08 May 2013 21:18:07 GMT + Tue, 20 Jan 2015 01:47:43 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')/DimensionSettings" /><title /><updated>2013-05-08T21:18:08Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:Id><d:Name>Shared</d:Name><d:Description>Resource capacity is not reserved.</d:Description><d:IsDefault m:type="Edm.Boolean">true</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 0 + 268 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives()?$filter=Name%20eq%20'P1'&$top=2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - KGuMwKdkAEAmekvfiuEPQANSeyL/gZiYn1bXDjIRJw8wvnqmaFSKIxIDi1W4P2zazf1n2i1TsBMpAQHbicAwS71Q/lTBbO+5MuIe+tX3D6s77uElAXVmkBBf+QDcHQ6PS1XVAcPp8ylyOVCx+tCHJ5rOBvfb168OAdheGjP/PT40Rhn0ANzrNwPzAqJql4kErC2BPLM0bumlXUkH+APhyt3C2afCqtIEPul6pnJtcpzSaEZlxEkpTqOJxYXAsqVPwLux9JKnDkUasBZ+4mwCAKL5/NbN+rmbNZjGKcTT+LpCU8n/xeaqZUJ9a5Wk5vtzroAW/gO+qoForVy7/uYhrCu7YoH164g+saqBAymh6tMUanaw9wLVTdRv8CC1TpGYx02kQrTTVvk72GIkABc6Bmaz+AVxri9Ehsg/DvqEtD6qYFGnggklovAd0PvPN8BHJfLxQSG3RAjyE3xTxariJM3zQmzspFA3zP1cIC4AtQ3FxOaFQrPNbdsN36rqDmzwbjoFR+Q9u9UXVd5b3OhvnobdncqQp/wxq+aEcgtrSpBPx5/rDUpor9rktuqdti77B0703BTtXk2HQS+b8ek2kvRs/qCFbCxN5Cxqk6rJb0InbeJsEG9McLOP6FhGTblIlQSwyrgR30MGjXKqX/Nj6x41+1F856afnHvCoax4FlyleQ6vVqbaPASDZX09CjNkqttGC0KDzF34MXaYD9Db3lSHuKE/yltF0ughBxMR+SIeQnXWNd8d1fLxeAdIL991DxVRsRXwVTm68WCQaR4ShA== + x-ms-version + 2012-03-01
x-ms-client-session-id - 9773bc04-827f-4ef7-9332-fbb87ead8126-2013-06-28 18:54:39Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 68f03aec-3f21-4c3e-897b-4c5c1c03e37f-2013-06-28 18:54:45Z + 60ffddae-d462-4812-94da-98320ca62d9c-2015-01-20 01:47:45Z
- Accept-Charset - UTF-8 -
-
- Cookie - .SQLSERVERMANAGEMENT=hveMZwFSfs1yjf5QsT2osQ== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - hveMZwFSfs1yjf5QsT2osQ== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - 5bb5f5c5-d9e9-d296-dcb0-a15030610d63 + 0fcb4156-63cd-4835-b4e4-1699bbb9ccfb
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -18491,82 +50650,64 @@
Content-Type - application/atom+xml;type=feed;charset=utf-8 + application/xml; charset=utf-8
Date - Fri, 28 Jun 2013 18:54:45 GMT + Tue, 20 Jan 2015 01:47:45 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives</id><title type="text">ServiceObjectives</title><updated>2013-06-28T18:54:45Z</updated><link rel="self" title="ServiceObjectives" href="ServiceObjectives" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings" /><title /><updated>2013-06-28T18:54:45Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:Id><d:Name>P1</d:Name><d:Description>Resource capacity is reserved.</d:Description><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry></feed> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 1 + 269 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - KGuMwKdkAEAmekvfiuEPQANSeyL/gZiYn1bXDjIRJw8wvnqmaFSKIxIDi1W4P2zazf1n2i1TsBMpAQHbicAwS71Q/lTBbO+5MuIe+tX3D6s77uElAXVmkBBf+QDcHQ6PS1XVAcPp8ylyOVCx+tCHJ5rOBvfb168OAdheGjP/PT40Rhn0ANzrNwPzAqJql4kErC2BPLM0bumlXUkH+APhyt3C2afCqtIEPul6pnJtcpzSaEZlxEkpTqOJxYXAsqVPwLux9JKnDkUasBZ+4mwCAKL5/NbN+rmbNZjGKcTT+LpCU8n/xeaqZUJ9a5Wk5vtzroAW/gO+qoForVy7/uYhrCu7YoH164g+saqBAymh6tMUanaw9wLVTdRv8CC1TpGYx02kQrTTVvk72GIkABc6Bmaz+AVxri9Ehsg/DvqEtD6qYFGnggklovAd0PvPN8BHJfLxQSG3RAjyE3xTxariJM3zQmzspFA3zP1cIC4AtQ3FxOaFQrPNbdsN36rqDmzwbjoFR+Q9u9UXVd5b3OhvnobdncqQp/wxq+aEcgtrSpBPx5/rDUpor9rktuqdti77B0703BTtXk2HQS+b8ek2kvRs/qCFbCxN5Cxqk6rJb0InbeJsEG9McLOP6FhGTblIlQSwyrgR30MGjXKqX/Nj6x41+1F856afnHvCoax4FlyleQ6vVqbaPASDZX09CjNkqttGC0KDzF34MXaYD9Db3lSHuKE/yltF0ughBxMR+SIeQnXWNd8d1fLxeAdIL991DxVRsRXwVTm68WCQaR4ShA== + x-ms-version + 2012-03-01
x-ms-client-session-id - 9773bc04-827f-4ef7-9332-fbb87ead8126-2013-06-28 18:54:39Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 68f03aec-3f21-4c3e-897b-4c5c1c03e37f-2013-06-28 18:54:45Z -
-
- Accept-Charset - UTF-8 + 91482da0-4a8e-422e-8089-bce4799ac5ed-2015-01-20 01:47:47Z
- Cookie - .SQLSERVERMANAGEMENT=hveMZwFSfs1yjf5QsT2osQ== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - hveMZwFSfs1yjf5QsT2osQ== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - 5bb5f5c5-d9e9-d296-dcb0-a15030610d63 + 268760d2-3dd8-444b-88eb-40515101bd9f
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -18574,82 +50715,64 @@
Content-Type - application/atom+xml;type=feed;charset=utf-8 + application/xml; charset=utf-8
Date - Fri, 28 Jun 2013 18:54:45 GMT + Tue, 20 Jan 2015 01:47:47 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'7203483a-c4fb-4304-9e9f-17c71c904f5d')/DimensionSettings</id><title type="text">DimensionSettings</title><updated>2013-06-28T18:54:45Z</updated><link rel="self" title="DimensionSettings" href="DimensionSettings" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/DimensionSettings(guid'765fbda3-73c9-4fad-996e-7c0e4e219f68')</id><category term="Microsoft.SqlServer.Management.Server.Domain.DimensionSetting" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="DimensionSetting" href="DimensionSettings(guid'765fbda3-73c9-4fad-996e-7c0e4e219f68')" /><title /><updated>2013-06-28T18:54:45Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">765fbda3-73c9-4fad-996e-7c0e4e219f68</d:Id><d:Name>P1</d:Name><d:Description>Resource capacity is reserved.</d:Description><d:Ordinal m:type="Edm.Byte">3</d:Ordinal><d:IsDefault m:type="Edm.Boolean">false</d:IsDefault></m:properties></content></entry></feed> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 2 + 270 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - KGuMwKdkAEAmekvfiuEPQANSeyL/gZiYn1bXDjIRJw8wvnqmaFSKIxIDi1W4P2zazf1n2i1TsBMpAQHbicAwS71Q/lTBbO+5MuIe+tX3D6s77uElAXVmkBBf+QDcHQ6PS1XVAcPp8ylyOVCx+tCHJ5rOBvfb168OAdheGjP/PT40Rhn0ANzrNwPzAqJql4kErC2BPLM0bumlXUkH+APhyt3C2afCqtIEPul6pnJtcpzSaEZlxEkpTqOJxYXAsqVPwLux9JKnDkUasBZ+4mwCAKL5/NbN+rmbNZjGKcTT+LpCU8n/xeaqZUJ9a5Wk5vtzroAW/gO+qoForVy7/uYhrCu7YoH164g+saqBAymh6tMUanaw9wLVTdRv8CC1TpGYx02kQrTTVvk72GIkABc6Bmaz+AVxri9Ehsg/DvqEtD6qYFGnggklovAd0PvPN8BHJfLxQSG3RAjyE3xTxariJM3zQmzspFA3zP1cIC4AtQ3FxOaFQrPNbdsN36rqDmzwbjoFR+Q9u9UXVd5b3OhvnobdncqQp/wxq+aEcgtrSpBPx5/rDUpor9rktuqdti77B0703BTtXk2HQS+b8ek2kvRs/qCFbCxN5Cxqk6rJb0InbeJsEG9McLOP6FhGTblIlQSwyrgR30MGjXKqX/Nj6x41+1F856afnHvCoax4FlyleQ6vVqbaPASDZX09CjNkqttGC0KDzF34MXaYD9Db3lSHuKE/yltF0ughBxMR+SIeQnXWNd8d1fLxeAdIL991DxVRsRXwVTm68WCQaR4ShA== + x-ms-version + 2012-03-01
x-ms-client-session-id - 9773bc04-827f-4ef7-9332-fbb87ead8126-2013-06-28 18:54:39Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 68f03aec-3f21-4c3e-897b-4c5c1c03e37f-2013-06-28 18:54:45Z -
-
- Accept-Charset - UTF-8 + 3a02d3e2-9206-46b7-a3ea-99f742fcd7b2-2015-01-20 01:47:49Z
- Cookie - .SQLSERVERMANAGEMENT=hveMZwFSfs1yjf5QsT2osQ== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - hveMZwFSfs1yjf5QsT2osQ== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - 5bb5f5c5-d9e9-d296-dcb0-a15030610d63 + ca3c43be-abf6-403a-8765-23712e6c44e9
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -18657,82 +50780,64 @@
Content-Type - application/atom+xml;type=feed;charset=utf-8 + application/xml; charset=utf-8
Date - Fri, 28 Jun 2013 18:54:45 GMT + Tue, 20 Jan 2015 01:47:49 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases</id><title type="text">Databases</title><updated>2013-06-28T18:54:45Z</updated><link rel="self" title="Databases" href="Databases" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(5)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(5)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(5)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(5)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(5)/DatabaseCopies" /><title /><updated>2013-06-28T18:54:45Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">5</d:Id><d:Name>testdb2</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2013-06-28T18:54:45.12</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>Web</d:Edition><d:MaxSizeGB m:type="Edm.Int32">5</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">5368709120</d:MaxSizeBytes><d:CollationName>Japanese_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2013-06-28T11:54:44.697</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime">2013-06-28T18:54:44.697Z</d:RecoveryPeriodStartDate><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /></m:properties></content></entry></feed> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 3 + 271 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - KGuMwKdkAEAmekvfiuEPQANSeyL/gZiYn1bXDjIRJw8wvnqmaFSKIxIDi1W4P2zazf1n2i1TsBMpAQHbicAwS71Q/lTBbO+5MuIe+tX3D6s77uElAXVmkBBf+QDcHQ6PS1XVAcPp8ylyOVCx+tCHJ5rOBvfb168OAdheGjP/PT40Rhn0ANzrNwPzAqJql4kErC2BPLM0bumlXUkH+APhyt3C2afCqtIEPul6pnJtcpzSaEZlxEkpTqOJxYXAsqVPwLux9JKnDkUasBZ+4mwCAKL5/NbN+rmbNZjGKcTT+LpCU8n/xeaqZUJ9a5Wk5vtzroAW/gO+qoForVy7/uYhrCu7YoH164g+saqBAymh6tMUanaw9wLVTdRv8CC1TpGYx02kQrTTVvk72GIkABc6Bmaz+AVxri9Ehsg/DvqEtD6qYFGnggklovAd0PvPN8BHJfLxQSG3RAjyE3xTxariJM3zQmzspFA3zP1cIC4AtQ3FxOaFQrPNbdsN36rqDmzwbjoFR+Q9u9UXVd5b3OhvnobdncqQp/wxq+aEcgtrSpBPx5/rDUpor9rktuqdti77B0703BTtXk2HQS+b8ek2kvRs/qCFbCxN5Cxqk6rJb0InbeJsEG9McLOP6FhGTblIlQSwyrgR30MGjXKqX/Nj6x41+1F856afnHvCoax4FlyleQ6vVqbaPASDZX09CjNkqttGC0KDzF34MXaYD9Db3lSHuKE/yltF0ughBxMR+SIeQnXWNd8d1fLxeAdIL991DxVRsRXwVTm68WCQaR4ShA== + x-ms-version + 2012-03-01
x-ms-client-session-id - 9773bc04-827f-4ef7-9332-fbb87ead8126-2013-06-28 18:54:39Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 68f03aec-3f21-4c3e-897b-4c5c1c03e37f-2013-06-28 18:54:45Z -
-
- Accept-Charset - UTF-8 + ef14bb37-ffc2-4406-95d9-88870d37ba24-2015-01-20 01:47:51Z
- Cookie - .SQLSERVERMANAGEMENT=hveMZwFSfs1yjf5QsT2osQ== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - hveMZwFSfs1yjf5QsT2osQ== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - 5bb5f5c5-d9e9-d296-dcb0-a15030610d63 + 531dc69d-a7eb-4051-8a76-33919d5d0720
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -18740,204 +50845,129 @@
Content-Type - application/atom+xml;type=entry;charset=utf-8 + application/xml; charset=utf-8
Date - Fri, 28 Jun 2013 18:54:45 GMT + Tue, 20 Jan 2015 01:47:52 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')/DimensionSettings" /><title /><updated>2013-06-28T18:54:45Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:Id><d:Name>Shared</d:Name><d:Description>Resource capacity is not reserved.</d:Description><d:IsDefault m:type="Edm.Boolean">true</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 4 + 272 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5) - MERGE - AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - KGuMwKdkAEAmekvfiuEPQANSeyL/gZiYn1bXDjIRJw8wvnqmaFSKIxIDi1W4P2zazf1n2i1TsBMpAQHbicAwS71Q/lTBbO+5MuIe+tX3D6s77uElAXVmkBBf+QDcHQ6PS1XVAcPp8ylyOVCx+tCHJ5rOBvfb168OAdheGjP/PT40Rhn0ANzrNwPzAqJql4kErC2BPLM0bumlXUkH+APhyt3C2afCqtIEPul6pnJtcpzSaEZlxEkpTqOJxYXAsqVPwLux9JKnDkUasBZ+4mwCAKL5/NbN+rmbNZjGKcTT+LpCU8n/xeaqZUJ9a5Wk5vtzroAW/gO+qoForVy7/uYhrCu7YoH164g+saqBAymh6tMUanaw9wLVTdRv8CC1TpGYx02kQrTTVvk72GIkABc6Bmaz+AVxri9Ehsg/DvqEtD6qYFGnggklovAd0PvPN8BHJfLxQSG3RAjyE3xTxariJM3zQmzspFA3zP1cIC4AtQ3FxOaFQrPNbdsN36rqDmzwbjoFR+Q9u9UXVd5b3OhvnobdncqQp/wxq+aEcgtrSpBPx5/rDUpor9rktuqdti77B0703BTtXk2HQS+b8ek2kvRs/qCFbCxN5Cxqk6rJb0InbeJsEG9McLOP6FhGTblIlQSwyrgR30MGjXKqX/Nj6x41+1F856afnHvCoax4FlyleQ6vVqbaPASDZX09CjNkqttGC0KDzF34MXaYD9Db3lSHuKE/yltF0ughBxMR+SIeQnXWNd8d1fLxeAdIL991DxVRsRXwVTm68WCQaR4ShA== + x-ms-version + 2012-03-01
x-ms-client-session-id - 9773bc04-827f-4ef7-9332-fbb87ead8126-2013-06-28 18:54:39Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 68f03aec-3f21-4c3e-897b-4c5c1c03e37f-2013-06-28 18:54:45Z -
-
- Accept-Charset - UTF-8 + 368f59d3-828f-4776-9215-912be0b331e6-2015-01-20 01:47:54Z
- Cookie - .SQLSERVERMANAGEMENT=hveMZwFSfs1yjf5QsT2osQ== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - hveMZwFSfs1yjf5QsT2osQ== - - - - - <?xml version="1.0" encoding="utf-8" standalone="yes"?> - <entry xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom"> - <category scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" term="Microsoft.SqlServer.Management.Server.Domain.Database" /> - <title /> - <author> - <name /> - </author> - <updated>2013-06-28T18:54:45.5007453Z</updated> - <id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)</id> - <content type="application/xml"> - <m:properties> - <d:AssignedServiceObjectiveId m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:AssignedServiceObjectiveId> - <d:CollationName>Japanese_CI_AS</d:CollationName> - <d:CreationDate m:type="Edm.DateTime">2013-06-28T11:54:44.697</d:CreationDate> - <d:Edition m:null="true" /> - <d:Id m:type="Edm.Int32">5</d:Id> - <d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember> - <d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot> - <d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn> - <d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /> - <d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly> - <d:IsRecursiveTriggersOn m:type="Edm.Boolean" m:null="true" /> - <d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject> - <d:MaxSizeBytes m:type="Edm.Int64">5368709120</d:MaxSizeBytes> - <d:MaxSizeGB m:type="Edm.Int32" m:null="true" /> - <d:Name>testdb2</d:Name> - <d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /> - <d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /> - <d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /> - <d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /> - <d:RecoveryPeriodStartDate m:type="Edm.DateTime">2013-06-28T18:54:44.697Z</d:RecoveryPeriodStartDate> - <d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode> - <d:ServiceObjectiveAssignmentErrorDescription m:null="true" /> - <d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState> - <d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription> - <d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2013-06-28T18:54:45.12</d:ServiceObjectiveAssignmentSuccessDate> - <d:ServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:ServiceObjectiveId> - <d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB> - <d:Status m:type="Edm.Int32">1</d:Status> - </m:properties> - </content> - </entry> - - application/atom+xml - application/atom+xml,application/xml + + + +
- NoContent + OK
x-ms-request-id - 5bb5f5c5-d9e9-d296-dcb0-a15030610d63 + eb680f97-8ec6-4ec4-a353-454505dd3e01
X-Content-Type-Options nosniff
- DataServiceVersion - 1.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Fri, 28 Jun 2013 18:54:45 GMT + Tue, 20 Jan 2015 01:47:54 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 5 + 273 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - KGuMwKdkAEAmekvfiuEPQANSeyL/gZiYn1bXDjIRJw8wvnqmaFSKIxIDi1W4P2zazf1n2i1TsBMpAQHbicAwS71Q/lTBbO+5MuIe+tX3D6s77uElAXVmkBBf+QDcHQ6PS1XVAcPp8ylyOVCx+tCHJ5rOBvfb168OAdheGjP/PT40Rhn0ANzrNwPzAqJql4kErC2BPLM0bumlXUkH+APhyt3C2afCqtIEPul6pnJtcpzSaEZlxEkpTqOJxYXAsqVPwLux9JKnDkUasBZ+4mwCAKL5/NbN+rmbNZjGKcTT+LpCU8n/xeaqZUJ9a5Wk5vtzroAW/gO+qoForVy7/uYhrCu7YoH164g+saqBAymh6tMUanaw9wLVTdRv8CC1TpGYx02kQrTTVvk72GIkABc6Bmaz+AVxri9Ehsg/DvqEtD6qYFGnggklovAd0PvPN8BHJfLxQSG3RAjyE3xTxariJM3zQmzspFA3zP1cIC4AtQ3FxOaFQrPNbdsN36rqDmzwbjoFR+Q9u9UXVd5b3OhvnobdncqQp/wxq+aEcgtrSpBPx5/rDUpor9rktuqdti77B0703BTtXk2HQS+b8ek2kvRs/qCFbCxN5Cxqk6rJb0InbeJsEG9McLOP6FhGTblIlQSwyrgR30MGjXKqX/Nj6x41+1F856afnHvCoax4FlyleQ6vVqbaPASDZX09CjNkqttGC0KDzF34MXaYD9Db3lSHuKE/yltF0ughBxMR+SIeQnXWNd8d1fLxeAdIL991DxVRsRXwVTm68WCQaR4ShA== + x-ms-version + 2012-03-01
x-ms-client-session-id - 9773bc04-827f-4ef7-9332-fbb87ead8126-2013-06-28 18:54:39Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 68f03aec-3f21-4c3e-897b-4c5c1c03e37f-2013-06-28 18:54:45Z -
-
- Accept-Charset - UTF-8 + 4155d964-50ea-47ed-8029-f2ead234a556-2015-01-20 01:47:56Z
- Cookie - .SQLSERVERMANAGEMENT=hveMZwFSfs1yjf5QsT2osQ== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - hveMZwFSfs1yjf5QsT2osQ== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - 5bb5f5c5-d9e9-d296-dcb0-a15030610d63 + a4274d68-5b3f-4f81-ae82-d697ddc1bd70
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -18945,82 +50975,64 @@
Content-Type - application/atom+xml;type=feed;charset=utf-8 + application/xml; charset=utf-8
Date - Fri, 28 Jun 2013 18:54:45 GMT + Tue, 20 Jan 2015 01:47:56 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases</id><title type="text">Databases</title><updated>2013-06-28T18:54:45Z</updated><link rel="self" title="Databases" href="Databases" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(5)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(5)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(5)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(5)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(5)/DatabaseCopies" /><title /><updated>2013-06-28T18:54:45Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">5</d:Id><d:Name>testdb2</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">7203483a-c4fb-4304-9e9f-17c71c904f5d</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">0</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Pending</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2013-06-28T18:54:45.12</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>Web</d:Edition><d:MaxSizeGB m:type="Edm.Int32">5</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">5368709120</d:MaxSizeBytes><d:CollationName>Japanese_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2013-06-28T11:54:44.697</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime">2013-06-28T18:54:44.697Z</d:RecoveryPeriodStartDate><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /></m:properties></content></entry></feed> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 6 + 274 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - KGuMwKdkAEAmekvfiuEPQANSeyL/gZiYn1bXDjIRJw8wvnqmaFSKIxIDi1W4P2zazf1n2i1TsBMpAQHbicAwS71Q/lTBbO+5MuIe+tX3D6s77uElAXVmkBBf+QDcHQ6PS1XVAcPp8ylyOVCx+tCHJ5rOBvfb168OAdheGjP/PT40Rhn0ANzrNwPzAqJql4kErC2BPLM0bumlXUkH+APhyt3C2afCqtIEPul6pnJtcpzSaEZlxEkpTqOJxYXAsqVPwLux9JKnDkUasBZ+4mwCAKL5/NbN+rmbNZjGKcTT+LpCU8n/xeaqZUJ9a5Wk5vtzroAW/gO+qoForVy7/uYhrCu7YoH164g+saqBAymh6tMUanaw9wLVTdRv8CC1TpGYx02kQrTTVvk72GIkABc6Bmaz+AVxri9Ehsg/DvqEtD6qYFGnggklovAd0PvPN8BHJfLxQSG3RAjyE3xTxariJM3zQmzspFA3zP1cIC4AtQ3FxOaFQrPNbdsN36rqDmzwbjoFR+Q9u9UXVd5b3OhvnobdncqQp/wxq+aEcgtrSpBPx5/rDUpor9rktuqdti77B0703BTtXk2HQS+b8ek2kvRs/qCFbCxN5Cxqk6rJb0InbeJsEG9McLOP6FhGTblIlQSwyrgR30MGjXKqX/Nj6x41+1F856afnHvCoax4FlyleQ6vVqbaPASDZX09CjNkqttGC0KDzF34MXaYD9Db3lSHuKE/yltF0ughBxMR+SIeQnXWNd8d1fLxeAdIL991DxVRsRXwVTm68WCQaR4ShA== + x-ms-version + 2012-03-01
x-ms-client-session-id - 9773bc04-827f-4ef7-9332-fbb87ead8126-2013-06-28 18:54:39Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 68f03aec-3f21-4c3e-897b-4c5c1c03e37f-2013-06-28 18:54:45Z -
-
- Accept-Charset - UTF-8 + 93db3404-605f-4efc-a3f8-623fdc723486-2015-01-20 01:47:58Z
- Cookie - .SQLSERVERMANAGEMENT=hveMZwFSfs1yjf5QsT2osQ== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - hveMZwFSfs1yjf5QsT2osQ== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - 5bb5f5c5-d9e9-d296-dcb0-a15030610d63 + dfce46f4-57b0-4ffd-b803-476d140d94cf
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -19028,87 +51040,64 @@
Content-Type - application/atom+xml;type=entry;charset=utf-8 + application/xml; charset=utf-8
Date - Fri, 28 Jun 2013 18:54:45 GMT + Tue, 20 Jan 2015 01:47:58 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')/DimensionSettings" /><title /><updated>2013-06-28T18:54:45Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:Id><d:Name>Shared</d:Name><d:Description>Resource capacity is not reserved.</d:Description><d:IsDefault m:type="Edm.Boolean">true</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
-
-
- - UnitTest.Common.RemoveTestDatabasesWithSqlAuth - - 0 + 275 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb1'&$top=2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - QUEHI+CeF7bu0N0bUz2v1JuXPrKljYQ+mhLLC5PJeh4YX9psW8ACYgZEjgeqOGd8E7kme+QFhKrJHlnK9LKubXIQnsdDxOpXWtBXcXeV3DvaTerIQte1eFvCXhfBRhWnGN9ysNJY6d2b7zY8aIVRGO8oWPQ1L1vizlvM53Mjo2d+M+IY6s2H2KE7Oe80G74SEnsv5BLSu8mCdt+aifn4IoNl6T658QTYAv7oX2Gz4z80N8PHswynFBOmtQNW/1R0jFQCdGjUgnmodkf8Da8afyH96JTONe+cx+ve0HlPtIlC2YKr5ohJg6PTgXuJvaMtaDFaeyl0WsLymBCUqQpoz1zUDHpCPub8Vdin/TqLR7FMfixnZUF6aEoI9bH6R7+OzJQj9409xGNJx2ZdpEw0cCMazLV2HH5kIk98e3s91j2vOjYIT511ugp6dUEJ9fU2cQxEvwlVwPcivrm4FLPKuL/XoihgWdgx8zBID1lkW81saHKMfAZHF0f+riC2wiSkpIkdp/cjk8KG8xdbs1zwjAcRFRlGiMtqnX1OIOZvP5Gcdzi/MkO8njJJyTJZuKTraO/bzDtkeLyC272o+UOB+4IMCjDiDSPtCFYeblqqFZKxBmDKTYu9snoCi0CHF3b7gSOtn3EqgWCte5Fe5B5fDhN8+UT2GZ0y+6u6i6dL8bSHKLNdAMX/z4ilncQR5t0bBM9Ry77XRs/pN1tnE65mZ9oxCd/I3SpTUxFhO2ZJWb9OcTVDVnEspappAUYpYXN+qJBnzfCvcNYynfyQxdUbgA== + x-ms-version + 2012-03-01
x-ms-client-session-id - 9773bc04-827f-4ef7-9332-fbb87ead8126-2013-06-28 18:54:39Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 9f1a8dee-d3b9-43a9-a3a5-a78ea42c9b54-2013-06-28 18:55:03Z + 5534da08-8e08-4fcd-8c69-a2d6b02ec28a-2015-01-20 01:48:00Z
- Accept-Charset - UTF-8 -
-
- Cookie - .SQLSERVERMANAGEMENT=6wHW7S6FaCJ0zkOt7dw6PA== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - 6wHW7S6FaCJ0zkOt7dw6PA== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - fbbd93c8-3d3a-8ef2-a7f2-918558547429 + 09170c46-e24f-4b3a-b92f-e34124dabda0
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -19116,82 +51105,64 @@
Content-Type - application/atom+xml;type=feed;charset=utf-8 + application/xml; charset=utf-8
Date - Fri, 28 Jun 2013 18:55:03 GMT + Tue, 20 Jan 2015 01:48:01 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases</id><title type="text">Databases</title><updated>2013-06-28T18:55:03Z</updated><link rel="self" title="Databases" href="Databases" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(4)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(4)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(4)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(4)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(4)/DatabaseCopies" /><title /><updated>2013-06-28T18:55:03Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">4</d:Id><d:Name>testdb1</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2013-06-28T18:55:01.64</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>Web</d:Edition><d:MaxSizeGB m:type="Edm.Int32">1</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">1073741824</d:MaxSizeBytes><d:CollationName>SQL_Latin1_General_CP1_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2013-06-28T11:55:03.02</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime">2013-06-28T18:55:03.02Z</d:RecoveryPeriodStartDate><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /></m:properties></content></entry></feed> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 1 + 276 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4)/ServiceObjective + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - QUEHI+CeF7bu0N0bUz2v1JuXPrKljYQ+mhLLC5PJeh4YX9psW8ACYgZEjgeqOGd8E7kme+QFhKrJHlnK9LKubXIQnsdDxOpXWtBXcXeV3DvaTerIQte1eFvCXhfBRhWnGN9ysNJY6d2b7zY8aIVRGO8oWPQ1L1vizlvM53Mjo2d+M+IY6s2H2KE7Oe80G74SEnsv5BLSu8mCdt+aifn4IoNl6T658QTYAv7oX2Gz4z80N8PHswynFBOmtQNW/1R0jFQCdGjUgnmodkf8Da8afyH96JTONe+cx+ve0HlPtIlC2YKr5ohJg6PTgXuJvaMtaDFaeyl0WsLymBCUqQpoz1zUDHpCPub8Vdin/TqLR7FMfixnZUF6aEoI9bH6R7+OzJQj9409xGNJx2ZdpEw0cCMazLV2HH5kIk98e3s91j2vOjYIT511ugp6dUEJ9fU2cQxEvwlVwPcivrm4FLPKuL/XoihgWdgx8zBID1lkW81saHKMfAZHF0f+riC2wiSkpIkdp/cjk8KG8xdbs1zwjAcRFRlGiMtqnX1OIOZvP5Gcdzi/MkO8njJJyTJZuKTraO/bzDtkeLyC272o+UOB+4IMCjDiDSPtCFYeblqqFZKxBmDKTYu9snoCi0CHF3b7gSOtn3EqgWCte5Fe5B5fDhN8+UT2GZ0y+6u6i6dL8bSHKLNdAMX/z4ilncQR5t0bBM9Ry77XRs/pN1tnE65mZ9oxCd/I3SpTUxFhO2ZJWb9OcTVDVnEspappAUYpYXN+qJBnzfCvcNYynfyQxdUbgA== + x-ms-version + 2012-03-01
x-ms-client-session-id - 9773bc04-827f-4ef7-9332-fbb87ead8126-2013-06-28 18:54:39Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 9f1a8dee-d3b9-43a9-a3a5-a78ea42c9b54-2013-06-28 18:55:03Z -
-
- Accept-Charset - UTF-8 + 48a5ac8d-ae98-422a-b083-e72257421fc8-2015-01-20 01:48:03Z
- Cookie - .SQLSERVERMANAGEMENT=6wHW7S6FaCJ0zkOt7dw6PA== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - 6wHW7S6FaCJ0zkOt7dw6PA== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - fbbd93c8-3d3a-8ef2-a7f2-918558547429 + b4eb23d9-355e-44d0-ad0d-83949e21da6b
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -19199,161 +51170,129 @@
Content-Type - application/atom+xml;type=entry;charset=utf-8 + application/xml; charset=utf-8
Date - Fri, 28 Jun 2013 18:55:03 GMT + Tue, 20 Jan 2015 01:48:03 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')/DimensionSettings" /><title /><updated>2013-06-28T18:55:03Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:Id><d:Name>Shared</d:Name><d:Description>Resource capacity is not reserved.</d:Description><d:IsDefault m:type="Edm.Boolean">true</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 2 + 277 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(4) - DELETE - AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - QUEHI+CeF7bu0N0bUz2v1JuXPrKljYQ+mhLLC5PJeh4YX9psW8ACYgZEjgeqOGd8E7kme+QFhKrJHlnK9LKubXIQnsdDxOpXWtBXcXeV3DvaTerIQte1eFvCXhfBRhWnGN9ysNJY6d2b7zY8aIVRGO8oWPQ1L1vizlvM53Mjo2d+M+IY6s2H2KE7Oe80G74SEnsv5BLSu8mCdt+aifn4IoNl6T658QTYAv7oX2Gz4z80N8PHswynFBOmtQNW/1R0jFQCdGjUgnmodkf8Da8afyH96JTONe+cx+ve0HlPtIlC2YKr5ohJg6PTgXuJvaMtaDFaeyl0WsLymBCUqQpoz1zUDHpCPub8Vdin/TqLR7FMfixnZUF6aEoI9bH6R7+OzJQj9409xGNJx2ZdpEw0cCMazLV2HH5kIk98e3s91j2vOjYIT511ugp6dUEJ9fU2cQxEvwlVwPcivrm4FLPKuL/XoihgWdgx8zBID1lkW81saHKMfAZHF0f+riC2wiSkpIkdp/cjk8KG8xdbs1zwjAcRFRlGiMtqnX1OIOZvP5Gcdzi/MkO8njJJyTJZuKTraO/bzDtkeLyC272o+UOB+4IMCjDiDSPtCFYeblqqFZKxBmDKTYu9snoCi0CHF3b7gSOtn3EqgWCte5Fe5B5fDhN8+UT2GZ0y+6u6i6dL8bSHKLNdAMX/z4ilncQR5t0bBM9Ry77XRs/pN1tnE65mZ9oxCd/I3SpTUxFhO2ZJWb9OcTVDVnEspappAUYpYXN+qJBnzfCvcNYynfyQxdUbgA== + x-ms-version + 2012-03-01
x-ms-client-session-id - 9773bc04-827f-4ef7-9332-fbb87ead8126-2013-06-28 18:54:39Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 9f1a8dee-d3b9-43a9-a3a5-a78ea42c9b54-2013-06-28 18:55:03Z -
-
- Accept-Charset - UTF-8 + 2b6cae06-e1d4-480a-822f-ea3eb6b2c87f-2015-01-20 01:48:05Z
- Cookie - .SQLSERVERMANAGEMENT=6wHW7S6FaCJ0zkOt7dw6PA== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - 6wHW7S6FaCJ0zkOt7dw6PA== - - - - - application/atom+xml - application/atom+xml,application/xml + + + +
- NoContent + OK
x-ms-request-id - fbbd93c8-3d3a-8ef2-a7f2-918558547429 + 83f8e553-8174-4253-b97a-60ceeed78122
X-Content-Type-Options nosniff
- DataServiceVersion - 1.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Fri, 28 Jun 2013 18:55:03 GMT + Tue, 20 Jan 2015 01:48:06 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 3 + 278 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases()?$filter=Name%20eq%20'testdb2'&$top=2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - QUEHI+CeF7bu0N0bUz2v1JuXPrKljYQ+mhLLC5PJeh4YX9psW8ACYgZEjgeqOGd8E7kme+QFhKrJHlnK9LKubXIQnsdDxOpXWtBXcXeV3DvaTerIQte1eFvCXhfBRhWnGN9ysNJY6d2b7zY8aIVRGO8oWPQ1L1vizlvM53Mjo2d+M+IY6s2H2KE7Oe80G74SEnsv5BLSu8mCdt+aifn4IoNl6T658QTYAv7oX2Gz4z80N8PHswynFBOmtQNW/1R0jFQCdGjUgnmodkf8Da8afyH96JTONe+cx+ve0HlPtIlC2YKr5ohJg6PTgXuJvaMtaDFaeyl0WsLymBCUqQpoz1zUDHpCPub8Vdin/TqLR7FMfixnZUF6aEoI9bH6R7+OzJQj9409xGNJx2ZdpEw0cCMazLV2HH5kIk98e3s91j2vOjYIT511ugp6dUEJ9fU2cQxEvwlVwPcivrm4FLPKuL/XoihgWdgx8zBID1lkW81saHKMfAZHF0f+riC2wiSkpIkdp/cjk8KG8xdbs1zwjAcRFRlGiMtqnX1OIOZvP5Gcdzi/MkO8njJJyTJZuKTraO/bzDtkeLyC272o+UOB+4IMCjDiDSPtCFYeblqqFZKxBmDKTYu9snoCi0CHF3b7gSOtn3EqgWCte5Fe5B5fDhN8+UT2GZ0y+6u6i6dL8bSHKLNdAMX/z4ilncQR5t0bBM9Ry77XRs/pN1tnE65mZ9oxCd/I3SpTUxFhO2ZJWb9OcTVDVnEspappAUYpYXN+qJBnzfCvcNYynfyQxdUbgA== + x-ms-version + 2012-03-01
x-ms-client-session-id - 9773bc04-827f-4ef7-9332-fbb87ead8126-2013-06-28 18:54:39Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 9f1a8dee-d3b9-43a9-a3a5-a78ea42c9b54-2013-06-28 18:55:03Z + b6748eeb-ca2f-4eb2-b0ce-4bd0e7997610-2015-01-20 01:48:08Z
- Accept-Charset - UTF-8 -
-
- Cookie - .SQLSERVERMANAGEMENT=6wHW7S6FaCJ0zkOt7dw6PA== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - 6wHW7S6FaCJ0zkOt7dw6PA== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - fbbd93c8-3d3a-8ef2-a7f2-918558547429 + 9fa23195-df44-4693-9043-1cd7716beaa5
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -19361,82 +51300,64 @@
Content-Type - application/atom+xml;type=feed;charset=utf-8 + application/xml; charset=utf-8
Date - Fri, 28 Jun 2013 18:55:03 GMT + Tue, 20 Jan 2015 01:48:08 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases</id><title type="text">Databases</title><updated>2013-06-28T18:55:03Z</updated><link rel="self" title="Databases" href="Databases" /><entry><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)</id><category term="Microsoft.SqlServer.Management.Server.Domain.Database" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="Database" href="Databases(5)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Server" type="application/atom+xml;type=entry" title="Server" href="Databases(5)/Server" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ServiceObjective" type="application/atom+xml;type=entry" title="ServiceObjective" href="Databases(5)/ServiceObjective" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseMetrics" type="application/atom+xml;type=entry" title="DatabaseMetrics" href="Databases(5)/DatabaseMetrics" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DatabaseCopies" type="application/atom+xml;type=feed" title="DatabaseCopies" href="Databases(5)/DatabaseCopies" /><title /><updated>2013-06-28T18:55:03Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Int32">5</d:Id><d:Name>testdb2</d:Name><d:ServiceObjectiveId m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:ServiceObjectiveId><d:AssignedServiceObjectiveId m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:AssignedServiceObjectiveId><d:ServiceObjectiveAssignmentState m:type="Edm.Byte">1</d:ServiceObjectiveAssignmentState><d:ServiceObjectiveAssignmentStateDescription>Complete</d:ServiceObjectiveAssignmentStateDescription><d:ServiceObjectiveAssignmentErrorCode m:type="Edm.Int32">0</d:ServiceObjectiveAssignmentErrorCode><d:ServiceObjectiveAssignmentErrorDescription m:null="true" /><d:ServiceObjectiveAssignmentSuccessDate m:type="Edm.DateTime">2013-06-28T18:55:02.163</d:ServiceObjectiveAssignmentSuccessDate><d:Edition>Web</d:Edition><d:MaxSizeGB m:type="Edm.Int32">5</d:MaxSizeGB><d:MaxSizeBytes m:type="Edm.Int64">5368709120</d:MaxSizeBytes><d:CollationName>Japanese_CI_AS</d:CollationName><d:CreationDate m:type="Edm.DateTime">2013-06-28T11:55:01.81</d:CreationDate><d:RecoveryPeriodStartDate m:type="Edm.DateTime">2013-06-28T18:55:01.81Z</d:RecoveryPeriodStartDate><d:IsSystemObject m:type="Edm.Boolean">false</d:IsSystemObject><d:Status m:type="Edm.Int32">1</d:Status><d:IsFederationRoot m:type="Edm.Boolean">false</d:IsFederationRoot><d:SizeMB m:type="Edm.Decimal">-1.00</d:SizeMB><d:IsRecursiveTriggersOn m:type="Edm.Boolean">false</d:IsRecursiveTriggersOn><d:IsReadOnly m:type="Edm.Boolean">false</d:IsReadOnly><d:IsFederationMember m:type="Edm.Boolean">false</d:IsFederationMember><d:IsQueryStoreOn m:type="Edm.Boolean">false</d:IsQueryStoreOn><d:IsQueryStoreReadOnly m:type="Edm.Boolean" m:null="true" /><d:QueryStoreMaxSizeMB m:type="Edm.Int32" m:null="true" /><d:QueryStoreFlushPeriodSeconds m:type="Edm.Int32" m:null="true" /><d:QueryStoreIntervalLengthMinutes m:type="Edm.Int32" m:null="true" /><d:QueryStoreClearAll m:type="Edm.Boolean" m:null="true" /></m:properties></content></entry></feed> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 4 + 279 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5)/ServiceObjective + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - QUEHI+CeF7bu0N0bUz2v1JuXPrKljYQ+mhLLC5PJeh4YX9psW8ACYgZEjgeqOGd8E7kme+QFhKrJHlnK9LKubXIQnsdDxOpXWtBXcXeV3DvaTerIQte1eFvCXhfBRhWnGN9ysNJY6d2b7zY8aIVRGO8oWPQ1L1vizlvM53Mjo2d+M+IY6s2H2KE7Oe80G74SEnsv5BLSu8mCdt+aifn4IoNl6T658QTYAv7oX2Gz4z80N8PHswynFBOmtQNW/1R0jFQCdGjUgnmodkf8Da8afyH96JTONe+cx+ve0HlPtIlC2YKr5ohJg6PTgXuJvaMtaDFaeyl0WsLymBCUqQpoz1zUDHpCPub8Vdin/TqLR7FMfixnZUF6aEoI9bH6R7+OzJQj9409xGNJx2ZdpEw0cCMazLV2HH5kIk98e3s91j2vOjYIT511ugp6dUEJ9fU2cQxEvwlVwPcivrm4FLPKuL/XoihgWdgx8zBID1lkW81saHKMfAZHF0f+riC2wiSkpIkdp/cjk8KG8xdbs1zwjAcRFRlGiMtqnX1OIOZvP5Gcdzi/MkO8njJJyTJZuKTraO/bzDtkeLyC272o+UOB+4IMCjDiDSPtCFYeblqqFZKxBmDKTYu9snoCi0CHF3b7gSOtn3EqgWCte5Fe5B5fDhN8+UT2GZ0y+6u6i6dL8bSHKLNdAMX/z4ilncQR5t0bBM9Ry77XRs/pN1tnE65mZ9oxCd/I3SpTUxFhO2ZJWb9OcTVDVnEspappAUYpYXN+qJBnzfCvcNYynfyQxdUbgA== + x-ms-version + 2012-03-01
x-ms-client-session-id - 9773bc04-827f-4ef7-9332-fbb87ead8126-2013-06-28 18:54:39Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 9f1a8dee-d3b9-43a9-a3a5-a78ea42c9b54-2013-06-28 18:55:03Z -
-
- Accept-Charset - UTF-8 + 6d873ed9-4364-45ce-91e0-15e73a0a4b65-2015-01-20 01:48:10Z
- Cookie - .SQLSERVERMANAGEMENT=6wHW7S6FaCJ0zkOt7dw6PA== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - 6wHW7S6FaCJ0zkOt7dw6PA== - - - + - application/atom+xml,application/xml +
OK
x-ms-request-id - fbbd93c8-3d3a-8ef2-a7f2-918558547429 + 5bbb2db4-9714-4744-ba93-a8efb8513596
X-Content-Type-Options nosniff
- DataServiceVersion - 2.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -19444,135 +51365,133 @@
Content-Type - application/atom+xml;type=entry;charset=utf-8 + application/xml; charset=utf-8
Date - Fri, 28 Jun 2013 18:55:03 GMT + Tue, 20 Jan 2015 01:48:10 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><id>http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')</id><category term="Microsoft.SqlServer.Management.Server.Domain.ServiceObjective" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" title="ServiceObjective" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/DimensionSettings" type="application/atom+xml;type=feed" title="DimensionSettings" href="ServiceObjectives(guid'910b4fcb-8a29-4c3e-958f-f7ba794388b2')/DimensionSettings" /><title /><updated>2013-06-28T18:55:03Z</updated><author><name /></author><content type="application/xml"><m:properties><d:Id m:type="Edm.Guid">910b4fcb-8a29-4c3e-958f-f7ba794388b2</d:Id><d:Name>Shared</d:Name><d:Description>Resource capacity is not reserved.</d:Description><d:IsDefault m:type="Edm.Boolean">true</d:IsDefault><d:IsSystem m:type="Edm.Boolean">false</d:IsSystem><d:Enabled m:type="Edm.Boolean">true</d:Enabled></m:properties></content></entry> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 5 + 280 - http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/Databases(5) - DELETE - AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
- DataServiceVersion - 1.0;NetFx -
-
- MaxDataServiceVersion - 2.0;NetFx -
-
- AccessToken - QUEHI+CeF7bu0N0bUz2v1JuXPrKljYQ+mhLLC5PJeh4YX9psW8ACYgZEjgeqOGd8E7kme+QFhKrJHlnK9LKubXIQnsdDxOpXWtBXcXeV3DvaTerIQte1eFvCXhfBRhWnGN9ysNJY6d2b7zY8aIVRGO8oWPQ1L1vizlvM53Mjo2d+M+IY6s2H2KE7Oe80G74SEnsv5BLSu8mCdt+aifn4IoNl6T658QTYAv7oX2Gz4z80N8PHswynFBOmtQNW/1R0jFQCdGjUgnmodkf8Da8afyH96JTONe+cx+ve0HlPtIlC2YKr5ohJg6PTgXuJvaMtaDFaeyl0WsLymBCUqQpoz1zUDHpCPub8Vdin/TqLR7FMfixnZUF6aEoI9bH6R7+OzJQj9409xGNJx2ZdpEw0cCMazLV2HH5kIk98e3s91j2vOjYIT511ugp6dUEJ9fU2cQxEvwlVwPcivrm4FLPKuL/XoihgWdgx8zBID1lkW81saHKMfAZHF0f+riC2wiSkpIkdp/cjk8KG8xdbs1zwjAcRFRlGiMtqnX1OIOZvP5Gcdzi/MkO8njJJyTJZuKTraO/bzDtkeLyC272o+UOB+4IMCjDiDSPtCFYeblqqFZKxBmDKTYu9snoCi0CHF3b7gSOtn3EqgWCte5Fe5B5fDhN8+UT2GZ0y+6u6i6dL8bSHKLNdAMX/z4ilncQR5t0bBM9Ry77XRs/pN1tnE65mZ9oxCd/I3SpTUxFhO2ZJWb9OcTVDVnEspappAUYpYXN+qJBnzfCvcNYynfyQxdUbgA== + x-ms-version + 2012-03-01
x-ms-client-session-id - 9773bc04-827f-4ef7-9332-fbb87ead8126-2013-06-28 18:54:39Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 9f1a8dee-d3b9-43a9-a3a5-a78ea42c9b54-2013-06-28 18:55:03Z -
-
- Accept-Charset - UTF-8 + 5e5e67ea-4e9d-4310-bb7f-ab8d31915a45-2015-01-20 01:48:12Z
- Cookie - .SQLSERVERMANAGEMENT=6wHW7S6FaCJ0zkOt7dw6PA== + Authorization + Bearer abc
- - - .SQLSERVERMANAGEMENT - 6wHW7S6FaCJ0zkOt7dw6PA== - - - - - application/atom+xml - application/atom+xml,application/xml + + + +
- NoContent + OK
x-ms-request-id - fbbd93c8-3d3a-8ef2-a7f2-918558547429 + 0c04a137-f3a3-4e60-820f-551910178165
X-Content-Type-Options nosniff
- DataServiceVersion - 1.0; + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Fri, 28 Jun 2013 18:55:03 GMT + Tue, 20 Jan 2015 01:48:12 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
-
-
- - UnitTest.AzureSqlDatabaseServerV2Tests - - 0 + 281 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 WindowsAzurePowershell/v0.7.3.1 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version 2012-03-01
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 27563505-0f47-4f31-8293-eef7c1a4bb75-2015-01-20 01:48:14Z +
+
+ Authorization + Bearer abc +
- - <Server xmlns="http://schemas.microsoft.com/sqlazure/2010/12/"> - <AdministratorLogin>mylogin</AdministratorLogin> - <AdministratorLoginPassword>Pa$$w0rd!</AdministratorLoginPassword> - <Location>East Asia</Location> - <Version>2.0</Version> - </Server> - - application/xml + +
- Created + OK
x-ms-request-id - a90a75b8-9492-43e9-8664-7a592efdc653 + b924d5fb-267e-490d-9802-6a4820171c96 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache
Content-Type @@ -19580,7 +51499,7 @@
Date - Mon, 17 Mar 2014 19:33:58 GMT + Tue, 20 Jan 2015 01:48:14 GMT
Server @@ -19588,20 +51507,32 @@
- <ServerName FullyQualifiedDomainName="m4mfnkbsoc.database.windows.net" xmlns="http://schemas.microsoft.com/sqlazure/2010/12/">m4mfnkbsoc</ServerName> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 1 + 282 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 WindowsAzurePowershell/v0.7.3.1 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version 2012-03-01
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 1db4e075-341d-4b2b-9f67-e1a816532481-2015-01-20 01:48:16Z +
+
+ Authorization + Bearer abc +
@@ -19613,7 +51544,19 @@
x-ms-request-id - 69f2f0ae-fe41-4b2a-bbe4-136e4bd3e94f + da0be372-8595-4020-90f5-cff358e84ad0 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache
Content-Type @@ -19621,7 +51564,7 @@
Date - Mon, 17 Mar 2014 19:33:58 GMT + Tue, 20 Jan 2015 01:48:17 GMT
Server @@ -19629,33 +51572,35 @@
- - <Servers xmlns="http://schemas.microsoft.com/sqlazure/2010/12/"> - <Server> - <Name>m4mfnkbsoc</Name> - <AdministratorLogin>mylogin</AdministratorLogin> - <Location>East Asia</Location> - <FullyQualifiedDomainName>m4mfnkbsoc.database.windows.net</FullyQualifiedDomainName> - <Version>2.0</Version> - </Server> - </Servers> - + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 2 + 283 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/m4mfnkbsoc - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 WindowsAzurePowershell/v0.7.3.1 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version 2012-03-01
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + 457e2fed-c4f3-4504-8069-17f48264e846-2015-01-20 01:48:19Z +
+
+ Authorization + Bearer abc +
- +
@@ -19664,11 +51609,27 @@
x-ms-request-id - 47268585-f7ef-4caa-b671-6b01343a7c7e + ae5d168d-81ab-45c0-9f3b-0a30d7ac3e03 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8
Date - Mon, 17 Mar 2014 19:34:01 GMT + Tue, 20 Jan 2015 01:48:19 GMT
Server @@ -19676,20 +51637,32 @@
- + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 3 + 284 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 WindowsAzurePowershell/v0.7.3.1 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version 2012-03-01
+
+ x-ms-client-session-id + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z +
+
+ x-ms-client-request-id + b62f4433-d825-4220-a28f-285ec9bd6b15-2015-01-20 01:48:21Z +
+
+ Authorization + Bearer abc +
@@ -19701,7 +51674,19 @@
x-ms-request-id - 1c962199-46ba-4c3f-b9d8-c65db05ee4df + 72e25687-b1a3-404e-9819-c97fb530fd39 +
+
+ X-Content-Type-Options + nosniff +
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
+
+ Cache-Control + no-store,no-cache
Content-Type @@ -19709,7 +51694,7 @@
Date - Mon, 17 Mar 2014 19:34:01 GMT + Tue, 20 Jan 2015 01:48:21 GMT
Server @@ -19717,20 +51702,15 @@
- <Servers xmlns="http://schemas.microsoft.com/sqlazure/2010/12/" /> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
-
-
- - UnitTest.AzureSqlDatabaseEditionsTests - - 49 + 285 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -19738,11 +51718,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - bc51eb92-1bd0-447a-bc49-9cec46602092-2014-07-01 19:17:16Z + a3f021d1-722a-4953-92cc-bb1395b83cb1-2015-01-20 01:48:23Z +
+
+ Authorization + Bearer abc
@@ -19755,12 +51739,16 @@
x-ms-request-id - 05291e86-f492-42ce-bc56-ea419a27dd58 + 9de5ea74-75ac-440d-b51a-454677ec361c
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -19771,7 +51759,7 @@
Date - Tue, 01 Jul 2014 19:17:16 GMT + Tue, 20 Jan 2015 01:48:23 GMT
Server @@ -19779,15 +51767,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Basic</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-01T19:16:57.5870000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-01T19:16:58.7430000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-01T19:17:57.5070000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 50 + 286 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -19795,11 +51783,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 133fe92f-024a-43d4-9052-ba377cc605f2-2014-07-01 19:17:16Z + 3766e202-6434-4079-b404-3f25c4ff6c86-2015-01-20 01:48:25Z +
+
+ Authorization + Bearer abc
@@ -19812,12 +51804,16 @@
x-ms-request-id - 845166ff-b714-457f-8db1-ca4ea43e50df + 970216ba-1d33-4afa-802d-1b1423ace3a8
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -19828,7 +51824,7 @@
Date - Tue, 01 Jul 2014 19:17:16 GMT + Tue, 20 Jan 2015 01:48:25 GMT
Server @@ -19836,15 +51832,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Basic resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 51 + 287 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -19852,11 +51848,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 785314de-3f57-47dc-828a-7bf074c1ec40-2014-07-01 19:17:18Z + ae45c9c0-76ef-4c95-9dde-bde9fff01b68-2015-01-20 01:48:27Z +
+
+ Authorization + Bearer abc
@@ -19869,12 +51869,16 @@
x-ms-request-id - 0c5a83e7-ed6b-499e-95ab-d2bfaaa49763 + c31fe811-7e2f-403a-9a16-7797519e5660
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -19885,7 +51889,7 @@
Date - Tue, 01 Jul 2014 19:17:18 GMT + Tue, 20 Jan 2015 01:48:28 GMT
Server @@ -19893,15 +51897,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Basic</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-01T19:16:57.5870000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-01T19:16:58.7430000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-01T19:17:57.5070000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 52 + 288 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -19909,11 +51913,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 84659e5b-036e-4a02-8783-4761f441fa49-2014-07-01 19:17:18Z + 223f1dac-c2bc-4cc0-a1f0-eb58f7231fc5-2015-01-20 01:48:30Z +
+
+ Authorization + Bearer abc
@@ -19926,12 +51934,16 @@
x-ms-request-id - d8790c21-a81a-4103-92ec-ba03185baefc + 95bd071a-63fc-4795-856d-41166ddb1eb2
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -19942,7 +51954,7 @@
Date - Tue, 01 Jul 2014 19:17:18 GMT + Tue, 20 Jan 2015 01:48:30 GMT
Server @@ -19950,15 +51962,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Basic resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 53 + 289 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -19966,11 +51978,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - b27c8f65-b923-4eaa-b340-edc24000eb56-2014-07-01 19:17:19Z + 7aaa1955-a251-4e30-9ee8-96853d74763e-2015-01-20 01:48:32Z +
+
+ Authorization + Bearer abc
@@ -19983,12 +51999,16 @@
x-ms-request-id - 7dae9bbc-c813-4ab5-8811-4a0ab11642a6 + 408d8331-8991-4fab-b70f-d1bf2cba4f68
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -19999,7 +52019,7 @@
Date - Tue, 01 Jul 2014 19:17:19 GMT + Tue, 20 Jan 2015 01:48:32 GMT
Server @@ -20007,15 +52027,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Basic</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-01T19:16:57.5870000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-01T19:16:58.7430000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-01T19:17:57.5070000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 54 + 290 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -20023,11 +52043,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - beacce30-e3c1-4429-8a00-86d8ef6dbb21-2014-07-01 19:17:19Z + 794d6f4b-24c4-4ef1-81b0-407bc0dd3371-2015-01-20 01:48:34Z +
+
+ Authorization + Bearer abc
@@ -20040,12 +52064,16 @@
x-ms-request-id - e5f3a575-c351-44bb-8874-c38b6f991d43 + 91603931-8115-43f7-aec4-7a6ad39546e2
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -20056,7 +52084,7 @@
Date - Tue, 01 Jul 2014 19:17:19 GMT + Tue, 20 Jan 2015 01:48:34 GMT
Server @@ -20064,15 +52092,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Basic resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 55 + 291 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -20080,11 +52108,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - da8e6a57-49b3-41a6-bd5b-3269d0b6fc8a-2014-07-01 19:17:20Z + d8e59b59-afb7-43bc-9e46-9b4b5dacacf9-2015-01-20 01:48:36Z +
+
+ Authorization + Bearer abc
@@ -20097,12 +52129,16 @@
x-ms-request-id - d7e4e07e-2167-45dc-96ba-dcd2b82f132f + 0e7ff394-38de-46d5-98bb-ad3d4aff6a20
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -20113,7 +52149,7 @@
Date - Tue, 01 Jul 2014 19:17:20 GMT + Tue, 20 Jan 2015 01:48:36 GMT
Server @@ -20121,15 +52157,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Basic</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-01T19:16:57.5870000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-01T19:16:58.7430000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-01T19:17:57.5070000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 56 + 292 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -20137,11 +52173,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - b71f363b-99ba-49c7-be02-7e3bff929298-2014-07-01 19:17:20Z + 80ca965d-dcf1-4705-b068-64701809419f-2015-01-20 01:48:38Z +
+
+ Authorization + Bearer abc
@@ -20154,12 +52194,16 @@
x-ms-request-id - 92e925e5-3448-4873-bd32-4e454328cbf6 + 1504a469-1996-4a01-b904-6175426f1edf
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -20170,7 +52214,7 @@
Date - Tue, 01 Jul 2014 19:17:20 GMT + Tue, 20 Jan 2015 01:48:38 GMT
Server @@ -20178,15 +52222,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Basic resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 57 + 293 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -20194,11 +52238,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 332339f0-a37c-4f52-a05a-e38c22ad06a0-2014-07-01 19:17:21Z + b89332a9-f58c-448c-ba92-92673a8a3d97-2015-01-20 01:48:40Z +
+
+ Authorization + Bearer abc
@@ -20211,12 +52259,16 @@
x-ms-request-id - 5303f70a-655b-425c-b8a1-4a21cf1005e1 + 422c2e02-795c-42bf-b779-01805443bb6e
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -20227,7 +52279,7 @@
Date - Tue, 01 Jul 2014 19:17:21 GMT + Tue, 20 Jan 2015 01:48:41 GMT
Server @@ -20235,15 +52287,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Basic</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-01T19:16:57.5870000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-01T19:16:58.7430000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-01T19:17:57.5070000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 58 + 294 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -20251,11 +52303,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 8aa53d53-c458-4766-b807-98822422e251-2014-07-01 19:17:21Z + 8180109a-7d2f-4176-bdf5-42c05bc9747a-2015-01-20 01:48:43Z +
+
+ Authorization + Bearer abc
@@ -20268,12 +52324,16 @@
x-ms-request-id - 8b2d8c32-0ffe-41f0-b517-17737254cb42 + 02da4ab3-5f59-4c6b-b97a-06682b7309cc
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -20284,7 +52344,7 @@
Date - Tue, 01 Jul 2014 19:17:21 GMT + Tue, 20 Jan 2015 01:48:43 GMT
Server @@ -20292,15 +52352,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Basic resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 59 + 295 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -20308,11 +52368,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 2ef3e46f-4251-4a2c-9ff2-5679629b73fa-2014-07-01 19:17:22Z + bc30c779-865d-4bdc-bc06-23ea6cd2d56d-2015-01-20 01:48:45Z +
+
+ Authorization + Bearer abc
@@ -20325,12 +52389,16 @@
x-ms-request-id - fa1ad1df-e03b-4c61-8756-fe8dabf106bb + 233e0651-8e44-4c9a-b19b-fc83ed706a3b
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -20341,7 +52409,7 @@
Date - Tue, 01 Jul 2014 19:17:22 GMT + Tue, 20 Jan 2015 01:48:45 GMT
Server @@ -20349,15 +52417,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Basic</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-01T19:16:57.5870000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-01T19:16:58.7430000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-01T19:17:57.5070000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 60 + 296 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -20365,11 +52433,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 7df71c96-54d7-4150-abfd-097fc4edf39f-2014-07-01 19:17:22Z + e5448340-26f4-4487-b253-bcd86868956c-2015-01-20 01:48:47Z +
+
+ Authorization + Bearer abc
@@ -20382,12 +52454,16 @@
x-ms-request-id - a7e86ef1-5ee5-4774-b259-901facf8f22a + fc33e527-626c-4500-b51c-22549ae9409f
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -20398,7 +52474,7 @@
Date - Tue, 01 Jul 2014 19:17:22 GMT + Tue, 20 Jan 2015 01:48:47 GMT
Server @@ -20406,15 +52482,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Basic resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 61 + 297 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -20422,11 +52498,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 6584335f-3983-4f4d-b8bd-5139403e9338-2014-07-01 19:17:23Z + 3fd61fef-0f6c-42d0-b3a3-d950a3e6551a-2015-01-20 01:48:49Z +
+
+ Authorization + Bearer abc
@@ -20439,12 +52519,16 @@
x-ms-request-id - 2f71b129-e7a0-45fe-93b6-58a22d788fad + 0556909b-b1cc-4c23-8b8a-1c1f5669aa48
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -20455,7 +52539,7 @@
Date - Tue, 01 Jul 2014 19:17:23 GMT + Tue, 20 Jan 2015 01:48:49 GMT
Server @@ -20463,15 +52547,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Basic</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-01T19:16:57.5870000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-01T19:16:58.7430000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-01T19:17:57.5070000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 62 + 298 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -20479,11 +52563,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 45b03857-7fa4-4459-af05-718fcd15b1fb-2014-07-01 19:17:23Z + a8a35601-b705-4ae9-903a-a21049a04d07-2015-01-20 01:48:51Z +
+
+ Authorization + Bearer abc
@@ -20496,12 +52584,16 @@
x-ms-request-id - 67b3f8c6-18d0-445a-8be8-bc52fd79a722 + 25ff3014-c048-49e3-84f5-18bb9e12e7f5
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -20512,7 +52604,7 @@
Date - Tue, 01 Jul 2014 19:17:23 GMT + Tue, 20 Jan 2015 01:48:52 GMT
Server @@ -20520,15 +52612,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Basic resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 63 + 299 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -20536,11 +52628,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 0ff88cbf-0150-40ed-a138-6c903f5a3f73-2014-07-01 19:17:24Z + 80ca5cdf-46ee-4417-bb01-418b531f0ddf-2015-01-20 01:48:54Z +
+
+ Authorization + Bearer abc
@@ -20553,12 +52649,16 @@
x-ms-request-id - f36557d9-7e5c-4b33-a2f0-40e6037d15f2 + 1bcfb870-979b-4085-befd-c6f100d453e8
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -20569,7 +52669,7 @@
Date - Tue, 01 Jul 2014 19:17:24 GMT + Tue, 20 Jan 2015 01:48:54 GMT
Server @@ -20577,15 +52677,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Basic</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-01T19:16:57.5870000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-01T19:16:58.7430000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-01T19:17:57.5070000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 64 + 300 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -20593,11 +52693,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 7a7386c7-7af3-4a43-973b-c43b8529391d-2014-07-01 19:17:24Z + 30d1732b-21f3-470e-bb3c-c16fedefaa92-2015-01-20 01:48:56Z +
+
+ Authorization + Bearer abc
@@ -20610,12 +52714,16 @@
x-ms-request-id - abf84cf0-fd01-40af-ab51-405f6da21022 + 4fcb6597-5399-41ba-8903-1641502453a8
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -20626,7 +52734,7 @@
Date - Tue, 01 Jul 2014 19:17:24 GMT + Tue, 20 Jan 2015 01:48:56 GMT
Server @@ -20634,15 +52742,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Basic resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 65 + 301 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -20650,11 +52758,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 3639d3f8-2ebd-4220-8c7c-5dbaa0c801d8-2014-07-01 19:17:26Z + 35608543-856f-40fe-8367-941699c10b07-2015-01-20 01:48:58Z +
+
+ Authorization + Bearer abc
@@ -20667,12 +52779,16 @@
x-ms-request-id - 51c68abd-3438-4600-bf9f-0e488cde9f88 + 9202382d-aad2-45bf-92ad-6694411d667e
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -20683,7 +52799,7 @@
Date - Tue, 01 Jul 2014 19:17:26 GMT + Tue, 20 Jan 2015 01:48:58 GMT
Server @@ -20691,15 +52807,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Basic</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-01T19:16:57.5870000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-01T19:16:58.7430000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-01T19:17:57.5070000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 66 + 302 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -20707,11 +52823,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 8222fbb5-55ef-455b-868f-aead32ec2c41-2014-07-01 19:17:26Z + 44b9b295-000b-449d-a5c6-dd6c82e4971c-2015-01-20 01:49:00Z +
+
+ Authorization + Bearer abc
@@ -20724,12 +52844,16 @@
x-ms-request-id - eab8f004-1d17-42de-a142-f8e738058595 + 6fdd0d47-fbe3-4f7a-85a6-996bc206c4bd
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -20740,7 +52864,7 @@
Date - Tue, 01 Jul 2014 19:17:26 GMT + Tue, 20 Jan 2015 01:49:00 GMT
Server @@ -20748,15 +52872,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Basic resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 67 + 303 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -20764,11 +52888,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - add9497a-c59b-4c6d-b5c9-4bdb7475094c-2014-07-01 19:17:27Z + b70facaf-d7a2-43c7-b0af-cb1c22a12ef7-2015-01-20 01:49:02Z +
+
+ Authorization + Bearer abc
@@ -20781,12 +52909,16 @@
x-ms-request-id - 0f9c9cdb-dfb1-4b9d-b579-7a6b7e2724d8 + a6900bc7-797e-4ea0-a87b-b0b700c56733
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -20797,7 +52929,7 @@
Date - Tue, 01 Jul 2014 19:17:27 GMT + Tue, 20 Jan 2015 01:49:03 GMT
Server @@ -20805,15 +52937,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-01T19:16:57.5870000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</ServiceObjectiveId><AssignedServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-01T19:17:26.1630000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-01T19:17:57.5070000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 68 + 304 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -20821,11 +52953,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 289ef4f6-ff2d-4980-8654-d6ce1830e5d4-2014-07-01 19:17:27Z + 94b8e043-eb8b-44aa-930b-0f67b1412e95-2015-01-20 01:49:05Z +
+
+ Authorization + Bearer abc
@@ -20838,12 +52974,16 @@
x-ms-request-id - f7a405a5-69ae-4082-96f0-316715abbaaa + 4e1013a5-f954-4a1f-95cd-48096a99ef7b
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -20854,7 +52994,7 @@
Date - Tue, 01 Jul 2014 19:17:27 GMT + Tue, 20 Jan 2015 01:49:05 GMT
Server @@ -20862,15 +53002,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Standard S1 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 69 + 305 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases?contentview=generic + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -20878,11 +53018,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 935d07fb-c2b8-4d00-b737-f338510568b5-2014-07-01 19:17:27Z + 976392fd-9202-4aa7-aa0b-6f3d4ef3479a-2015-01-20 01:49:07Z +
+
+ Authorization + Bearer abc
@@ -20895,12 +53039,16 @@
x-ms-request-id - 7c0dd855-120d-4594-87a9-d181791227b7 + 8ba6479e-1efa-4fc7-8cd1-86d6b3257e6b
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -20911,7 +53059,7 @@
Date - Tue, 01 Jul 2014 19:17:27 GMT + Tue, 20 Jan 2015 01:49:07 GMT
Server @@ -20919,15 +53067,15 @@
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/master</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-01T17:51:19.7300000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</ServiceObjectiveId><AssignedServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-01T17:51:21.6470000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-01T19:16:51.6630000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-01T19:16:52.6000000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-01T19:17:51.5670000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdbeditions2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-01T19:16:53.3300000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>524288000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-01T19:17:08.8830000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-01T19:17:53.2570000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-01T19:16:57.5870000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</ServiceObjectiveId><AssignedServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-01T19:17:26.1630000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-01T19:17:57.5070000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Premium</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-01T19:16:58.9800000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-01T19:17:01.5870000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-01T19:17:58.9300000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Standard</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-01T19:17:03.2430000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-01T19:17:06.0530000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-01T19:18:03.1930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 70 + 306 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -20935,11 +53083,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - a76fd7b6-29d0-4dc4-98d1-383ea4c22bb4-2014-07-01 19:17:27Z + d26de79a-dce1-43c1-ab2a-f1063f625566-2015-01-20 01:49:09Z +
+
+ Authorization + Bearer abc
@@ -20952,12 +53104,16 @@
x-ms-request-id - 3021fa4a-e03d-4dc8-a261-b990444e4e18 + 511e4088-126a-4d0a-a53f-167f79f59124
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -20968,7 +53124,7 @@
Date - Tue, 01 Jul 2014 19:17:27 GMT + Tue, 20 Jan 2015 01:49:09 GMT
Server @@ -20976,15 +53132,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description>Used for master database only.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 71 + 307 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -20992,11 +53148,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - f6f022b4-e39b-4b23-8ac7-c6ee6100855d-2014-07-01 19:17:27Z + 7918e5c6-167b-41e3-9e19-4b6cd379927b-2015-01-20 01:49:11Z +
+
+ Authorization + Bearer abc
@@ -21009,12 +53169,16 @@
x-ms-request-id - 0fc28a27-b313-4caf-ba19-75105b19ea9b + b809b3e6-2144-4799-a317-e60b2033ea3c
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -21025,7 +53189,7 @@
Date - Tue, 01 Jul 2014 19:17:27 GMT + Tue, 20 Jan 2015 01:49:11 GMT
Server @@ -21033,15 +53197,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 72 + 308 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -21049,11 +53213,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - e097a9e5-80e4-47e2-b8d5-98f5af0fab65-2014-07-01 19:17:27Z + 6f6770aa-7b7c-4ee1-aaa4-ebe200079002-2015-01-20 01:49:13Z +
+
+ Authorization + Bearer abc
@@ -21066,12 +53234,16 @@
x-ms-request-id - d0fade66-d526-43a8-ad50-8c22d94f1e43 + 0b8e7de2-9d90-4acf-ab62-68fb29d0ed6f
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -21082,7 +53254,7 @@
Date - Tue, 01 Jul 2014 19:17:27 GMT + Tue, 20 Jan 2015 01:49:13 GMT
Server @@ -21090,15 +53262,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Standard S2 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 73 + 309 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -21106,11 +53278,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - c2cefcdf-e433-44ee-ad00-256a35d98d06-2014-07-01 19:17:27Z + 1eb0061d-f532-4e16-bc05-c5e82a3bc930-2015-01-20 01:49:15Z +
+
+ Authorization + Bearer abc
@@ -21123,12 +53299,16 @@
x-ms-request-id - 9ee466ca-7768-4473-a2b9-07c942ffc15e + 2ffdd39e-45cd-46f9-870c-bf423b211936
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -21139,7 +53319,7 @@
Date - Tue, 01 Jul 2014 19:17:27 GMT + Tue, 20 Jan 2015 01:49:16 GMT
Server @@ -21147,15 +53327,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Standard S1 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 74 + 310 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -21163,11 +53343,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 67d887b6-087e-4198-b9d7-fbb7c6c9c3fa-2014-07-01 19:17:27Z + 619ccdb0-08f3-4775-9602-eb45287863d7-2015-01-20 01:49:18Z +
+
+ Authorization + Bearer abc
@@ -21180,12 +53364,16 @@
x-ms-request-id - 9c2623aa-b59c-4b7d-866a-4aaa75e1f9ed + 667c76e3-9637-499c-8cf1-4ed6bdf983b0
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -21196,7 +53384,7 @@
Date - Tue, 01 Jul 2014 19:17:27 GMT + Tue, 20 Jan 2015 01:49:18 GMT
Server @@ -21204,15 +53392,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Premium P1 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 75 + 311 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -21220,11 +53408,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 2d497e63-9a46-4819-9f29-aa22085b2739-2014-07-01 19:17:27Z + 14f173c3-344e-4cc2-8cd8-320c873ea08b-2015-01-20 01:49:20Z +
+
+ Authorization + Bearer abc
@@ -21237,12 +53429,16 @@
x-ms-request-id - 05bb5358-dd4f-40fa-9145-4c25257dc924 + 3317201c-3a56-47e4-b712-ae506b58f86e
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -21253,7 +53449,7 @@
Date - Tue, 01 Jul 2014 19:17:27 GMT + Tue, 20 Jan 2015 01:49:20 GMT
Server @@ -21261,15 +53457,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Standard S2 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 76 + 312 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -21277,68 +53473,19 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 218a549c-8aa0-425d-9b8d-cec3af727f64-2014-07-01 19:17:27Z -
-
- - - - -
- - OK - -
- x-ms-request-id - a0c0e988-242c-4fd4-9e25-ee7d5be6f0ee -
-
- X-Content-Type-Options - nosniff -
-
- Cache-Control - no-store,no-cache + 4967e29a-7af7-4a11-9987-443eb27d9c7e-2015-01-20 01:49:22Z
- Date - Tue, 01 Jul 2014 19:17:29 GMT -
-
- Server - 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 + Authorization + Bearer abc
- -
-
- - 77 - - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 - -
- x-ms-version - 2012-03-01 -
-
- x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z -
-
- x-ms-client-request-id - ccd0259f-1319-4180-aa74-419a3cf146aa-2014-07-01 19:17:29Z -
-
- - +
@@ -21347,72 +53494,27 @@
x-ms-request-id - a8a3c944-de3b-41ff-ae5b-d5982f1cd7fe + decdc04b-dd2f-4f9e-b14f-50ad9bb1ef91
X-Content-Type-Options nosniff
- Cache-Control - no-store,no-cache -
-
- Date - Tue, 01 Jul 2014 19:17:31 GMT -
-
- Server - 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 -
-
- - - -
- - 78 - - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 - -
- x-ms-version - 2012-03-01 -
-
- x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z -
-
- x-ms-client-request-id - 3477f119-944c-4dcf-80e0-e6f935c743a2-2014-07-01 19:17:31Z -
-
- - - - -
- - OK - -
- x-ms-request-id - 6b631805-6fea-4551-a5ea-bdf380618d73 -
-
- X-Content-Type-Options - nosniff + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Tue, 01 Jul 2014 19:17:32 GMT + Tue, 20 Jan 2015 01:49:22 GMT
Server @@ -21420,15 +53522,15 @@
- + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 79 + 313 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -21436,15 +53538,19 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 4c977d44-8899-454f-8f0e-09c8ddccbfc8-2014-07-01 19:17:32Z + fdf14ce3-dbc0-4ac0-a729-ec1067b9402c-2015-01-20 01:49:24Z +
+
+ Authorization + Bearer abc
- +
@@ -21453,19 +53559,27 @@
x-ms-request-id - 663a4061-0145-47ae-8559-522736ad60d0 + 7b3cda22-2557-40a1-ac74-855bbe1ce0bf
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Tue, 01 Jul 2014 19:17:32 GMT + Tue, 20 Jan 2015 01:49:24 GMT
Server @@ -21473,15 +53587,15 @@
- + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 80 + 314 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -21489,15 +53603,19 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 143f69b6-99fb-4e6a-949d-0387b090192c-2014-07-01 19:17:33Z + 0ae0b8ce-d08b-4452-a53c-1345992db576-2015-01-20 01:49:26Z +
+
+ Authorization + Bearer abc
- +
@@ -21506,19 +53624,27 @@
x-ms-request-id - d6d450e7-61ec-4a48-a596-15855f678e26 + 2db86d57-9eea-411d-bdd2-17b62a43b8d6
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Tue, 01 Jul 2014 19:17:34 GMT + Tue, 20 Jan 2015 01:49:26 GMT
Server @@ -21526,15 +53652,15 @@
- + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 81 + 315 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases?contentview=generic + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -21542,11 +53668,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 5e91b445-7186-43a9-bd5f-9ea7e4834840-2014-07-01 19:17:34Z + f3d9439f-11dd-4121-b64d-7c5ae33de035-2015-01-20 01:49:28Z +
+
+ Authorization + Bearer abc
@@ -21559,12 +53689,16 @@
x-ms-request-id - f68ef36b-aafb-4cd7-b4aa-b7bd9a93760d + 8296921a-661c-48d0-a7ea-7c7f0a88abd5
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -21575,7 +53709,7 @@
Date - Tue, 01 Jul 2014 19:17:34 GMT + Tue, 20 Jan 2015 01:49:28 GMT
Server @@ -21583,15 +53717,15 @@
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/master</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-01T17:51:19.7300000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</ServiceObjectiveId><AssignedServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-01T17:51:21.6470000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 82 + 316 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 WindowsAzurePowershell/v0.8.3 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -21599,11 +53733,15 @@
x-ms-client-session-id - e6923fa8-1a85-43a2-b0a9-e8dc912db38f-2014-07-01 19:16:51Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - f375780c-a2a0-4494-9515-e152345d0e22-2014-07-01 19:17:34Z + dcbc8d44-5661-4459-abe5-ec65859079a7-2015-01-20 01:49:30Z +
+
+ Authorization + Bearer abc
@@ -21616,12 +53754,16 @@
x-ms-request-id - b1e31763-4964-4cab-a46c-40577e1ee225 + 12961056-e2af-46a1-ae55-f69b0d19e23b
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -21632,7 +53774,7 @@
Date - Tue, 01 Jul 2014 19:17:34 GMT + Tue, 20 Jan 2015 01:49:31 GMT
Server @@ -21640,15 +53782,15 @@
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description>Used for master database only.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 0 + 317 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -21656,32 +53798,37 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - c1a80e5f-21a0-477e-bf17-022985672f88-2014-07-24 19:21:36Z + 76981cd0-1d79-4de8-b926-1d299063c190-2015-01-20 01:49:33Z +
+
+ Authorization + Bearer abc
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdbeditions1</Name> - <CollationName></CollationName> -</ServiceResource> - application/xml + +
- Created + OK
x-ms-request-id - 9d5eeff5-00c3-4928-89cb-abb973cc62b5 + e2aa9ad3-627f-4bc4-9bd3-1d334fdb52e8
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -21692,23 +53839,23 @@
Date - Thu, 24 Jul 2014 19:21:39 GMT + Tue, 20 Jan 2015 01:49:33 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T19:21:36.8800000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T19:21:38.6470000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T19:22:36.6130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 1 + 318 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -21716,11 +53863,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 7100db28-32ef-4b63-a901-6ba93cee63ea-2014-07-24 19:21:39Z + 8fba9a12-614b-4c9b-935c-74a54fda26f3-2015-01-20 01:49:35Z +
+
+ Authorization + Bearer abc
@@ -21733,72 +53884,15 @@
x-ms-request-id - 30c77add-9842-449b-a2c6-0a591a6c7a1d + 09c34281-8e1f-4ee4-9505-174dcca2dc23
X-Content-Type-Options nosniff
- Cache-Control - no-store,no-cache -
-
- Content-Type - application/xml; charset=utf-8 -
-
- Date - Thu, 24 Jul 2014 19:21:39 GMT -
-
- Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 -
-
- - <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> - -
- - 2 - - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 - -
- x-ms-version - 2012-03-01 -
-
- x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z -
-
- x-ms-client-request-id - c1acab44-3859-45f9-a4b3-5b270beaab63-2014-07-24 19:21:39Z -
-
- - <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdbeditions2</Name> - <Edition>Standard</Edition> - <CollationName></CollationName> -</ServiceResource> - application/xml - -
- - Created - -
- x-ms-request-id - cb69eb5e-3c83-49f6-b683-6a792b80daf6 -
-
- X-Content-Type-Options - nosniff + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -21810,23 +53904,23 @@
Date - Thu, 24 Jul 2014 19:21:41 GMT + Tue, 20 Jan 2015 01:49:35 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition/><MaxSizeGB>-1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T19:21:40.5400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>-1</MaxSizeBytes><ServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</ServiceObjectiveId><AssignedServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T19:18:50.1300000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 3 + 319 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -21834,11 +53928,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 1b3699e8-976e-4c66-bda4-276354c2af73-2014-07-24 19:21:41Z + 7230fac9-32df-4961-8e74-5ff5a8624f36-2015-01-20 01:49:37Z +
+
+ Authorization + Bearer abc
@@ -21851,12 +53949,16 @@
x-ms-request-id - a1923e2c-0731-4d8d-8059-3e190df05464 + b2e1eb9f-846e-4b53-a013-70af5b9f056a
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -21867,23 +53969,23 @@
Date - Thu, 24 Jul 2014 19:21:41 GMT + Tue, 20 Jan 2015 01:49:37 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Standard S1 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 4 + 320 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -21891,11 +53993,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 592f5d99-6a1a-4a2d-8e05-334faf66c4f1-2014-07-24 19:21:43Z + 03c18ae2-d91a-4434-9362-784eff738df0-2015-01-20 01:49:39Z +
+
+ Authorization + Bearer abc
@@ -21908,12 +54014,16 @@
x-ms-request-id - d9919445-6bf2-41fb-9447-3670a66a1cd3 + b7e5f8be-b2a3-4502-9628-cbb93f0dde46
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -21924,23 +54034,23 @@
Date - Thu, 24 Jul 2014 19:21:43 GMT + Tue, 20 Jan 2015 01:49:39 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition/><MaxSizeGB>-1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T19:21:40.5400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>-1</MaxSizeBytes><ServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</ServiceObjectiveId><AssignedServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T19:18:50.1300000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 5 + 321 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -21948,11 +54058,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - b56b7951-c51f-4049-b7b6-5b6de1d264f9-2014-07-24 19:21:43Z + b38332a4-c946-44cb-ba09-c25f8cc3b46e-2015-01-20 01:49:41Z +
+
+ Authorization + Bearer abc
@@ -21965,12 +54079,16 @@
x-ms-request-id - 4acd27c5-2ff3-4d62-83f6-999925288efc + 85e122aa-1c3f-45cf-8bb3-187fad99dfc6
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -21981,23 +54099,23 @@
Date - Thu, 24 Jul 2014 19:21:43 GMT + Tue, 20 Jan 2015 01:49:42 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Standard S1 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 6 + 322 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -22005,11 +54123,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 2797e4ec-afe8-4e9c-b3e6-89b690aa03c6-2014-07-24 19:21:46Z + d0d2c783-92af-4a1a-b1e9-e59310d9e8d9-2015-01-20 01:49:44Z +
+
+ Authorization + Bearer abc
@@ -22022,12 +54144,16 @@
x-ms-request-id - e3eae761-7a95-4e63-90f0-031b6dbcb4c5 + 66c3b37b-a883-4642-8893-d7d703e4d1c8
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -22038,23 +54164,23 @@
Date - Thu, 24 Jul 2014 19:21:46 GMT + Tue, 20 Jan 2015 01:49:44 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T19:21:40.5400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>524288000</MaxSizeBytes><ServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</ServiceObjectiveId><AssignedServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T19:21:45.3330000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T19:22:40.2700000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 7 + 323 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -22062,11 +54188,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - ecabe765-6007-4c9c-9d8b-8704e40c7f96-2014-07-24 19:21:46Z + 3ed40df9-190b-402c-9a30-c9d397940ae2-2015-01-20 01:49:46Z +
+
+ Authorization + Bearer abc
@@ -22079,12 +54209,16 @@
x-ms-request-id - 46dacc5c-d881-4df0-88a7-d2fd7842a947 + d130fcf8-e4bd-4705-b933-f970806f9f21
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -22095,23 +54229,23 @@
Date - Thu, 24 Jul 2014 19:21:46 GMT + Tue, 20 Jan 2015 01:49:46 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Standard S1 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 8 + 324 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -22119,11 +54253,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 7cd7a0bc-a8fb-4b7b-b320-8bcdbb59cb84-2014-07-24 19:21:48Z + bd4851d4-16eb-4014-88dd-2a8a5210b31e-2015-01-20 01:49:48Z +
+
+ Authorization + Bearer abc
@@ -22136,12 +54274,16 @@
x-ms-request-id - f76c84b1-04c7-493b-a991-b01e3a4f454b + eaefce86-9cdf-4af5-bde0-611b1c4a6e25
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -22152,23 +54294,23 @@
Date - Thu, 24 Jul 2014 19:21:48 GMT + Tue, 20 Jan 2015 01:49:48 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T19:21:40.5400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>524288000</MaxSizeBytes><ServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</ServiceObjectiveId><AssignedServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T19:21:45.3330000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T19:22:40.2700000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 9 + 325 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -22176,11 +54318,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - c352e94a-61b8-4a31-8041-877645ffabd0-2014-07-24 19:21:48Z + f047f111-4aa7-40f2-8033-82e212163238-2015-01-20 01:49:50Z +
+
+ Authorization + Bearer abc
@@ -22193,72 +54339,15 @@
x-ms-request-id - 94d7e29e-5d3e-4b00-9f39-cb2f103f2d3c + d6879983-7557-4463-89b4-3d79aacde1ed
X-Content-Type-Options nosniff
- Cache-Control - no-store,no-cache -
-
- Content-Type - application/xml; charset=utf-8 -
-
- Date - Thu, 24 Jul 2014 19:21:48 GMT -
-
- Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 -
-
- - <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Standard S1 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> - -
- - 10 - - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 - -
- x-ms-version - 2012-03-01 -
-
- x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z -
-
- x-ms-client-request-id - d667807e-264b-48cf-ad13-88805a0441e3-2014-07-24 19:21:49Z -
-
- - <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdbeditions3</Name> - <Edition>Basic</Edition> - <CollationName></CollationName> -</ServiceResource> - application/xml - -
- - Created - -
- x-ms-request-id - 4ab2b167-8c84-4265-826a-1c84bfa2dc1b -
-
- X-Content-Type-Options - nosniff + Strict-Transport-Security + max-age=31536000; includeSubDomains
Cache-Control @@ -22270,23 +54359,23 @@
Date - Thu, 24 Jul 2014 19:21:52 GMT + Tue, 20 Jan 2015 01:49:50 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Basic</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T19:21:50.0100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T19:21:52.3670000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T19:22:49.5530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 11 + 326 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -22294,11 +54383,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - d56ce86d-0281-4472-843e-a424a46a7600-2014-07-24 19:21:52Z + ec8a4b6f-8fa3-46b6-81c7-02946779fafc-2015-01-20 01:49:52Z +
+
+ Authorization + Bearer abc
@@ -22311,12 +54404,16 @@
x-ms-request-id - b944777d-f8e2-4bbe-84f5-3df0969cdbb3 + 96a1ad2b-b696-44a5-9133-a933340c109a
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -22327,23 +54424,23 @@
Date - Thu, 24 Jul 2014 19:21:52 GMT + Tue, 20 Jan 2015 01:49:53 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Basic resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 12 + 327 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -22351,33 +54448,37 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - a375a45d-15e2-416d-b187-237e735040d4-2014-07-24 19:21:52Z + 737b58e7-cb9f-44db-8ae1-0bad3ce68fb2-2015-01-20 01:49:55Z +
+
+ Authorization + Bearer abc
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdbeditions4</Name> - <Edition>Premium</Edition> - <CollationName></CollationName> -</ServiceResource> - application/xml + +
- Created + OK
x-ms-request-id - e8f1efca-ba43-4d16-925b-e010460033bb + 735eabf4-e62c-4ef1-974d-6bc843a76d8b
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -22388,23 +54489,23 @@
Date - Thu, 24 Jul 2014 19:21:53 GMT + Tue, 20 Jan 2015 01:49:55 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition/><MaxSizeGB>-1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T19:21:53.3530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>-1</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T19:18:33.6630000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 13 + 328 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -22412,11 +54513,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 11674c9f-0e55-4a48-adf7-cffc551198a0-2014-07-24 19:21:53Z + aa2ba69b-5560-4103-b646-3f6e7914a08f-2015-01-20 01:49:57Z +
+
+ Authorization + Bearer abc
@@ -22429,12 +54534,16 @@
x-ms-request-id - 7bd9578f-c361-465f-a0f9-8bb281dbdf2f + 576b99e2-711e-44a6-815c-a28f1dadbfa9
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -22445,23 +54554,23 @@
Date - Thu, 24 Jul 2014 19:21:53 GMT + Tue, 20 Jan 2015 01:49:57 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Premium P1 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 14 + 329 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -22469,11 +54578,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 14309406-4d8e-4829-a763-45bc01bb6f8c-2014-07-24 19:21:56Z + cb5d7e9f-6b9f-44fa-b9f9-89c5596aaffd-2015-01-20 01:49:59Z +
+
+ Authorization + Bearer abc
@@ -22486,12 +54599,16 @@
x-ms-request-id - 82e527ba-092f-49dd-ad0c-bf62aa81efa2 + 3c5a2665-778a-4e24-97a3-3abb77510e08
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -22502,23 +54619,23 @@
Date - Thu, 24 Jul 2014 19:21:56 GMT + Tue, 20 Jan 2015 01:50:01 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition/><MaxSizeGB>-1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T19:21:53.3530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>-1</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T19:18:33.6630000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 15 + 330 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -22526,11 +54643,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 48b0044e-dca2-4fb5-b449-5d7f4970ecd6-2014-07-24 19:21:56Z + 82508769-a7dd-41b7-a1cf-fc6e39cdb1df-2015-01-20 01:50:03Z +
+
+ Authorization + Bearer abc
@@ -22543,12 +54664,16 @@
x-ms-request-id - b73f8ec3-8733-4ac0-8dfb-74231a9a0610 + d665692c-fd5b-4e6f-abfe-c55aa1680a63
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -22559,23 +54684,23 @@
Date - Thu, 24 Jul 2014 19:21:56 GMT + Tue, 20 Jan 2015 01:50:04 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Premium P1 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 16 + 331 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -22583,11 +54708,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 415756f5-10ed-4782-8272-cbcfe574e896-2014-07-24 19:21:58Z + 513896b2-e7bf-47c5-b2e5-4d81412e6b08-2015-01-20 01:50:06Z +
+
+ Authorization + Bearer abc
@@ -22600,12 +54729,16 @@
x-ms-request-id - 694ab814-7a0d-4b0e-b9bd-ab2e597d4961 + a85ee8b7-f196-48ae-904e-ae9fb9e3aaaa
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -22616,23 +54749,23 @@
Date - Thu, 24 Jul 2014 19:21:58 GMT + Tue, 20 Jan 2015 01:50:06 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Premium</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T19:21:53.3530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T19:21:57.9430000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T19:22:53.0830000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 17 + 332 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -22640,11 +54773,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - a982d765-0d00-4f2a-9251-35284ca027f4-2014-07-24 19:21:58Z + b4ee4908-2bac-4f1c-8ccb-102943e187bb-2015-01-20 01:50:08Z +
+
+ Authorization + Bearer abc
@@ -22657,12 +54794,16 @@
x-ms-request-id - f2f4c62e-4ff3-41bf-8e42-073b4e72ec33 + 1ae0b1f6-b65b-47d9-88ff-80627e974473
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -22673,23 +54814,23 @@
Date - Thu, 24 Jul 2014 19:21:58 GMT + Tue, 20 Jan 2015 01:50:09 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Premium P1 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 18 + 333 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -22697,11 +54838,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - c22437e9-7965-42d5-89c0-f81e382611f6-2014-07-24 19:21:59Z + 7d5b8d67-2eb5-4041-a054-a0d06af3f3c0-2015-01-20 01:50:11Z +
+
+ Authorization + Bearer abc
@@ -22714,12 +54859,16 @@
x-ms-request-id - c03e2599-e5bc-47eb-a77f-6a945de72cc4 + 0478734b-65f2-4892-ac94-a4b3277f38e9
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -22730,23 +54879,23 @@
Date - Thu, 24 Jul 2014 19:21:58 GMT + Tue, 20 Jan 2015 01:50:11 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Standard S2 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Premium P1 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Premium P2 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Basic resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Standard S1 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3 deprecated</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/e210706e-cd95-4f72-b5e5-885f8a1406e8</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e210706e-cd95-4f72-b5e5-885f8a1406e8</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Premium P3 deprecated resource allocation.</Description><Enabled>False</Enabled><DimensionSettings><ServiceResource><Name>P3 deprecated</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/8efe7983-8e31-4ddb-82d2-5c00e4f48631</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8efe7983-8e31-4ddb-82d2-5c00e4f48631</Id><Description>Premium P3 deprecated resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Premium P3 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>8</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description>Used for master database only.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System Standard</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a45fea0c-e63c-4bf0-9f81-9964c86b7d2a</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a45fea0c-e63c-4bf0-9f81-9964c86b7d2a</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description>Used for master database only.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 19 + 334 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -22754,34 +54903,37 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 1bb1a4dc-7a9e-4153-b11f-377c77094efb-2014-07-24 19:21:59Z + 4fd080ce-3a04-43a8-b414-3d8284f748f6-2015-01-20 01:50:13Z +
+
+ Authorization + Bearer abc
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdbeditions5</Name> - <Edition>Standard</Edition> - <CollationName></CollationName> - <ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId> -</ServiceResource> - application/xml + +
- Created + OK
x-ms-request-id - 290821fe-7025-420a-856d-7bba74d9daaf + 69407ed9-a833-4235-b8ad-4ba7e5b7054d
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -22792,23 +54944,23 @@
Date - Thu, 24 Jul 2014 19:22:00 GMT + Tue, 20 Jan 2015 01:50:13 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition/><MaxSizeGB>-1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T19:21:59.8770000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>-1</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T19:18:41.5200000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 20 + 335 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -22816,11 +54968,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - fbb50462-899b-4142-b62a-f960d864ee30-2014-07-24 19:22:00Z + 41e19e7e-f4b6-4c4c-903b-438e62d1e878-2015-01-20 01:50:15Z +
+
+ Authorization + Bearer abc
@@ -22833,12 +54989,16 @@
x-ms-request-id - eecf8880-0e96-4b48-b87b-44b4090473b1 + 249d04b7-e40f-4e57-ba21-0c6eb7a3eb67
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -22849,23 +55009,23 @@
Date - Thu, 24 Jul 2014 19:22:00 GMT + Tue, 20 Jan 2015 01:50:16 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Standard S2 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 21 + 336 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -22873,11 +55033,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 4c760e41-a1da-4de2-aeed-1d582edc3105-2014-07-24 19:22:02Z + e452a704-f7fa-4a3e-afdc-ccd2b1cbd117-2015-01-20 01:50:18Z +
+
+ Authorization + Bearer abc
@@ -22890,12 +55054,16 @@
x-ms-request-id - 234e176a-7e9a-4890-9234-fc4b002ba54d + 7b8b6c3f-f642-4b3c-8472-19572bb30057
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -22906,23 +55074,23 @@
Date - Thu, 24 Jul 2014 19:22:02 GMT + Tue, 20 Jan 2015 01:50:18 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition/><MaxSizeGB>-1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T19:21:59.8770000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>-1</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T19:22:02.7870000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 22 + 337 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -22930,11 +55098,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 44ccc532-31a1-4bed-af2e-9ff4c0ee0a47-2014-07-24 19:22:02Z + 49655569-68a1-4a03-ac5d-9ba8a2ca9fef-2015-01-20 01:50:20Z +
+
+ Authorization + Bearer abc
@@ -22947,12 +55119,16 @@
x-ms-request-id - 685c96df-0233-49a0-a8eb-ff0f3ec77aae + abe6184d-8f8b-40d9-8fb5-cb9d079521aa
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -22963,23 +55139,23 @@
Date - Thu, 24 Jul 2014 19:22:02 GMT + Tue, 20 Jan 2015 01:50:20 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Standard S2 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 23 + 338 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -22987,11 +55163,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - f4556cdf-7518-47ed-a86d-fe91af9a9388-2014-07-24 19:22:05Z + 1a698f11-35b9-4bad-9dca-c1086e7d9b8c-2015-01-20 01:50:22Z +
+
+ Authorization + Bearer abc
@@ -23004,12 +55184,16 @@
x-ms-request-id - ec1ef834-bf67-4409-bf14-869afb3cbe62 + be97d8d1-7760-417d-8bfc-687386ae9b4b
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -23020,23 +55204,23 @@
Date - Thu, 24 Jul 2014 19:22:05 GMT + Tue, 20 Jan 2015 01:50:22 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Standard</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T19:21:59.8770000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T19:22:02.7870000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T19:22:59.6770000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 24 + 339 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -23044,11 +55228,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - bcab269e-2777-4004-869b-ed00239c3630-2014-07-24 19:22:05Z + b8d6ac7e-c818-4256-b1a8-60bed36dff7a-2015-01-20 01:50:24Z +
+
+ Authorization + Bearer abc
@@ -23061,12 +55249,16 @@
x-ms-request-id - 62a0e2e3-2a63-453b-acd1-6fcf2cb1c9e6 + 70ad7f3c-d637-4542-83d6-dd28fd90014f
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -23077,23 +55269,23 @@
Date - Thu, 24 Jul 2014 19:22:05 GMT + Tue, 20 Jan 2015 01:50:24 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Standard S2 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 25 + 340 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -23101,11 +55293,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - a8ae5e9d-12db-4f14-8da4-d38838c5ee0c-2014-07-24 19:22:05Z + 9e7a924a-80bf-4f71-8f33-f9eae21a2f33-2015-01-20 01:50:26Z +
+
+ Authorization + Bearer abc
@@ -23118,12 +55314,16 @@
x-ms-request-id - c790f6f5-0c27-42b7-a738-9784dd79e46a + 3719cede-5a9b-4ba6-8694-3be8ff76ae61
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -23134,23 +55334,23 @@
Date - Thu, 24 Jul 2014 19:22:05 GMT + Tue, 20 Jan 2015 01:50:27 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T19:21:36.8800000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T19:21:38.6470000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T19:22:36.6130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 26 + 341 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -23158,11 +55358,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 7823f132-52d7-46ff-b82f-766aeec3aaa6-2014-07-24 19:22:05Z + 28a1b43c-f95d-4d0e-b05d-fa604844e9bb-2015-01-20 01:50:29Z +
+
+ Authorization + Bearer abc
@@ -23175,12 +55379,16 @@
x-ms-request-id - e38837e4-370c-481d-98f8-b88cb1ac15fa + e498e57d-0784-4514-9f19-6fe724597350
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -23191,23 +55399,23 @@
Date - Thu, 24 Jul 2014 19:22:05 GMT + Tue, 20 Jan 2015 01:50:29 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 27 + 342 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -23215,11 +55423,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 57c4eb9d-dd48-43d6-952f-94e638516635-2014-07-24 19:22:06Z + 2994cecc-fab5-406e-af31-cf6e7b83005c-2015-01-20 01:50:31Z +
+
+ Authorization + Bearer abc
@@ -23232,12 +55444,16 @@
x-ms-request-id - 40937ba9-98e5-469f-9055-979380ee7d72 + 13851858-9890-4152-8782-3d6f4b791da2
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -23248,23 +55464,23 @@
Date - Thu, 24 Jul 2014 19:22:06 GMT + Tue, 20 Jan 2015 01:50:31 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T19:21:36.8800000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T19:21:38.6470000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T19:22:36.6130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 28 + 343 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -23272,11 +55488,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 75928f81-2189-411c-a409-2bf28bced167-2014-07-24 19:22:06Z + db3b685a-14f3-4295-9e47-9b430993c404-2015-01-20 01:50:33Z +
+
+ Authorization + Bearer abc
@@ -23289,12 +55509,16 @@
x-ms-request-id - 1b03d5eb-6458-437a-a841-670c6a432d07 + a233a764-9dcd-4e0c-9547-ec9c49036b44
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -23305,23 +55529,23 @@
Date - Thu, 24 Jul 2014 19:22:06 GMT + Tue, 20 Jan 2015 01:50:33 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 29 + 344 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -23329,11 +55553,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 72d27029-9bc2-4f36-a894-7e6bd880a4cc-2014-07-24 19:22:06Z + 0b24ba4e-a839-4af2-9237-c5369f391c6d-2015-01-20 01:50:35Z +
+
+ Authorization + Bearer abc
@@ -23346,12 +55574,16 @@
x-ms-request-id - 56908415-40c3-4aca-845a-d978ac566a64 + 815cfb20-a3be-4ff9-b61f-79755ad5440e
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -23362,23 +55594,23 @@
Date - Thu, 24 Jul 2014 19:22:06 GMT + Tue, 20 Jan 2015 01:50:35 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T19:21:40.5400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>524288000</MaxSizeBytes><ServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</ServiceObjectiveId><AssignedServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T19:21:45.3330000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T19:22:40.2700000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:49:00.7530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 30 + 345 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 - PUT - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -23386,20 +55618,20 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 72d27029-9bc2-4f36-a894-7e6bd880a4cc-2014-07-24 19:22:06Z + 1103ff9e-da2c-48a3-8e84-12dc3e724ea8-2015-01-20 01:50:37Z +
+
+ Authorization + Bearer abc
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdbeditions2</Name> - <Edition>Standard</Edition> - <ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId> -</ServiceResource> - application/xml + +
@@ -23407,12 +55639,16 @@
x-ms-request-id - 500ffc7e-8ed5-43cd-86ef-041af4a6c546 + 0d62585a-1ea3-4d80-8943-67647c6c0534
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -23423,23 +55659,23 @@
Date - Thu, 24 Jul 2014 19:22:08 GMT + Tue, 20 Jan 2015 01:50:37 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T19:21:40.5400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>524288000</MaxSizeBytes><ServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T19:21:45.3330000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T19:23:40.2700000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:55:35.7370000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 31 + 346 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -23447,11 +55683,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 4eb56ae2-80ad-4adb-9469-f2ff48713ca2-2014-07-24 19:22:09Z + a5b65b63-b6ed-4bd3-8bbe-a1ed9dfc7680-2015-01-20 01:50:37Z +
+
+ Authorization + Bearer abc
@@ -23464,12 +55704,16 @@
x-ms-request-id - d4c75954-c474-4a83-94e0-272ed2341db1 + 1f1302b8-aac3-478c-a06f-a44cae0095bb
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -23480,23 +55724,23 @@
Date - Thu, 24 Jul 2014 19:22:08 GMT + Tue, 20 Jan 2015 01:50:37 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Standard S1 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:33:19.1130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 32 + 347 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -23504,11 +55748,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 53656979-317c-4144-86d5-54c1dacd57c7-2014-07-24 19:22:56Z + 4fb2af0e-b772-416b-a95e-feb0eb3c81ca-2015-01-20 01:50:38Z +
+
+ Authorization + Bearer abc
@@ -23521,12 +55769,16 @@
x-ms-request-id - 98b92857-bcea-44ee-8e89-786c67ab5ae9 + 73363b73-792a-430a-8724-72581e55265f
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -23537,23 +55789,23 @@
Date - Thu, 24 Jul 2014 19:22:56 GMT + Tue, 20 Jan 2015 01:50:37 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Basic</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T19:21:50.0100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T19:21:52.3670000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T19:22:49.5530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources>
- 33 + 348 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 - PUT - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -23561,21 +55813,20 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 53656979-317c-4144-86d5-54c1dacd57c7-2014-07-24 19:22:56Z + dc6b8b06-c872-44d2-99ce-49e8d1846306-2015-01-20 01:50:38Z +
+
+ Authorization + Bearer abc
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdbeditions3</Name> - <Edition>Standard</Edition> - <MaxSizeGB>1</MaxSizeGB> - <ServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</ServiceObjectiveId> -</ServiceResource> - application/xml + +
@@ -23583,12 +55834,16 @@
x-ms-request-id - 9304e3e4-9202-4ca0-99a9-29bca78f4f60 + 6207f364-e931-4df8-b0c6-76e55513614b
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -23599,23 +55854,23 @@
Date - Thu, 24 Jul 2014 19:22:59 GMT + Tue, 20 Jan 2015 01:50:37 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Basic</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T19:21:50.0100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T19:21:52.3670000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T19:23:49.5530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:33:19.1130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 34 + 349 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -23623,11 +55878,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 297d4b6a-b4cb-4237-b8fa-45e79ae0437e-2014-07-24 19:22:59Z + b17f00ae-52fa-4ac6-80eb-b180d2f4f88b-2015-01-20 01:50:51Z +
+
+ Authorization + Bearer abc
@@ -23640,12 +55899,16 @@
x-ms-request-id - 00b417d8-8451-4366-a5c0-fbbf921fdd66 + dcd5316e-f8d9-414a-bb48-420f6e3b78a0
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -23656,23 +55919,23 @@
Date - Thu, 24 Jul 2014 19:22:59 GMT + Tue, 20 Jan 2015 01:50:51 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Basic resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:28:46.7400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:16.2500000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 35 + 350 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases?contentview=generic - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 + PUT + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -23680,16 +55943,24 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 64f88fab-97fd-41a4-aa42-8b3bffdc8227-2014-07-24 19:22:59Z + b17f00ae-52fa-4ac6-80eb-b180d2f4f88b-2015-01-20 01:50:51Z +
+
+ Authorization + Bearer abc
- - + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <Name>testdbeditions2</Name> + <Edition>Standard</Edition> + <ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId> +</ServiceResource> + application/xml
@@ -23697,12 +55968,16 @@
x-ms-request-id - 20247ef5-fdcf-43d7-8af1-938e1845f82b + 3bde7763-0982-4d95-9564-87cbdf4daa31
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -23713,23 +55988,23 @@
Date - Thu, 24 Jul 2014 19:22:59 GMT + Tue, 20 Jan 2015 01:50:53 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/master</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-22T17:52:25.3400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</ServiceObjectiveId><AssignedServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-22T17:52:27.9370000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T19:21:36.8800000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T19:21:38.6470000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T19:22:36.6130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdbeditions2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T19:21:40.5400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>524288000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T19:22:09.5830000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T19:22:40.2700000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Basic</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T19:21:50.0100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T19:21:52.3670000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T19:22:49.5530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Premium</Edition><MaxSizeGB>10</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T19:21:53.3530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>10737418240</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T19:21:57.9430000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T19:22:53.0830000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Standard</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-24T19:21:59.8770000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-24T19:22:02.7870000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-24T19:22:59.6770000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:28:46.7400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2015-01-20T01:50:52.3030000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2015-01-20T01:34:16.2500000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 36 + 351 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -23737,11 +56012,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 11f745a3-31a3-4f83-b607-d8a9dc05c49f-2014-07-24 19:22:59Z + 5795d2a1-8df3-4517-b262-fc7d24756ef2-2015-01-20 01:50:53Z +
+
+ Authorization + Bearer abc
@@ -23754,12 +56033,16 @@
x-ms-request-id - 736a3fba-1e5a-43ae-bb01-598e8917ad68 + bf7212ff-f53a-46c3-b15d-092f804bf310
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -23770,23 +56053,23 @@
Date - Thu, 24 Jul 2014 19:22:59 GMT + Tue, 20 Jan 2015 01:50:53 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description>Used for master database only.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources>
- 37 + 352 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -23794,11 +56077,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - f1d861bb-3316-4030-ae55-4ac559cab8be-2014-07-24 19:22:59Z + ca54af12-787d-42bf-a332-b5c63f781882-2015-01-20 01:51:40Z +
+
+ Authorization + Bearer abc
@@ -23811,12 +56098,16 @@
x-ms-request-id - 452f912c-a0bf-4393-a28e-653b0ccdea3a + 4864f8c7-10c8-40c9-b293-06cc0db020e8
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -23827,23 +56118,23 @@
Date - Thu, 24 Jul 2014 19:22:59 GMT + Tue, 20 Jan 2015 01:51:41 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:36:10.7770000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 38 + 353 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7 - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 + PUT + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -23851,16 +56142,25 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 1c3aabf6-d5a4-49b5-bf3e-96d9b93bff39-2014-07-24 19:22:59Z + ca54af12-787d-42bf-a332-b5c63f781882-2015-01-20 01:51:40Z +
+
+ Authorization + Bearer abc
- - + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <Name>testdbeditions3</Name> + <Edition>Standard</Edition> + <MaxSizeGB>1</MaxSizeGB> + <ServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</ServiceObjectiveId> +</ServiceResource> + application/xml
@@ -23868,12 +56168,16 @@
x-ms-request-id - 7b06d554-bc30-40fd-b210-859b6fe52ee2 + 71b98a63-a7b0-412c-b454-8bd7c31f901a
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -23884,23 +56188,23 @@
Date - Thu, 24 Jul 2014 19:22:59 GMT + Tue, 20 Jan 2015 01:51:43 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Standard S2 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2015-01-20T01:51:42.3630000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2015-01-20T01:36:10.7770000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 39 + 354 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -23908,11 +56212,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - a883cc2d-317d-498c-9a7d-c47f4bd3f8c3-2014-07-24 19:23:00Z + cf591798-0be6-4446-b253-39da17307096-2015-01-20 01:51:43Z +
+
+ Authorization + Bearer abc
@@ -23925,12 +56233,16 @@
x-ms-request-id - d38ff2ee-245f-4ab6-8971-569513ee6301 + 6dd90ef7-f1e2-4519-94c2-0bb3744226c6
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -23941,23 +56253,23 @@
Date - Thu, 24 Jul 2014 19:22:59 GMT + Tue, 20 Jan 2015 01:51:43 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Basic resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources>
- 40 + 355 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -23965,11 +56277,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 1b9a3dfa-2625-43e3-8bdc-b5bcfc712182-2014-07-24 19:23:00Z + c5944c2b-c60f-4324-8426-f7c68f310994-2015-01-20 01:51:45Z +
+
+ Authorization + Bearer abc
@@ -23982,12 +56298,16 @@
x-ms-request-id - b26aa310-ccca-4850-b4b4-bed75f88a105 + 2b5ad678-7f52-4f9f-8be0-ad20dbfdfa83
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -23998,23 +56318,23 @@
Date - Thu, 24 Jul 2014 19:23:00 GMT + Tue, 20 Jan 2015 01:51:46 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Premium P1 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>testdbeditions5</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions5</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:44:00.7530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:55:35.7370000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/master</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:32:37.0070000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>620323bf-2879-4807-b30d-c2e6d7b3b3aa</ServiceObjectiveId><AssignedServiceObjectiveId>620323bf-2879-4807-b30d-c2e6d7b3b3aa</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource><ServiceResource><Name>testdbeditions4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions4</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>8</Id><Edition>Premium</Edition><MaxSizeGB>500</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:32:29.1930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>536870912000</MaxSizeBytes><ServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</ServiceObjectiveId><AssignedServiceObjectiveId>7203483a-c4fb-4304-9e9f-17c71c904f5d</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:39:24.5970000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource><ServiceResource><Name>testdbeditions1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:26:27.8730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:33:19.1130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource><ServiceResource><Name>testdbeditions2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:28:46.7400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>455330e1-00cd-488b-b5fa-177c226f28b7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T01:34:16.2500000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource><ServiceResource><Name>testdbeditions3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdbeditions3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Basic</Edition><MaxSizeGB>2</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T01:29:24.3170000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>2147483648</MaxSizeBytes><ServiceObjectiveId>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</ServiceObjectiveId><AssignedServiceObjectiveId>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2015-01-20T01:51:42.3630000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2015-01-20T01:36:10.7770000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource></ServiceResources>
- 41 + 356 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -24022,11 +56342,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 887ba155-a736-4e60-8433-9e2417dc6f85-2014-07-24 19:23:00Z + 1a0cf782-26db-44ef-9743-0f747a07b36f-2015-01-20 01:51:46Z +
+
+ Authorization + Bearer abc
@@ -24039,12 +56363,16 @@
x-ms-request-id - 8b38c232-e1bb-45b4-a077-1a2cb091a968 + b661ef8e-3bbd-44d4-a0ac-d9a185e8aefc
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -24055,23 +56383,23 @@
Date - Thu, 24 Jul 2014 19:23:00 GMT + Tue, 20 Jan 2015 01:51:46 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description>Standard S2 resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources>
- 42 + 357 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions1 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -24079,11 +56407,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 58f22033-95f2-442c-9741-f0b6755ae2c8-2014-07-24 19:23:00Z + 6ace7bc0-7845-40ca-82f4-92cf29025b5c-2015-01-20 01:59:18Z +
+
+ Authorization + Bearer abc
@@ -24096,23 +56428,27 @@
x-ms-request-id - 58c5b433-bcdd-4e77-a502-6cd1473dcb99 + e25287ce-f592-44e6-9549-ab5630739231
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
Date - Thu, 24 Jul 2014 19:23:04 GMT + Tue, 20 Jan 2015 02:00:11 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -24120,11 +56456,11 @@
- 43 + 358 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions2 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -24132,11 +56468,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 73bb8dac-8933-4c60-8520-99c2d71907c9-2014-07-24 19:23:04Z + 45e3bdab-9a77-4eac-9e43-867f98e9bb52-2015-01-20 02:00:11Z +
+
+ Authorization + Bearer abc
@@ -24149,23 +56489,27 @@
x-ms-request-id - 09dca60b-0ea1-4161-908c-e0c35fb054ed + 81d6d6a4-954f-40e9-8bad-6d99b009d3f5
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
Date - Thu, 24 Jul 2014 19:23:12 GMT + Tue, 20 Jan 2015 02:00:32 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -24173,11 +56517,11 @@
- 44 + 359 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions3 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -24185,11 +56529,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - d38031e9-d06d-4f0f-9931-a270611957e3-2014-07-24 19:23:12Z + 27a6a4d7-9c17-4636-abda-9ae053f93e1b-2015-01-20 02:00:32Z +
+
+ Authorization + Bearer abc
@@ -24202,23 +56550,27 @@
x-ms-request-id - b2ec5c22-3189-4c32-a657-bbb3431f86dc + cc973cb7-4e57-4646-995f-9eb9b01248d1
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
Date - Thu, 24 Jul 2014 19:23:15 GMT + Tue, 20 Jan 2015 02:00:50 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -24226,11 +56578,11 @@
- 45 + 360 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions4 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -24238,11 +56590,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - e08b90d1-27bd-4dc2-b14f-f834890e5249-2014-07-24 19:23:15Z + f1049c3e-4eff-4899-ad16-78e1ee7a9e78-2015-01-20 02:00:50Z +
+
+ Authorization + Bearer abc
@@ -24255,23 +56611,27 @@
x-ms-request-id - f90c57ac-f158-48e4-a9af-5bc35358c286 + 9c7e53e8-7011-405f-a985-5f15c42d6e58
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
Date - Thu, 24 Jul 2014 19:23:18 GMT + Tue, 20 Jan 2015 02:01:12 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -24279,11 +56639,11 @@
- 46 + 361 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdbeditions5 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -24291,11 +56651,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 18e46d85-bc4a-4eaf-b560-9e4dab925cc8-2014-07-24 19:23:18Z + 52bedf4f-0487-4710-a1d3-1bde076bb803-2015-01-20 02:01:12Z +
+
+ Authorization + Bearer abc
@@ -24308,23 +56672,27 @@
x-ms-request-id - 3f7c38a9-1d3e-4ce4-9327-f4f49859b7d6 + 060f1f12-e52f-43fa-b5b9-064a2c92efb4
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
Date - Thu, 24 Jul 2014 19:23:22 GMT + Tue, 20 Jan 2015 02:01:40 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -24332,11 +56700,11 @@
- 47 + 362 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -24344,11 +56712,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 60a0b3b6-37df-45c3-af48-fa8daefdf36d-2014-07-24 19:23:22Z + ecc1a2ff-ec03-4ab3-815e-80252ee5ad02-2015-01-20 02:01:40Z +
+
+ Authorization + Bearer abc
@@ -24361,12 +56733,16 @@
x-ms-request-id - 192ef738-0d63-4e5d-90aa-45d1982cf417 + 87890629-0851-47cb-811a-750015234e8b
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -24377,23 +56753,23 @@
Date - Thu, 24 Jul 2014 19:23:22 GMT + Tue, 20 Jan 2015 02:01:47 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/master</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-22T17:52:25.3400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</ServiceObjectiveId><AssignedServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-22T17:52:27.9370000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource></ServiceResources> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/master</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-19T22:32:37.0070000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>620323bf-2879-4807-b30d-c2e6d7b3b3aa</ServiceObjectiveId><AssignedServiceObjectiveId>620323bf-2879-4807-b30d-c2e6d7b3b3aa</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource></ServiceResources>
- 48 + 363 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -24401,11 +56777,15 @@
x-ms-client-session-id - 6c208120-4e10-48f8-8363-3788483ea4da-2014-07-24 19:21:36Z + 61b3accf-e7ad-40e8-ad26-0274af73b408-2015-01-20 01:26:26Z
x-ms-client-request-id - 0e072d76-3aa0-4af8-a151-f5b4e4ef578e-2014-07-24 19:23:22Z + b2bf5694-e70b-4aff-a462-5925ea9b9bea-2015-01-20 02:01:47Z +
+
+ Authorization + Bearer abc
@@ -24418,12 +56798,16 @@
x-ms-request-id - 3e3570c0-ebee-4890-bedc-cb8fb192fd4c + 07180595-d885-4081-b229-721a98b5c1a1
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -24434,15 +56818,15 @@
Date - Thu, 24 Jul 2014 19:23:22 GMT + Tue, 20 Jan 2015 02:01:47 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description>Used for master database only.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources>
@@ -26141,15 +58525,244 @@ application/atom+xml,application/xml - NoContent + NoContent + +
+ x-ms-request-id + 44fc40d4-31f2-437d-9d68-41901b73a571 +
+
+ DataServiceVersion + 1.0; +
+
+ X-Content-Type-Options + nosniff +
+
+ Cache-Control + no-store,no-cache +
+
+ Date + Thu, 11 Oct 2012 22:27:00 GMT +
+
+ Server + Microsoft-HTTPAPI/2.0 +
+
+ + +
+ + +
+ + UnitTest.Microsoft.WindowsAzure.Commands.SqlDatabase.Test.UnitTests.Database.Cmdlet.AzureSqlDatabaseCopyCertAuthTests.AzureSqlContinuousDatabaseCopyCertTests + + + 83 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z +
+
+ x-ms-client-request-id + b3d9d368-edb2-4989-a8c3-7c0872a99ca5-2014-07-02 18:48:46Z +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 2c63ce84-933d-49cb-9537-7093c8594fee +
+
+ X-Content-Type-Options + nosniff +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Wed, 02 Jul 2014 18:48:46 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description>Used for master database only.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> +
+
+ + 84 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z +
+
+ x-ms-client-request-id + 34d5fe72-51bb-4e43-a020-dd82408c713c-2014-07-02 18:48:46Z +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 64237926-b4ca-472a-bf47-054f4543f162 +
+
+ X-Content-Type-Options + nosniff +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Wed, 02 Jul 2014 18:48:46 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> +
+
+ + 85 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z +
+
+ x-ms-client-request-id + 330e9f6b-c9ee-4713-8112-5ba66eec3db3-2014-07-02 18:48:46Z +
+
+ + + + +
+ + OK + +
+ x-ms-request-id + 8d08c5b8-13c9-436b-a247-3d72cc7b1f0a +
+
+ X-Content-Type-Options + nosniff +
+
+ Cache-Control + no-store,no-cache +
+
+ Content-Type + application/xml; charset=utf-8 +
+
+ Date + Wed, 02 Jul 2014 18:48:46 GMT +
+
+ Server + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0 +
+
+ + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> +
+
+ + 86 + + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.14 + +
+ x-ms-version + 2012-03-01 +
+
+ x-ms-client-session-id + 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z +
+
+ x-ms-client-request-id + fc0a7218-4267-4678-b73c-d54aae9f367c-2014-07-02 18:48:47Z +
+
+ + + + +
+ + OK
x-ms-request-id - 44fc40d4-31f2-437d-9d68-41901b73a571 -
-
- DataServiceVersion - 1.0; + 0a376f6c-f61a-470d-9ce6-946379318f45
X-Content-Type-Options @@ -26159,30 +58772,29 @@ Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Thu, 11 Oct 2012 22:27:00 GMT + Wed, 02 Jul 2014 18:48:47 GMT
Server - Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource>
-
-
- - UnitTest.Microsoft.WindowsAzure.Commands.SqlDatabase.Test.UnitTests.Database.Cmdlet.AzureSqlDatabaseCopyCertAuthTests.AzureSqlContinuousDatabaseCopyCertTests - - 0 + 87 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -26194,25 +58806,20 @@
x-ms-client-request-id - 7a5e82d7-b4b1-440a-b5e3-a7b8f197833e-2014-07-02 18:40:43Z + 63d2d975-8f4a-4a64-b2e8-6db38bd12020-2014-07-02 18:48:47Z
- - <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdb0</Name> - <CollationName></CollationName> - </ServiceResource> - - application/xml + +
- Created + OK
x-ms-request-id - 87eeb37f-31ae-4ee5-9d05-7a10780a6f13 + b9e20c4e-6068-4024-80a4-632dc32b0477
X-Content-Type-Options @@ -26228,23 +58835,23 @@
Date - Wed, 02 Jul 2014 18:41:02 GMT + Wed, 02 Jul 2014 18:48:47 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb0</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>4</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:40:51.5700000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:40:59.8870000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-02T18:41:50.4470000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource>
- 1 + 88 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -26256,7 +58863,7 @@
x-ms-client-request-id - b4f36da3-90b3-4d3d-9c2a-e6a27d067f30-2014-07-02 18:41:02Z + e1def5c9-f186-4385-8fbb-fdeb9a75e56d-2014-07-02 18:48:47Z
@@ -26269,7 +58876,7 @@
x-ms-request-id - 74a82f71-aa3c-40be-9911-acebed4293e3 + 60fc52d9-9d31-4e27-9a97-b496c1ccf2dd
X-Content-Type-Options @@ -26285,23 +58892,23 @@
Date - Wed, 02 Jul 2014 18:41:02 GMT + Wed, 02 Jul 2014 18:48:47 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource>
- 2 + 89 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb2 + DELETE + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -26313,25 +58920,20 @@
x-ms-client-request-id - d09024f2-fe5e-40b6-b3d1-7a6c9867a6b5-2014-07-02 18:41:02Z + f388f8d6-f0ef-40cf-87c4-317cedee2cfd-2014-07-02 18:48:47Z
- - <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdb1</Name> - <CollationName></CollationName> - </ServiceResource> - - application/xml + +
- Created + OK
x-ms-request-id - 3ced8ef3-9154-4946-b4c0-02cc8e01b489 + 0ff6a95c-b8f2-4a17-8b73-a2128302b22a
X-Content-Type-Options @@ -26341,29 +58943,25 @@ Cache-Control no-store,no-cache
-
- Content-Type - application/xml; charset=utf-8 -
Date - Wed, 02 Jul 2014 18:41:22 GMT + Wed, 02 Jul 2014 18:49:07 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb1</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:41:09.3500000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:41:20.2470000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-02T18:42:05.8870000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> +
- 3 + 90 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb3 + DELETE + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -26375,11 +58973,11 @@
x-ms-client-request-id - ca1795a8-8b77-4084-bbd4-f202bb21b40a-2014-07-02 18:41:23Z + 114e6b5a-fa75-4fc4-8fd4-cd62aa90c68e-2014-07-02 18:49:07Z
- +
@@ -26388,7 +58986,7 @@
x-ms-request-id - 0ac03c7b-b490-4bde-b909-798881fd1c5d + 5c78510c-381e-43a6-870c-355082c7b5b0
X-Content-Type-Options @@ -26398,29 +58996,25 @@ Cache-Control no-store,no-cache
-
- Content-Type - application/xml; charset=utf-8 -
Date - Wed, 02 Jul 2014 18:41:24 GMT + Wed, 02 Jul 2014 18:49:48 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> +
- 4 + 91 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb0 + DELETE + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -26432,25 +59026,20 @@
x-ms-client-request-id - 050bea16-51fb-416c-8f22-11837665aec9-2014-07-02 18:41:24Z + 816a3fe3-e455-476c-82cb-cea759a7441a-2014-07-02 18:49:48Z
- - <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdb2</Name> - <CollationName></CollationName> - </ServiceResource> - - application/xml + +
- Created + OK
x-ms-request-id - aa88957f-638c-46f5-9a9a-7597c16a212c + 397e93df-0169-4d16-aaac-406ced1e05c2
X-Content-Type-Options @@ -26460,29 +59049,25 @@ Cache-Control no-store,no-cache
-
- Content-Type - application/xml; charset=utf-8 -
Date - Wed, 02 Jul 2014 18:41:53 GMT + Wed, 02 Jul 2014 18:49:57 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb2</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>4</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:41:28.4570000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:41:42.3070000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-02T18:42:27.2300000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> +
- 5 + 92 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb1 + DELETE + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -26494,11 +59079,11 @@
x-ms-client-request-id - 5004a708-0ef4-4aa6-8dba-54998fe88a05-2014-07-02 18:41:53Z + cac9a1fe-62d6-4d88-bbcf-598182315f71-2014-07-02 18:49:57Z
- +
@@ -26507,7 +59092,7 @@
x-ms-request-id - 6e73ce97-fab8-40af-849d-9b6e590af935 + 4100a558-dfdf-4d45-9cbe-e4feb700b435
X-Content-Type-Options @@ -26517,29 +59102,25 @@ Cache-Control no-store,no-cache
-
- Content-Type - application/xml; charset=utf-8 -
Date - Wed, 02 Jul 2014 18:41:55 GMT + Wed, 02 Jul 2014 18:50:10 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> +
- 6 + 93 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb4 + DELETE + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -26551,25 +59132,20 @@
x-ms-client-request-id - bce8153e-b9a8-48d1-94cf-44d0850cb900-2014-07-02 18:41:55Z + bf197c2c-97c5-4ff5-b2ed-344b167ab0ed-2014-07-02 18:50:10Z
- - <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdb3</Name> - <CollationName></CollationName> - </ServiceResource> - - application/xml + +
- Created + OK
x-ms-request-id - 61404711-e825-4cc3-b452-cc64364b1474 + 9afc41f0-7a6f-419a-803f-04013a1f6ed5
X-Content-Type-Options @@ -26579,29 +59155,25 @@ Cache-Control no-store,no-cache
-
- Content-Type - application/xml; charset=utf-8 -
Date - Wed, 02 Jul 2014 18:42:31 GMT + Wed, 02 Jul 2014 18:50:18 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb3</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>5</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:42:01.5100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:42:25.5100000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-02T18:42:58.4630000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> +
- 7 + 0 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -26609,29 +59181,40 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 9668367c-7146-4937-997b-63f33b8f9321-2014-07-02 18:42:31Z + e1694264-150f-412e-be26-6a1683e53b96-2015-01-20 22:10:56Z +
+
+ Authorization + Bearer abc
- - + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <Name>testdb0</Name> + <CollationName></CollationName> +</ServiceResource> + application/xml
- OK + Created
x-ms-request-id - 1ee6be0a-57a3-4a17-8d02-b2ebbd99d433 + d8e25772-f9fa-4cea-9ffc-fef967a5dd20
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -26642,23 +59225,23 @@
Date - Wed, 02 Jul 2014 18:42:31 GMT + Tue, 20 Jan 2015 22:11:01 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb0</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:10:56.9000000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:15:56.9000000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource>
- 8 + 1 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -26666,32 +59249,37 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 020cd36d-481f-4405-99cc-f0a33fc235e5-2014-07-02 18:42:32Z + ef89129e-f6ee-4819-b10c-3d2ee75d7a39-2015-01-20 22:11:01Z +
+
+ Authorization + Bearer abc
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdb4</Name> - <CollationName></CollationName> -</ServiceResource> - application/xml + +
- Created + OK
x-ms-request-id - 647f4df4-d8cf-4ae5-a7f8-5c5287bd358c + b4a77c90-0cde-4b72-a5f1-b264d4c8d424
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -26702,23 +59290,23 @@
Date - Wed, 02 Jul 2014 18:42:47 GMT + Tue, 20 Jan 2015 22:11:01 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb4</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>6</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:42:33.3600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:42:40.9800000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-02T18:43:32.8070000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources>
- 9 + 2 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -26726,11 +59314,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - d6af970b-d518-4679-812f-475ff6ad40b7-2014-07-02 18:42:47Z + c0898f66-9be9-4226-9530-41dd45b4daa0-2015-01-20 22:12:48Z +
+
+ Authorization + Bearer abc
@@ -26743,12 +59335,16 @@
x-ms-request-id - 7eb43cfb-b41a-4254-937b-6d33bb2253ec + 62d9969e-23a3-4353-b844-3cc20c23d4bf
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -26759,23 +59355,23 @@
Date - Wed, 02 Jul 2014 18:42:47 GMT + Tue, 20 Jan 2015 22:12:48 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb0</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:10:56.9000000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:16:51.8370000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource>
- 10 + 3 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -26783,19 +59379,21 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - ac80182d-a832-4a33-aed2-ef42d3d1f829-2014-07-02 18:42:48Z + fcbcce6d-bc93-426f-a962-d6a7dc351a49-2015-01-20 22:12:50Z +
+
+ Authorization + Bearer abc
<ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <PartnerServer>partnersrv</PartnerServer> - <PartnerDatabase>testdb0</PartnerDatabase> - <IsContinuous>true</IsContinuous> - <IsOfflineSecondary>false</IsOfflineSecondary> + <Name>testdb1</Name> + <CollationName></CollationName> </ServiceResource> application/xml @@ -26805,12 +59403,16 @@
x-ms-request-id - 06ea4cad-6893-4673-ba42-5cb2663c6444 + 3e5c66a1-d676-4081-8a12-147623fbd29d
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -26821,23 +59423,23 @@
Date - Wed, 02 Jul 2014 18:43:04 GMT + Tue, 20 Jan 2015 22:12:55 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>8df450a0-461f-4d20-975d-6737a3939c61</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0/databasecopies/8df450a0-461f-4d20-975d-6737a3939c61</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb0</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb0</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb0</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:42:57.6170000Z</StartDate><ModifyDate>2014-07-02T18:42:57.6170000Z</ModifyDate><PercentComplete>0</PercentComplete><ReplicationState>0</ReplicationState><ReplicationStateDescription>PENDING</ReplicationStateDescription><LocalDatabaseId>4</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/cloud4/databases/testdb1</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:12:50.3830000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:17:50.3830000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource>
- 11 + 4 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -26845,34 +59447,37 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - ec6f6ba3-f490-4eb1-91fb-11bb6a37b78d-2014-07-02 18:43:04Z + 515e3deb-45a3-42ea-861f-df7f86f8618f-2015-01-20 22:12:55Z +
+
+ Authorization + Bearer abc
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <PartnerServer>partnersrv</PartnerServer> - <PartnerDatabase>testdb1</PartnerDatabase> - <IsContinuous>true</IsContinuous> - <IsOfflineSecondary>false</IsOfflineSecondary> -</ServiceResource> - application/xml + +
- Created + OK
x-ms-request-id - f15231c7-e8a3-4e32-87d3-5d9dd05abab7 + c9f8acfb-2d88-45dc-9a58-8e264babe915
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -26883,23 +59488,23 @@
Date - Wed, 02 Jul 2014 18:43:10 GMT + Tue, 20 Jan 2015 22:12:55 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>bca19806-bf69-4369-a21f-c607d3756d89</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb1/databasecopies/bca19806-bf69-4369-a21f-c607d3756d89</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb1</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb1</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb1</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:43:07.3300000Z</StartDate><ModifyDate>2014-07-02T18:43:07.3300000Z</ModifyDate><PercentComplete>0</PercentComplete><ReplicationState>0</ReplicationState><ReplicationStateDescription>PENDING</ReplicationStateDescription><LocalDatabaseId>5</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources>
- 12 + 5 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb2/databasecopies - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -26907,34 +59512,37 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - dc1c7f96-33d9-4df0-a127-85f9ef1290fd-2014-07-02 18:43:10Z + 31ef0908-de23-4cbc-bb16-3e8ea224e91a-2015-01-20 22:17:53Z +
+
+ Authorization + Bearer abc
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <PartnerServer>cloud4</PartnerServer> - <PartnerDatabase>testdb2</PartnerDatabase> - <IsContinuous>true</IsContinuous> - <IsOfflineSecondary>false</IsOfflineSecondary> -</ServiceResource> - application/xml + +
- Created + OK
x-ms-request-id - a88c3c63-f2dc-4ef9-8a06-f089cfc664cd + cd6a5a52-1930-4182-9247-8d35527a4790
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -26945,23 +59553,23 @@
Date - Wed, 02 Jul 2014 18:43:50 GMT + Tue, 20 Jan 2015 22:17:53 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>ae68062d-9a09-4ae3-b7d1-99eee6004d7f</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb2/databasecopies/ae68062d-9a09-4ae3-b7d1-99eee6004d7f</SelfLink><ParentLink>https://localhost/servers/partnersrv/databases/testdb2</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb2</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb2</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:43:24.9030000Z</StartDate><ModifyDate>2014-07-02T18:43:24.9030000Z</ModifyDate><PercentComplete>0</PercentComplete><ReplicationState>0</ReplicationState><ReplicationStateDescription>PENDING</ReplicationStateDescription><LocalDatabaseId>4</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb1</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:12:50.3830000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:18:11.1030000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource>
- 13 + 6 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb3/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -26969,19 +59577,21 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - f523deeb-4069-401d-9cde-7429615eda58-2014-07-02 18:43:50Z + 22ba8641-be2e-4c99-b773-87dc0007fe1e-2015-01-20 22:17:54Z +
+
+ Authorization + Bearer abc
<ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <PartnerServer>cloud4</PartnerServer> - <PartnerDatabase>testdb3</PartnerDatabase> - <IsContinuous>true</IsContinuous> - <IsOfflineSecondary>false</IsOfflineSecondary> + <Name>testdb2</Name> + <CollationName></CollationName> </ServiceResource> application/xml @@ -26991,12 +59601,16 @@
x-ms-request-id - 517769ba-c989-4204-b822-901eb52c9220 + e2b5d637-8900-42bd-b669-69629d14227e
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -27007,23 +59621,23 @@
Date - Wed, 02 Jul 2014 18:44:23 GMT + Tue, 20 Jan 2015 22:17:59 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>47dcf839-2847-4458-9e61-584f3adbc2bc</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb3/databasecopies/47dcf839-2847-4458-9e61-584f3adbc2bc</SelfLink><ParentLink>https://localhost/servers/partnersrv/databases/testdb3</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb3</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb3</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:44:12.8070000Z</StartDate><ModifyDate>2014-07-02T18:44:12.8070000Z</ModifyDate><PercentComplete>0</PercentComplete><ReplicationState>0</ReplicationState><ReplicationStateDescription>PENDING</ReplicationStateDescription><LocalDatabaseId>5</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb2</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:17:54.8670000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:22:54.8670000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource>
- 14 + 7 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4/databasecopies - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -27031,34 +59645,37 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 8d40b54c-d325-44c6-9e4d-1d807f78f669-2014-07-02 18:44:23Z + efa771b3-d1fc-4ebe-9947-ace7df1efc20-2015-01-20 22:17:59Z +
+
+ Authorization + Bearer abc
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <PartnerServer>partnersrv</PartnerServer> - <PartnerDatabase>testdb4</PartnerDatabase> - <IsContinuous>true</IsContinuous> - <IsOfflineSecondary>true</IsOfflineSecondary> -</ServiceResource> - application/xml + +
- Created + OK
x-ms-request-id - 24a6c730-1e38-425f-a9c9-9cd42b635c29 + 23c34eb4-30ca-43b2-8fd0-0bcd5dac37ad
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -27069,23 +59686,23 @@
Date - Wed, 02 Jul 2014 18:44:40 GMT + Tue, 20 Jan 2015 22:17:59 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>51d22086-2be9-4f4a-a569-3b3372f50d34</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb4/databasecopies/51d22086-2be9-4f4a-a569-3b3372f50d34</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb4</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb4</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb4</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:44:29.6930000Z</StartDate><ModifyDate>2014-07-02T18:44:29.6930000Z</ModifyDate><PercentComplete>0</PercentComplete><ReplicationState>0</ReplicationState><ReplicationStateDescription>PENDING</ReplicationStateDescription><LocalDatabaseId>6</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>True</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources>
- 15 + 8 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -27093,11 +59710,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - acbc2739-3b4f-47c6-9436-8c076a8292cc-2014-07-02 18:44:40Z + d712814e-5458-486b-b0af-7070a378490f-2015-01-20 22:19:59Z +
+
+ Authorization + Bearer abc
@@ -27110,12 +59731,16 @@
x-ms-request-id - 7059efab-b08b-46d7-9f97-87481c0b7aa2 + a90bb12e-edd3-40a1-8539-007dc4e0c6ab
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -27126,23 +59751,23 @@
Date - Wed, 02 Jul 2014 18:44:43 GMT + Tue, 20 Jan 2015 22:20:00 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>8df450a0-461f-4d20-975d-6737a3939c61</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0/databasecopies/8df450a0-461f-4d20-975d-6737a3939c61</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb0</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb0</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb0</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:42:57.6170000Z</StartDate><ModifyDate>2014-07-02T18:44:10.7370000Z</ModifyDate><PercentComplete>99</PercentComplete><ReplicationState>1</ReplicationState><ReplicationStateDescription>SEEDING</ReplicationStateDescription><LocalDatabaseId>4</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb2</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:17:54.8670000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:23:40.9600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource>
- 16 + 9 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -27150,29 +59775,40 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 60e3db3d-3a5b-4ec0-ade2-8fce200f397d-2014-07-02 18:44:53Z + 22747300-5cbc-449f-a02c-c8472df9d77b-2015-01-20 22:20:01Z +
+
+ Authorization + Bearer abc
- - + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <Name>testdb3</Name> + <CollationName></CollationName> +</ServiceResource> + application/xml
- OK + Created
x-ms-request-id - ccbca58e-02c9-47ec-9014-80a27a4d7199 + d0d3a2df-2fc9-4a7c-a456-d3cdb7a6aa70
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -27183,23 +59819,23 @@
Date - Wed, 02 Jul 2014 18:44:58 GMT + Tue, 20 Jan 2015 22:20:06 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>8df450a0-461f-4d20-975d-6737a3939c61</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0/databasecopies/8df450a0-461f-4d20-975d-6737a3939c61</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb0</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb0</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb0</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:42:57.6170000Z</StartDate><ModifyDate>2014-07-02T18:44:45.3170000Z</ModifyDate><PercentComplete>99</PercentComplete><ReplicationState>1</ReplicationState><ReplicationStateDescription>SEEDING</ReplicationStateDescription><LocalDatabaseId>4</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb3</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:20:01.7730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:25:01.7730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource>
- 17 + 10 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -27207,11 +59843,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 3b2e2252-47e1-4589-9249-0c1859cb3b0e-2014-07-02 18:45:08Z + 7b8c1cc9-a8a1-4cba-a7b9-e77367ba5336-2015-01-20 22:20:06Z +
+
+ Authorization + Bearer abc
@@ -27224,12 +59864,16 @@
x-ms-request-id - 488adcc2-1a3b-4c5d-8677-122b8ab68b79 + 30b3e925-d36f-44c9-b32f-6bc1f2f322c3
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -27240,23 +59884,23 @@
Date - Wed, 02 Jul 2014 18:45:09 GMT + Tue, 20 Jan 2015 22:20:06 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>8df450a0-461f-4d20-975d-6737a3939c61</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0/databasecopies/8df450a0-461f-4d20-975d-6737a3939c61</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb0</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb0</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb0</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:42:57.6170000Z</StartDate><ModifyDate>2014-07-02T18:45:01.0200000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>4</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources>
- 18 + 11 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb3 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -27264,11 +59908,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 63afbc09-5a20-466e-98ca-941cc8b09657-2014-07-02 18:45:09Z + a9b227c4-10f3-4989-9d57-b1e0cc40d24c-2015-01-20 22:21:25Z +
+
+ Authorization + Bearer abc
@@ -27281,12 +59929,16 @@
x-ms-request-id - d5efd9af-081d-4f1b-8cb1-a48156c2f2e2 + 0c25670a-3fe5-44f9-93f1-260e6922090f
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -27297,23 +59949,23 @@
Date - Wed, 02 Jul 2014 18:45:09 GMT + Tue, 20 Jan 2015 22:21:25 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>bca19806-bf69-4369-a21f-c607d3756d89</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb1/databasecopies/bca19806-bf69-4369-a21f-c607d3756d89</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb1</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb1</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb1</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:43:07.3300000Z</StartDate><ModifyDate>2014-07-02T18:44:47.3530000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>5</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb3</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:20:01.7730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:25:18.4770000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource>
- 19 + 12 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb2/databasecopies - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -27321,29 +59973,40 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - efd518de-40f9-412f-9d86-a1fec0a961ec-2014-07-02 18:45:09Z + 59882c1a-f21d-43c7-9690-1f9c0c8550d2-2015-01-20 22:21:26Z +
+
+ Authorization + Bearer abc
- - + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <Name>testdb4</Name> + <CollationName></CollationName> +</ServiceResource> + application/xml
- OK + Created
x-ms-request-id - 4315827c-45d5-4acd-acea-c813d838e2f0 + 14d3d6bb-bcfd-4ce2-a560-2ce43a9f0136
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -27354,23 +60017,23 @@
Date - Wed, 02 Jul 2014 18:45:11 GMT + Tue, 20 Jan 2015 22:21:31 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>ae68062d-9a09-4ae3-b7d1-99eee6004d7f</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb2/databasecopies/ae68062d-9a09-4ae3-b7d1-99eee6004d7f</SelfLink><ParentLink>https://localhost/servers/partnersrv/databases/testdb2</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb2</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb2</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:43:24.9030000Z</StartDate><ModifyDate>2014-07-02T18:45:07.2900000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>4</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/cloud4/databases/testdb4</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:21:26.5070000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:26:26.5070000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource>
- 20 + 13 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb3/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -27378,11 +60041,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - bab2d900-e986-4fd0-8928-4fa4604fd6ba-2014-07-02 18:45:11Z + e5ca798d-0eb7-4d67-aa48-40cd0cae4045-2015-01-20 22:21:31Z +
+
+ Authorization + Bearer abc
@@ -27395,12 +60062,16 @@
x-ms-request-id - 1bfa57d7-0738-45c8-8152-7f8c0b767ffb + c2711a41-9283-4b7b-aec9-a1b953ea81fc
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -27411,23 +60082,23 @@
Date - Wed, 02 Jul 2014 18:45:14 GMT + Tue, 20 Jan 2015 22:21:31 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>47dcf839-2847-4458-9e61-584f3adbc2bc</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb3/databasecopies/47dcf839-2847-4458-9e61-584f3adbc2bc</SelfLink><ParentLink>https://localhost/servers/partnersrv/databases/testdb3</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb3</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb3</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:44:12.8070000Z</StartDate><ModifyDate>2014-07-02T18:44:50.8200000Z</ModifyDate><PercentComplete>0</PercentComplete><ReplicationState>0</ReplicationState><ReplicationStateDescription>PENDING</ReplicationStateDescription><LocalDatabaseId>5</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources>
- 21 + 14 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb3/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -27435,11 +60106,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - bf4a101f-7eab-472e-b482-b05328b1b12f-2014-07-02 18:45:24Z + eabca5cd-85c7-4d7f-b226-12dc52a52e53-2015-01-20 22:24:34Z +
+
+ Authorization + Bearer abc
@@ -27452,12 +60127,16 @@
x-ms-request-id - 055a3fe0-6f44-4ee3-bab9-7f58c083d17d + dc6d11e6-8a6a-404e-af3c-f0767cb4bfb6
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -27468,23 +60147,23 @@
Date - Wed, 02 Jul 2014 18:45:24 GMT + Tue, 20 Jan 2015 22:24:34 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>47dcf839-2847-4458-9e61-584f3adbc2bc</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb3/databasecopies/47dcf839-2847-4458-9e61-584f3adbc2bc</SelfLink><ParentLink>https://localhost/servers/partnersrv/databases/testdb3</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb3</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb3</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:44:12.8070000Z</StartDate><ModifyDate>2014-07-02T18:45:22.6130000Z</ModifyDate><PercentComplete>0</PercentComplete><ReplicationState>0</ReplicationState><ReplicationStateDescription>PENDING</ReplicationStateDescription><LocalDatabaseId>5</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb4</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:21:26.5070000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:26:41.6000000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource>
- 22 + 15 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb3/databasecopies - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -27492,29 +60171,42 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - f903f5de-c541-477b-9fba-c7f74477fdd5-2014-07-02 18:45:35Z + 16eedbac-9f00-40c1-ab19-d799fae609b0-2015-01-20 22:24:38Z +
+
+ Authorization + Bearer abc
- - + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <PartnerServer>partnersrv</PartnerServer> + <PartnerDatabase>testdb0</PartnerDatabase> + <IsContinuous>true</IsContinuous> + <IsOfflineSecondary>false</IsOfflineSecondary> +</ServiceResource> + application/xml
- OK + Created
x-ms-request-id - 4e15e216-b26f-4cfe-9058-10fa631154ae + a61a78d5-647d-4352-a3a8-f47208807def
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -27525,23 +60217,23 @@
Date - Wed, 02 Jul 2014 18:45:35 GMT + Tue, 20 Jan 2015 22:24:40 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>47dcf839-2847-4458-9e61-584f3adbc2bc</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb3/databasecopies/47dcf839-2847-4458-9e61-584f3adbc2bc</SelfLink><ParentLink>https://localhost/servers/partnersrv/databases/testdb3</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb3</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb3</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:44:12.8070000Z</StartDate><ModifyDate>2014-07-02T18:45:22.6130000Z</ModifyDate><PercentComplete>0</PercentComplete><ReplicationState>0</ReplicationState><ReplicationStateDescription>PENDING</ReplicationStateDescription><LocalDatabaseId>5</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>b6cbe087-5a1b-4108-b662-965238ab1c0b</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0/databasecopies/b6cbe087-5a1b-4108-b662-965238ab1c0b</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb0</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb0</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb0</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:24:38.9300000</StartDate><ModifyDate>2015-01-20T22:24:39.0570000</ModifyDate><PercentComplete>0</PercentComplete><ReplicationState>0</ReplicationState><ReplicationStateDescription>PENDING</ReplicationStateDescription><LocalDatabaseId>5</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource>
- 23 + 16 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb3/databasecopies - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -27549,29 +60241,42 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - c3d7193f-41c2-46e6-b87d-fc755ba8f3d6-2014-07-02 18:45:45Z + ddb23d7c-a7b6-4fed-b974-1b5608347b80-2015-01-20 22:29:08Z +
+
+ Authorization + Bearer abc
- - + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <PartnerServer>partnersrv</PartnerServer> + <PartnerDatabase>testdb1</PartnerDatabase> + <IsContinuous>true</IsContinuous> + <IsOfflineSecondary>false</IsOfflineSecondary> +</ServiceResource> + application/xml
- OK + Created
x-ms-request-id - f221df00-a9ed-48c4-b5bd-ff1d2cb6412f + 54587074-e828-4212-9fe2-e49546ff6557
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -27582,23 +60287,23 @@
Date - Wed, 02 Jul 2014 18:45:45 GMT + Tue, 20 Jan 2015 22:29:10 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>47dcf839-2847-4458-9e61-584f3adbc2bc</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb3/databasecopies/47dcf839-2847-4458-9e61-584f3adbc2bc</SelfLink><ParentLink>https://localhost/servers/partnersrv/databases/testdb3</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb3</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb3</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:44:12.8070000Z</StartDate><ModifyDate>2014-07-02T18:45:22.6130000Z</ModifyDate><PercentComplete>0</PercentComplete><ReplicationState>0</ReplicationState><ReplicationStateDescription>PENDING</ReplicationStateDescription><LocalDatabaseId>5</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>b67a18a3-2ba6-4ba9-b50c-686cb1c8ce55</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb1/databasecopies/b67a18a3-2ba6-4ba9-b50c-686cb1c8ce55</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb1</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb1</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb1</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:29:09.0570000</StartDate><ModifyDate>2015-01-20T22:29:09.1800000</ModifyDate><PercentComplete>0</PercentComplete><ReplicationState>0</ReplicationState><ReplicationStateDescription>PENDING</ReplicationStateDescription><LocalDatabaseId>6</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource>
- 24 + 17 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb3/databasecopies - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb2/databasecopies + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -27606,29 +60311,42 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 7096cde8-fba5-40c7-a8dd-1f7c65b86a2d-2014-07-02 18:45:55Z + 6a38cab6-36fa-43b1-98ba-8aec381a0017-2015-01-20 22:34:40Z +
+
+ Authorization + Bearer abc
- - + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <PartnerServer>cloud4</PartnerServer> + <PartnerDatabase>testdb2</PartnerDatabase> + <IsContinuous>true</IsContinuous> + <IsOfflineSecondary>false</IsOfflineSecondary> +</ServiceResource> + application/xml
- OK + Created
x-ms-request-id - e262972f-c0d1-4ced-a5dd-c7d0a11da4a7 + 99404d08-af91-4580-afee-ccbbfae97e83
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -27639,23 +60357,23 @@
Date - Wed, 02 Jul 2014 18:45:56 GMT + Tue, 20 Jan 2015 22:34:42 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>47dcf839-2847-4458-9e61-584f3adbc2bc</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb3/databasecopies/47dcf839-2847-4458-9e61-584f3adbc2bc</SelfLink><ParentLink>https://localhost/servers/partnersrv/databases/testdb3</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb3</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb3</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:44:12.8070000Z</StartDate><ModifyDate>2014-07-02T18:45:54.9370000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>5</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>56a14baf-8675-4d94-8966-b02dcc242a43</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb2/databasecopies/56a14baf-8675-4d94-8966-b02dcc242a43</SelfLink><ParentLink>https://localhost/servers/partnersrv/databases/testdb2</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb2</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb2</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:34:40.5730000</StartDate><ModifyDate>2015-01-20T22:34:40.6830000</ModifyDate><PercentComplete>0</PercentComplete><ReplicationState>0</ReplicationState><ReplicationStateDescription>PENDING</ReplicationStateDescription><LocalDatabaseId>5</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource>
- 25 + 18 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4/databasecopies - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb3/databasecopies + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -27663,29 +60381,42 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 6bcb1d6b-0b0d-4db8-842e-235098e6c5d3-2014-07-02 18:45:56Z + c31a5355-1e9f-4082-b405-b715c204e1aa-2015-01-20 22:36:05Z +
+
+ Authorization + Bearer abc
- - + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <PartnerServer>cloud4</PartnerServer> + <PartnerDatabase>testdb3</PartnerDatabase> + <IsContinuous>true</IsContinuous> + <IsOfflineSecondary>false</IsOfflineSecondary> +</ServiceResource> + application/xml
- OK + Created
x-ms-request-id - c43557bf-bd25-4f28-bc3f-f91c6cb51b7d + 489cc5d9-70bc-4720-ac85-b3420c81a810
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -27696,23 +60427,23 @@
Date - Wed, 02 Jul 2014 18:45:56 GMT + Tue, 20 Jan 2015 22:36:07 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>51d22086-2be9-4f4a-a569-3b3372f50d34</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb4/databasecopies/51d22086-2be9-4f4a-a569-3b3372f50d34</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb4</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb4</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb4</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:44:29.6930000Z</StartDate><ModifyDate>2014-07-02T18:45:41.6200000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>6</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>True</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>5b55e880-8073-4e49-93c0-e8f198c4b975</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb3/databasecopies/5b55e880-8073-4e49-93c0-e8f198c4b975</SelfLink><ParentLink>https://localhost/servers/partnersrv/databases/testdb3</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb3</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb3</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:36:05.2770000</StartDate><ModifyDate>2015-01-20T22:36:05.4330000</ModifyDate><PercentComplete>0</PercentComplete><ReplicationState>0</ReplicationState><ReplicationStateDescription>PENDING</ReplicationStateDescription><LocalDatabaseId>6</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource>
- 26 + 19 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies/8df450a0-461f-4d20-975d-6737a3939c61 - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4/databasecopies + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -27720,29 +60451,42 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 61446509-6fbc-42aa-b83b-522b4d2cfce1-2014-07-02 18:45:56Z + 4f5cef55-02bd-475a-9662-f08683528699-2015-01-20 22:37:47Z +
+
+ Authorization + Bearer abc
- - + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <PartnerServer>partnersrv</PartnerServer> + <PartnerDatabase>testdb4</PartnerDatabase> + <IsContinuous>true</IsContinuous> + <IsOfflineSecondary>true</IsOfflineSecondary> +</ServiceResource> + application/xml
- OK + Created
x-ms-request-id - 85bdafff-2017-4932-9b72-32a08f510fec + 5a691087-83d0-4ce7-97c0-acbe1d90b770
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -27753,23 +60497,23 @@
Date - Wed, 02 Jul 2014 18:45:56 GMT + Tue, 20 Jan 2015 22:37:50 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>8df450a0-461f-4d20-975d-6737a3939c61</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0/databasecopies/8df450a0-461f-4d20-975d-6737a3939c61</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb0</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb0</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb0</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:42:57.6170000Z</StartDate><ModifyDate>2014-07-02T18:45:01.0200000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>4</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>3a3494d4-fd00-4fc3-b624-1e749bd2cdb1</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb4/databasecopies/3a3494d4-fd00-4fc3-b624-1e749bd2cdb1</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb4</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb4</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb4</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:37:48.2770000</StartDate><ModifyDate>2015-01-20T22:37:48.3870000</ModifyDate><PercentComplete>0</PercentComplete><ReplicationState>0</ReplicationState><ReplicationStateDescription>PENDING</ReplicationStateDescription><LocalDatabaseId>7</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>True</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource>
- 27 + 20 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -27777,11 +60521,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 0ecff54a-54b0-4264-9f91-15fc33b32b7d-2014-07-02 18:45:56Z + d9fbcd89-074c-45da-a142-0e8a6b33da62-2015-01-20 22:39:13Z +
+
+ Authorization + Bearer abc
@@ -27794,12 +60542,16 @@
x-ms-request-id - ada72baa-1b03-47ab-a2a5-7e0a17a1975a + 7a84eca5-78cc-42df-ac4e-20135daeec3e
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -27810,23 +60562,23 @@
Date - Wed, 02 Jul 2014 18:45:56 GMT + Tue, 20 Jan 2015 22:39:13 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>bca19806-bf69-4369-a21f-c607d3756d89</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb1/databasecopies/bca19806-bf69-4369-a21f-c607d3756d89</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb1</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb1</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb1</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:43:07.3300000Z</StartDate><ModifyDate>2014-07-02T18:44:47.3530000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>5</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>b6cbe087-5a1b-4108-b662-965238ab1c0b</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0/databasecopies/b6cbe087-5a1b-4108-b662-965238ab1c0b</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb0</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb0</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb0</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:24:41.9000000</StartDate><ModifyDate>2015-01-20T22:25:05.1630000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>5</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources>
- 28 + 21 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb0/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -27834,11 +60586,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 347567c8-89f6-4c89-acbe-ab2ef0e8d427-2014-07-02 18:45:56Z + 2ff1258d-f17a-4abc-9f9a-5d814d309709-2015-01-20 22:39:16Z +
+
+ Authorization + Bearer abc
@@ -27851,12 +60607,16 @@
x-ms-request-id - 613540ce-92ba-47b6-8698-a5009b8ef6fb + 17ebcb58-43d9-483c-a6ba-bd66f81976fe
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -27867,23 +60627,23 @@
Date - Wed, 02 Jul 2014 18:45:56 GMT + Tue, 20 Jan 2015 22:39:17 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>8df450a0-461f-4d20-975d-6737a3939c61</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb0/databasecopies/8df450a0-461f-4d20-975d-6737a3939c61</SelfLink><ParentLink>https://localhost/servers/partnersrv/databases/testdb0</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb0</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb0</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:43:05.0670000Z</StartDate><ModifyDate>2014-07-02T18:45:09.9130000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>6</LocalDatabaseId><IsLocalDatabaseReplicationTarget>True</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>b67a18a3-2ba6-4ba9-b50c-686cb1c8ce55</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb1/databasecopies/b67a18a3-2ba6-4ba9-b50c-686cb1c8ce55</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb1</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb1</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb1</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:29:12.1330000</StartDate><ModifyDate>2015-01-20T22:29:33.4930000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>6</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources>
- 29 + 22 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases?contentview=generic + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb2/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -27891,11 +60651,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 9b9e615a-f001-4c6a-a3d0-e34e802337c2-2014-07-02 18:45:56Z + 78dc5c63-8abc-4b04-b24a-74b4828ac473-2015-01-20 22:39:24Z +
+
+ Authorization + Bearer abc
@@ -27908,12 +60672,16 @@
x-ms-request-id - c1ccd967-d012-40b5-86d7-f4588c2544cd + 0229308d-c92d-4283-af0b-7370478943de
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -27924,23 +60692,23 @@
Date - Wed, 02 Jul 2014 18:45:58 GMT + Tue, 20 Jan 2015 22:39:24 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/master</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T17:47:03.6500000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</ServiceObjectiveId><AssignedServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T17:47:23.9330000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb0</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>4</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:40:51.5700000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:40:59.8870000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-03T01:46:01.5730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb1</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:41:09.3500000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:41:20.2470000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-03T01:45:47.4800000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb4</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>6</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:42:33.3600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:42:40.9800000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-03T01:46:41.6830000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>7</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:43:56.6670000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:45:17.2130000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-03T01:46:19.1370000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb3</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>8</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:45:17.8630000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:45:55.2300000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-03T01:46:55.8400000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource></ServiceResources> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>56a14baf-8675-4d94-8966-b02dcc242a43</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb2/databasecopies/56a14baf-8675-4d94-8966-b02dcc242a43</SelfLink><ParentLink>https://localhost/servers/partnersrv/databases/testdb2</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb2</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb2</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:34:43.2000000</StartDate><ModifyDate>2015-01-20T22:35:08.9330000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>5</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources>
- 30 + 23 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/master/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb3/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -27948,11 +60716,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 9b9e615a-f001-4c6a-a3d0-e34e802337c2-2014-07-02 18:45:56Z + 06a99d8d-f60a-4413-bb58-b1686b180922-2015-01-20 22:39:26Z +
+
+ Authorization + Bearer abc
@@ -27965,12 +60737,16 @@
x-ms-request-id - 468d7851-8557-45dc-976d-3db566d3015b + a464bd41-edf9-45f6-82ad-5c6f7442406d
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -27981,23 +60757,23 @@
Date - Wed, 02 Jul 2014 18:45:59 GMT + Tue, 20 Jan 2015 22:39:27 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>5b55e880-8073-4e49-93c0-e8f198c4b975</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb3/databasecopies/5b55e880-8073-4e49-93c0-e8f198c4b975</SelfLink><ParentLink>https://localhost/servers/partnersrv/databases/testdb3</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb3</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb3</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:36:07.8230000</StartDate><ModifyDate>2015-01-20T22:36:33.3230000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>6</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources>
- 31 + 24 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -28005,11 +60781,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 9b9e615a-f001-4c6a-a3d0-e34e802337c2-2014-07-02 18:45:56Z + e71215a0-cd42-49b4-9743-e0abccd10662-2015-01-20 22:39:30Z +
+
+ Authorization + Bearer abc
@@ -28022,12 +60802,16 @@
x-ms-request-id - 70a0243f-f7b3-4268-a792-67c2f0e886ba + f53a9345-1a8b-4f94-9cdc-7a102b11c8f3
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -28038,23 +60822,23 @@
Date - Wed, 02 Jul 2014 18:46:02 GMT + Tue, 20 Jan 2015 22:39:30 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>8df450a0-461f-4d20-975d-6737a3939c61</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0/databasecopies/8df450a0-461f-4d20-975d-6737a3939c61</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb0</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb0</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb0</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:42:57.6170000Z</StartDate><ModifyDate>2014-07-02T18:45:01.0200000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>4</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>3a3494d4-fd00-4fc3-b624-1e749bd2cdb1</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb4/databasecopies/3a3494d4-fd00-4fc3-b624-1e749bd2cdb1</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb4</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb4</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb4</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:37:50.9630000</StartDate><ModifyDate>2015-01-20T22:38:20.4330000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>7</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>True</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources>
- 32 + 25 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies/b6cbe087-5a1b-4108-b662-965238ab1c0b GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -28062,11 +60846,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 9b9e615a-f001-4c6a-a3d0-e34e802337c2-2014-07-02 18:45:56Z + ff33cea0-b76f-4711-a6b7-dcb777f291ff-2015-01-20 22:39:41Z +
+
+ Authorization + Bearer abc
@@ -28079,12 +60867,16 @@
x-ms-request-id - cf1b5a7b-29e6-40de-813e-100dcf8946e9 + 99a71a73-3cd7-475b-865e-1152838d7653
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -28095,23 +60887,23 @@
Date - Wed, 02 Jul 2014 18:46:03 GMT + Tue, 20 Jan 2015 22:39:41 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>bca19806-bf69-4369-a21f-c607d3756d89</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb1/databasecopies/bca19806-bf69-4369-a21f-c607d3756d89</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb1</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb1</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb1</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:43:07.3300000Z</StartDate><ModifyDate>2014-07-02T18:44:47.3530000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>5</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>b6cbe087-5a1b-4108-b662-965238ab1c0b</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0/databasecopies/b6cbe087-5a1b-4108-b662-965238ab1c0b</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb0</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb0</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb0</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:24:41.9000000</StartDate><ModifyDate>2015-01-20T22:25:05.1630000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>5</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource>
- 33 + 26 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -28119,11 +60911,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 9b9e615a-f001-4c6a-a3d0-e34e802337c2-2014-07-02 18:45:56Z + e5a9d169-327d-40da-91fb-70bcb4d8e5dc-2015-01-20 22:39:47Z +
+
+ Authorization + Bearer abc
@@ -28136,12 +60932,16 @@
x-ms-request-id - 73e2bbae-38e9-4e85-a29c-67e1ef069e9d + b52f6a6c-9f07-47ea-bdff-5cb66fbd8a46
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -28152,23 +60952,23 @@
Date - Wed, 02 Jul 2014 18:46:05 GMT + Tue, 20 Jan 2015 22:39:47 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>51d22086-2be9-4f4a-a569-3b3372f50d34</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb4/databasecopies/51d22086-2be9-4f4a-a569-3b3372f50d34</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb4</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb4</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb4</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:44:29.6930000Z</StartDate><ModifyDate>2014-07-02T18:45:41.6200000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>6</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>True</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>b67a18a3-2ba6-4ba9-b50c-686cb1c8ce55</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb1/databasecopies/b67a18a3-2ba6-4ba9-b50c-686cb1c8ce55</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb1</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb1</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb1</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:29:12.1330000</StartDate><ModifyDate>2015-01-20T22:29:33.4930000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>6</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources>
- 34 + 27 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb2/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb0/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -28176,11 +60976,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 9b9e615a-f001-4c6a-a3d0-e34e802337c2-2014-07-02 18:45:56Z + d23f506a-bcfd-4e54-86eb-c5a79a69cc29-2015-01-20 22:39:50Z +
+
+ Authorization + Bearer abc
@@ -28193,12 +60997,16 @@
x-ms-request-id - 74afea2b-d8d9-46fc-ae78-41c9da36aa3a + 5556dec9-9d80-4ff0-8609-2a5939f10b1a
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -28209,23 +61017,23 @@
Date - Wed, 02 Jul 2014 18:46:07 GMT + Tue, 20 Jan 2015 22:39:50 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>ae68062d-9a09-4ae3-b7d1-99eee6004d7f</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb2/databasecopies/ae68062d-9a09-4ae3-b7d1-99eee6004d7f</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb2</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb2</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb2</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:44:01.2900000Z</StartDate><ModifyDate>2014-07-02T18:45:18.6670000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>7</LocalDatabaseId><IsLocalDatabaseReplicationTarget>True</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>b6cbe087-5a1b-4108-b662-965238ab1c0b</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb0/databasecopies/b6cbe087-5a1b-4108-b662-965238ab1c0b</SelfLink><ParentLink>https://localhost/servers/partnersrv/databases/testdb0</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb0</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb0</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:24:42.4600000</StartDate><ModifyDate>2015-01-20T22:25:04.8670000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>7</LocalDatabaseId><IsLocalDatabaseReplicationTarget>True</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources>
- 35 + 28 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb3/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -28233,11 +61041,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 9b9e615a-f001-4c6a-a3d0-e34e802337c2-2014-07-02 18:45:56Z + 04a53a0e-d2ab-4a22-81ad-d612989ab95a-2015-01-20 22:40:07Z +
+
+ Authorization + Bearer abc
@@ -28250,12 +61062,16 @@
x-ms-request-id - a8223a20-2d75-41f0-922b-7ccc7c2045d8 + abb862c8-09a9-4acb-bf50-be5cd7a47df9
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -28266,23 +61082,23 @@
Date - Wed, 02 Jul 2014 18:46:07 GMT + Tue, 20 Jan 2015 22:40:07 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>47dcf839-2847-4458-9e61-584f3adbc2bc</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb3/databasecopies/47dcf839-2847-4458-9e61-584f3adbc2bc</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb3</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb3</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb3</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:45:24.5270000Z</StartDate><ModifyDate>2014-07-02T18:45:55.6170000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>8</LocalDatabaseId><IsLocalDatabaseReplicationTarget>True</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>testdb3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb3</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:36:05.6670000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:41:32.6500000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource><ServiceResource><Name>testdb4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb4</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:21:26.5070000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:26:41.6000000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource><ServiceResource><Name>testdb2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>8</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:34:40.9630000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:40:08.4970000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/master</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T21:00:44.0500000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>620323bf-2879-4807-b30d-c2e6d7b3b3aa</ServiceObjectiveId><AssignedServiceObjectiveId>620323bf-2879-4807-b30d-c2e6d7b3b3aa</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource><ServiceResource><Name>testdb0</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:10:56.9000000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:16:51.8370000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource><ServiceResource><Name>testdb1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb1</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:12:50.3830000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:18:11.1030000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource></ServiceResources>
- 36 + 29 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases?contentview=generic + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb3/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -28290,11 +61106,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 25b2fba9-0e20-45f3-adc3-60748d2c4444-2014-07-02 18:46:07Z + 04a53a0e-d2ab-4a22-81ad-d612989ab95a-2015-01-20 22:40:07Z +
+
+ Authorization + Bearer abc
@@ -28307,12 +61127,16 @@
x-ms-request-id - a1b3627c-71af-49dc-bb92-96ba1f50fa21 + c0a6301b-ce29-4171-9449-ab56b51682ca
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -28323,23 +61147,23 @@
Date - Wed, 02 Jul 2014 18:46:10 GMT + Tue, 20 Jan 2015 22:40:07 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/master</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T17:47:03.6500000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</ServiceObjectiveId><AssignedServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T17:47:23.9330000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb0</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>4</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:40:51.5700000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:40:59.8870000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-03T01:46:01.5730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb1</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:41:09.3500000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:41:20.2470000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-03T01:45:47.4800000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb4</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>6</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:42:33.3600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:42:40.9800000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-03T01:46:41.6830000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>7</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:43:56.6670000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:45:17.2130000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-03T01:46:19.1370000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb3</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>8</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:45:17.8630000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:45:55.2300000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-03T01:46:55.8400000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource></ServiceResources> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>5b55e880-8073-4e49-93c0-e8f198c4b975</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb3/databasecopies/5b55e880-8073-4e49-93c0-e8f198c4b975</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb3</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb3</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb3</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:36:08.0430000</StartDate><ModifyDate>2015-01-20T22:36:32.5900000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>9</LocalDatabaseId><IsLocalDatabaseReplicationTarget>True</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources>
- 37 + 30 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/master/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -28347,11 +61171,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 25b2fba9-0e20-45f3-adc3-60748d2c4444-2014-07-02 18:46:07Z + 04a53a0e-d2ab-4a22-81ad-d612989ab95a-2015-01-20 22:40:07Z +
+
+ Authorization + Bearer abc
@@ -28364,12 +61192,16 @@
x-ms-request-id - 3e4ef8b8-5dd8-4543-97f4-ff25be65b3fa + 40c12723-e8bc-49aa-919f-5cd20d444c93
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -28380,23 +61212,23 @@
Date - Wed, 02 Jul 2014 18:46:10 GMT + Tue, 20 Jan 2015 22:40:07 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>3a3494d4-fd00-4fc3-b624-1e749bd2cdb1</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb4/databasecopies/3a3494d4-fd00-4fc3-b624-1e749bd2cdb1</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb4</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb4</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb4</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:37:50.9630000</StartDate><ModifyDate>2015-01-20T22:38:20.4330000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>7</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>True</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources>
- 38 + 31 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb2/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -28404,11 +61236,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 25b2fba9-0e20-45f3-adc3-60748d2c4444-2014-07-02 18:46:07Z + 04a53a0e-d2ab-4a22-81ad-d612989ab95a-2015-01-20 22:40:07Z +
+
+ Authorization + Bearer abc
@@ -28421,12 +61257,16 @@
x-ms-request-id - bc45a36d-2a42-4deb-9210-c171faa56d24 + 33925422-85e8-4fc2-997f-00fb5e7147cd
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -28437,23 +61277,23 @@
Date - Wed, 02 Jul 2014 18:46:11 GMT + Tue, 20 Jan 2015 22:40:07 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>8df450a0-461f-4d20-975d-6737a3939c61</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0/databasecopies/8df450a0-461f-4d20-975d-6737a3939c61</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb0</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb0</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb0</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:42:57.6170000Z</StartDate><ModifyDate>2014-07-02T18:45:01.0200000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>4</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>56a14baf-8675-4d94-8966-b02dcc242a43</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb2/databasecopies/56a14baf-8675-4d94-8966-b02dcc242a43</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb2</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb2</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb2</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:34:43.4030000</StartDate><ModifyDate>2015-01-20T22:35:08.4500000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>8</LocalDatabaseId><IsLocalDatabaseReplicationTarget>True</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources>
- 39 + 32 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/master/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -28461,11 +61301,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 25b2fba9-0e20-45f3-adc3-60748d2c4444-2014-07-02 18:46:07Z + 04a53a0e-d2ab-4a22-81ad-d612989ab95a-2015-01-20 22:40:07Z +
+
+ Authorization + Bearer abc
@@ -28478,12 +61322,16 @@
x-ms-request-id - 064d90b8-b8be-48d0-a66f-462ced52a212 + c4c7db72-749e-45fe-b8f6-ef2a294aae08
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -28494,23 +61342,23 @@
Date - Wed, 02 Jul 2014 18:46:11 GMT + Tue, 20 Jan 2015 22:40:07 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>bca19806-bf69-4369-a21f-c607d3756d89</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb1/databasecopies/bca19806-bf69-4369-a21f-c607d3756d89</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb1</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb1</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb1</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:43:07.3300000Z</StartDate><ModifyDate>2014-07-02T18:44:47.3530000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>5</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/>
- 40 + 33 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -28518,11 +61366,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 25b2fba9-0e20-45f3-adc3-60748d2c4444-2014-07-02 18:46:07Z + 04a53a0e-d2ab-4a22-81ad-d612989ab95a-2015-01-20 22:40:07Z +
+
+ Authorization + Bearer abc
@@ -28535,12 +61387,16 @@
x-ms-request-id - 72d31b71-f532-438f-bebf-93ee4ca419c8 + f3e6576d-7955-4d77-8092-6d63c575bf66
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -28551,23 +61407,23 @@
Date - Wed, 02 Jul 2014 18:46:11 GMT + Tue, 20 Jan 2015 22:40:07 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>51d22086-2be9-4f4a-a569-3b3372f50d34</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb4/databasecopies/51d22086-2be9-4f4a-a569-3b3372f50d34</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb4</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb4</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb4</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:44:29.6930000Z</StartDate><ModifyDate>2014-07-02T18:45:41.6200000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>6</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>True</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>b6cbe087-5a1b-4108-b662-965238ab1c0b</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0/databasecopies/b6cbe087-5a1b-4108-b662-965238ab1c0b</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb0</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb0</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb0</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:24:41.9000000</StartDate><ModifyDate>2015-01-20T22:25:05.1630000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>5</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources>
- 41 + 34 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb2/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -28575,11 +61431,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 25b2fba9-0e20-45f3-adc3-60748d2c4444-2014-07-02 18:46:07Z + 04a53a0e-d2ab-4a22-81ad-d612989ab95a-2015-01-20 22:40:07Z +
+
+ Authorization + Bearer abc
@@ -28592,12 +61452,16 @@
x-ms-request-id - 288da756-a21c-4b5a-b0c9-bec663a7c467 + e9df76ad-1f33-4757-b85b-93da666913a1
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -28608,23 +61472,23 @@
Date - Wed, 02 Jul 2014 18:46:11 GMT + Tue, 20 Jan 2015 22:40:07 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>ae68062d-9a09-4ae3-b7d1-99eee6004d7f</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb2/databasecopies/ae68062d-9a09-4ae3-b7d1-99eee6004d7f</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb2</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb2</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb2</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:44:01.2900000Z</StartDate><ModifyDate>2014-07-02T18:45:18.6670000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>7</LocalDatabaseId><IsLocalDatabaseReplicationTarget>True</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>b67a18a3-2ba6-4ba9-b50c-686cb1c8ce55</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb1/databasecopies/b67a18a3-2ba6-4ba9-b50c-686cb1c8ce55</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb1</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb1</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb1</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:29:12.1330000</StartDate><ModifyDate>2015-01-20T22:29:33.4930000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>6</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources>
- 42 + 35 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb3/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -28632,11 +61496,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 25b2fba9-0e20-45f3-adc3-60748d2c4444-2014-07-02 18:46:07Z + 566a1f78-a723-4b3d-9d7c-e29da27b4bda-2015-01-20 22:42:04Z +
+
+ Authorization + Bearer abc
@@ -28649,12 +61517,16 @@
x-ms-request-id - a716043f-aa99-46eb-baf7-c3cd8065684d + 1e13d2ba-4804-4aff-af21-2dbb54467541
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -28665,23 +61537,23 @@
Date - Wed, 02 Jul 2014 18:46:13 GMT + Tue, 20 Jan 2015 22:42:05 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>47dcf839-2847-4458-9e61-584f3adbc2bc</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb3/databasecopies/47dcf839-2847-4458-9e61-584f3adbc2bc</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb3</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb3</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb3</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:45:24.5270000Z</StartDate><ModifyDate>2014-07-02T18:45:55.6170000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>8</LocalDatabaseId><IsLocalDatabaseReplicationTarget>True</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>testdb3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb3</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:36:05.6670000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:41:32.6500000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource><ServiceResource><Name>testdb4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb4</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:21:26.5070000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:26:41.6000000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource><ServiceResource><Name>testdb2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>8</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:34:40.9630000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:40:08.4970000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/master</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T21:00:44.0500000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>620323bf-2879-4807-b30d-c2e6d7b3b3aa</ServiceObjectiveId><AssignedServiceObjectiveId>620323bf-2879-4807-b30d-c2e6d7b3b3aa</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource><ServiceResource><Name>testdb0</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:10:56.9000000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:16:51.8370000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource><ServiceResource><Name>testdb1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb1</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:12:50.3830000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:18:11.1030000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource></ServiceResources>
- 43 + 36 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies/8df450a0-461f-4d20-975d-6737a3939c61 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb3/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -28689,11 +61561,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 9abd67c1-7f21-4bff-b381-9b9353de7271-2014-07-02 18:46:13Z + 566a1f78-a723-4b3d-9d7c-e29da27b4bda-2015-01-20 22:42:04Z +
+
+ Authorization + Bearer abc
@@ -28706,12 +61582,16 @@
x-ms-request-id - ab8f5d9b-3acf-4d21-8e67-fd8cb5ad60e7 + 77a370af-4d7f-4419-a958-95d2709c9b7f
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -28722,23 +61602,23 @@
Date - Wed, 02 Jul 2014 18:46:13 GMT + Tue, 20 Jan 2015 22:42:05 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>8df450a0-461f-4d20-975d-6737a3939c61</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0/databasecopies/8df450a0-461f-4d20-975d-6737a3939c61</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb0</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb0</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb0</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:42:57.6170000Z</StartDate><ModifyDate>2014-07-02T18:45:01.0200000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>4</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>5b55e880-8073-4e49-93c0-e8f198c4b975</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb3/databasecopies/5b55e880-8073-4e49-93c0-e8f198c4b975</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb3</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb3</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb3</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:36:08.0430000</StartDate><ModifyDate>2015-01-20T22:36:32.5900000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>9</LocalDatabaseId><IsLocalDatabaseReplicationTarget>True</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources>
- 44 + 37 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies/8df450a0-461f-4d20-975d-6737a3939c61 - PUT - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4/databasecopies + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -28746,20 +61626,20 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 778a4b06-2059-42d1-8fa8-3b922268ca5c-2014-07-02 18:46:13Z + 566a1f78-a723-4b3d-9d7c-e29da27b4bda-2015-01-20 22:42:04Z +
+
+ Authorization + Bearer abc
- - <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <IsForcedTerminate>false</IsForcedTerminate> - </ServiceResource> - - application/xml + +
@@ -28767,12 +61647,16 @@
x-ms-request-id - 7cf78e68-ee60-4dad-a4b7-0cd7471b0f42 + 7e36999d-9c4b-4d97-bdcb-cd269f2efaf0
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -28783,23 +61667,23 @@
Date - Wed, 02 Jul 2014 18:46:17 GMT + Tue, 20 Jan 2015 22:42:05 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>8df450a0-461f-4d20-975d-6737a3939c61</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0/databasecopies/8df450a0-461f-4d20-975d-6737a3939c61</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb0</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb0</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb0</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:42:57.6170000Z</StartDate><ModifyDate>2014-07-02T18:45:01.0200000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>4</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>3a3494d4-fd00-4fc3-b624-1e749bd2cdb1</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb4/databasecopies/3a3494d4-fd00-4fc3-b624-1e749bd2cdb1</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb4</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb4</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb4</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:37:50.9630000</StartDate><ModifyDate>2015-01-20T22:38:20.4330000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>7</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>True</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources>
- 45 + 38 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies/8df450a0-461f-4d20-975d-6737a3939c61 - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb2/databasecopies + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -28807,15 +61691,19 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 778a4b06-2059-42d1-8fa8-3b922268ca5c-2014-07-02 18:46:13Z + 566a1f78-a723-4b3d-9d7c-e29da27b4bda-2015-01-20 22:42:04Z +
+
+ Authorization + Bearer abc
- +
@@ -28824,35 +61712,43 @@
x-ms-request-id - 29b7b16d-23d7-49ba-b109-ecea7c87f62a + 6c123615-044b-4513-ac90-20db406da706
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Wed, 02 Jul 2014 18:46:27 GMT + Tue, 20 Jan 2015 22:42:05 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>56a14baf-8675-4d94-8966-b02dcc242a43</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb2/databasecopies/56a14baf-8675-4d94-8966-b02dcc242a43</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb2</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb2</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb2</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:34:43.4030000</StartDate><ModifyDate>2015-01-20T22:35:08.4500000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>8</LocalDatabaseId><IsLocalDatabaseReplicationTarget>True</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources>
- 46 + 39 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/master/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -28860,11 +61756,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 10163264-c9e3-492b-845f-c8f30e1db79e-2014-07-02 18:46:27Z + 566a1f78-a723-4b3d-9d7c-e29da27b4bda-2015-01-20 22:42:04Z +
+
+ Authorization + Bearer abc
@@ -28877,12 +61777,16 @@
x-ms-request-id - cd8a7026-37e8-4cd4-8fd8-aed0796274b8 + 9d0923f0-b433-4692-be74-4f5a746bbefd
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -28893,23 +61797,23 @@
Date - Wed, 02 Jul 2014 18:46:27 GMT + Tue, 20 Jan 2015 22:42:05 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>bca19806-bf69-4369-a21f-c607d3756d89</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb1/databasecopies/bca19806-bf69-4369-a21f-c607d3756d89</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb1</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb1</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb1</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:43:07.3300000Z</StartDate><ModifyDate>2014-07-02T18:44:47.3530000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>5</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/>
- 47 + 40 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies/bca19806-bf69-4369-a21f-c607d3756d89 - PUT - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -28917,20 +61821,20 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - df72b562-0d56-4ebb-941c-f8ba432aee6d-2014-07-02 18:46:27Z + 566a1f78-a723-4b3d-9d7c-e29da27b4bda-2015-01-20 22:42:04Z +
+
+ Authorization + Bearer abc
- - <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <IsForcedTerminate>true</IsForcedTerminate> - </ServiceResource> - - application/xml + +
@@ -28938,12 +61842,16 @@
x-ms-request-id - 6e0e388a-22e3-4e08-8bfc-d2778b59aba1 + 25c5993b-4d78-4d35-9e0a-386b721cef58
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -28954,23 +61862,23 @@
Date - Wed, 02 Jul 2014 18:46:33 GMT + Tue, 20 Jan 2015 22:42:05 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>bca19806-bf69-4369-a21f-c607d3756d89</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb1/databasecopies/bca19806-bf69-4369-a21f-c607d3756d89</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb1</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb1</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb1</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:43:07.3300000Z</StartDate><ModifyDate>2014-07-02T18:44:47.3530000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>5</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>b6cbe087-5a1b-4108-b662-965238ab1c0b</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0/databasecopies/b6cbe087-5a1b-4108-b662-965238ab1c0b</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb0</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb0</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb0</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:24:41.9000000</StartDate><ModifyDate>2015-01-20T22:25:05.1630000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>5</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources>
- 48 + 41 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies/bca19806-bf69-4369-a21f-c607d3756d89 - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -28978,15 +61886,19 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - df72b562-0d56-4ebb-941c-f8ba432aee6d-2014-07-02 18:46:27Z + 566a1f78-a723-4b3d-9d7c-e29da27b4bda-2015-01-20 22:42:04Z +
+
+ Authorization + Bearer abc
- +
@@ -28995,35 +61907,43 @@
x-ms-request-id - aa4ffc3a-e58d-4a0d-a5fd-e4b0780dd48c + 5d5dac70-b45d-46c0-93cc-247ad4d5cbe3
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Wed, 02 Jul 2014 18:46:38 GMT + Tue, 20 Jan 2015 22:42:05 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>b67a18a3-2ba6-4ba9-b50c-686cb1c8ce55</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb1/databasecopies/b67a18a3-2ba6-4ba9-b50c-686cb1c8ce55</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb1</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb1</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb1</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:29:12.1330000</StartDate><ModifyDate>2015-01-20T22:29:33.4930000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>6</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources>
- 49 + 42 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb2/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies/b6cbe087-5a1b-4108-b662-965238ab1c0b GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -29031,11 +61951,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - c68037f5-afc3-4126-97fc-6ac9b8045bd6-2014-07-02 18:46:38Z + 46041775-b4c6-4c8b-8275-ea6639602993-2015-01-20 22:42:11Z +
+
+ Authorization + Bearer abc
@@ -29048,12 +61972,16 @@
x-ms-request-id - f30706f2-4fce-49e3-8506-d4fc8160e4fb + c9166b98-a659-43aa-947f-22b1bb78839a
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -29064,23 +61992,23 @@
Date - Wed, 02 Jul 2014 18:46:38 GMT + Tue, 20 Jan 2015 22:42:11 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>ae68062d-9a09-4ae3-b7d1-99eee6004d7f</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb2/databasecopies/ae68062d-9a09-4ae3-b7d1-99eee6004d7f</SelfLink><ParentLink>https://localhost/servers/partnersrv/databases/testdb2</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb2</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb2</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:43:24.9030000Z</StartDate><ModifyDate>2014-07-02T18:45:07.2900000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>4</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>b6cbe087-5a1b-4108-b662-965238ab1c0b</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0/databasecopies/b6cbe087-5a1b-4108-b662-965238ab1c0b</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb0</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb0</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb0</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:24:41.9000000</StartDate><ModifyDate>2015-01-20T22:25:05.1630000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>5</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource>
- 50 + 43 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb2/databasecopies/ae68062d-9a09-4ae3-b7d1-99eee6004d7f + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies/b6cbe087-5a1b-4108-b662-965238ab1c0b PUT - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -29088,19 +62016,21 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - e3227a31-195b-481b-8dca-19322b85db4c-2014-07-02 18:46:39Z + c1d156e7-35eb-459f-8092-cc6d06aba6bd-2015-01-20 22:42:11Z +
+
+ Authorization + Bearer abc
- - <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <IsForcedTerminate>false</IsForcedTerminate> - </ServiceResource> - + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <IsForcedTerminate>false</IsForcedTerminate> +</ServiceResource> application/xml
@@ -29109,12 +62039,16 @@
x-ms-request-id - a4205bb6-76b9-44ab-9afd-1e4c01c0d5fb + 6217c613-b750-49e4-ba4c-6f39e27faea1
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -29125,23 +62059,23 @@
Date - Wed, 02 Jul 2014 18:46:41 GMT + Tue, 20 Jan 2015 22:42:12 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>ae68062d-9a09-4ae3-b7d1-99eee6004d7f</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb2/databasecopies/ae68062d-9a09-4ae3-b7d1-99eee6004d7f</SelfLink><ParentLink>https://localhost/servers/partnersrv/databases/testdb2</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb2</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb2</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:43:24.9030000Z</StartDate><ModifyDate>2014-07-02T18:45:07.2900000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>4</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>b6cbe087-5a1b-4108-b662-965238ab1c0b</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0/databasecopies/b6cbe087-5a1b-4108-b662-965238ab1c0b</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb0</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb0</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb0</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:24:41.9000000</StartDate><ModifyDate>2015-01-20T22:25:05.1630000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>5</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource>
- 51 + 44 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb2/databasecopies/ae68062d-9a09-4ae3-b7d1-99eee6004d7f + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies/b6cbe087-5a1b-4108-b662-965238ab1c0b DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -29149,11 +62083,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - e3227a31-195b-481b-8dca-19322b85db4c-2014-07-02 18:46:39Z + c1d156e7-35eb-459f-8092-cc6d06aba6bd-2015-01-20 22:42:11Z +
+
+ Authorization + Bearer abc
@@ -29166,23 +62104,27 @@
x-ms-request-id - ed1ae6ee-b16a-4435-bba7-4117d2c0431e + b570c8a5-f1d6-472f-b89a-03d99ea1d5b5
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
Date - Wed, 02 Jul 2014 18:46:47 GMT + Tue, 20 Jan 2015 22:42:22 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -29190,11 +62132,11 @@
- 52 + 45 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb3/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -29202,11 +62144,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 7a9b982a-acf4-4bd9-b7bb-785af25350bb-2014-07-02 18:46:47Z + 2b100a48-08bf-48ce-9ba9-45d2313ed425-2015-01-20 22:43:46Z +
+
+ Authorization + Bearer abc
@@ -29219,12 +62165,16 @@
x-ms-request-id - 9cba508b-04ff-4fc7-acbe-f7f4c4bff23e + 1ec7c24e-5f7f-4c56-8fd7-aa9c9e872e51
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -29235,23 +62185,23 @@
Date - Wed, 02 Jul 2014 18:46:51 GMT + Tue, 20 Jan 2015 22:43:46 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>47dcf839-2847-4458-9e61-584f3adbc2bc</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb3/databasecopies/47dcf839-2847-4458-9e61-584f3adbc2bc</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb3</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb3</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb3</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:45:24.5270000Z</StartDate><ModifyDate>2014-07-02T18:45:55.6170000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>8</LocalDatabaseId><IsLocalDatabaseReplicationTarget>True</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>b67a18a3-2ba6-4ba9-b50c-686cb1c8ce55</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb1/databasecopies/b67a18a3-2ba6-4ba9-b50c-686cb1c8ce55</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb1</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb1</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb1</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:29:12.1330000</StartDate><ModifyDate>2015-01-20T22:29:33.4930000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>6</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources>
- 53 + 46 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb3/databasecopies/47dcf839-2847-4458-9e61-584f3adbc2bc + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies/b67a18a3-2ba6-4ba9-b50c-686cb1c8ce55 PUT - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -29259,19 +62209,21 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - f3914f9c-915c-471a-a797-86c0dcb7a397-2014-07-02 18:46:51Z + 067c9b80-f1f6-40b1-bba6-1c64f49cd06a-2015-01-20 22:43:46Z +
+
+ Authorization + Bearer abc
- - <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <IsForcedTerminate>true</IsForcedTerminate> - </ServiceResource> - + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <IsForcedTerminate>true</IsForcedTerminate> +</ServiceResource> application/xml
@@ -29280,12 +62232,16 @@
x-ms-request-id - 8221f862-141b-4ace-b22b-8684637a7826 + 790d8c6b-e76f-4b13-a928-f35eb28037a9
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -29296,23 +62252,23 @@
Date - Wed, 02 Jul 2014 18:46:52 GMT + Tue, 20 Jan 2015 22:43:47 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>47dcf839-2847-4458-9e61-584f3adbc2bc</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb3/databasecopies/47dcf839-2847-4458-9e61-584f3adbc2bc</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb3</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb3</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb3</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:45:24.5270000Z</StartDate><ModifyDate>2014-07-02T18:45:55.6170000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>8</LocalDatabaseId><IsLocalDatabaseReplicationTarget>True</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>b67a18a3-2ba6-4ba9-b50c-686cb1c8ce55</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb1/databasecopies/b67a18a3-2ba6-4ba9-b50c-686cb1c8ce55</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb1</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb1</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb1</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:29:12.1330000</StartDate><ModifyDate>2015-01-20T22:29:33.4930000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>6</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource>
- 54 + 47 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb3/databasecopies/47dcf839-2847-4458-9e61-584f3adbc2bc + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies/b67a18a3-2ba6-4ba9-b50c-686cb1c8ce55 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -29320,11 +62276,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - f3914f9c-915c-471a-a797-86c0dcb7a397-2014-07-02 18:46:51Z + 067c9b80-f1f6-40b1-bba6-1c64f49cd06a-2015-01-20 22:43:46Z +
+
+ Authorization + Bearer abc
@@ -29337,23 +62297,27 @@
x-ms-request-id - ad9f904e-c5c7-454b-be62-2f46080e8300 + 7ef37b53-c130-4e7b-803c-4a7eb5dec95f
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
Date - Wed, 02 Jul 2014 18:47:06 GMT + Tue, 20 Jan 2015 22:43:51 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -29361,11 +62325,11 @@
- 55 + 48 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb2/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -29373,11 +62337,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - f4d98c48-35f1-47c8-a8a1-3dd231ee00b1-2014-07-02 18:47:06Z + ed5703c7-869b-471a-9254-cea985c08c77-2015-01-20 22:43:58Z +
+
+ Authorization + Bearer abc
@@ -29390,12 +62358,16 @@
x-ms-request-id - be101562-b103-4199-8623-aa8fe88f5a75 + 73f80fc5-3c73-43df-b41b-f121e1dcb92f
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -29406,23 +62378,23 @@
Date - Wed, 02 Jul 2014 18:47:07 GMT + Tue, 20 Jan 2015 22:43:58 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>51d22086-2be9-4f4a-a569-3b3372f50d34</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb4/databasecopies/51d22086-2be9-4f4a-a569-3b3372f50d34</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb4</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb4</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb4</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:44:29.6930000Z</StartDate><ModifyDate>2014-07-02T18:45:41.6200000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>6</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>True</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>56a14baf-8675-4d94-8966-b02dcc242a43</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb2/databasecopies/56a14baf-8675-4d94-8966-b02dcc242a43</SelfLink><ParentLink>https://localhost/servers/partnersrv/databases/testdb2</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb2</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb2</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:34:43.2000000</StartDate><ModifyDate>2015-01-20T22:35:08.9330000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>5</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources>
- 56 + 49 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4/databasecopies/51d22086-2be9-4f4a-a569-3b3372f50d34 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb2/databasecopies/56a14baf-8675-4d94-8966-b02dcc242a43 PUT - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -29430,16 +62402,20 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 2da385bd-2f29-45ff-a2bb-e7bd30a6f0a8-2014-07-02 18:47:08Z + c5362c67-5d51-463b-9538-2592f5cfdd2e-2015-01-20 22:43:58Z +
+
+ Authorization + Bearer abc
<ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <IsForcedTerminate>true</IsForcedTerminate> + <IsForcedTerminate>false</IsForcedTerminate> </ServiceResource> application/xml @@ -29449,12 +62425,16 @@
x-ms-request-id - 0356b296-0598-4a6e-b2a5-50ee36f98a02 + e08ae913-ca10-4486-812f-f6dcd7de1f4b
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -29465,23 +62445,23 @@
Date - Wed, 02 Jul 2014 18:47:23 GMT + Tue, 20 Jan 2015 22:44:00 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>51d22086-2be9-4f4a-a569-3b3372f50d34</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb4/databasecopies/51d22086-2be9-4f4a-a569-3b3372f50d34</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb4</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb4</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb4</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2014-07-02T18:44:29.6930000Z</StartDate><ModifyDate>2014-07-02T18:45:41.6200000Z</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>6</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>True</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>56a14baf-8675-4d94-8966-b02dcc242a43</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb2/databasecopies/56a14baf-8675-4d94-8966-b02dcc242a43</SelfLink><ParentLink>https://localhost/servers/partnersrv/databases/testdb2</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb2</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb2</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:34:43.2000000</StartDate><ModifyDate>2015-01-20T22:35:08.9330000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>5</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource>
- 57 + 50 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4/databasecopies/51d22086-2be9-4f4a-a569-3b3372f50d34 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb2/databasecopies/56a14baf-8675-4d94-8966-b02dcc242a43 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -29489,11 +62469,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 2da385bd-2f29-45ff-a2bb-e7bd30a6f0a8-2014-07-02 18:47:08Z + c5362c67-5d51-463b-9538-2592f5cfdd2e-2015-01-20 22:43:58Z +
+
+ Authorization + Bearer abc
@@ -29506,23 +62490,27 @@
x-ms-request-id - 0ea54bb6-a187-469d-be4a-78cddb8e8607 + 6c182f4d-e758-4508-acb6-da95e858e79b
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
Date - Wed, 02 Jul 2014 18:47:55 GMT + Tue, 20 Jan 2015 22:44:09 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -29530,11 +62518,11 @@
- 58 + 51 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb3/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -29542,68 +62530,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 895e78a2-ba4d-4677-aa95-73f60c136f76-2014-07-02 18:47:55Z -
-
- - - - -
- - OK - -
- x-ms-request-id - 41d4deec-c78f-4b76-86c2-f78997847342 -
-
- X-Content-Type-Options - nosniff -
-
- Cache-Control - no-store,no-cache -
-
- Content-Type - application/xml; charset=utf-8 -
-
- Date - Wed, 02 Jul 2014 18:48:01 GMT -
-
- Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 -
-
- - <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/> -
-
- - 59 - - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 - -
- x-ms-version - 2012-03-01 -
-
- x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + 6d941944-4cd5-4630-800b-6ce0f55ce4bb-2015-01-20 22:44:26Z
- x-ms-client-request-id - f59c4358-a09f-4348-9a55-622937ab3487-2014-07-02 18:48:01Z + Authorization + Bearer abc
@@ -29616,12 +62551,16 @@
x-ms-request-id - b331a895-0c4d-45af-864b-93750d418c3b + 940fd2d9-d6b6-4a4e-98b7-b0a6a155f48c
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -29632,23 +62571,23 @@
Date - Wed, 02 Jul 2014 18:48:03 GMT + Tue, 20 Jan 2015 22:44:26 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>5b55e880-8073-4e49-93c0-e8f198c4b975</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb3/databasecopies/5b55e880-8073-4e49-93c0-e8f198c4b975</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb3</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb3</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb3</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:36:08.0430000</StartDate><ModifyDate>2015-01-20T22:36:32.5900000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>9</LocalDatabaseId><IsLocalDatabaseReplicationTarget>True</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources>
- 60 + 52 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb2/databasecopies - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb3/databasecopies/5b55e880-8073-4e49-93c0-e8f198c4b975 + PUT + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -29656,16 +62595,22 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 45d0c179-3b4f-4868-ae1d-8fae7ee2a9f5-2014-07-02 18:48:04Z + cc334c45-0387-4c0c-a74c-dc0a0d09e20d-2015-01-20 22:44:26Z +
+
+ Authorization + Bearer abc
- - + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <IsForcedTerminate>true</IsForcedTerminate> +</ServiceResource> + application/xml
@@ -29673,12 +62618,16 @@
x-ms-request-id - fb27c970-6e85-4884-86b0-d43061bd34a0 + b0a717e3-751b-4a5d-9df6-13bf5ffc35bd
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -29689,23 +62638,23 @@
Date - Wed, 02 Jul 2014 18:48:07 GMT + Tue, 20 Jan 2015 22:44:27 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>5b55e880-8073-4e49-93c0-e8f198c4b975</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb3/databasecopies/5b55e880-8073-4e49-93c0-e8f198c4b975</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb3</ParentLink><SourceServerName>partnersrv</SourceServerName><SourceDatabaseName>testdb3</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb3</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:36:08.0430000</StartDate><ModifyDate>2015-01-20T22:36:32.5900000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>9</LocalDatabaseId><IsLocalDatabaseReplicationTarget>True</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource>
- 61 + 53 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb3/databasecopies - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb3/databasecopies/5b55e880-8073-4e49-93c0-e8f198c4b975 + DELETE + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -29713,15 +62662,19 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 7de3fd34-8161-493b-ab2a-23e508344332-2014-07-02 18:48:07Z + cc334c45-0387-4c0c-a74c-dc0a0d09e20d-2015-01-20 22:44:26Z +
+
+ Authorization + Bearer abc
- +
@@ -29730,39 +62683,39 @@
x-ms-request-id - 9e4e11bc-1d30-4b22-955f-cf8598e58dee + 9cfb6ad6-f453-44c8-bfca-cef9525cb64c
X-Content-Type-Options nosniff
- Cache-Control - no-store,no-cache + Strict-Transport-Security + max-age=31536000; includeSubDomains
- Content-Type - application/xml; charset=utf-8 + Cache-Control + no-store,no-cache
Date - Wed, 02 Jul 2014 18:48:07 GMT + Tue, 20 Jan 2015 22:44:44 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/> +
- 62 + 54 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -29770,11 +62723,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 50ff4911-c6cb-4396-9100-fd5e742a0c8d-2014-07-02 18:48:07Z + 8afd4be3-53fc-474b-ad95-719fe5ea93d9-2015-01-20 22:45:09Z +
+
+ Authorization + Bearer abc
@@ -29787,12 +62744,16 @@
x-ms-request-id - 65b8d1ad-98a2-4815-b8d4-aa6901be8472 + 5856c2d4-0414-4481-b67c-0c1a1db0ab0d
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -29803,23 +62764,23 @@
Date - Wed, 02 Jul 2014 18:48:07 GMT + Tue, 20 Jan 2015 22:45:09 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>3a3494d4-fd00-4fc3-b624-1e749bd2cdb1</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb4/databasecopies/3a3494d4-fd00-4fc3-b624-1e749bd2cdb1</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb4</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb4</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb4</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:37:50.9630000</StartDate><ModifyDate>2015-01-20T22:38:20.4330000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>7</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>True</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource></ServiceResources>
- 63 + 55 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases?contentview=generic - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4/databasecopies/3a3494d4-fd00-4fc3-b624-1e749bd2cdb1 + PUT + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -29827,16 +62788,22 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 9f07b526-ee55-44ed-879a-457edaecb486-2014-07-02 18:48:08Z + d2e46774-64b6-4601-9d0c-bd3ecf456fc9-2015-01-20 22:45:09Z +
+
+ Authorization + Bearer abc
- - + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <IsForcedTerminate>true</IsForcedTerminate> +</ServiceResource> + application/xml
@@ -29844,12 +62811,16 @@
x-ms-request-id - d3fb9c89-6c7a-41a7-ba88-c085d629c689 + 117e3bd2-65a1-48d4-b87a-824cbc8248af
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -29860,23 +62831,23 @@
Date - Wed, 02 Jul 2014 18:48:08 GMT + Tue, 20 Jan 2015 22:45:10 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/master</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T17:47:03.6500000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</ServiceObjectiveId><AssignedServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T17:47:23.9330000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb0</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>4</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:40:51.5700000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:40:59.8870000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-03T01:46:01.5730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb1</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:41:09.3500000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:41:20.2470000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-03T01:45:47.4800000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb4</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>6</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:42:33.3600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:42:40.9800000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-03T01:46:41.6830000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>7</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:43:56.6670000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:45:17.2130000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-03T01:46:19.1370000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb3</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>8</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:45:17.8630000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:45:55.2300000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-03T01:46:55.8400000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>3a3494d4-fd00-4fc3-b624-1e749bd2cdb1</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb4/databasecopies/3a3494d4-fd00-4fc3-b624-1e749bd2cdb1</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb4</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb4</SourceDatabaseName><DestinationServerName>partnersrv</DestinationServerName><DestinationDatabaseName>testdb4</DestinationDatabaseName><IsContinuous>True</IsContinuous><StartDate>2015-01-20T22:37:50.9630000</StartDate><ModifyDate>2015-01-20T22:38:20.4330000</ModifyDate><PercentComplete>100</PercentComplete><ReplicationState>2</ReplicationState><ReplicationStateDescription>CATCH_UP</ReplicationStateDescription><LocalDatabaseId>7</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>True</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource>
- 64 + 56 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/master/databasecopies - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4/databasecopies/3a3494d4-fd00-4fc3-b624-1e749bd2cdb1 + DELETE + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -29884,15 +62855,19 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 9f07b526-ee55-44ed-879a-457edaecb486-2014-07-02 18:48:08Z + d2e46774-64b6-4601-9d0c-bd3ecf456fc9-2015-01-20 22:45:09Z +
+
+ Authorization + Bearer abc
- +
@@ -29901,39 +62876,39 @@
x-ms-request-id - 553d5387-a824-4f96-9f98-5b8c886e8216 + 690ac392-f926-4892-8249-93977a4e2c59
X-Content-Type-Options nosniff
- Cache-Control - no-store,no-cache + Strict-Transport-Security + max-age=31536000; includeSubDomains
- Content-Type - application/xml; charset=utf-8 + Cache-Control + no-store,no-cache
Date - Wed, 02 Jul 2014 18:48:10 GMT + Tue, 20 Jan 2015 22:45:26 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/> +
- 65 + 57 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -29941,11 +62916,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 9f07b526-ee55-44ed-879a-457edaecb486-2014-07-02 18:48:08Z + b45ebb71-da33-4767-8369-c18ce38e1c02-2015-01-20 22:46:03Z +
+
+ Authorization + Bearer abc
@@ -29958,12 +62937,16 @@
x-ms-request-id - 3d49e414-07b1-4823-8afa-c437a574adcb + dce4e9c4-b064-489d-bb72-edb0cef135c2
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -29974,11 +62957,11 @@
Date - Wed, 02 Jul 2014 18:48:10 GMT + Tue, 20 Jan 2015 22:46:03 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -29986,11 +62969,11 @@
- 66 + 58 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -29998,11 +62981,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 9f07b526-ee55-44ed-879a-457edaecb486-2014-07-02 18:48:08Z + f32d0637-1745-48a5-81ea-75b9360bb20b-2015-01-20 22:46:04Z +
+
+ Authorization + Bearer abc
@@ -30015,12 +63002,16 @@
x-ms-request-id - ced2f9f2-59ff-4f88-8cfd-05d945454786 + 4d21dfc8-686d-4bb7-8c73-4cfbb969149a
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -30031,11 +63022,11 @@
Date - Wed, 02 Jul 2014 18:48:10 GMT + Tue, 20 Jan 2015 22:46:04 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -30043,11 +63034,11 @@
- 67 + 59 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb2/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -30055,11 +63046,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 9f07b526-ee55-44ed-879a-457edaecb486-2014-07-02 18:48:08Z + b3d82a11-80c8-4c69-a4a7-ba1d6f395732-2015-01-20 22:46:06Z +
+
+ Authorization + Bearer abc
@@ -30072,12 +63067,16 @@
x-ms-request-id - 323b3672-18e4-4837-95cf-1eccf0e340e8 + 081d97f3-03f3-45a7-a6e4-c5eff6e8c51a
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -30088,11 +63087,11 @@
Date - Wed, 02 Jul 2014 18:48:11 GMT + Tue, 20 Jan 2015 22:46:06 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -30100,11 +63099,11 @@
- 68 + 60 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb2/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb3/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -30112,11 +63111,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 9f07b526-ee55-44ed-879a-457edaecb486-2014-07-02 18:48:08Z + 6e0b4cde-d522-48b7-9409-16e6fdac9910-2015-01-20 22:46:07Z +
+
+ Authorization + Bearer abc
@@ -30129,12 +63132,16 @@
x-ms-request-id - e9755735-33ad-41c5-b589-9d51fe62fe65 + 7f26c61b-89dc-447c-a24e-d0919266bda3
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -30145,11 +63152,11 @@
Date - Wed, 02 Jul 2014 18:48:11 GMT + Tue, 20 Jan 2015 22:46:07 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -30157,11 +63164,11 @@
- 69 + 61 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb3/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -30169,11 +63176,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 9f07b526-ee55-44ed-879a-457edaecb486-2014-07-02 18:48:08Z + 9bf6df1b-000a-4b5e-9dec-75d8054f4143-2015-01-20 22:46:08Z +
+
+ Authorization + Bearer abc
@@ -30186,12 +63197,16 @@
x-ms-request-id - 973aba1d-a20a-4646-92a9-14a3fe20e9aa + 195d09ea-d327-462d-a61b-7c025990d9c6
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -30202,11 +63217,11 @@
Date - Wed, 02 Jul 2014 18:48:12 GMT + Tue, 20 Jan 2015 22:46:07 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -30214,11 +63229,11 @@
- 70 + 62 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -30226,11 +63241,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - a42e534e-7ca1-424b-be56-ecb412bea813-2014-07-02 18:48:12Z + 74958264-1fda-4a8f-900b-e309309566ec-2015-01-20 22:46:10Z +
+
+ Authorization + Bearer abc
@@ -30243,12 +63262,16 @@
x-ms-request-id - 7e305d34-665d-4918-9179-773a2e7b6b7b + 906b89f7-aefe-4837-886a-45ad83273e2e
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -30259,23 +63282,23 @@
Date - Wed, 02 Jul 2014 18:48:14 GMT + Tue, 20 Jan 2015 22:46:10 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/master</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T17:47:03.6500000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</ServiceObjectiveId><AssignedServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T17:47:23.9330000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb0</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>4</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:40:51.5700000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:40:59.8870000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-03T01:46:01.5730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb1</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:41:09.3500000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:41:20.2470000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-03T01:45:47.4800000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb4</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>6</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:42:33.3600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:42:40.9800000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-03T01:46:41.6830000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>7</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:43:56.6670000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:45:17.2130000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-03T01:46:19.1370000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb3</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>8</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:45:17.8630000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:45:55.2300000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-03T01:46:55.8400000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource></ServiceResources> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>testdb3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb3</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:36:05.6670000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:41:32.6500000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource><ServiceResource><Name>testdb4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb4</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:21:26.5070000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:26:41.6000000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource><ServiceResource><Name>testdb2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>8</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:34:40.9630000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:40:08.4970000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/master</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T21:00:44.0500000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>620323bf-2879-4807-b30d-c2e6d7b3b3aa</ServiceObjectiveId><AssignedServiceObjectiveId>620323bf-2879-4807-b30d-c2e6d7b3b3aa</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource><ServiceResource><Name>testdb0</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:10:56.9000000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:16:51.8370000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource><ServiceResource><Name>testdb1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb1</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:12:50.3830000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:18:11.1030000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource></ServiceResources>
- 71 + 63 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb3/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -30283,11 +63306,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 7848f16c-1f65-4e9d-8d6c-38f2ca39eb59-2014-07-02 18:48:14Z + 74958264-1fda-4a8f-900b-e309309566ec-2015-01-20 22:46:10Z +
+
+ Authorization + Bearer abc
@@ -30300,12 +63327,16 @@
x-ms-request-id - 9611db07-836c-423b-9d09-56f7d881b9e7 + 68d041ef-1d83-4a24-91bf-14646009885d
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -30316,23 +63347,23 @@
Date - Wed, 02 Jul 2014 18:48:14 GMT + Tue, 20 Jan 2015 22:46:10 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description>Used for master database only.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/>
- 72 + 64 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -30340,11 +63371,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - c7ccab11-3412-4c11-92fc-e88c7956db92-2014-07-02 18:48:14Z + 74958264-1fda-4a8f-900b-e309309566ec-2015-01-20 22:46:10Z +
+
+ Authorization + Bearer abc
@@ -30357,12 +63392,16 @@
x-ms-request-id - 5fb47a90-c879-495a-b280-620093900fd2 + 39557e0d-eb04-4a24-9064-77a580ab0b4a
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -30373,23 +63412,23 @@
Date - Wed, 02 Jul 2014 18:48:15 GMT + Tue, 20 Jan 2015 22:46:10 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/>
- 73 + 65 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb2/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -30397,11 +63436,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 640ac858-7bcb-4fea-8583-3019c7c2648b-2014-07-02 18:48:15Z + 74958264-1fda-4a8f-900b-e309309566ec-2015-01-20 22:46:10Z +
+
+ Authorization + Bearer abc
@@ -30414,12 +63457,16 @@
x-ms-request-id - 92fc94c4-491b-436e-a618-c0690658df73 + d5d8f4d8-2fde-4bec-a2d6-a559ef75bdf7
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -30430,23 +63477,23 @@
Date - Wed, 02 Jul 2014 18:48:15 GMT + Tue, 20 Jan 2015 22:46:10 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/>
- 74 + 66 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/master/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -30454,11 +63501,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 0201ba05-69e5-4304-acab-87390b0c5a62-2014-07-02 18:48:15Z + 74958264-1fda-4a8f-900b-e309309566ec-2015-01-20 22:46:10Z +
+
+ Authorization + Bearer abc
@@ -30471,12 +63522,16 @@
x-ms-request-id - 05fb2aee-a769-4b50-81d5-be875a7a7be6 + 1d80689a-93c2-4422-9e6a-13dff2b90579
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -30487,23 +63542,23 @@
Date - Wed, 02 Jul 2014 18:48:15 GMT + Tue, 20 Jan 2015 22:46:10 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/>
- 75 + 67 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -30511,11 +63566,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 743bdd27-6557-42d2-9c0d-41a36db220dc-2014-07-02 18:48:16Z + 74958264-1fda-4a8f-900b-e309309566ec-2015-01-20 22:46:10Z +
+
+ Authorization + Bearer abc
@@ -30528,12 +63587,16 @@
x-ms-request-id - c2e7b21d-06fc-445d-832f-85cf90fc343f + 63574305-7b6f-4644-8bc8-a30524ab9e6e
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -30544,23 +63607,23 @@
Date - Wed, 02 Jul 2014 18:48:16 GMT + Tue, 20 Jan 2015 22:46:10 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/>
- 76 + 68 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1/databasecopies GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -30568,11 +63631,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - bc076cdf-eacf-4993-949a-7fd6c6f3a1be-2014-07-02 18:48:16Z + 74958264-1fda-4a8f-900b-e309309566ec-2015-01-20 22:46:10Z +
+
+ Authorization + Bearer abc
@@ -30585,12 +63652,16 @@
x-ms-request-id - 548938b3-be7b-49ce-a088-847e20e8e6b5 + 8b4f9709-c28c-43a9-a9ed-6447e28d8621
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -30601,23 +63672,23 @@
Date - Wed, 02 Jul 2014 18:48:16 GMT + Tue, 20 Jan 2015 22:46:10 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/>
- 77 + 69 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0 - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases?contentview=generic + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -30625,15 +63696,19 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 0519f4a5-e2d9-45f9-a7fa-51f806d1f255-2014-07-02 18:48:16Z + ccfa77b4-cb2d-404e-8228-c5cd3e79d4a8-2015-01-20 22:46:34Z +
+
+ Authorization + Bearer abc
- +
@@ -30642,35 +63717,43 @@
x-ms-request-id - e15b6f1f-0135-44a4-9893-8db91a3eb9ea + 9857e5e8-d371-41b1-bd27-7e125f790688
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Wed, 02 Jul 2014 18:48:24 GMT + Tue, 20 Jan 2015 22:46:34 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>testdb3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb3</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:36:05.6670000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:41:32.6500000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource><ServiceResource><Name>testdb4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb4</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:21:26.5070000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:26:41.6000000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource><ServiceResource><Name>testdb2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>8</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:34:40.9630000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:40:08.4970000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/master</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T21:00:44.0500000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>620323bf-2879-4807-b30d-c2e6d7b3b3aa</ServiceObjectiveId><AssignedServiceObjectiveId>620323bf-2879-4807-b30d-c2e6d7b3b3aa</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource><ServiceResource><Name>testdb0</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:10:56.9000000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:16:51.8370000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource><ServiceResource><Name>testdb1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb1</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:12:50.3830000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:18:11.1030000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource></ServiceResources>
- 78 + 70 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1 - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -30678,15 +63761,19 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 598721c5-ee17-4db8-9843-420647d9edfc-2014-07-02 18:48:24Z + b2a07415-1b51-4dec-9c0f-532e312696aa-2015-01-20 22:46:34Z +
+
+ Authorization + Bearer abc
- +
@@ -30695,35 +63782,43 @@
x-ms-request-id - 13d3fca3-7dc9-4a11-99d9-4c85c079df1a + 95b49e29-f738-4851-b0e1-d83fff97a00d
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Wed, 02 Jul 2014 18:48:26 GMT + Tue, 20 Jan 2015 22:46:34 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources>
- 79 + 71 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb3 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -30731,11 +63826,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - bdbfb9a6-8306-4ce4-97eb-8aa169ca06ad-2014-07-02 18:48:26Z + 9fc20f73-a872-4604-89f7-fcbc701587a7-2015-01-20 22:46:34Z +
+
+ Authorization + Bearer abc
@@ -30748,23 +63847,27 @@
x-ms-request-id - 721805ce-c7b9-44d9-9e95-d49e35bc2167 + 4a380954-ee80-4a71-8ec9-c6b09d5a1bee
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
Date - Wed, 02 Jul 2014 18:48:32 GMT + Tue, 20 Jan 2015 22:46:49 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -30772,11 +63875,11 @@
- 80 + 72 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb4 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -30784,11 +63887,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 02c228e4-90ba-4fe5-8f75-d30556678b52-2014-07-02 18:48:32Z + ec56fa24-6238-4eca-a955-6a2b6b56f0fd-2015-01-20 22:46:49Z +
+
+ Authorization + Bearer abc
@@ -30801,23 +63908,27 @@
x-ms-request-id - c7001c19-95db-4dcb-9705-c76488725516 + c734f589-7cdc-4068-90ee-197677e76636
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
Date - Wed, 02 Jul 2014 18:48:38 GMT + Tue, 20 Jan 2015 22:47:07 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -30825,11 +63936,11 @@
- 81 + 73 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb3 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb2 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -30837,11 +63948,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 9875331a-8438-4c7d-9ae1-9ad4219f68c1-2014-07-02 18:48:38Z + 7fb0f740-3c83-4c57-9c4a-f834e145841a-2015-01-20 22:47:07Z +
+
+ Authorization + Bearer abc
@@ -30854,23 +63969,27 @@
x-ms-request-id - 18fa9c5a-77dd-4efc-bb24-10b7c89c3c8c + e79331ed-ada1-4656-b79f-71f4ffc2629e
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
Date - Wed, 02 Jul 2014 18:48:46 GMT + Tue, 20 Jan 2015 22:47:24 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -30878,11 +63997,11 @@
- 82 + 74 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases?contentview=generic - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0 + DELETE + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -30890,15 +64009,19 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - f4b63a46-700f-45c0-8b7a-75982136d94d-2014-07-02 18:48:46Z + 513a2fda-0441-4513-a347-14927bf57c64-2015-01-20 22:47:24Z +
+
+ Authorization + Bearer abc
- +
@@ -30907,39 +64030,39 @@
x-ms-request-id - 294188c7-ae28-46c2-9ed4-fccc03602c6f + af5734ed-54f7-4601-9da0-3a5caa49e28d
X-Content-Type-Options nosniff
- Cache-Control - no-store,no-cache + Strict-Transport-Security + max-age=31536000; includeSubDomains
- Content-Type - application/xml; charset=utf-8 + Cache-Control + no-store,no-cache
Date - Wed, 02 Jul 2014 18:48:46 GMT + Tue, 20 Jan 2015 22:47:26 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/master</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T17:47:46.6730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</ServiceObjectiveId><AssignedServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T17:48:08.9030000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb2</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>4</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:41:28.4570000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:41:42.3070000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-03T01:46:08.1200000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb3</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>5</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:42:01.5100000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:42:25.5100000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-03T01:46:55.0730000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb0</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb0</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>6</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:43:04.6530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:45:05.0730000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-03T01:46:12.6970000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb1</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>7</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:43:12.3600000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:44:52.6200000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-03T01:46:09.2770000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Suspect</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb4</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>8</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-07-02T18:44:45.5030000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-07-02T18:45:44.2600000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-07-03T01:46:47.9800000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource></ServiceResources> +
- 83 + 75 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb1 + DELETE + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -30947,15 +64070,19 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - b3d9d368-edb2-4989-a8c3-7c0872a99ca5-2014-07-02 18:48:46Z + a3dc63ca-07a6-47ab-aff0-38b81877749c-2015-01-20 22:47:27Z +
+
+ Authorization + Bearer abc
- +
@@ -30964,39 +64091,39 @@
x-ms-request-id - 2c63ce84-933d-49cb-9537-7093c8594fee + f69edd03-22e4-4ec5-ae01-51817164f36a
X-Content-Type-Options nosniff
- Cache-Control - no-store,no-cache + Strict-Transport-Security + max-age=31536000; includeSubDomains
- Content-Type - application/xml; charset=utf-8 + Cache-Control + no-store,no-cache
Date - Wed, 02 Jul 2014 18:48:46 GMT + Tue, 20 Jan 2015 22:47:41 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description>Used for master database only.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> +
- 84 + 76 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -31004,11 +64131,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 34d5fe72-51bb-4e43-a020-dd82408c713c-2014-07-02 18:48:46Z + b9afe3fd-d77a-4da6-9a4c-486ffcf794a5-2015-01-20 22:47:42Z +
+
+ Authorization + Bearer abc
@@ -31021,12 +64152,16 @@
x-ms-request-id - 64237926-b4ca-472a-bf47-054f4543f162 + 4909862a-13a2-4549-8412-c5a1e7da44cf
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -31037,23 +64172,23 @@
Date - Wed, 02 Jul 2014 18:48:46 GMT + Tue, 20 Jan 2015 22:47:41 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/master</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T21:05:00.1000000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>620323bf-2879-4807-b30d-c2e6d7b3b3aa</ServiceObjectiveId><AssignedServiceObjectiveId>620323bf-2879-4807-b30d-c2e6d7b3b3aa</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource><ServiceResource><Name>testdb3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb3</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:20:01.7730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:25:18.4770000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource><ServiceResource><Name>testdb0</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb0</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:24:39.2730000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:30:04.9300000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource><ServiceResource><Name>testdb1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb1</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>8</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:29:09.8070000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:34:33.2930000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource><ServiceResource><Name>testdb2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb2</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:17:54.8670000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:23:40.9600000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource><ServiceResource><Name>testdb4</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/testdb4</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>9</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T22:37:48.6530000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T22:43:21.5900000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource></ServiceResources>
- 85 + 77 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -31061,11 +64196,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 330e9f6b-c9ee-4713-8112-5ba66eec3db3-2014-07-02 18:48:46Z + 0c41e06d-ff9f-4caa-bd93-b912d10b4b30-2015-01-20 22:47:42Z +
+
+ Authorization + Bearer abc
@@ -31078,12 +64217,16 @@
x-ms-request-id - 8d08c5b8-13c9-436b-a247-3d72cc7b1f0a + 1c99cb5d-b471-4d7b-a292-46093a07860b
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -31094,23 +64237,23 @@
Date - Wed, 02 Jul 2014 18:48:46 GMT + Tue, 20 Jan 2015 22:47:41 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources>
- 86 + 78 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb3 + DELETE + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -31118,15 +64261,19 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - fc0a7218-4267-4678-b73c-d54aae9f367c-2014-07-02 18:48:47Z + b688fed9-7168-4042-a616-f7efe271028b-2015-01-20 22:47:42Z +
+
+ Authorization + Bearer abc
- +
@@ -31135,39 +64282,39 @@
x-ms-request-id - 0a376f6c-f61a-470d-9ce6-946379318f45 + 8accd180-cae4-4540-9f1a-34b2f1dab007
X-Content-Type-Options nosniff
- Cache-Control - no-store,no-cache + Strict-Transport-Security + max-age=31536000; includeSubDomains
- Content-Type - application/xml; charset=utf-8 + Cache-Control + no-store,no-cache
Date - Wed, 02 Jul 2014 18:48:47 GMT + Tue, 20 Jan 2015 22:48:00 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> +
- 87 + 79 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb0 + DELETE + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -31175,15 +64322,19 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 63d2d975-8f4a-4a64-b2e8-6db38bd12020-2014-07-02 18:48:47Z + f42a4ee3-7786-4acb-a5e8-37af37da5917-2015-01-20 22:48:00Z +
+
+ Authorization + Bearer abc
- +
@@ -31192,39 +64343,39 @@
x-ms-request-id - b9e20c4e-6068-4024-80a4-632dc32b0477 + 9d1ac47b-2db9-4ca2-b798-5bd708c737e6
X-Content-Type-Options nosniff
- Cache-Control - no-store,no-cache + Strict-Transport-Security + max-age=31536000; includeSubDomains
- Content-Type - application/xml; charset=utf-8 + Cache-Control + no-store,no-cache
Date - Wed, 02 Jul 2014 18:48:47 GMT + Tue, 20 Jan 2015 22:48:17 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> +
- 88 + 80 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb1 + DELETE + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -31232,15 +64383,19 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - e1def5c9-f186-4385-8fbb-fdeb9a75e56d-2014-07-02 18:48:47Z + 09acc801-f87b-47ac-8dd3-490346b3a13a-2015-01-20 22:48:17Z +
+
+ Authorization + Bearer abc
- +
@@ -31249,39 +64404,39 @@
x-ms-request-id - 60fc52d9-9d31-4e27-9a97-b496c1ccf2dd + 4d20d805-15ef-4531-81af-6c04e1053b2f
X-Content-Type-Options nosniff
- Cache-Control - no-store,no-cache + Strict-Transport-Security + max-age=31536000; includeSubDomains
- Content-Type - application/xml; charset=utf-8 + Cache-Control + no-store,no-cache
Date - Wed, 02 Jul 2014 18:48:47 GMT + Tue, 20 Jan 2015 22:48:29 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> +
- 89 + 81 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb2 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -31289,11 +64444,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - f388f8d6-f0ef-40cf-87c4-317cedee2cfd-2014-07-02 18:48:47Z + 5d6fe65c-25fe-455d-b84c-127e71b52f0b-2015-01-20 22:48:29Z +
+
+ Authorization + Bearer abc
@@ -31306,23 +64465,27 @@
x-ms-request-id - 0ff6a95c-b8f2-4a17-8b73-a2128302b22a + 4ca0338a-1375-4e4b-ab09-4f4931810a84
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
Date - Wed, 02 Jul 2014 18:49:07 GMT + Tue, 20 Jan 2015 22:48:47 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -31330,11 +64493,11 @@
- 90 + 82 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb3 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb4 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -31342,11 +64505,15 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + f27661da-8568-46f7-9527-fd44de7e872d-2015-01-20 22:10:56Z
x-ms-client-request-id - 114e6b5a-fa75-4fc4-8fd4-cd62aa90c68e-2014-07-02 18:49:07Z + b376dcdf-56f0-48a0-8446-7e7f4ab9bdda-2015-01-20 22:48:47Z +
+
+ Authorization + Bearer abc
@@ -31359,35 +64526,44 @@
x-ms-request-id - 5c78510c-381e-43a6-870c-355082c7b5b0 + fbfc66f2-46c7-46df-a683-af1dadd60d67
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
Date - Wed, 02 Jul 2014 18:49:48 GMT + Tue, 20 Jan 2015 22:49:04 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
+
+
+ + UnitTest.Microsoft.WindowsAzure.Commands.SqlDatabase.Test.UnitTests.Database.Cmdlet.AzureSqlDatabaseCopyCertAuthTests.AzureSqlDatabaseCopyCertTests + - 91 + 14 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb0 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -31395,11 +64571,11 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + 5aacda44-1ecd-4780-9680-fde54498070b-2014-04-15 21:47:05Z
x-ms-client-request-id - 816a3fe3-e455-476c-82cb-cea759a7441a-2014-07-02 18:49:48Z + 7ad4d817-df30-4699-b0ff-b65bd35a7e66-2014-04-15 21:47:13Z
@@ -31412,7 +64588,7 @@
x-ms-request-id - 397e93df-0169-4d16-aaac-406ced1e05c2 + 7ad4d817-df30-4699-b0ff-b65bd35a7e66
X-Content-Type-Options @@ -31424,11 +64600,11 @@
Date - Wed, 02 Jul 2014 18:49:57 GMT + Tue, 15 Apr 2014 21:47:16 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -31436,11 +64612,11 @@
- 92 + 15 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb1 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0copy1 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -31448,11 +64624,11 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + 5aacda44-1ecd-4780-9680-fde54498070b-2014-04-15 21:47:05Z
x-ms-client-request-id - cac9a1fe-62d6-4d88-bbcf-598182315f71-2014-07-02 18:49:57Z + 1672d23a-8a0e-4a2d-9371-72589a467bc3-2014-04-15 21:47:17Z
@@ -31465,7 +64641,7 @@
x-ms-request-id - 4100a558-dfdf-4d45-9cbe-e4feb700b435 + 1672d23a-8a0e-4a2d-9371-72589a467bc3
X-Content-Type-Options @@ -31477,11 +64653,11 @@
Date - Wed, 02 Jul 2014 18:50:10 GMT + Tue, 15 Apr 2014 21:47:16 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -31489,11 +64665,11 @@
- 93 + 16 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases/testdb4 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0copy2 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/1.0.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -31501,11 +64677,11 @@
x-ms-client-session-id - 5239bcba-a38e-4fec-8e44-0b13d907360e-2014-07-02 18:40:43Z + 5aacda44-1ecd-4780-9680-fde54498070b-2014-04-15 21:47:05Z
x-ms-client-request-id - bf197c2c-97c5-4ff5-b2ed-344b167ab0ed-2014-07-02 18:50:10Z + 11e58e00-7fd2-4aa1-9226-c9cb0ae4dd03-2014-04-15 21:47:17Z
@@ -31518,7 +64694,7 @@
x-ms-request-id - 9afc41f0-7a6f-419a-803f-04013a1f6ed5 + 11e58e00-7fd2-4aa1-9226-c9cb0ae4dd03
X-Content-Type-Options @@ -31530,28 +64706,23 @@
Date - Wed, 02 Jul 2014 18:50:18 GMT + Tue, 15 Apr 2014 21:47:17 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
-
-
- - UnitTest.Microsoft.WindowsAzure.Commands.SqlDatabase.Test.UnitTests.Database.Cmdlet.AzureSqlDatabaseCopyCertAuthTests.AzureSqlDatabaseCopyCertTests - - 0 + 17 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases?contentview=generic + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -31563,25 +64734,20 @@
x-ms-client-request-id - d1f80ff9-cd56-4baa-97fd-3a3109f8542f-2014-04-15 21:47:05Z + 2d5256ee-d06e-4801-93d0-4320f4db52be-2014-04-15 21:47:18Z
- - <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdb0</Name> - <CollationName></CollationName> - </ServiceResource> - - application/xml + +
- Created + OK
x-ms-request-id - d1f80ff9-cd56-4baa-97fd-3a3109f8542f + 2d5256ee-d06e-4801-93d0-4320f4db52be
X-Content-Type-Options @@ -31597,23 +64763,23 @@
Date - Tue, 15 Apr 2014 21:47:07 GMT + Tue, 15 Apr 2014 21:47:17 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb0</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>4</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-04-15T21:47:07.7000000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-04-15T21:47:08.3400000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-04-15T21:48:07.6100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/master</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-04-15T19:12:12.2930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</ServiceObjectiveId><AssignedServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-04-15T19:12:14.1130000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource></ServiceResources>
- 1 + 18 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -31625,7 +64791,7 @@
x-ms-client-request-id - 23cb920a-c0f9-4b04-aa76-f3c66a0d1402-2014-04-15 21:47:08Z + dae154da-9222-4a0b-b462-676c22335de0-2014-04-15 21:47:18Z
@@ -31638,7 +64804,7 @@
x-ms-request-id - 23cb920a-c0f9-4b04-aa76-f3c66a0d1402 + dae154da-9222-4a0b-b462-676c22335de0
X-Content-Type-Options @@ -31654,23 +64820,23 @@
Date - Tue, 15 Apr 2014 21:47:07 GMT + Tue, 15 Apr 2014 21:47:17 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description>Used for master database only.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource>
- 2 + 0 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -31678,21 +64844,22 @@
x-ms-client-session-id - 5aacda44-1ecd-4780-9680-fde54498070b-2014-04-15 21:47:05Z + 0eadb2c9-eedb-4831-9790-e8975f74f786-2015-01-20 05:02:56Z
x-ms-client-request-id - 819fc9cb-51d9-4a2e-b05f-fd7f5ba78f22-2014-04-15 21:47:08Z + eb3fd2a9-1ecd-4c3b-841f-51c1457af7f1-2015-01-20 05:02:56Z
-
- - - <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <PartnerServer>cloud4</PartnerServer> - <PartnerDatabase>testdb0copy1</PartnerDatabase> - <IsContinuous>false</IsContinuous> - </ServiceResource> - +
+ Authorization + Bearer abc +
+ + + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <Name>testdb0</Name> + <CollationName></CollationName> +</ServiceResource> application/xml
@@ -31701,12 +64868,16 @@
x-ms-request-id - 819fc9cb-51d9-4a2e-b05f-fd7f5ba78f22 + 014b6f50-f6b2-4d91-a688-f59e198ee9cf
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -31717,23 +64888,23 @@
Date - Tue, 15 Apr 2014 21:47:10 GMT + Tue, 20 Jan 2015 05:03:05 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>fd8e9263-5e78-48d3-ac82-6380312e44d3</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0/databasecopies/fd8e9263-5e78-48d3-ac82-6380312e44d3</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb0</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb0</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb0copy1</DestinationDatabaseName><IsContinuous>False</IsContinuous><StartDate>2014-04-15T21:47:09.8600000Z</StartDate><ModifyDate>2014-04-15T21:47:09.8600000Z</ModifyDate><PercentComplete>0</PercentComplete><ReplicationState>0</ReplicationState><ReplicationStateDescription>PENDING</ReplicationStateDescription><LocalDatabaseId>4</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb0</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T05:02:58.4200000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T05:07:58.4200000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 3 + 1 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -31741,35 +64912,37 @@
x-ms-client-session-id - 5aacda44-1ecd-4780-9680-fde54498070b-2014-04-15 21:47:05Z + 0eadb2c9-eedb-4831-9790-e8975f74f786-2015-01-20 05:02:56Z
x-ms-client-request-id - 75e57546-2ca0-4c4c-a84a-888019485367-2014-04-15 21:47:10Z + 2d48ad13-34bd-4681-a9d4-124af92f7521-2015-01-20 05:03:05Z +
+
+ Authorization + Bearer abc
- - <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <PartnerServer>cloud4</PartnerServer> - <PartnerDatabase>testdb0copy2</PartnerDatabase> - <IsContinuous>false</IsContinuous> - </ServiceResource> - - application/xml + +
- Created + OK
x-ms-request-id - 75e57546-2ca0-4c4c-a84a-888019485367 + 3d0dd9e1-e3f5-46f2-92a8-4917e5cb3753
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -31780,23 +64953,23 @@
Date - Tue, 15 Apr 2014 21:47:12 GMT + Tue, 20 Jan 2015 05:03:05 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>da81c3fe-d3cd-4e9a-9d34-bd57d8ff3d14</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0/databasecopies/da81c3fe-d3cd-4e9a-9d34-bd57d8ff3d14</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb0</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb0</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb0copy2</DestinationDatabaseName><IsContinuous>False</IsContinuous><StartDate>2014-04-15T21:47:11.0630000Z</StartDate><ModifyDate>2014-04-15T21:47:11.0630000Z</ModifyDate><PercentComplete>0</PercentComplete><ReplicationState>0</ReplicationState><ReplicationStateDescription>PENDING</ReplicationStateDescription><LocalDatabaseId>4</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources>
- 4 + 2 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases?contentview=generic + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -31804,11 +64977,15 @@
x-ms-client-session-id - 5aacda44-1ecd-4780-9680-fde54498070b-2014-04-15 21:47:05Z + 0eadb2c9-eedb-4831-9790-e8975f74f786-2015-01-20 05:02:56Z
x-ms-client-request-id - b5397a45-cc92-456d-a06e-87ebda0e478b-2014-04-15 21:47:13Z + 452d27a3-dc82-4357-91c9-eeb7e3e0aab3-2015-01-20 05:05:29Z +
+
+ Authorization + Bearer abc
@@ -31821,12 +64998,16 @@
x-ms-request-id - b5397a45-cc92-456d-a06e-87ebda0e478b + 8d2e2f10-73f9-454d-aeb0-7ec8fd0401c5
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -31837,23 +65018,23 @@
Date - Tue, 15 Apr 2014 21:47:12 GMT + Tue, 20 Jan 2015 05:05:29 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/master</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-04-15T19:11:43.0800000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</ServiceObjectiveId><AssignedServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-04-15T19:11:45.0030000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb0</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>4</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-04-15T21:47:07.7000000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-04-15T21:47:08.3400000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-04-15T21:48:07.6100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb0copy1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Copying</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0copy1</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5</Id><Edition/><MaxSizeGB>-1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-04-15T21:47:09.8430000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>-1</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode i:nil="true"/><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb0copy2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Copying</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0copy2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>6</Id><Edition/><MaxSizeGB>-1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-04-15T21:47:11.0070000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>-1</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode i:nil="true"/><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource></ServiceResources> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb0</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T05:02:58.4200000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T05:10:04.7970000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource>
- 5 + 3 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -31861,29 +65042,42 @@
x-ms-client-session-id - 5aacda44-1ecd-4780-9680-fde54498070b-2014-04-15 21:47:05Z + 0eadb2c9-eedb-4831-9790-e8975f74f786-2015-01-20 05:02:56Z
x-ms-client-request-id - e5307713-09ef-496e-b5f1-5b67d125bc5b-2014-04-15 21:47:13Z + fc282e78-f549-418c-bbfb-8fb52cb2b3f7-2015-01-20 05:05:29Z +
+
+ Authorization + Bearer abc
- - + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <PartnerServer>cloud4</PartnerServer> + <PartnerDatabase>testdb0copy1</PartnerDatabase> + <IsContinuous>false</IsContinuous> + <IsOfflineSecondary>false</IsOfflineSecondary> +</ServiceResource> + application/xml
- OK + Created
x-ms-request-id - e5307713-09ef-496e-b5f1-5b67d125bc5b + 0d520843-4004-4afc-b7ac-101420f03b4e
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -31894,23 +65088,23 @@
Date - Tue, 15 Apr 2014 21:47:12 GMT + Tue, 20 Jan 2015 05:06:06 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description>Used for master database only.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>fd0ddcfd-cd16-49cc-aedb-cb3774a490aa</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0/databasecopies/fd0ddcfd-cd16-49cc-aedb-cb3774a490aa</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb0</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb0</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb0copy1</DestinationDatabaseName><IsContinuous>False</IsContinuous><StartDate>2015-01-20T05:05:37.1100000</StartDate><ModifyDate>2015-01-20T05:06:03.3900000</ModifyDate><PercentComplete>0</PercentComplete><ReplicationState>0</ReplicationState><ReplicationStateDescription>PENDING</ReplicationStateDescription><LocalDatabaseId>5</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource>
- 6 + 4 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0/databasecopies + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -31918,29 +65112,42 @@
x-ms-client-session-id - 5aacda44-1ecd-4780-9680-fde54498070b-2014-04-15 21:47:05Z + 0eadb2c9-eedb-4831-9790-e8975f74f786-2015-01-20 05:02:56Z
x-ms-client-request-id - 23fefcbd-7e3c-4e7a-a4af-7e5855bce230-2014-04-15 21:47:13Z + cc869474-1d68-4099-b0fa-2507b65426f1-2015-01-20 05:06:06Z +
+
+ Authorization + Bearer abc
- - + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <PartnerServer>cloud4</PartnerServer> + <PartnerDatabase>testdb0copy2</PartnerDatabase> + <IsContinuous>false</IsContinuous> + <IsOfflineSecondary>false</IsOfflineSecondary> +</ServiceResource> + application/xml
- OK + Created
x-ms-request-id - 23fefcbd-7e3c-4e7a-a4af-7e5855bce230 + aa0038ac-309e-4300-9660-5584494d6f13
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -31951,23 +65158,23 @@
Date - Tue, 15 Apr 2014 21:47:12 GMT + Tue, 20 Jan 2015 05:06:09 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>224e9e38-bfd4-43d1-9991-28a518830ffd</Name><Type>Microsoft.SqlAzure.DatabaseCopy</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0/databasecopies/224e9e38-bfd4-43d1-9991-28a518830ffd</SelfLink><ParentLink>https://localhost/servers/cloud4/databases/testdb0</ParentLink><SourceServerName>cloud4</SourceServerName><SourceDatabaseName>testdb0</SourceDatabaseName><DestinationServerName>cloud4</DestinationServerName><DestinationDatabaseName>testdb0copy2</DestinationDatabaseName><IsContinuous>False</IsContinuous><StartDate>2015-01-20T05:06:07.5170000</StartDate><ModifyDate>2015-01-20T05:06:08.1730000</ModifyDate><PercentComplete>0</PercentComplete><ReplicationState>0</ReplicationState><ReplicationStateDescription>PENDING</ReplicationStateDescription><LocalDatabaseId>5</LocalDatabaseId><IsLocalDatabaseReplicationTarget>False</IsLocalDatabaseReplicationTarget><IsInterlinkConnected>True</IsInterlinkConnected><IsOfflineSecondary>False</IsOfflineSecondary><IsTerminationAllowed>True</IsTerminationAllowed></ServiceResource>
- 7 + 5 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -31975,11 +65182,15 @@
x-ms-client-session-id - 5aacda44-1ecd-4780-9680-fde54498070b-2014-04-15 21:47:05Z + 0eadb2c9-eedb-4831-9790-e8975f74f786-2015-01-20 05:02:56Z
x-ms-client-request-id - 7ec342c4-3aef-49fc-a779-a6886a4f491f-2014-04-15 21:47:13Z + db12f509-6c69-46e2-91d9-0b197fc283e0-2015-01-20 05:08:06Z +
+
+ Authorization + Bearer abc
@@ -31992,12 +65203,16 @@
x-ms-request-id - 7ec342c4-3aef-49fc-a779-a6886a4f491f + 866f4677-cc09-4478-acc2-242abf90598b
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -32008,23 +65223,23 @@
Date - Tue, 15 Apr 2014 21:47:12 GMT + Tue, 20 Jan 2015 05:08:09 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>testdb0copy2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Copying</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0copy2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T05:06:10.1400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T05:11:10.1400000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource><ServiceResource><Name>testdb0copy1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Copying</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0copy1</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T05:06:05.4700000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T05:11:05.4700000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/master</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T04:59:16.1900000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>620323bf-2879-4807-b30d-c2e6d7b3b3aa</ServiceObjectiveId><AssignedServiceObjectiveId>620323bf-2879-4807-b30d-c2e6d7b3b3aa</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource><ServiceResource><Name>testdb0</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T05:02:58.4200000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T05:10:04.7970000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource></ServiceResources>
- 8 + 6 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -32032,11 +65247,15 @@
x-ms-client-session-id - 5aacda44-1ecd-4780-9680-fde54498070b-2014-04-15 21:47:05Z + 0eadb2c9-eedb-4831-9790-e8975f74f786-2015-01-20 05:02:56Z
x-ms-client-request-id - 287f7b86-06a1-4b42-98af-345fec0c06cd-2014-04-15 21:47:13Z + 3679009f-65a0-4b77-8cb9-efba617a3eae-2015-01-20 05:08:09Z +
+
+ Authorization + Bearer abc
@@ -32049,12 +65268,16 @@
x-ms-request-id - 287f7b86-06a1-4b42-98af-345fec0c06cd + 8b700956-3865-4719-a14b-ceaac9afd3d1
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -32065,23 +65288,23 @@
Date - Tue, 15 Apr 2014 21:47:12 GMT + Tue, 20 Jan 2015 05:08:09 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources>
- 9 + 7 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -32089,11 +65312,15 @@
x-ms-client-session-id - 5aacda44-1ecd-4780-9680-fde54498070b-2014-04-15 21:47:05Z + 0eadb2c9-eedb-4831-9790-e8975f74f786-2015-01-20 05:02:56Z
x-ms-client-request-id - 0a412cf4-b8d4-4288-a4ef-b4668cadc5c9-2014-04-15 21:47:13Z + 34c3ff3c-e4b9-4c6f-aec5-9550c00b41e4-2015-01-20 05:16:19Z +
+
+ Authorization + Bearer abc
@@ -32106,12 +65333,16 @@
x-ms-request-id - 0a412cf4-b8d4-4288-a4ef-b4668cadc5c9 + 52f44ae1-7efa-4779-9865-d6ede32e9e19
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -32122,23 +65353,23 @@
Date - Tue, 15 Apr 2014 21:47:12 GMT + Tue, 20 Jan 2015 05:16:20 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/master</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-04-15T19:11:43.0800000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</ServiceObjectiveId><AssignedServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-04-15T19:11:45.0030000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb0</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>4</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-04-15T21:47:07.7000000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-04-15T21:47:08.3400000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-04-15T21:48:07.6100000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb0copy1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Copying</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0copy1</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5</Id><Edition/><MaxSizeGB>-1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-04-15T21:47:09.8430000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>-1</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode i:nil="true"/><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource><ServiceResource><Name>testdb0copy2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Copying</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0copy2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>6</Id><Edition/><MaxSizeGB>-1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-04-15T21:47:11.0070000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>-1</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>0</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Pending</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode i:nil="true"/><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource></ServiceResources> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>testdb0copy2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0copy2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T05:06:10.1400000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T05:13:43.4570000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource><ServiceResource><Name>testdb0copy1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0copy1</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T05:06:05.4700000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T05:13:16.0030000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/master</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T04:59:16.1900000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>620323bf-2879-4807-b30d-c2e6d7b3b3aa</ServiceObjectiveId><AssignedServiceObjectiveId>620323bf-2879-4807-b30d-c2e6d7b3b3aa</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource><ServiceResource><Name>testdb0</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/databases/testdb0</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T05:02:58.4200000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-20T05:10:04.7970000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource></ServiceResources>
- 10 + 8 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -32146,11 +65377,15 @@
x-ms-client-session-id - 5aacda44-1ecd-4780-9680-fde54498070b-2014-04-15 21:47:05Z + 0eadb2c9-eedb-4831-9790-e8975f74f786-2015-01-20 05:02:56Z
x-ms-client-request-id - b47678c3-a6d4-44eb-b5a0-e1f1e146ee1b-2014-04-15 21:47:13Z + 318322b9-3fbe-4775-891d-e9acf31c2162-2015-01-20 05:16:20Z +
+
+ Authorization + Bearer abc
@@ -32163,12 +65398,16 @@
x-ms-request-id - b47678c3-a6d4-44eb-b5a0-e1f1e146ee1b + 38371d9f-51de-4bf6-9a91-f8c1ec8c0ae8
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -32179,23 +65418,23 @@
Date - Tue, 15 Apr 2014 21:47:12 GMT + Tue, 20 Jan 2015 05:16:20 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description>Used for master database only.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources>
- 11 + 9 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0copy2 + DELETE + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -32203,15 +65442,19 @@
x-ms-client-session-id - 5aacda44-1ecd-4780-9680-fde54498070b-2014-04-15 21:47:05Z + 0eadb2c9-eedb-4831-9790-e8975f74f786-2015-01-20 05:02:56Z
x-ms-client-request-id - 4b8b1918-5441-465e-b743-6c290df67b2e-2014-04-15 21:47:13Z + 6c41a9b5-0b66-4559-b1ef-19cada9df081-2015-01-20 05:16:20Z +
+
+ Authorization + Bearer abc
- +
@@ -32220,39 +65463,39 @@
x-ms-request-id - 4b8b1918-5441-465e-b743-6c290df67b2e + 5bed1143-b994-40e5-bfa6-44318af3f643
X-Content-Type-Options nosniff
- Cache-Control - no-store,no-cache + Strict-Transport-Security + max-age=31536000; includeSubDomains
- Content-Type - application/xml; charset=utf-8 + Cache-Control + no-store,no-cache
Date - Tue, 15 Apr 2014 21:47:12 GMT + Tue, 20 Jan 2015 05:16:40 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> +
- 12 + 10 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0copy1 + DELETE + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -32260,15 +65503,19 @@
x-ms-client-session-id - 5aacda44-1ecd-4780-9680-fde54498070b-2014-04-15 21:47:05Z + 0eadb2c9-eedb-4831-9790-e8975f74f786-2015-01-20 05:02:56Z
x-ms-client-request-id - 9d9314be-a03b-4f35-80fa-26b25af17fa2-2014-04-15 21:47:13Z + 474ef37e-b168-40a9-a907-f9c4303d36b7-2015-01-20 05:16:40Z +
+
+ Authorization + Bearer abc
- +
@@ -32277,39 +65524,39 @@
x-ms-request-id - 9d9314be-a03b-4f35-80fa-26b25af17fa2 + ef71272f-9250-4d2d-9edd-55f39900e8ae
X-Content-Type-Options nosniff
- Cache-Control - no-store,no-cache + Strict-Transport-Security + max-age=31536000; includeSubDomains
- Content-Type - application/xml; charset=utf-8 + Cache-Control + no-store,no-cache
Date - Tue, 15 Apr 2014 21:47:12 GMT + Tue, 20 Jan 2015 05:16:56 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> +
- 13 + 11 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0 + DELETE + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -32317,15 +65564,19 @@
x-ms-client-session-id - 5aacda44-1ecd-4780-9680-fde54498070b-2014-04-15 21:47:05Z + 0eadb2c9-eedb-4831-9790-e8975f74f786-2015-01-20 05:02:56Z
x-ms-client-request-id - bad8e3a5-e18e-4cfe-9815-a0d2655e27ed-2014-04-15 21:47:13Z + ab0dda87-65af-4193-898e-ceb81b6bb6d9-2015-01-20 05:16:56Z +
+
+ Authorization + Bearer abc
- +
@@ -32334,39 +65585,39 @@
x-ms-request-id - bad8e3a5-e18e-4cfe-9815-a0d2655e27ed + b433ae8f-64c0-4b11-86da-7fb7d21eaf6b
X-Content-Type-Options nosniff
- Cache-Control - no-store,no-cache + Strict-Transport-Security + max-age=31536000; includeSubDomains
- Content-Type - application/xml; charset=utf-8 + Cache-Control + no-store,no-cache
Date - Tue, 15 Apr 2014 21:47:13 GMT + Tue, 20 Jan 2015 05:17:07 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/cloud4/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/cloud4</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> +
- 14 + 12 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0 - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases?contentview=generic + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -32374,15 +65625,19 @@
x-ms-client-session-id - 5aacda44-1ecd-4780-9680-fde54498070b-2014-04-15 21:47:05Z + 0eadb2c9-eedb-4831-9790-e8975f74f786-2015-01-20 05:02:56Z
x-ms-client-request-id - 7ad4d817-df30-4699-b0ff-b65bd35a7e66-2014-04-15 21:47:13Z + 83008098-1250-4351-be19-ad6fddfa08d2-2015-01-20 05:17:07Z +
+
+ Authorization + Bearer abc
- +
@@ -32391,35 +65646,43 @@
x-ms-request-id - 7ad4d817-df30-4699-b0ff-b65bd35a7e66 + 4b72cdee-c8eb-44e6-9fe9-a81d6c4b3e06
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Tue, 15 Apr 2014 21:47:16 GMT + Tue, 20 Jan 2015 05:17:07 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/master</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-20T04:53:45.2570000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>620323bf-2879-4807-b30d-c2e6d7b3b3aa</ServiceObjectiveId><AssignedServiceObjectiveId>620323bf-2879-4807-b30d-c2e6d7b3b3aa</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted><UserAccess>MULTI_USER</UserAccess><Role>None</Role></ServiceResource></ServiceResources>
- 15 + 13 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0copy1 - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -32427,15 +65690,19 @@
x-ms-client-session-id - 5aacda44-1ecd-4780-9680-fde54498070b-2014-04-15 21:47:05Z + 0eadb2c9-eedb-4831-9790-e8975f74f786-2015-01-20 05:02:56Z
x-ms-client-request-id - 1672d23a-8a0e-4a2d-9371-72589a467bc3-2014-04-15 21:47:17Z + e3f8c557-260e-473b-ba42-4d99a236067b-2015-01-20 05:17:07Z +
+
+ Authorization + Bearer abc
- +
@@ -32444,35 +65711,48 @@
x-ms-request-id - 1672d23a-8a0e-4a2d-9371-72589a467bc3 + a61dcf7d-74fb-439f-b67b-5ace89a3a2d4
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Tue, 15 Apr 2014 21:47:16 GMT + Tue, 20 Jan 2015 05:17:07 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources>
+
+
+ + UnitTest.Common.CreateTestDatabasesWithCertAuth + - 16 + 0 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/cloud4/databases/testdb0copy2 - DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -32480,52 +65760,67 @@
x-ms-client-session-id - 5aacda44-1ecd-4780-9680-fde54498070b-2014-04-15 21:47:05Z + 7c4c5e44-47e9-45e8-86a8-a5d4d6df288e-2015-01-21 00:03:52Z
x-ms-client-request-id - 11e58e00-7fd2-4aa1-9226-c9cb0ae4dd03-2014-04-15 21:47:17Z + a0b7f12d-4e78-4728-ae3b-62c7707571d6-2015-01-21 00:03:52Z +
+
+ Authorization + Bearer abc
- - + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <Name>testdb1</Name> + <CollationName></CollationName> +</ServiceResource> + application/xml
- OK + Created
x-ms-request-id - 11e58e00-7fd2-4aa1-9226-c9cb0ae4dd03 + 5db613f5-f8ce-4347-89a8-99ca2810c450
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
+
+ Content-Type + application/xml; charset=utf-8 +
Date - Tue, 15 Apr 2014 21:47:17 GMT + Wed, 21 Jan 2015 00:03:58 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdb1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-21T00:03:53.1800000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-21T00:08:53.1800000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource>
- 17 + 1 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/databases?contentview=generic + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -32533,11 +65828,15 @@
x-ms-client-session-id - 5aacda44-1ecd-4780-9680-fde54498070b-2014-04-15 21:47:05Z + 7c4c5e44-47e9-45e8-86a8-a5d4d6df288e-2015-01-21 00:03:52Z
x-ms-client-request-id - 2d5256ee-d06e-4801-93d0-4320f4db52be-2014-04-15 21:47:18Z + 0a3272d6-080f-4655-9548-e1b5c1278a97-2015-01-21 00:03:58Z +
+
+ Authorization + Bearer abc
@@ -32550,12 +65849,16 @@
x-ms-request-id - 2d5256ee-d06e-4801-93d0-4320f4db52be + 085fbb5d-9e64-4f8c-ad99-0294538734c0
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -32566,23 +65869,23 @@
Date - Tue, 15 Apr 2014 21:47:17 GMT + Wed, 21 Jan 2015 00:03:58 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>master</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/databases/master</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>1</Id><Edition>System</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-04-15T19:12:12.2930000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>True</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</ServiceObjectiveId><AssignedServiceObjectiveId>26e021db-f1f9-4c98-84c6-92af8ef433d7</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-04-15T19:12:14.1130000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate i:nil="true"/><IsSuspended>False</IsSuspended></ServiceResource></ServiceResources> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources>
- 18 + 2 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/partnersrv/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdb1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -32590,11 +65893,15 @@
x-ms-client-session-id - 5aacda44-1ecd-4780-9680-fde54498070b-2014-04-15 21:47:05Z + 7c4c5e44-47e9-45e8-86a8-a5d4d6df288e-2015-01-21 00:03:52Z
x-ms-client-request-id - dae154da-9222-4a0b-b462-676c22335de0-2014-04-15 21:47:18Z + edc3455e-7674-4f82-ae60-a77881ea4db7-2015-01-21 00:04:58Z +
+
+ Authorization + Bearer abc
@@ -32607,12 +65914,16 @@
x-ms-request-id - dae154da-9222-4a0b-b462-676c22335de0 + e127a0ad-0bde-41f8-a181-3f8d33f877a0
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -32623,28 +65934,23 @@
Date - Tue, 15 Apr 2014 21:47:17 GMT + Wed, 21 Jan 2015 00:04:58 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description>Used for master database only.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/partnersrv/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/partnersrv</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdb1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-21T00:03:53.1800000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-21T00:09:36.9370000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource>
-
-
- - UnitTest.Common.CreateTestDatabasesWithCertAuth - - 0 + 3 https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -32652,20 +65958,24 @@
x-ms-client-session-id - fea9ea40-d212-4f3b-b591-140da9b0b191-2014-04-18 03:05:34Z + 7c4c5e44-47e9-45e8-86a8-a5d4d6df288e-2015-01-21 00:03:52Z
x-ms-client-request-id - 4a2cd1d5-2fae-475b-a546-708b34aaba9c-2014-04-18 03:05:34Z + 94ab2311-45ac-4b23-9fde-e549ea99b2c2-2015-01-21 00:04:58Z +
+
+ Authorization + Bearer abc
- - <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdb1</Name> - <CollationName></CollationName> - </ServiceResource> - + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <Name>testdb2</Name> + <Edition>Standard</Edition> + <MaxSizeGB>5</MaxSizeGB> + <CollationName>Japanese_CI_AS</CollationName> +</ServiceResource> application/xml
@@ -32674,12 +65984,16 @@
x-ms-request-id - 4a2cd1d5-2fae-475b-a546-708b34aaba9c + 082fc04e-06b7-4454-a5dd-595ceee820da
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -32690,23 +66004,23 @@
Date - Fri, 18 Apr 2014 03:05:41 GMT + Wed, 21 Jan 2015 00:05:03 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdb1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-04-18T03:05:35.5900000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-04-18T03:05:39.1670000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-04-18T03:06:35.2530000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdb2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-21T00:04:58.2900000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-21T00:09:58.2900000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource>
- 1 + 4 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -32714,11 +66028,15 @@
x-ms-client-session-id - fea9ea40-d212-4f3b-b591-140da9b0b191-2014-04-18 03:05:34Z + 7c4c5e44-47e9-45e8-86a8-a5d4d6df288e-2015-01-21 00:03:52Z
x-ms-client-request-id - 2ce60c57-304f-4cf2-a4a9-d551bf0c36cb-2014-04-18 03:05:41Z + ff90a90f-04f2-47cd-a93c-53dc4e3880d9-2015-01-21 00:05:03Z +
+
+ Authorization + Bearer abc
@@ -32731,12 +66049,16 @@
x-ms-request-id - 2ce60c57-304f-4cf2-a4a9-d551bf0c36cb + 57ba0626-8e49-4319-af9d-425d0cd605f9
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -32747,23 +66069,23 @@
Date - Fri, 18 Apr 2014 03:05:41 GMT + Wed, 21 Jan 2015 00:05:03 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources>
- 2 + 5 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdb2 + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -32771,36 +66093,37 @@
x-ms-client-session-id - fea9ea40-d212-4f3b-b591-140da9b0b191-2014-04-18 03:05:34Z + 7c4c5e44-47e9-45e8-86a8-a5d4d6df288e-2015-01-21 00:03:52Z
x-ms-client-request-id - 5f6a696c-00c8-4c01-be82-8b56fe84d966-2014-04-18 03:05:41Z + 00dbd18e-dc6e-4a7b-802a-004123838e90-2015-01-21 00:05:42Z +
+
+ Authorization + Bearer abc
- - <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdb2</Name> - <Edition>Web</Edition> - <MaxSizeGB>5</MaxSizeGB> - <CollationName>Japanese_CI_AS</CollationName> - </ServiceResource> - - application/xml + +
- Created + OK
x-ms-request-id - 5f6a696c-00c8-4c01-be82-8b56fe84d966 + a0b0cc1e-c41f-4393-b759-67768a40631d
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -32811,23 +66134,23 @@
Date - Fri, 18 Apr 2014 03:05:53 GMT + Wed, 21 Jan 2015 00:05:42 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdb2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5</Id><Edition>Web</Edition><MaxSizeGB>5</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2014-04-18T03:05:42.4630000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>5368709120</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-04-18T03:05:48.2970000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-04-18T03:06:41.9700000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb2</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdb2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Standard</Edition><MaxSizeGB>250</MaxSizeGB><CollationName>Japanese_CI_AS</CollationName><CreationDate>2015-01-21T00:04:58.2900000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>268435456000</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-21T00:10:14.8430000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource>
- 3 + 6 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 - GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases + POST + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -32835,29 +66158,41 @@
x-ms-client-session-id - fea9ea40-d212-4f3b-b591-140da9b0b191-2014-04-18 03:05:34Z + 7c4c5e44-47e9-45e8-86a8-a5d4d6df288e-2015-01-21 00:03:52Z
x-ms-client-request-id - 77360a33-d39a-44fb-8214-62458ea278f2-2014-04-18 03:05:53Z + 91421dfd-3735-43d8-b10b-2c1dde603fd0-2015-01-21 00:05:42Z +
+
+ Authorization + Bearer abc
- - + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> + <Name>testdb3</Name> + <CollationName></CollationName> + <MaxSizeBytes>104857600</MaxSizeBytes> +</ServiceResource> + application/xml
- OK + Created
x-ms-request-id - 77360a33-d39a-44fb-8214-62458ea278f2 + 979e93bf-3734-4a27-bc84-492e1cf32278
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -32868,23 +66203,23 @@
Date - Fri, 18 Apr 2014 03:05:53 GMT + Wed, 21 Jan 2015 00:05:47 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Creating</State><SelfLink>https://localhost/servers/myserver01/databases/testdb3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-21T00:05:42.8130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-21T00:10:42.8130000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource>
- 4 + 7 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases - POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives + GET + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -32892,35 +66227,37 @@
x-ms-client-session-id - fea9ea40-d212-4f3b-b591-140da9b0b191-2014-04-18 03:05:34Z + 7c4c5e44-47e9-45e8-86a8-a5d4d6df288e-2015-01-21 00:03:52Z
x-ms-client-request-id - 1365ffdb-df62-4a2d-9de9-6a345220528d-2014-04-18 03:05:53Z + fabe99d3-8241-483b-bc77-3021b9c9ceff-2015-01-21 00:05:47Z +
+
+ Authorization + Bearer abc
- - <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure"> - <Name>testdb3</Name> - <CollationName></CollationName> - <MaxSizeBytes>104857600</MaxSizeBytes> - </ServiceResource> - - application/xml + +
- Created + OK
x-ms-request-id - 1365ffdb-df62-4a2d-9de9-6a345220528d + 89d8ab4b-b0f3-4555-96af-e78d53926756
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -32931,23 +66268,23 @@
Date - Fri, 18 Apr 2014 03:06:18 GMT + Wed, 21 Jan 2015 00:05:47 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdb3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>6</Id><Edition>Web</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-04-18T03:06:09.1300000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-04-18T03:06:12.5730000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-04-18T03:07:08.4230000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources>
- 5 + 8 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdb3 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -32955,11 +66292,15 @@
x-ms-client-session-id - fea9ea40-d212-4f3b-b591-140da9b0b191-2014-04-18 03:05:34Z + 7c4c5e44-47e9-45e8-86a8-a5d4d6df288e-2015-01-21 00:03:52Z
x-ms-client-request-id - e91331da-06e3-4fa2-a28d-960372d9a1ea-2014-04-18 03:06:18Z + e795cef5-3d89-4554-a186-48ced9582d68-2015-01-21 00:07:05Z +
+
+ Authorization + Bearer abc
@@ -32972,12 +66313,16 @@
x-ms-request-id - e91331da-06e3-4fa2-a28d-960372d9a1ea + c91fe7fb-46be-4a56-bf0f-1d5fa818d517
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -32988,15 +66333,15 @@
Date - Fri, 18 Apr 2014 03:06:18 GMT + Wed, 21 Jan 2015 00:07:05 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb3</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdb3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7</Id><Edition>Standard</Edition><MaxSizeGB>0</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2015-01-21T00:05:42.8130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB/><MaxSizeBytes>104857600</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState/><ServiceObjectiveAssignmentStateDescription i:nil="true"/><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate i:nil="true"/><RecoveryPeriodStartDate>2015-01-21T00:10:59.3700000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended><IsEncrypted>False</IsEncrypted></ServiceResource>
@@ -33009,7 +66354,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdb1 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -33017,11 +66362,15 @@
x-ms-client-session-id - fea9ea40-d212-4f3b-b591-140da9b0b191-2014-04-18 03:05:34Z + 7c4c5e44-47e9-45e8-86a8-a5d4d6df288e-2015-01-21 00:03:52Z
x-ms-client-request-id - 0eb64618-ee60-4798-a53b-a4535f66202d-2014-04-18 03:08:15Z + 31ac51f3-7091-4c0f-a10e-3d17a32d0c02-2015-01-21 00:12:00Z +
+
+ Authorization + Bearer abc
@@ -33034,19 +66383,23 @@
x-ms-request-id - 0eb64618-ee60-4798-a53b-a4535f66202d + aae97483-9f5d-44b4-bef2-8a10450e82e6
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
Date - Fri, 18 Apr 2014 03:08:27 GMT + Wed, 21 Jan 2015 00:12:02 GMT
Server @@ -33062,7 +66415,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdb2 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -33070,11 +66423,15 @@
x-ms-client-session-id - fea9ea40-d212-4f3b-b591-140da9b0b191-2014-04-18 03:05:34Z + 7c4c5e44-47e9-45e8-86a8-a5d4d6df288e-2015-01-21 00:03:52Z
x-ms-client-request-id - f8074f88-a855-4150-9b8c-a9657d8c8c65-2014-04-18 03:08:27Z + 90964af6-9329-4082-80a1-a751c3bd31c8-2015-01-21 00:12:02Z +
+
+ Authorization + Bearer abc
@@ -33087,23 +66444,27 @@
x-ms-request-id - f8074f88-a855-4150-9b8c-a9657d8c8c65 + f6988794-1133-4adc-9a33-92c86f3dd510
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
Date - Fri, 18 Apr 2014 03:08:31 GMT + Wed, 21 Jan 2015 00:12:20 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -33115,7 +66476,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdb3 DELETE - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -33123,11 +66484,15 @@
x-ms-client-session-id - fea9ea40-d212-4f3b-b591-140da9b0b191-2014-04-18 03:05:34Z + 7c4c5e44-47e9-45e8-86a8-a5d4d6df288e-2015-01-21 00:03:52Z
x-ms-client-request-id - aa7e1cf1-541a-4bcf-a400-166d74ee834a-2014-04-18 03:08:32Z + b1b83fe4-ddc4-4f73-a74b-63316e154c3a-2015-01-21 00:12:20Z +
+
+ Authorization + Bearer abc
@@ -33140,23 +66505,27 @@
x-ms-request-id - aa7e1cf1-541a-4bcf-a400-166d74ee834a + cf9a1ef9-1044-47f8-9720-ad7a8415d79a
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
Date - Fri, 18 Apr 2014 03:08:47 GMT + Wed, 21 Jan 2015 00:12:22 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -33173,7 +66542,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/RestorableDroppedDatabases GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -33256,7 +66625,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/RestorableDroppedDatabases()?$filter=Name%20eq%20'testdb1'%20and%20DeletionDate%20eq%20datetime'2014-04-18T02%3A35%3A06.06Z'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -33339,7 +66708,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/RestorableDroppedDatabases()?$filter=Name%20eq%20'testdb2'%20and%20DeletionDate%20eq%20datetime'2014-04-18T02%3A35%3A12.343Z'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -33427,7 +66796,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/RestorableDroppedDatabases GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -33510,7 +66879,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/RestorableDroppedDatabases()?$filter=Name%20eq%20'testdb1'%20and%20DeletionDate%20eq%20datetime'2014-04-18T02%3A35%3A06.06Z'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -33593,7 +66962,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/RestorableDroppedDatabases()?$filter=Name%20eq%20'testdb2'%20and%20DeletionDate%20eq%20datetime'2014-04-18T02%3A35%3A12.343Z'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -33676,7 +67045,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/RestorableDroppedDatabases()?$filter=Name%20eq%20'testdb1'%20and%20DeletionDate%20eq%20datetime'2014-04-18T02%3A35%3A06.06Z'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -33759,7 +67128,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/RestorableDroppedDatabases()?$filter=Name%20eq%20'testdb2'%20and%20DeletionDate%20eq%20datetime'2014-04-18T02%3A35%3A12.343Z'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -33847,7 +67216,7 @@ http://localhost:12345/v1/ManagementService.svc/Server2('myserver01')/RestorableDroppedDatabases()?$filter=Name%20eq%20'testdbnonexistent'%20and%20DeletionDate%20eq%20datetime'2013-10-01T00%3A00%3A00Z'&$top=2 GET - AzurePowershell/v0.8.13 + AzurePowershell/v0.8.14
DataServiceVersion @@ -33935,7 +67304,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restorabledroppeddatabases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -33943,11 +67312,15 @@
x-ms-client-session-id - fea9ea40-d212-4f3b-b591-140da9b0b191-2014-04-18 03:05:34Z + 7c4c5e44-47e9-45e8-86a8-a5d4d6df288e-2015-01-21 00:03:52Z
x-ms-client-request-id - 19b72a62-06be-43d2-a575-ad126be83d39-2014-04-18 03:08:57Z + d1ec413f-756c-4d0f-9ca3-9b213f92a951-2015-01-21 00:12:45Z +
+
+ Authorization + Bearer abc
@@ -33960,12 +67333,16 @@
x-ms-request-id - 19b72a62-06be-43d2-a575-ad126be83d39 + a823ec24-63f9-4acc-9048-f33d18687232
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -33976,23 +67353,23 @@
Date - Fri, 18 Apr 2014 03:08:59 GMT + Wed, 21 Jan 2015 00:12:45 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>testdb1</Name><Type>Microsoft.SqlAzure.RestorableDroppedDatabase</Type><State>Deleted</State><SelfLink>https://localhost/servers/myserver01/restorabledroppeddatabases/testdb1,2014-04-18T03:08:25.083Z</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><EntityId>testdb1,2014-04-18T03:08:25.083Z</EntityId><ServerName>myserver01</ServerName><Edition>Web</Edition><MaxSizeBytes>1073741824</MaxSizeBytes><CreationDate>2014-04-18T03:05:35.2530000Z</CreationDate><DeletionDate>2014-04-18T03:08:25.0830000Z</DeletionDate><RecoveryPeriodStartDate>2014-04-18T03:06:35.2530000Z</RecoveryPeriodStartDate></ServiceResource><ServiceResource><Name>testdb2</Name><Type>Microsoft.SqlAzure.RestorableDroppedDatabase</Type><State>Deleted</State><SelfLink>https://localhost/servers/myserver01/restorabledroppeddatabases/testdb2,2014-04-18T03:08:28.877Z</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><EntityId>testdb2,2014-04-18T03:08:28.877Z</EntityId><ServerName>myserver01</ServerName><Edition>Web</Edition><MaxSizeBytes>5368709120</MaxSizeBytes><CreationDate>2014-04-18T03:05:41.9700000Z</CreationDate><DeletionDate>2014-04-18T03:08:28.8770000Z</DeletionDate><RecoveryPeriodStartDate>2014-04-18T03:06:41.9700000Z</RecoveryPeriodStartDate></ServiceResource><ServiceResource><Name>testdb3</Name><Type>Microsoft.SqlAzure.RestorableDroppedDatabase</Type><State>Deleted</State><SelfLink>https://localhost/servers/myserver01/restorabledroppeddatabases/testdb3,2014-04-18T03:08:34.453Z</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><EntityId>testdb3,2014-04-18T03:08:34.453Z</EntityId><ServerName>myserver01</ServerName><Edition>Web</Edition><MaxSizeBytes>104857600</MaxSizeBytes><CreationDate>2014-04-18T03:06:08.4230000Z</CreationDate><DeletionDate>2014-04-18T03:08:34.4530000Z</DeletionDate><RecoveryPeriodStartDate>2014-04-18T03:07:08.4230000Z</RecoveryPeriodStartDate></ServiceResource></ServiceResources> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>testdb1</Name><Type>Microsoft.SqlAzure.RestorableDroppedDatabase</Type><State>Deleted</State><SelfLink>https://localhost/servers/myserver01/restorabledroppeddatabases/testdb1,2015-01-21T00:12:02.7130000Z</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><EntityId>testdb1,2015-01-21T00:12:02.7130000Z</EntityId><ServerName>myserver01</ServerName><Edition>Standard</Edition><MaxSizeBytes>268435456000</MaxSizeBytes><CreationDate>2015-01-21T00:03:53.1800000Z</CreationDate><DeletionDate>2015-01-21T00:12:02.7130000Z</DeletionDate><RecoveryPeriodStartDate>2015-01-21T00:09:36.9370000Z</RecoveryPeriodStartDate></ServiceResource><ServiceResource><Name>testdb2</Name><Type>Microsoft.SqlAzure.RestorableDroppedDatabase</Type><State>Deleted</State><SelfLink>https://localhost/servers/myserver01/restorabledroppeddatabases/testdb2,2015-01-20T23:58:17.7400000Z</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><EntityId>testdb2,2015-01-20T23:58:17.7400000Z</EntityId><ServerName>myserver01</ServerName><Edition>Standard</Edition><MaxSizeBytes>268435456000</MaxSizeBytes><CreationDate>2015-01-20T23:51:48.5100000Z</CreationDate><DeletionDate>2015-01-20T23:58:17.7400000Z</DeletionDate><RecoveryPeriodStartDate>2015-01-20T23:57:05.0430000Z</RecoveryPeriodStartDate></ServiceResource><ServiceResource><Name>testdb2</Name><Type>Microsoft.SqlAzure.RestorableDroppedDatabase</Type><State>Deleted</State><SelfLink>https://localhost/servers/myserver01/restorabledroppeddatabases/testdb2,2015-01-21T00:12:19.9230000Z</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><EntityId>testdb2,2015-01-21T00:12:19.9230000Z</EntityId><ServerName>myserver01</ServerName><Edition>Standard</Edition><MaxSizeBytes>268435456000</MaxSizeBytes><CreationDate>2015-01-21T00:04:58.2900000Z</CreationDate><DeletionDate>2015-01-21T00:12:19.9230000Z</DeletionDate><RecoveryPeriodStartDate>2015-01-21T00:10:14.8430000Z</RecoveryPeriodStartDate></ServiceResource><ServiceResource><Name>testdb3</Name><Type>Microsoft.SqlAzure.RestorableDroppedDatabase</Type><State>Deleted</State><SelfLink>https://localhost/servers/myserver01/restorabledroppeddatabases/testdb3,2015-01-21T00:12:22.5270000Z</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><EntityId>testdb3,2015-01-21T00:12:22.5270000Z</EntityId><ServerName>myserver01</ServerName><Edition>Standard</Edition><MaxSizeBytes>104857600</MaxSizeBytes><CreationDate>2015-01-21T00:05:42.8130000Z</CreationDate><DeletionDate>2015-01-21T00:12:22.5270000Z</DeletionDate><RecoveryPeriodStartDate>2015-01-21T00:10:59.3700000Z</RecoveryPeriodStartDate></ServiceResource><ServiceResource><Name>testdb1</Name><Type>Microsoft.SqlAzure.RestorableDroppedDatabase</Type><State>Deleted</State><SelfLink>https://localhost/servers/myserver01/restorabledroppeddatabases/testdb1,2015-01-20T23:10:44.8230000Z</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><EntityId>testdb1,2015-01-20T23:10:44.8230000Z</EntityId><ServerName>myserver01</ServerName><Edition>Standard</Edition><MaxSizeBytes>268435456000</MaxSizeBytes><CreationDate>2015-01-20T23:03:32.9370000Z</CreationDate><DeletionDate>2015-01-20T23:10:44.8230000Z</DeletionDate><RecoveryPeriodStartDate>2015-01-20T23:09:22.7800000Z</RecoveryPeriodStartDate></ServiceResource></ServiceResources> 1 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restorabledroppeddatabases/testdb1,2014-04-18T03:08:25.083Z + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restorabledroppeddatabases/testdb1,2015-01-21T00:12:02.713Z GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -34000,11 +67377,15 @@
x-ms-client-session-id - fea9ea40-d212-4f3b-b591-140da9b0b191-2014-04-18 03:05:34Z + 7c4c5e44-47e9-45e8-86a8-a5d4d6df288e-2015-01-21 00:03:52Z
x-ms-client-request-id - a8c11a2d-a8a0-477b-ba29-fcfd75133ab7-2014-04-18 03:08:59Z + 6db1d104-714e-4192-bbe8-b2251cb59460-2015-01-21 00:13:06Z +
+
+ Authorization + Bearer abc
@@ -34017,12 +67398,16 @@
x-ms-request-id - a8c11a2d-a8a0-477b-ba29-fcfd75133ab7 + b42cfbdd-a4fd-4d06-afe8-7042f69541ea
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -34033,23 +67418,23 @@
Date - Fri, 18 Apr 2014 03:08:59 GMT + Wed, 21 Jan 2015 00:13:06 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb1</Name><Type>Microsoft.SqlAzure.RestorableDroppedDatabase</Type><State>Deleted</State><SelfLink>https://localhost/servers/myserver01/restorabledroppeddatabases/testdb1,2014-04-18T03:08:25.083Z</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><EntityId>testdb1,2014-04-18T03:08:25.083Z</EntityId><ServerName>myserver01</ServerName><Edition>Web</Edition><MaxSizeBytes>1073741824</MaxSizeBytes><CreationDate>2014-04-18T03:05:35.2530000Z</CreationDate><DeletionDate>2014-04-18T03:08:25.0830000Z</DeletionDate><RecoveryPeriodStartDate>2014-04-18T03:06:35.2530000Z</RecoveryPeriodStartDate></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb1</Name><Type>Microsoft.SqlAzure.RestorableDroppedDatabase</Type><State>Deleted</State><SelfLink>https://localhost/servers/myserver01/restorabledroppeddatabases/testdb1,2015-01-21T00:12:02.7130000Z</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><EntityId>testdb1,2015-01-21T00:12:02.7130000Z</EntityId><ServerName>myserver01</ServerName><Edition>Standard</Edition><MaxSizeBytes>268435456000</MaxSizeBytes><CreationDate>2015-01-21T00:03:53.1800000Z</CreationDate><DeletionDate>2015-01-21T00:12:02.7130000Z</DeletionDate><RecoveryPeriodStartDate>2015-01-21T00:09:36.9370000Z</RecoveryPeriodStartDate></ServiceResource>
2 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restorabledroppeddatabases/testdb2,2014-04-18T03:08:28.877Z + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restorabledroppeddatabases/testdb2,2015-01-20T23:58:17.740Z GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -34057,11 +67442,15 @@
x-ms-client-session-id - fea9ea40-d212-4f3b-b591-140da9b0b191-2014-04-18 03:05:34Z + 7c4c5e44-47e9-45e8-86a8-a5d4d6df288e-2015-01-21 00:03:52Z
x-ms-client-request-id - d89adfd5-1082-484a-883f-7b849b2d0e55-2014-04-18 03:09:00Z + 035307a4-647b-430f-b591-398a9a702041-2015-01-21 00:13:07Z +
+
+ Authorization + Bearer abc
@@ -34074,12 +67463,16 @@
x-ms-request-id - d89adfd5-1082-484a-883f-7b849b2d0e55 + fc285913-f5c7-4091-a24e-51ceeccb240e
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -34090,15 +67483,15 @@
Date - Fri, 18 Apr 2014 03:09:00 GMT + Wed, 21 Jan 2015 00:13:07 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb2</Name><Type>Microsoft.SqlAzure.RestorableDroppedDatabase</Type><State>Deleted</State><SelfLink>https://localhost/servers/myserver01/restorabledroppeddatabases/testdb2,2014-04-18T03:08:28.877Z</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><EntityId>testdb2,2014-04-18T03:08:28.877Z</EntityId><ServerName>myserver01</ServerName><Edition>Web</Edition><MaxSizeBytes>5368709120</MaxSizeBytes><CreationDate>2014-04-18T03:05:41.9700000Z</CreationDate><DeletionDate>2014-04-18T03:08:28.8770000Z</DeletionDate><RecoveryPeriodStartDate>2014-04-18T03:06:41.9700000Z</RecoveryPeriodStartDate></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb2</Name><Type>Microsoft.SqlAzure.RestorableDroppedDatabase</Type><State>Deleted</State><SelfLink>https://localhost/servers/myserver01/restorabledroppeddatabases/testdb2,2015-01-20T23:58:17.7400000Z</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><EntityId>testdb2,2015-01-20T23:58:17.7400000Z</EntityId><ServerName>myserver01</ServerName><Edition>Standard</Edition><MaxSizeBytes>268435456000</MaxSizeBytes><CreationDate>2015-01-20T23:51:48.5100000Z</CreationDate><DeletionDate>2015-01-20T23:58:17.7400000Z</DeletionDate><RecoveryPeriodStartDate>2015-01-20T23:57:05.0430000Z</RecoveryPeriodStartDate></ServiceResource>
@@ -34111,7 +67504,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restorabledroppeddatabases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -34156,7 +67549,7 @@
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -34168,7 +67561,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restorabledroppeddatabases/testdb1,2014-04-18T03:08:25.083Z GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -34213,7 +67606,7 @@
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -34225,7 +67618,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restorabledroppeddatabases/testdb2,2014-04-18T03:08:28.877Z GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -34270,7 +67663,7 @@
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -34282,7 +67675,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restorabledroppeddatabases/testdb1,2014-04-18T03:08:25.083Z GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -34327,7 +67720,7 @@
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -34339,7 +67732,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restorabledroppeddatabases/testdb2,2014-04-18T03:08:28.877Z GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -34384,7 +67777,7 @@
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -34401,7 +67794,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restorabledroppeddatabases/testdbnonexistent,2013-10-01T00:00:00.000Z GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -34409,11 +67802,15 @@
x-ms-client-session-id - fea9ea40-d212-4f3b-b591-140da9b0b191-2014-04-18 03:05:34Z + eb005ba5-8f0d-4c1d-84df-4ff44c549218-2015-01-20 23:40:05Z
x-ms-client-request-id - d866c932-6293-4923-9385-1381abe185e5-2014-04-18 03:08:47Z + da94fe7d-43d6-4515-829f-8abeaa4d7acf-2015-01-20 23:47:16Z +
+
+ Authorization + Bearer abc
@@ -34426,27 +67823,31 @@
x-ms-request-id - d866c932-6293-4923-9385-1381abe185e5 + 8be34d44-4ab8-48c3-8406-dfbefbf2a7b1
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache
Content-Type - application/xml; charset=utf-8 + application/xml
Date - Fri, 18 Apr 2014 03:08:47 GMT + Tue, 20 Jan 2015 23:47:16 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -34463,7 +67864,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restoredatabaseoperations POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -34513,7 +67914,7 @@
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -34530,7 +67931,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/databases/testdb1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -34575,19 +67976,19 @@
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdb1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-04-18T03:43:16.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</ServiceObjectiveId><AssignedServiceObjectiveId>910b4fcb-8a29-4c3e-958f-f7ba794388b2</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-04-18T03:43:20.8200000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-04-18T03:44:16.3000000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> + <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>testdb1</Name><Type>Microsoft.SqlAzure.Database</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/databases/testdb1</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>4</Id><Edition>Web</Edition><MaxSizeGB>1</MaxSizeGB><CollationName>SQL_Latin1_General_CP1_CI_AS</CollationName><CreationDate>2014-04-18T03:43:16.7130000Z</CreationDate><IsFederationRoot>False</IsFederationRoot><IsSystemObject>False</IsSystemObject><SizeMB i:nil="true"/><MaxSizeBytes>1073741824</MaxSizeBytes><ServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</ServiceObjectiveId><AssignedServiceObjectiveId>f1173c43-91bd-4aaa-973c-54e79e15235b</AssignedServiceObjectiveId><ServiceObjectiveAssignmentState>1</ServiceObjectiveAssignmentState><ServiceObjectiveAssignmentStateDescription>Complete</ServiceObjectiveAssignmentStateDescription><ServiceObjectiveAssignmentErrorCode>0</ServiceObjectiveAssignmentErrorCode><ServiceObjectiveAssignmentErrorDescription i:nil="true"/><ServiceObjectiveAssignmentSuccessDate>2014-04-18T03:43:20.8200000Z</ServiceObjectiveAssignmentSuccessDate><RecoveryPeriodStartDate>2014-04-18T03:44:16.3000000Z</RecoveryPeriodStartDate><IsSuspended>False</IsSuspended></ServiceResource> 1 - https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2 + https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/serviceobjectives GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/5.0.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -34595,11 +67996,15 @@
x-ms-client-session-id - 3cca9886-0d60-456c-ba3c-b52f1aed26b4-2014-04-18 03:43:15Z + 594c3e7f-67b3-40c2-8041-bec964a0155c-2015-01-19 22:35:45Z
x-ms-client-request-id - 4d2f5739-0986-44a3-af4f-d8d8aa4dbdd7-2014-04-18 03:45:42Z + a48e8666-c768-4a53-91ba-771965235a98-2015-01-19 22:35:52Z +
+
+ Authorization + Bearer abc
@@ -34612,12 +68017,16 @@
x-ms-request-id - 4d2f5739-0986-44a3-af4f-d8d8aa4dbdd7 + 6bcd0f8d-bcd7-40a8-b1b6-bde4424f506c
X-Content-Type-Options nosniff
+
+ Strict-Transport-Security + max-age=31536000; includeSubDomains +
Cache-Control no-store,no-cache @@ -34628,15 +68037,15 @@
Date - Fri, 18 Apr 2014 03:45:43 GMT + Mon, 19 Jan 2015 22:35:52 GMT
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
- <ServiceResource xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name>Shared</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/910b4fcb-8a29-4c3e-958f-f7ba794388b2</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>910b4fcb-8a29-4c3e-958f-f7ba794388b2</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description>Shared resource allocation.</Description><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Shared</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/22467ff6-6823-4d18-a169-913150e7714f</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>22467ff6-6823-4d18-a169-913150e7714f</Id><Description>Shared resource allocation.</Description><Ordinal>2</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource> + <ServiceResources xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/26e021db-f1f9-4c98-84c6-92af8ef433d7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>26e021db-f1f9-4c98-84c6-92af8ef433d7</Id><IsDefault>False</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>5b1e7ca2-f1c8-4da8-bb42-7ebe94a92609</Id><Description>Used for master database only.</Description><Ordinal>1</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><IsDefault>True</IsDefault><IsSystem>True</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>System2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/620323bf-2879-4807-b30d-c2e6d7b3b3aa</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>620323bf-2879-4807-b30d-c2e6d7b3b3aa</Id><Description/><Ordinal>0</Ordinal><IsDefault>True</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>dd6d99bb-f193-4ec1-86f2-43d3bccbc49c</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>Basic</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/3a2b7a50-065b-4c55-921d-c0ca49e174d3</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>3a2b7a50-065b-4c55-921d-c0ca49e174d3</Id><Description>Basic resource allocation.</Description><Ordinal>3</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/f1173c43-91bd-4aaa-973c-54e79e15235b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>f1173c43-91bd-4aaa-973c-54e79e15235b</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S0</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/e3dbbb0b-df82-44fd-b742-425e2a491091</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>e3dbbb0b-df82-44fd-b742-425e2a491091</Id><Description>Standard S0 resource allocation.</Description><Ordinal>4</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/1b1ebd4d-d903-4baa-97f9-4ea675f5e928</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>1b1ebd4d-d903-4baa-97f9-4ea675f5e928</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/2e9b7ede-a777-4244-945c-9f319b1cec02</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>2e9b7ede-a777-4244-945c-9f319b1cec02</Id><Description>Standard S1 resource allocation.</Description><Ordinal>5</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/455330e1-00cd-488b-b5fa-177c226f28b7</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>455330e1-00cd-488b-b5fa-177c226f28b7</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/a6929526-f04f-48d2-8c46-babe799f2192</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a6929526-f04f-48d2-8c46-babe799f2192</Id><Description>Standard S2 resource allocation.</Description><Ordinal>6</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/789681b8-ca10-4eb0-bdf2-e0b050601b40</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>789681b8-ca10-4eb0-bdf2-e0b050601b40</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>S3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/C36FCA14-FD18-424E-A437-AB6B7FA30A85</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>C36FCA14-FD18-424E-A437-AB6B7FA30A85</Id><Description>Standard S3 resource allocation.</Description><Ordinal>7</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/7203483a-c4fb-4304-9e9f-17c71c904f5d</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>7203483a-c4fb-4304-9e9f-17c71c904f5d</Id><IsDefault>True</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P1</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/765fbda3-73c9-4fad-996e-7c0e4e219f68</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>765fbda3-73c9-4fad-996e-7c0e4e219f68</Id><Description>Premium P1 resource allocation.</Description><Ordinal>9</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7d1b92d-c987-4375-b54d-2b1d0e0f5bb0</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P2</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/b15e89f1-02b5-4618-b44d-75d37261b94b</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>b15e89f1-02b5-4618-b44d-75d37261b94b</Id><Description>Premium P2 resource allocation.</Description><Ordinal>10</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.ServiceObjective</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/serviceobjectives/a7c4c615-cfb1-464b-b252-925be0a19446</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>a7c4c615-cfb1-464b-b252-925be0a19446</Id><IsDefault>False</IsDefault><IsSystem>False</IsSystem><Description i:nil="true"/><Enabled>True</Enabled><DimensionSettings><ServiceResource><Name>P3</Name><Type>Microsoft.SqlAzure.DimensionSetting</Type><State>Normal</State><SelfLink>https://localhost/servers/myserver01/dimensionsettings/c4da00a1-df48-4f87-930e-dbc170fe1cef</SelfLink><ParentLink>https://localhost/servers/myserver01</ParentLink><Id>c4da00a1-df48-4f87-930e-dbc170fe1cef</Id><Description>Premium P3 resource allocation.</Description><Ordinal>11</Ordinal><IsDefault>False</IsDefault></ServiceResource></DimensionSettings></ServiceResource></ServiceResources>
@@ -34644,7 +68053,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restoredatabaseoperations POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -34694,7 +68103,7 @@
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -34711,7 +68120,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restorabledroppeddatabases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -34756,7 +68165,7 @@
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -34768,7 +68177,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restoredatabaseoperations POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -34820,7 +68229,7 @@
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -34837,7 +68246,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restorabledroppeddatabases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -34882,7 +68291,7 @@
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -34894,7 +68303,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/restoredatabaseoperations POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -34945,7 +68354,7 @@
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -34962,7 +68371,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/recoverabledatabases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -35007,7 +68416,7 @@
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -35019,7 +68428,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/recoverabledatabases/testdb1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -35064,7 +68473,7 @@
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -35076,7 +68485,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/recoverabledatabases/testdb2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -35121,7 +68530,7 @@
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -35138,7 +68547,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/recoverabledatabases?contentview=generic GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -35183,7 +68592,7 @@
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -35195,7 +68604,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/recoverabledatabases/testdb1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -35240,7 +68649,7 @@
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -35252,7 +68661,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/recoverabledatabases/testdb2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -35297,7 +68706,7 @@
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -35309,7 +68718,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/recoverabledatabases/testdb1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -35354,7 +68763,7 @@
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -35366,7 +68775,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/recoverabledatabases/testdb2 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -35411,7 +68820,7 @@
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -35428,7 +68837,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/recoverabledatabases/testdbnonexistent GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -35473,7 +68882,7 @@
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -35490,7 +68899,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/recoverdatabaseoperations POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -35540,7 +68949,7 @@
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -35557,7 +68966,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/recoverabledatabases/testdb1 GET - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -35602,7 +69011,7 @@
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
@@ -35614,7 +69023,7 @@ https://localhost:65432/00000000-0000-0000-0001-000000000001/services/sqlservers/servers/myserver01/recoverdatabaseoperations POST - Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.13 + Microsoft.WindowsAzure.Management.Sql.SqlManagementClient/0.9.0.0 AzurePowershell/v0.8.14
x-ms-version @@ -35665,7 +69074,7 @@
Server - Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + 1.0.6198.12 (rd_rdfe_stable.131001-0757) Microsoft-HTTPAPI/2.0
diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/AzureSqlDatabaseCertAuthTests.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/AzureSqlDatabaseCertAuthTests.cs index cd558de05ad8..5cbf27b7c832 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/AzureSqlDatabaseCertAuthTests.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/AzureSqlDatabaseCertAuthTests.cs @@ -19,7 +19,7 @@ using System.Linq; using System.Management.Automation; using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server; using Microsoft.WindowsAzure.Commands.SqlDatabase.Test.UnitTests.MockServer; using Microsoft.WindowsAzure.Commands.SqlDatabase.Test.UnitTests.Server.Cmdlet; @@ -99,7 +99,7 @@ public void AzureSqlDatabaseCertTests() @" -Collation Japanese_CI_AS"); }); - // Create a database of size 100MB Default Edition (Web) + // Create a database of size 100MB Default Edition (Standard) Collection newDatabaseResult3 = MockServerHelper.ExecuteWithMock( testSession, MockHttpServer.DefaultHttpsServerPrefixUri, @@ -205,7 +205,7 @@ public void AzureSqlDatabaseCertTests() return powershell.InvokeBatchScript( @"$P2 = Get-AzureSqlDatabaseServiceObjective" + @" -Server $serverName" + - @" -ServiceObjective $SLO[2]", + @" -ServiceObjective ($slo | where-object { $_.name -match ""P2"" })", @"$P2"); }); @@ -227,6 +227,20 @@ public void AzureSqlDatabaseCertTests() }); + Collection removeDatabaseResult1 = MockServerHelper.ExecuteWithMock( + testSession, + MockHttpServer.DefaultHttpsServerPrefixUri, + () => + { + powershell.Runspace.SessionStateProxy.SetVariable("db1", newDatabaseResult1.FirstOrDefault()); + powershell.Runspace.SessionStateProxy.SetVariable("db2", newDatabaseResult2.FirstOrDefault()); + powershell.Runspace.SessionStateProxy.SetVariable("db3", newDatabaseResult3.FirstOrDefault()); + powershell.InvokeBatchScript(@"$db1 | Remove-AzureSqlDatabase -Force"); + powershell.InvokeBatchScript(@"$db2 | Remove-AzureSqlDatabase -Force"); + powershell.InvokeBatchScript(@"$db3 | Remove-AzureSqlDatabase -Force"); + return powershell.InvokeBatchScript(@"Get-AzureSqlDatabase $serverName"); + }); + Collection newPremiumP1DatabaseResult = MockServerHelper.ExecuteWithMock( testSession, MockHttpServer.DefaultHttpsServerPrefixUri, @@ -237,7 +251,8 @@ public void AzureSqlDatabaseCertTests() @" -ServerName $serverName" + @" -DatabaseName ""testdbcertPremiumDBP1""" + @" -Edition Premium" + - @" -ServiceObjective $P1"); + @" -ServiceObjective $P1" + + @" -MaxSizeGb 10"); }); Collection newPremiumP2DatabaseResult = MockServerHelper.ExecuteWithMock( @@ -250,7 +265,8 @@ public void AzureSqlDatabaseCertTests() @" -ServerName $serverName" + @" -DatabaseName ""testdbcertPremiumDBP2""" + @" -Edition Premium" + - @" -ServiceObjective $P2"); + @" -ServiceObjective $P2" + + @" -MaxSizeGb 10"); }); // There is a known issue about the Get-AzureSqlDatabaseOperation that it returns all @@ -263,7 +279,7 @@ public void AzureSqlDatabaseCertTests() string getOperationDbName = null; if (testSession.ServiceBaseUri == null) { - getOperationDbName = "testdbcertGetOperationDbName_f1abaa48-a85a-4141-9a40-6acb3ea65771"; + getOperationDbName = "testdbcertGetOperationDbName_08abc738-1381-4164-ae5e-03a4fe59b6d2"; } else { @@ -326,20 +342,14 @@ public void AzureSqlDatabaseCertTests() @" -OperationGuid $getOperation[0].Id")); }); - Collection removeDatabaseResult = MockServerHelper.ExecuteWithMock( + Collection removeDatabaseResult2 = MockServerHelper.ExecuteWithMock( testSession, MockHttpServer.DefaultHttpsServerPrefixUri, () => { - powershell.Runspace.SessionStateProxy.SetVariable("db1", newDatabaseResult1.FirstOrDefault()); - powershell.Runspace.SessionStateProxy.SetVariable("db2", newDatabaseResult2.FirstOrDefault()); - powershell.Runspace.SessionStateProxy.SetVariable("db3", newDatabaseResult3.FirstOrDefault()); powershell.Runspace.SessionStateProxy.SetVariable("premiumP1", newPremiumP1DatabaseResult.FirstOrDefault()); powershell.Runspace.SessionStateProxy.SetVariable("premiumP2", newPremiumP2DatabaseResult.FirstOrDefault()); powershell.Runspace.SessionStateProxy.SetVariable("operationDb", newOperationDbResult.FirstOrDefault()); - powershell.InvokeBatchScript(@"$db1 | Remove-AzureSqlDatabase -Force"); - powershell.InvokeBatchScript(@"$db2 | Remove-AzureSqlDatabase -Force"); - powershell.InvokeBatchScript(@"$db3 | Remove-AzureSqlDatabase -Force"); powershell.InvokeBatchScript(@"$premiumP1 | Remove-AzureSqlDatabase -Force"); powershell.InvokeBatchScript(@"$premiumP2 | Remove-AzureSqlDatabase -Force"); powershell.InvokeBatchScript(@"$operationDb | Remove-AzureSqlDatabase -Force"); @@ -355,17 +365,18 @@ public void AzureSqlDatabaseCertTests() Assert.IsNotNull(databases[0], "Expecting a Database object."); // Note: Because the object is piped, this is the final state of the // database object, after all the Set- cmdlet has run. - DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbcert3", "Web", 5, 5368709120L, "SQL_Latin1_General_CP1_CI_AS", "Shared", false, DatabaseTestHelper.SharedSloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbcert3", "Standard", 5, 5368709120L, "SQL_Latin1_General_CP1_CI_AS", "S0", false, DatabaseTestHelper.StandardS0SloGuid); databases = new Services.Server.Database[] { newDatabaseResult2.Single().BaseObject as Services.Server.Database }; Assert.AreEqual(1, databases.Length, "Expecting one database"); Assert.IsNotNull(databases[0], "Expecting a Database object."); - DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbcert2", "Business", 10, 10737418240L, "Japanese_CI_AS", "Shared", false, DatabaseTestHelper.SharedSloGuid); + //TODO: change below to business + DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbcert2", "Business", 10, 10737418240L, "Japanese_CI_AS", "Business", false, DatabaseTestHelper.BusinessSloGuid); databases = new Services.Server.Database[] { newDatabaseResult3.Single().BaseObject as Services.Server.Database }; Assert.AreEqual(1, databases.Length, "Expecting one database"); Assert.IsNotNull(databases[0], "Expecting a Database object."); - DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbcert4", "Web", 0, 104857600L, "SQL_Latin1_General_CP1_CI_AS", "Shared", false, DatabaseTestHelper.SharedSloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbcert4", "Standard", 0, 104857600L, "SQL_Latin1_General_CP1_CI_AS", "S0", false, DatabaseTestHelper.StandardS0SloGuid); // Validate Get-AzureSqlDatabase databases = getDatabaseResult.Select(r => r.BaseObject as Services.Server.Database).ToArray(); @@ -374,41 +385,41 @@ public void AzureSqlDatabaseCertTests() Assert.IsNotNull(databases[1], "Expecting a Database object."); Assert.IsNotNull(databases[2], "Expecting a Database object."); Assert.IsNotNull(databases[3], "Expecting a Database object."); - DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "master", "System", 5, 5368709120L, "SQL_Latin1_General_CP1_CI_AS", "System", true, DatabaseTestHelper.SystemSloGuid); - DatabaseTestHelper.ValidateDatabaseProperties(databases[1], "testdbcert1", "Web", 1, 1073741824L, "SQL_Latin1_General_CP1_CI_AS", "Shared", false, DatabaseTestHelper.SharedSloGuid); - DatabaseTestHelper.ValidateDatabaseProperties(databases[2], "testdbcert2", "Business", 10, 10737418240L, "Japanese_CI_AS", "Shared", false, DatabaseTestHelper.SharedSloGuid); - DatabaseTestHelper.ValidateDatabaseProperties(databases[3], "testdbcert4", "Web", 0, 104857600L, "SQL_Latin1_General_CP1_CI_AS", "Shared", false, DatabaseTestHelper.SharedSloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(databases[1], "master", "System", 5, 5368709120L, "SQL_Latin1_General_CP1_CI_AS", "System2", true, DatabaseTestHelper.System2SloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(databases[3], "testdbcert1", "Standard", 250, 268435456000L, "SQL_Latin1_General_CP1_CI_AS", "S0", false, DatabaseTestHelper.StandardS0SloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(databases[2], "testdbcert2", "Business", 10, 10737418240L, "Japanese_CI_AS", "Business", false, DatabaseTestHelper.BusinessSloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbcert4", "Standard", 0, 104857600L, "SQL_Latin1_General_CP1_CI_AS", "S0", false, DatabaseTestHelper.StandardS0SloGuid); databases = new Services.Server.Database[] { getSingleDatabaseResult.Single().BaseObject as Services.Server.Database }; Assert.AreEqual(1, databases.Length, "Expecting one database"); Assert.IsNotNull(databases[0], "Expecting a Database object."); - DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbcert1", "Web", 1, 1073741824L, "SQL_Latin1_General_CP1_CI_AS", "Shared", false, DatabaseTestHelper.SharedSloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbcert1", "Standard", 250, 268435456000L, "SQL_Latin1_General_CP1_CI_AS", "S0", false, DatabaseTestHelper.StandardS0SloGuid); databases = new Services.Server.Database[] { getSingleDatabaseResult2.Single().BaseObject as Services.Server.Database }; Assert.AreEqual(1, databases.Length, "Expecting one database"); Assert.IsNotNull(databases[0], "Expecting a Database object."); - DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbcert4", "Web", 0, 104857600L, "SQL_Latin1_General_CP1_CI_AS", "Shared", false, DatabaseTestHelper.SharedSloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbcert4", "Standard", 0, 104857600L, "SQL_Latin1_General_CP1_CI_AS", "S0", false, DatabaseTestHelper.StandardS0SloGuid); // Validate Set-AzureSqlDatabase databases = new Services.Server.Database[] { setDatabaseNameResult.Single().BaseObject as Services.Server.Database }; Assert.AreEqual(1, databases.Length, "Expecting one database"); Assert.IsNotNull(databases[0], "Expecting a Database object."); - DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbcert3", "Web", 1, 1073741824L, "SQL_Latin1_General_CP1_CI_AS", "Shared", false, DatabaseTestHelper.SharedSloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbcert3", "Standard", 250, 268435456000L, "SQL_Latin1_General_CP1_CI_AS", "S0", false, DatabaseTestHelper.StandardS0SloGuid); databases = new Services.Server.Database[] { setDatabaseSizeResult.Single().BaseObject as Services.Server.Database }; Assert.AreEqual(1, databases.Length, "Expecting one database"); Assert.IsNotNull(databases[0], "Expecting a Database object."); - DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbcert3", "Web", 5, 5368709120L, "SQL_Latin1_General_CP1_CI_AS", "Shared", false, DatabaseTestHelper.SharedSloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbcert3", "Standard", 5, 5368709120L, "SQL_Latin1_General_CP1_CI_AS", "S0", false, DatabaseTestHelper.StandardS0SloGuid); databases = new Services.Server.Database[] { setDatabaseSizeResult2.Single().BaseObject as Services.Server.Database }; Assert.AreEqual(1, databases.Length, "Expecting one database"); Assert.IsNotNull(databases[0], "Expecting a Database object."); - DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbcert4", "Web", 1, 1073741824L, "SQL_Latin1_General_CP1_CI_AS", "Shared", false, DatabaseTestHelper.SharedSloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbcert4", "Standard", 1, 1073741824L, "SQL_Latin1_General_CP1_CI_AS", "S0", false, DatabaseTestHelper.StandardS0SloGuid); databases = new Services.Server.Database[] { setDatabaseSlo.Single().BaseObject as Services.Server.Database }; Assert.AreEqual(1, databases.Length, "Expecting one database"); Assert.IsNotNull(databases[0], "Expecting a Database object."); - DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbcert4", "Web", 1, 1073741824L, "SQL_Latin1_General_CP1_CI_AS", "Shared", false, DatabaseTestHelper.PremiumP2SloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbcert4", "Standard", 1, 1073741824L, "SQL_Latin1_General_CP1_CI_AS", "S0", false, DatabaseTestHelper.PremiumP2SloGuid); // Validate New-AzureSqlDatabase for Premium Edition Database VerifyCreatePremiumDb(newPremiumP1DatabaseResult, "testdbcertPremiumDBP1", (P1.Single().BaseObject as ServiceObjective).Id.ToString()); @@ -417,27 +428,31 @@ public void AzureSqlDatabaseCertTests() // Validate Get-AzureSqlDatabaseServiceObjective var SLOP1 = P1.Single().BaseObject as ServiceObjective; Assert.AreEqual("P1", SLOP1.Name); - Assert.AreEqual("Premium P1 resource allocation.", SLOP1.Description); Assert.IsNotNull(SLOP1.DimensionSettings, "Expecting some Dimension Setting objects."); Assert.AreEqual(1, SLOP1.DimensionSettings.Count(), "Expecting 1 Dimension Setting."); Assert.AreEqual("Premium P1 resource allocation.", SLOP1.DimensionSettings[0].Description, "Expecting Dimension Setting description as Resource capacity is reserved."); var SLOP2 = P2.Single().BaseObject as ServiceObjective; Assert.AreEqual("P2", SLOP2.Name); - Assert.AreEqual(SLOP2.Description, "Premium P2 resource allocation."); Assert.IsNotNull(SLOP2.DimensionSettings, "Expecting some Dimension Setting objects."); Assert.AreEqual(1, SLOP2.DimensionSettings.Count(), "Expecting 1 Dimension Setting."); Assert.AreEqual("Premium P2 resource allocation.", SLOP2.DimensionSettings[0].Description, "Expecting Dimension Setting description as Resource capacity is reserved."); + // Validate Get-AzureSqlDatabaseOperation VerifyGetAzureSqlDatabaseOperation(getOperationDbName, getDatabaseOperationByDbResult); VerifyGetAzureSqlDatabaseOperation(getOperationDbName, getDatabaseOperationByNameResult); VerifyGetAzureSqlDatabaseOperation(getOperationDbName, getDatabaseOperationByIdResult); - + // Validate Remove-AzureSqlDatabase - databases = new Services.Server.Database[] { removeDatabaseResult.Single().BaseObject as Services.Server.Database }; + databases = new Services.Server.Database[] { removeDatabaseResult1.Single().BaseObject as Services.Server.Database }; + Assert.AreEqual(1, databases.Length, "Expecting no databases"); + Assert.IsNotNull(databases[0], "Expecting a Database object."); + DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "master", "System", 5, 5368709120L, "SQL_Latin1_General_CP1_CI_AS", "System2", true, DatabaseTestHelper.System2SloGuid); + + databases = new Services.Server.Database[] { removeDatabaseResult2.Single().BaseObject as Services.Server.Database }; Assert.AreEqual(1, databases.Length, "Expecting no databases"); Assert.IsNotNull(databases[0], "Expecting a Database object."); - DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "master", "System", 5, 5368709120L, "SQL_Latin1_General_CP1_CI_AS", "System", true, DatabaseTestHelper.SystemSloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "master", "System", 5, 5368709120L, "SQL_Latin1_General_CP1_CI_AS", "System2", true, DatabaseTestHelper.System2SloGuid); } } @@ -539,7 +554,7 @@ public void AzureSqlDatabaseEditionsTests() @" -ServerName $serverName" + @" -DatabaseName testdbeditions5" + @" -Edition Standard" + - @" -ServiceObjective $so[0]"); + @" -ServiceObjective ($so | where-object { $_.name -match ""S2"" })"); }); Collection getSingleDatabaseResult1 = MockServerHelper.ExecuteWithMock( @@ -566,7 +581,7 @@ public void AzureSqlDatabaseEditionsTests() () => { return powershell.InvokeBatchScript( - @"Set-AzureSqlDatabase -ServerName $serverName -DatabaseName testdbeditions2 -ServiceObjective $so[0] -Force"); + @"Set-AzureSqlDatabase -ServerName $serverName -DatabaseName testdbeditions2 -ServiceObjective ($so | where-object { $_.name -match ""S2"" }) -Force"); }); Collection setDatabaseObjective2 = MockServerHelper.ExecuteWithMock( @@ -575,7 +590,7 @@ public void AzureSqlDatabaseEditionsTests() () => { return powershell.InvokeBatchScript( - @"Set-AzureSqlDatabase -ServerName $serverName -DatabaseName $db3.Name -Edition Standard -MaxSizeGB 1 -ServiceObjective $so[4] -Force"); + @"Set-AzureSqlDatabase -ServerName $serverName -DatabaseName $db3.Name -Edition Standard -MaxSizeGB 1 -ServiceObjective ($so | where-object { $_.name -match ""S1"" }) -Force"); }); Collection getDatabaseResult = MockServerHelper.ExecuteWithMock( @@ -613,27 +628,27 @@ public void AzureSqlDatabaseEditionsTests() Services.Server.Database[] databases = new Services.Server.Database[] { newDatabaseResult1.Single().BaseObject as Services.Server.Database }; Assert.AreEqual(1, databases.Length, "Expecting one database"); Assert.IsNotNull(databases[0], "Expecting a Database object."); - DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbeditions1", "Web", 1, 1073741824L, "SQL_Latin1_General_CP1_CI_AS", "Shared", false, DatabaseTestHelper.SharedSloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbeditions1", "Standard", 250, 268435456000L, "SQL_Latin1_General_CP1_CI_AS", "S0", false, DatabaseTestHelper.StandardS0SloGuid); databases = new Services.Server.Database[] { newDatabaseResult2.Single().BaseObject as Services.Server.Database }; Assert.AreEqual(1, databases.Length, "Expecting one database"); Assert.IsNotNull(databases[0], "Expecting a Database object."); - DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbeditions2", "Standard", 0, 524288000, "SQL_Latin1_General_CP1_CI_AS", "S1", false, DatabaseTestHelper.StandardS1SloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbeditions2", "Standard", 250, 268435456000L, "SQL_Latin1_General_CP1_CI_AS", "S0", false, DatabaseTestHelper.StandardS0SloGuid); databases = new Services.Server.Database[] { newDatabaseResult3.Single().BaseObject as Services.Server.Database }; Assert.AreEqual(1, databases.Length, "Expecting one database"); Assert.IsNotNull(databases[0], "Expecting a Database object."); - DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbeditions3", "Basic", 0, 104857600L, "SQL_Latin1_General_CP1_CI_AS", "Basic", false, DatabaseTestHelper.BasicSloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbeditions3", "Basic", 2, 2147483648L, "SQL_Latin1_General_CP1_CI_AS", "Basic", false, DatabaseTestHelper.BasicSloGuid); databases = new Services.Server.Database[] { newDatabaseResult4.Single().BaseObject as Services.Server.Database }; Assert.AreEqual(1, databases.Length, "Expecting one database"); Assert.IsNotNull(databases[0], "Expecting a Database object."); - DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbeditions4", "Premium", 10, 10737418240L, "SQL_Latin1_General_CP1_CI_AS", "P1", false, DatabaseTestHelper.PremiumP1SloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbeditions4", "Premium", 500, 536870912000L, "SQL_Latin1_General_CP1_CI_AS", "P1", false, DatabaseTestHelper.PremiumP1SloGuid); databases = new Services.Server.Database[] { newDatabaseResult5.Single().BaseObject as Services.Server.Database }; Assert.AreEqual(1, databases.Length, "Expecting one database"); Assert.IsNotNull(databases[0], "Expecting a Database object."); - DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbeditions5", "Standard", 2, 2147483648L, "SQL_Latin1_General_CP1_CI_AS", "S2", false, DatabaseTestHelper.StandardS2SloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbeditions5", "Standard", 250, 268435456000L, "SQL_Latin1_General_CP1_CI_AS", "S2", false, DatabaseTestHelper.StandardS2SloGuid); // Validate Get-AzureSqlDatabase @@ -645,32 +660,32 @@ public void AzureSqlDatabaseEditionsTests() Assert.IsNotNull(databases[3], "Expecting a Database object."); Assert.IsNotNull(databases[4], "Expecting a Database object."); Assert.IsNotNull(databases[5], "Expecting a Database object."); - DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "master", "System", 5, 5368709120L, "SQL_Latin1_General_CP1_CI_AS", "System", true, DatabaseTestHelper.SystemSloGuid); - DatabaseTestHelper.ValidateDatabaseProperties(databases[1], "testdbeditions1", "Web", 1, 1073741824L, "SQL_Latin1_General_CP1_CI_AS", "Shared", false, DatabaseTestHelper.SharedSloGuid); - DatabaseTestHelper.ValidateDatabaseProperties(databases[2], "testdbeditions2", "Standard", 0, 524288000L, "SQL_Latin1_General_CP1_CI_AS", "S2", false, DatabaseTestHelper.StandardS2SloGuid); - DatabaseTestHelper.ValidateDatabaseProperties(databases[3], "testdbeditions3", "Basic", 0, 104857600L, "SQL_Latin1_General_CP1_CI_AS", "Basic", false, DatabaseTestHelper.StandardS1SloGuid); - DatabaseTestHelper.ValidateDatabaseProperties(databases[4], "testdbeditions4", "Premium", 10, 10737418240L, "SQL_Latin1_General_CP1_CI_AS", "P1", false, DatabaseTestHelper.PremiumP1SloGuid); - DatabaseTestHelper.ValidateDatabaseProperties(databases[5], "testdbeditions5", "Standard", 2, 2147483648L, "SQL_Latin1_General_CP1_CI_AS", "S2", false, DatabaseTestHelper.StandardS2SloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(databases[1], "master", "System", 5, 5368709120L, "SQL_Latin1_General_CP1_CI_AS", "System2", true, DatabaseTestHelper.System2SloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(databases[3], "testdbeditions1", "Standard", 250, 268435456000L, "SQL_Latin1_General_CP1_CI_AS", "S0", false, DatabaseTestHelper.StandardS0SloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(databases[4], "testdbeditions2", "Standard", 250, 268435456000L, "SQL_Latin1_General_CP1_CI_AS", "S0", false, DatabaseTestHelper.StandardS2SloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(databases[5], "testdbeditions3", "Basic", 2, 2147483648L, "SQL_Latin1_General_CP1_CI_AS", "Basic", false, DatabaseTestHelper.StandardS1SloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(databases[2], "testdbeditions4", "Premium", 500, 536870912000L, "SQL_Latin1_General_CP1_CI_AS", "P1", false, DatabaseTestHelper.PremiumP1SloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "testdbeditions5", "Standard", 250, 268435456000L, "SQL_Latin1_General_CP1_CI_AS", "S2", false, DatabaseTestHelper.StandardS2SloGuid); // Validate Get-AzureSqlDatabaseServiceObjective var sos = serviceObjectives.Select(x => x.BaseObject as ServiceObjective).ToArray(); Assert.AreEqual(10, sos.Count()); - ValidateServiceObjectiveProperties(sos[0], "S2", "Standard S2 resource allocation.", 1, "Standard S2 resource allocation."); - ValidateServiceObjectiveProperties(sos[1], "P1", "Premium P1 resource allocation.", 1, "Premium P1 resource allocation."); - ValidateServiceObjectiveProperties(sos[2], "P2", "Premium P2 resource allocation.", 1, "Premium P2 resource allocation."); - ValidateServiceObjectiveProperties(sos[3], "Basic", "Basic resource allocation.", 1, "Basic resource allocation."); - ValidateServiceObjectiveProperties(sos[4], "S1", "Standard S1 resource allocation.", 1, "Standard S1 resource allocation."); - ValidateServiceObjectiveProperties(sos[5], "P3 deprecated", "Premium P3 deprecated resource allocation.", 1, "Premium P3 deprecated resource allocation."); - ValidateServiceObjectiveProperties(sos[6], "P3", "Premium P3 resource allocation.", 1, "Premium P3 resource allocation."); - ValidateServiceObjectiveProperties(sos[7], "System", "Used for master database only.", 1, "Used for master database only."); - ValidateServiceObjectiveProperties(sos[8], "System Standard", "Used for master database only.", 1, "Shared resource allocation."); - ValidateServiceObjectiveProperties(sos[9], "Shared", "Shared resource allocation.", 1, "Shared resource allocation."); + ValidateServiceObjectiveProperties(sos[0], "System", "", 1, "Used for master database only."); + ValidateServiceObjectiveProperties(sos[1], "System2", "", 1, ""); + ValidateServiceObjectiveProperties(sos[2], "Basic", "", 1, "Basic resource allocation."); + ValidateServiceObjectiveProperties(sos[3], "S0", "", 1, "Standard S0 resource allocation."); + ValidateServiceObjectiveProperties(sos[4], "S1", "", 1, "Standard S1 resource allocation."); + ValidateServiceObjectiveProperties(sos[5], "S2", "", 1, "Standard S2 resource allocation."); + ValidateServiceObjectiveProperties(sos[6], "S3", "", 1, "Standard S3 resource allocation."); + ValidateServiceObjectiveProperties(sos[7], "P1", "", 1, "Premium P1 resource allocation."); + ValidateServiceObjectiveProperties(sos[8], "P2", "", 1, "Premium P2 resource allocation."); + ValidateServiceObjectiveProperties(sos[9], "P3", "", 1, "Premium P3 resource allocation."); // Validate Remove-AzureSqlDatabase databases = new Services.Server.Database[] { removeDatabaseResult.Single().BaseObject as Services.Server.Database }; Assert.AreEqual(1, databases.Length, "Expecting no databases"); Assert.IsNotNull(databases[0], "Expecting a Database object."); - DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "master", "System", 5, 5368709120L, "SQL_Latin1_General_CP1_CI_AS", "System", true, DatabaseTestHelper.SystemSloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(databases[0], "master", "System", 5, 5368709120L, "SQL_Latin1_General_CP1_CI_AS", "System2", true, DatabaseTestHelper.System2SloGuid); } } diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/AzureSqlDatabaseCopyCertAuthTests.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/AzureSqlDatabaseCopyCertAuthTests.cs index 7a08975a3d90..5932cc9c0070 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/AzureSqlDatabaseCopyCertAuthTests.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/AzureSqlDatabaseCopyCertAuthTests.cs @@ -18,7 +18,7 @@ using System.Management.Automation; using System.Threading; using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.SqlDatabase.Model; using Microsoft.WindowsAzure.Commands.SqlDatabase.Test.UnitTests.MockServer; using Microsoft.WindowsAzure.Commands.SqlDatabase.Test.UnitTests.Server.Cmdlet; @@ -92,7 +92,6 @@ public void InitializeTest() testSession); } - [TestCleanup] public void CleanupTest() { diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/DatabaseTestHelper.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/DatabaseTestHelper.cs index 0effb49ad348..d38e447bebf2 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/DatabaseTestHelper.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/DatabaseTestHelper.cs @@ -25,12 +25,22 @@ public static class DatabaseTestHelper /// The unique GUID for identifying the Shared SLO. ///
public static readonly Guid SharedSloGuid = new Guid("910b4fcb-8a29-4c3e-958f-f7ba794388b2"); - + /// /// The unique GUID for identifying the System SLO. /// public static readonly Guid SystemSloGuid = new Guid("26e021db-f1f9-4c98-84c6-92af8ef433d7"); + /// + /// The unique GUID for identifying the System2 SLO. + /// + public static readonly Guid System2SloGuid = new Guid("620323bf-2879-4807-b30d-c2e6d7b3b3aa"); + + /// + /// The unique GUID for identifying the Business SLO. + /// + public static readonly Guid BusinessSloGuid = new Guid("4518ce8e-6026-4113-b4fd-3b5d777c6881"); + /// /// The unique GUID for identifying the Basic SLO. /// diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/GetRestorableDroppedDatabaseCertAuthTests.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/GetRestorableDroppedDatabaseCertAuthTests.cs index ad8846138cd9..e44858c1c471 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/GetRestorableDroppedDatabaseCertAuthTests.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/GetRestorableDroppedDatabaseCertAuthTests.cs @@ -19,7 +19,7 @@ using System.Management.Automation; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Common; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server; diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/ImportExportCmdletTests.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/ImportExportCmdletTests.cs index bf559a0278bc..abb8884b0d7b 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/ImportExportCmdletTests.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/ImportExportCmdletTests.cs @@ -18,7 +18,7 @@ using System.Text.RegularExpressions; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.SqlDatabase.Test.UnitTests.MockServer; using Microsoft.WindowsAzure.Commands.SqlDatabase.Test.UnitTests.Server.Cmdlet; using Microsoft.WindowsAzure.Commands.SqlDatabase.Test.Utilities; diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/ImportExportv12Tests.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/ImportExportv12Tests.cs new file mode 100644 index 000000000000..9f53af708281 --- /dev/null +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/ImportExportv12Tests.cs @@ -0,0 +1,221 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Common.Authentication.Models; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.WindowsAzure.Commands.Common; +using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server; +using Microsoft.WindowsAzure.Commands.SqlDatabase.Test.UnitTests.MockServer; +using Microsoft.WindowsAzure.Commands.SqlDatabase.Test.UnitTests.Server.Cmdlet; +using Microsoft.WindowsAzure.Commands.SqlDatabase.Test.Utilities; +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.Management.Automation; +using System.Text; +using System.Text.RegularExpressions; +using System.Threading.Tasks; + +namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Test.UnitTests.Database.Cmdlet +{ + [TestClass] + public class ImportExportv12Tests + { + [TestInitialize] + public void Setup() + { + } + + [TestCleanup] + public void Cleanup() + { + // Save the mock session results + MockServerHelper.SaveDefaultSessionCollection(); + } + + [TestMethod] + public void ImportExportAzureSqlDatabaseTestv12() + { + using (System.Management.Automation.PowerShell powershell = + System.Management.Automation.PowerShell.Create()) + { + // Setup the subscription used for the test + AzureSubscription subscription = + UnitTestHelper.SetupUnitTestSubscription(powershell); + + // Set the necessary session variables + powershell.Runspace.SessionStateProxy.SetVariable( + "serverName", + SqlDatabaseTestSettings.Instance.ServerName); + powershell.Runspace.SessionStateProxy.SetVariable( + "sourceDB", + SqlDatabaseTestSettings.Instance.SourceDatabaseName); + powershell.Runspace.SessionStateProxy.SetVariable( + "targetDB", + SqlDatabaseTestSettings.Instance.TargetDatabaseName); + powershell.Runspace.SessionStateProxy.SetVariable( + "credential", + new PSCredential( + SqlDatabaseTestSettings.Instance.UserName, + SqlDatabaseTestSettings.Instance.SecurePassword)); + powershell.Runspace.SessionStateProxy.SetVariable( + "storageAccountName", + SqlDatabaseTestSettings.Instance.StorageName); + powershell.Runspace.SessionStateProxy.SetVariable( + "storageAccountKey", + SqlDatabaseTestSettings.Instance.AccessKey); + powershell.Runspace.SessionStateProxy.SetVariable( + "storageContainerName", + SqlDatabaseTestSettings.Instance.ContainerName); + + // Create a new server + HttpSession testSession = MockServerHelper.DefaultSessionCollection.GetSession( + "UnitTest.ImportExportAzureSqlDatabaseTestsv12"); + ServerTestHelper.SetDefaultTestSessionSettings(testSession); + + testSession.RequestValidator = + new Action( + (expected, actual) => + { + Assert.AreEqual(expected.RequestInfo.Method, actual.Method); + string expectedRequestText = RequestTextToString(expected.RequestInfo); + string actualRequestText = RequestTextToString(actual); + + // When checking out from GitHub, different new line setting may lead to different char \r\n or \n + // Replace them with String.Empty before comparison + Assert.AreEqual( + Regex.Replace(expectedRequestText, @"\s+", String.Empty), + Regex.Replace(actualRequestText, @"\s+", String.Empty)); + Assert.IsTrue( + actual.UserAgent.Contains(ApiConstants.UserAgentHeaderValue), + "Missing proper UserAgent string."); + }); + + PSObject storageContext = MockServerHelper.ExecuteWithMock( + testSession, + MockHttpServer.DefaultHttpsServerPrefixUri, + () => + { + return powershell.InvokeBatchScript( + @"New-AzureStorageContext" + + @" -StorageAccountName $storageAccountName" + + @" -StorageAccountKey $storageAccountKey"); + }).FirstOrDefault(); + + // Tell the sql auth factory to create a v12 context (skip checking sql version using select query). + // + SqlAuthContextFactory.sqlVersion = SqlAuthContextFactory.SqlVersion.v12; + + Collection databaseContext = MockServerHelper.ExecuteWithMock( + testSession, + MockHttpServer.DefaultServerPrefixUri, + () => + { + powershell.Runspace.SessionStateProxy.SetVariable( + "manageUrl", + MockHttpServer.DefaultServerPrefixUri.AbsoluteUri); + return powershell.InvokeBatchScript( + @"New-AzureSqlDatabaseServerContext" + + @" -ServerName $serverName" + + @" -ManageUrl $manageUrl" + + @" -Credential $credential"); + }); + + Collection startExportResult = MockServerHelper.ExecuteWithMock( + testSession, + MockHttpServer.DefaultHttpsServerPrefixUri, + () => + { + powershell.Runspace.SessionStateProxy.SetVariable("storageContext", storageContext); + powershell.Runspace.SessionStateProxy.SetVariable( + "databaseContext", + databaseContext.FirstOrDefault()); + return powershell.InvokeBatchScript( + @"Start-AzureSqlDatabaseExport" + + @" -SqlConnectionContext $databaseContext" + + @" -DatabaseName $sourceDB" + + @" -StorageContext $storageContext" + + @" -StorageContainerName $storageContainerName" + + @" -BlobName backup1"); + }); + + // Wait here for operation to finish + + Collection getExportStatusResult = MockServerHelper.ExecuteWithMock( + testSession, + MockHttpServer.DefaultHttpsServerPrefixUri, + () => + { + powershell.Runspace.SessionStateProxy.SetVariable( + "exportResult", + startExportResult.FirstOrDefault()); + return powershell.InvokeBatchScript( + @"Get-AzureSqlDatabaseImportExportStatus" + + @" -ServerName $serverName" + + @" -RequestId $exportResult.RequestGuid" + + @" -Username $exportResult.SqlCredentials.UserName" + + @" -Password $exportResult.SqlCredentials.Password"); + }); + + Collection startImportResult = MockServerHelper.ExecuteWithMock( + testSession, + MockHttpServer.DefaultHttpsServerPrefixUri, + () => + { + return powershell.InvokeBatchScript( + @"Start-AzureSqlDatabaseImport" + + @" -SqlConnectionContext $databaseContext" + + @" -DatabaseName $targetDB" + + @" -Edition Business" + + @" -DatabaseMaxSize 10" + + @" -StorageContext $storageContext" + + @" -StorageContainerName $storageContainerName" + + @" -BlobName backup1"); + }); + + // Wait here for import to finish + + Collection getImportStatusResult = MockServerHelper.ExecuteWithMock( + testSession, + MockHttpServer.DefaultHttpsServerPrefixUri, + () => + { + powershell.Runspace.SessionStateProxy.SetVariable( + "importResult", + startImportResult.FirstOrDefault()); + return powershell.InvokeBatchScript( + @"Get-AzureSqlDatabaseImportExportStatus" + + @" -ServerName $serverName" + + @" -RequestId $importResult.RequestGuid" + + @" -Username $importResult.SqlCredentials.UserName" + + @" -Password $importResult.SqlCredentials.Password"); + }); + + Assert.AreEqual(0, powershell.Streams.Error.Count, "Unexpected Errors during run!"); + Assert.AreEqual(0, powershell.Streams.Warning.Count, "Unexpected Warnings during run!"); + } + } + + /// + /// Converts http request message to string, replacing NULL with string.Empty + /// + /// The request to get the message from + /// The request message as a non-null string + private static string RequestTextToString(HttpMessage.Request request) + { + return request.RequestText == null ? String.Empty : request.RequestText; + } + } +} diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/NewAzureSqlDatabaseServerContextTests.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/NewAzureSqlDatabaseServerContextTests.cs index 0d7a63866b9f..62632827ee2e 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/NewAzureSqlDatabaseServerContextTests.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/NewAzureSqlDatabaseServerContextTests.cs @@ -18,7 +18,8 @@ using System.Linq; using System.Management.Automation; using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; +using Microsoft.Azure.Common.Authentication; using Microsoft.WindowsAzure.Commands.SqlDatabase.Database.Cmdlet; using Microsoft.WindowsAzure.Commands.SqlDatabase.Properties; using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Common; @@ -42,6 +43,19 @@ public void CleanupTest() public void TestGetManageUrl() { NewAzureSqlDatabaseServerContext contextCmdlet = new NewAzureSqlDatabaseServerContext(); + var profile = new AzureProfile(); + var account = new AzureAccount {Id = "mockAccount", Type = AzureAccount.AccountType.User}; + var subscription = new AzureSubscription + { + Account = "mockAccount", + Environment = EnvironmentName.AzureCloud, + Id = Guid.NewGuid(), + Name = "mockSubscription" + }; + profile.Accounts.Add(account.Id, account); + profile.Subscriptions.Add(subscription.Id, subscription); + profile.DefaultSubscription = subscription; + contextCmdlet.Profile = profile; // Make sure that server name to Manage Url conversion is working contextCmdlet.ServerName = "server0001"; diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/NewAzureSqlDatabaseTests.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/NewAzureSqlDatabaseTests.cs index 6062fec13dc8..c6df221e708d 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/NewAzureSqlDatabaseTests.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/NewAzureSqlDatabaseTests.cs @@ -346,7 +346,7 @@ public static void CreateTestDatabasesWithCertAuth(System.Management.Automation. @"-ServerName $serverName " + @"-DatabaseName testdb2 " + @"-Collation Japanese_CI_AS " + - @"-Edition Web " + + @"-Edition Standard " + @"-MaxSizeGB 5 " + @"-Force", @"$testdb2"); @@ -365,15 +365,15 @@ public static void CreateTestDatabasesWithCertAuth(System.Management.Automation. Services.Server.Database database = database1.Single().BaseObject as Services.Server.Database; Assert.IsTrue(database != null, "Expecting a Database object"); - DatabaseTestHelper.ValidateDatabaseProperties(database, "testdb1", "Web", 1, 1073741824L, "SQL_Latin1_General_CP1_CI_AS", "Shared", false, DatabaseTestHelper.SharedSloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(database, "testdb1", "Standard", 250, 268435456000L, "SQL_Latin1_General_CP1_CI_AS", "S0", false, DatabaseTestHelper.StandardS0SloGuid); database = database2.Single().BaseObject as Services.Server.Database; Assert.IsTrue(database != null, "Expecting a Database object"); - DatabaseTestHelper.ValidateDatabaseProperties(database, "testdb2", "Web", 5, 5368709120L, "Japanese_CI_AS", "Shared", false, DatabaseTestHelper.SharedSloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(database, "testdb2", "Standard", 250, 268435456000L, "Japanese_CI_AS", "S0", false, DatabaseTestHelper.StandardS0SloGuid); database = database3.Single().BaseObject as Services.Server.Database; Assert.IsTrue(database != null, "Expecting a Database object"); - DatabaseTestHelper.ValidateDatabaseProperties(database, "testdb3", "Web", 0, 104857600L, "SQL_Latin1_General_CP1_CI_AS", "Shared", false, DatabaseTestHelper.SharedSloGuid); + DatabaseTestHelper.ValidateDatabaseProperties(database, "testdb3", "Standard", 0, 104857600L, "SQL_Latin1_General_CP1_CI_AS", "S0", false, DatabaseTestHelper.StandardS0SloGuid); } } diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Firewall/Cmdlet/FirewallCmdletTests.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Firewall/Cmdlet/FirewallCmdletTests.cs index 3e4ceeac3e8d..7cba63f01036 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Firewall/Cmdlet/FirewallCmdletTests.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Firewall/Cmdlet/FirewallCmdletTests.cs @@ -17,7 +17,7 @@ using System.Linq; using System.Management.Automation; using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.SqlDatabase.Model; using Microsoft.WindowsAzure.Commands.SqlDatabase.Test.UnitTests.MockServer; using Microsoft.WindowsAzure.Commands.SqlDatabase.Test.UnitTests.Server.Cmdlet; diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/MockServer/MockHttpServer.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/MockServer/MockHttpServer.cs index a03bd2d3594f..d1c07453d036 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/MockServer/MockHttpServer.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/MockServer/MockHttpServer.cs @@ -22,11 +22,11 @@ using System.Security.Cryptography.X509Certificates; using System.Text; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Test.Common; using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Test.UnitTests.MockServer { @@ -171,10 +171,12 @@ public static WebException CreateWebException( public static void SetupCertificates() { TestingTracingInterceptor.AddToContext(); - ProfileClient.DataStore = new MockDataStore(); - AzureSession.AuthenticationFactory = new MockTokenAuthenticationFactory(); var newGuid = Guid.NewGuid(); - ProfileClient client = new ProfileClient(); + var profile = new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile)); + AzurePSCmdlet.CurrentProfile = profile; + AzureSession.DataStore = new MockDataStore(); + AzureSession.AuthenticationFactory = new MockTokenAuthenticationFactory(); + ProfileClient client = new ProfileClient(profile); client.Profile.Subscriptions[newGuid] = new AzureSubscription { Id = newGuid, @@ -209,9 +211,7 @@ public static void SetupCertificates() {AzureAccount.Property.Subscriptions, newGuid.ToString()} } }; - AzureSession.SetCurrentContext(client.Profile.Subscriptions[newGuid], - null, client.Profile.Accounts["test"]); - + client.SetSubscriptionAsDefault(newGuid, "test"); client.Profile.Save(); diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Server/Cmdlet/ServerCmdletTests.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Server/Cmdlet/ServerCmdletTests.cs index b2ae923598ba..3f92417cbb9e 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Server/Cmdlet/ServerCmdletTests.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Server/Cmdlet/ServerCmdletTests.cs @@ -17,7 +17,7 @@ using System.Linq; using System.Management.Automation; using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.SqlDatabase.Model; using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server; using Microsoft.WindowsAzure.Commands.SqlDatabase.Test.UnitTests.Database.Cmdlet; @@ -33,6 +33,15 @@ namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Test.UnitTests.Server.Cmdl [TestClass] public class ServerCmdletTests : TestBase { + // String ID for server version 2. + public const string ServerVersion2 = "2.0"; + + // String ID for server version 12. + public const string ServerVersion12 = "12.0"; + + // The default server version + public const string DefaultServerVersion = ServerVersion12; + [TestCleanup] public void CleanupTest() { @@ -40,16 +49,19 @@ public void CleanupTest() MockServerHelper.SaveDefaultSessionCollection(); } - private static void VerifyServer(SqlDatabaseServerContext server, string adminLogin, string location) + /// + /// Verifys the server object to make sure the fields match what is provided + /// + /// The server object to validate + /// The expected administration login + /// The expected server location + /// The expected server verions + /// The expected state of the server + private static void VerifyServer(SqlDatabaseServerContext server, string adminLogin, string location, string version, string state) { Assert.AreEqual(adminLogin, server.AdministratorLogin, "Expecting server login to match."); Assert.AreEqual(location, server.Location, "Expecting matching location."); Assert.AreEqual(10, server.ServerName.Length, "Expecting a valid server name."); - } - - private static void VerifyServer(SqlDatabaseServerContext server, string adminLogin, string location, string version, string state) - { - VerifyServer(server, adminLogin, location); Assert.AreEqual(version, server.Version, "Server version doesn't match"); Assert.AreEqual(state, server.State, "Server state does not match"); } @@ -190,14 +202,18 @@ public void AzureSqlDatabaseServerTests() VerifyServer( server, (string)powershell.Runspace.SessionStateProxy.GetVariable("login"), - (string)powershell.Runspace.SessionStateProxy.GetVariable("location")); + (string)powershell.Runspace.SessionStateProxy.GetVariable("location"), + ServerVersion12, + "Ready"); SqlDatabaseServerContext server2 = newServerResult2.Single().BaseObject as SqlDatabaseServerContext; Assert.IsNotNull(server2, "Expecting a SqlDatabaseServerContext object"); VerifyServer( server, (string)powershell.Runspace.SessionStateProxy.GetVariable("login"), - (string)powershell.Runspace.SessionStateProxy.GetVariable("location")); + (string)powershell.Runspace.SessionStateProxy.GetVariable("location"), + ServerVersion12, + "Ready"); // Validate Get-AzureSqlDatabaseServer results server = getServerResult.Single().BaseObject as SqlDatabaseServerContext; @@ -206,7 +222,7 @@ public void AzureSqlDatabaseServerTests() server, (string)powershell.Runspace.SessionStateProxy.GetVariable("login"), (string)powershell.Runspace.SessionStateProxy.GetVariable("location"), - "2.0", + ServerVersion12, "Ready"); server = setServerResult.Single().BaseObject as SqlDatabaseServerContext; @@ -215,7 +231,7 @@ public void AzureSqlDatabaseServerTests() server, (string)powershell.Runspace.SessionStateProxy.GetVariable("login"), (string)powershell.Runspace.SessionStateProxy.GetVariable("location"), - "2.0", + ServerVersion12, "Ready"); server2 = setServerResult2.Single().BaseObject as SqlDatabaseServerContext; @@ -224,7 +240,7 @@ public void AzureSqlDatabaseServerTests() server2, (string)powershell.Runspace.SessionStateProxy.GetVariable("login"), (string)powershell.Runspace.SessionStateProxy.GetVariable("location"), - "2.0", + ServerVersion12, "Ready"); // Validate Remove-AzureSqlDatabaseServer results @@ -319,7 +335,9 @@ public void AzureSqlDatabaseServerV2Tests() VerifyServer( server, (string)powershell.Runspace.SessionStateProxy.GetVariable("login"), - (string)powershell.Runspace.SessionStateProxy.GetVariable("location")); + (string)powershell.Runspace.SessionStateProxy.GetVariable("location"), + ServerVersion2, + "Ready"); // Validate Get-AzureSqlDatabaseServer results @@ -329,8 +347,8 @@ public void AzureSqlDatabaseServerV2Tests() server, (string)powershell.Runspace.SessionStateProxy.GetVariable("login"), (string)powershell.Runspace.SessionStateProxy.GetVariable("location"), - "2.0", - null); + ServerVersion2, + "Ready"); powershell.Streams.ClearStreams(); } diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/UnitTestHelper.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/UnitTestHelper.cs index e41c6ebb79cf..dc492fb31932 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/UnitTestHelper.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/UnitTestHelper.cs @@ -23,9 +23,10 @@ using System.Security.Cryptography.X509Certificates; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.SqlDatabase.Test.UnitTests.MockServer; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; +using Microsoft.WindowsAzure.Commands.Utilities.Common; namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Test.UnitTests { @@ -290,12 +291,17 @@ public static AzureSubscription SetupUnitTestSubscription(System.Management.Auto { UnitTestHelper.ImportAzureModule(powershell); + X509Certificate2 certificate = UnitTestHelper.GetUnitTestClientCertificate(); + Guid subscriptionId = new Guid(UnitTestSubscriptionId); + // Set the client certificate used in the subscription powershell.Runspace.SessionStateProxy.SetVariable( "clientCertificate", - UnitTestHelper.GetUnitTestClientCertificate()); + certificate); - ProfileClient client = new ProfileClient(); + var profile = new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile)); + AzurePSCmdlet.CurrentProfile = profile; + ProfileClient client = new ProfileClient(profile); client.Profile.Environments[UnitTestEnvironmentName] = new AzureEnvironment { Name = UnitTestEnvironmentName, @@ -308,13 +314,13 @@ public static AzureSubscription SetupUnitTestSubscription(System.Management.Auto var account = new AzureAccount { - Id = UnitTestHelper.GetUnitTestClientCertificate().Thumbprint, + Id = certificate.Thumbprint, Type = AzureAccount.AccountType.Certificate }; var subscription = new AzureSubscription { - Id = new Guid(UnitTestSubscriptionId), + Id = subscriptionId, Name = UnitTestSubscriptionName, Environment = UnitTestEnvironmentName, Account = account.Id @@ -322,9 +328,9 @@ public static AzureSubscription SetupUnitTestSubscription(System.Management.Auto client.AddOrSetAccount(account); client.AddOrSetSubscription(subscription); - client.SetSubscriptionAsCurrent(UnitTestSubscriptionName, account.Id); + client.SetSubscriptionAsDefault(UnitTestSubscriptionName, account.Id); client.Profile.Save(); - + return subscription; } diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/packages.config b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/packages.config index 6bead9261a3b..3eab88f80512 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/packages.config +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/packages.config @@ -1,9 +1,9 @@  - - + + + - @@ -11,9 +11,9 @@ - + - + diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Commands.SqlDatabase.csproj b/src/ServiceManagement/Sql/Commands.SqlDatabase/Commands.SqlDatabase.csproj index 710c6a6502fb..f37ccf41932a 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Commands.SqlDatabase.csproj +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Commands.SqlDatabase.csproj @@ -52,17 +52,17 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll False @@ -77,12 +77,12 @@ ..\..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -99,9 +99,9 @@ ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll False @@ -196,6 +196,7 @@ + diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/GetAzureSqlDatabase.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/GetAzureSqlDatabase.cs index 9c6deb7746cb..6c24bc034192 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/GetAzureSqlDatabase.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/GetAzureSqlDatabase.cs @@ -18,7 +18,7 @@ using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Common; using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Database.Cmdlet { @@ -136,7 +136,7 @@ public override void ExecuteCmdlet() break; case ByServerName: - context = ServerDataServiceCertAuth.Create(this.ServerName, AzureSession.CurrentContext.Subscription); + context = ServerDataServiceCertAuth.Create(this.ServerName, Profile, Profile.Context.Subscription); break; default: diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/GetAzureSqlDatabaseCopy.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/GetAzureSqlDatabaseCopy.cs index aaefb6e0c3b6..f3b907f4264f 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/GetAzureSqlDatabaseCopy.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/GetAzureSqlDatabaseCopy.cs @@ -22,7 +22,7 @@ namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Database.Cmdlet { using DatabaseCopyModel = Model.DatabaseCopy; - using Microsoft.Azure.Common.Extensions; + using Microsoft.Azure.Common.Authentication; /// /// Retrieves a list of all ongoing Microsoft Azure SQL Database copy operations in the given @@ -118,7 +118,8 @@ public override void ExecuteCmdlet() // Use the provided ServerDataServiceContext or create one from the // provided ServerName and the active subscription. IServerDataServiceContext context = ServerDataServiceCertAuth.Create(this.ServerName, - AzureSession.CurrentContext.Subscription); + Profile, + Profile.Context.Subscription); try { diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/GetAzureSqlDatabaseImportExportStatus.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/GetAzureSqlDatabaseImportExportStatus.cs index 34067c97e70b..e5b126b3a8bf 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/GetAzureSqlDatabaseImportExportStatus.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/GetAzureSqlDatabaseImportExportStatus.cs @@ -19,8 +19,8 @@ using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.ImportExport; using Microsoft.WindowsAzure.Management.Sql; using Microsoft.WindowsAzure.Management.Sql.Models; -using Microsoft.Azure.Common.Extensions; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Database.Cmdlet { @@ -174,7 +174,7 @@ public override void ExecuteCmdlet() var status = this.GetAzureSqlDatabaseImportExportStatusProcess( serverName, - serverName + AzureSession.CurrentContext.Environment.GetEndpoint(AzureEnvironment.Endpoint.SqlDatabaseDnsSuffix), + serverName + Profile.Context.Environment.GetEndpoint(AzureEnvironment.Endpoint.SqlDatabaseDnsSuffix), userName, password, requestId); diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/GetAzureSqlDatabaseOperation.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/GetAzureSqlDatabaseOperation.cs index 2eb455284457..6d18c10a69b0 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/GetAzureSqlDatabaseOperation.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/GetAzureSqlDatabaseOperation.cs @@ -18,7 +18,7 @@ using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Common; using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Database.Cmdlet { @@ -111,7 +111,7 @@ public override void ExecuteCmdlet() break; case ByServerName: - context = ServerDataServiceCertAuth.Create(this.ServerName, AzureSession.CurrentContext.Subscription); + context = ServerDataServiceCertAuth.Create(this.ServerName, Profile, Profile.Context.Subscription); break; } ProcessWithContext(context); diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/GetAzureSqlDatabaseServiceObjective.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/GetAzureSqlDatabaseServiceObjective.cs index 1c644705ad7e..3a68f50dff60 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/GetAzureSqlDatabaseServiceObjective.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/GetAzureSqlDatabaseServiceObjective.cs @@ -18,7 +18,7 @@ using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Common; using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Database.Cmdlet { @@ -98,7 +98,7 @@ public override void ExecuteCmdlet() break; case ByServerName: - context = ServerDataServiceCertAuth.Create(this.ServerName, AzureSession.CurrentContext.Subscription); + context = ServerDataServiceCertAuth.Create(this.ServerName, Profile, Profile.Context.Subscription); break; default: diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/NewAzureSqlDatabase.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/NewAzureSqlDatabase.cs index cf085ab42159..c6612d0cbac5 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/NewAzureSqlDatabase.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/NewAzureSqlDatabase.cs @@ -15,12 +15,12 @@ using System; using System.Management.Automation; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.SqlDatabase.Properties; using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Common; using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Database.Cmdlet { @@ -171,11 +171,11 @@ private void ProcessWithServerName(int? maxSizeGb, long? maxSizeBytes) try { // Get the current subscription data. - AzureSubscription subscription = AzureSession.CurrentContext.Subscription; + AzureSubscription subscription = Profile.Context.Subscription; // Create a temporary context ServerDataServiceCertAuth context = - ServerDataServiceCertAuth.Create(this.ServerName, subscription); + ServerDataServiceCertAuth.Create(this.ServerName, Profile, subscription); GetClientRequestId = () => context.ClientRequestId; diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/NewAzureSqlDatabaseServerContext.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/NewAzureSqlDatabaseServerContext.cs index 2a1e399592c5..ac9d0bab1de3 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/NewAzureSqlDatabaseServerContext.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/NewAzureSqlDatabaseServerContext.cs @@ -18,12 +18,13 @@ using System.Management.Automation; using System.Xml.Linq; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.SqlDatabase.Properties; using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Common; using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; +using System.IO; namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Database.Cmdlet { @@ -151,10 +152,10 @@ private AzureSubscription CurrentSubscription { if (string.IsNullOrEmpty(SubscriptionName)) { - return AzureSession.CurrentContext.Subscription; + return Profile.Context.Subscription; } - ProfileClient client = new ProfileClient(); + ProfileClient client = new ProfileClient(new AzureProfile(Path.Combine(AzureSession.ProfileDirectory, AzureSession.ProfileFile))); return client.Profile.Subscriptions.Values.First( s => SubscriptionName == s.Name); @@ -216,7 +217,7 @@ internal ServerDataServiceCertAuth GetServerDataServiceByCertAuth( try { - context = ServerDataServiceCertAuth.Create(serverName, subscription); + context = ServerDataServiceCertAuth.Create(serverName, Profile, subscription); } catch (ArgumentException e) { @@ -311,7 +312,7 @@ private Uri GetManageUrl(string parameterSetName) // and append the azure database DNS suffix. return new Uri( Uri.UriSchemeHttps + Uri.SchemeDelimiter + - this.ServerName + AzureSession.CurrentContext.Environment.GetEndpoint(AzureEnvironment.Endpoint.SqlDatabaseDnsSuffix)); + this.ServerName + Profile.Context.Environment.GetEndpoint(AzureEnvironment.Endpoint.SqlDatabaseDnsSuffix)); case FullyQualifiedServerNameWithSqlAuthParamSet: case FullyQualifiedServerNameWithCertAuthParamSet: // The fully qualified server name was specified, diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/RemoveAzureSqlDatabase.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/RemoveAzureSqlDatabase.cs index 68bb1ccdc563..a75af47d6d32 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/RemoveAzureSqlDatabase.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/RemoveAzureSqlDatabase.cs @@ -16,12 +16,12 @@ using System.Globalization; using System.Management.Automation; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.SqlDatabase.Properties; using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Common; using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Database.Cmdlet { @@ -201,11 +201,11 @@ private void ProcessWithServerName(string databaseName) try { // Get the current subscription data. - AzureSubscription subscription = AzureSession.CurrentContext.Subscription; + AzureSubscription subscription = Profile.Context.Subscription; // Create a temporary context ServerDataServiceCertAuth context = - ServerDataServiceCertAuth.Create(this.ServerName, subscription); + ServerDataServiceCertAuth.Create(this.ServerName, Profile, subscription); GetClientRequestId = () => context.ClientRequestId; diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/SetAzureSqlDatabase.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/SetAzureSqlDatabase.cs index 7292204dabe6..4a95756f2ecd 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/SetAzureSqlDatabase.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/SetAzureSqlDatabase.cs @@ -16,12 +16,12 @@ using System.Globalization; using System.Management.Automation; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.SqlDatabase.Properties; using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Common; using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Database.Cmdlet { @@ -280,11 +280,11 @@ private void ProcessWithServerName(string databaseName, int? maxSizeGb, long? ma try { // Get the current subscription data. - AzureSubscription subscription = AzureSession.CurrentContext.Subscription; + AzureSubscription subscription = Profile.Context.Subscription; // Create a temporary context ServerDataServiceCertAuth context = - ServerDataServiceCertAuth.Create(this.ServerName, subscription); + ServerDataServiceCertAuth.Create(this.ServerName, Profile, subscription); GetClientRequestId = () => context.ClientRequestId; diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/StartAzureSqlDatabaseCopy.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/StartAzureSqlDatabaseCopy.cs index 5fa5166b8d68..ea6e1448bc06 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/StartAzureSqlDatabaseCopy.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/StartAzureSqlDatabaseCopy.cs @@ -24,7 +24,7 @@ namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Database.Cmdlet { using DatabaseCopyModel = Model.DatabaseCopy; - using Microsoft.Azure.Common.Extensions; + using Microsoft.Azure.Common.Authentication; /// /// Start a copy operation for a Microsoft Azure SQL Database in the given server context. @@ -188,7 +188,8 @@ public override void ExecuteCmdlet() // Use the provided ServerDataServiceContext or create one from the // provided ServerName and the active subscription. IServerDataServiceContext context = ServerDataServiceCertAuth.Create(this.ServerName, - AzureSession.CurrentContext.Subscription); + Profile, + Profile.Context.Subscription); try { diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/StartAzureSqlDatabaseExport.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/StartAzureSqlDatabaseExport.cs index f9fec0f80808..bae48d9dd668 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/StartAzureSqlDatabaseExport.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/StartAzureSqlDatabaseExport.cs @@ -14,7 +14,7 @@ using System; using System.Management.Automation; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Storage; using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Common; using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.ImportExport; @@ -22,7 +22,7 @@ using Microsoft.WindowsAzure.Commands.Storage.Model.ResourceModel; using Microsoft.WindowsAzure.Management.Sql; using Microsoft.WindowsAzure.Management.Sql.Models; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Database.Cmdlet { @@ -51,12 +51,13 @@ public class StartAzureSqlDatabaseExport : SqlDatabaseCmdletBase #region Parameters /// - /// Gets or sets the context for connecting to the server + /// Gets or sets the connection information for connecting to the server /// [Parameter(Mandatory = true, Position = 0, - HelpMessage = "The context for connecting to the server")] + HelpMessage = "The connection information for connecting to a server. " + + "This can be an Azure SQL Server connection context that uses username with password.")] [ValidateNotNullOrEmpty] - public ServerDataServiceSqlAuth SqlConnectionContext { get; set; } + public ISqlServerConnectionInformation SqlConnectionContext { get; set; } /// /// Gets or sets the destination storage container for the blob @@ -210,7 +211,7 @@ public override void ExecuteCmdlet() // Retrieve the fully qualified server name string fullyQualifiedServerName = - this.SqlConnectionContext.ServerName + AzureSession.CurrentContext.Environment.GetEndpoint(AzureEnvironment.Endpoint.SqlDatabaseDnsSuffix); + this.SqlConnectionContext.ServerName + Profile.Context.Environment.GetEndpoint(AzureEnvironment.Endpoint.SqlDatabaseDnsSuffix); // Issue the request ImportExportRequest context = this.ExportSqlAzureDatabaseProcess( diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/StartAzureSqlDatabaseImport.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/StartAzureSqlDatabaseImport.cs index b0736940ef05..207bd7187d6f 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/StartAzureSqlDatabaseImport.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/StartAzureSqlDatabaseImport.cs @@ -14,7 +14,7 @@ using System; using System.Management.Automation; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Storage; using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Common; using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.ImportExport; @@ -22,7 +22,7 @@ using Microsoft.WindowsAzure.Commands.Storage.Model.ResourceModel; using Microsoft.WindowsAzure.Management.Sql; using Microsoft.WindowsAzure.Management.Sql.Models; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Database.Cmdlet { @@ -51,12 +51,13 @@ public class StartAzureSqlDatabaseImport : SqlDatabaseCmdletBase #region Parameters /// - /// Gets or sets the context for connecting to the server + /// Gets or sets the connection information for connecting to the server /// [Parameter(Mandatory = true, Position = 0, - HelpMessage = "The context for connecting to the server")] + HelpMessage = "The connection information for connecting to a server. " + + "This can be an Azure SQL Server connection context that uses username with password.")] [ValidateNotNullOrEmpty] - public ServerDataServiceSqlAuth SqlConnectionContext { get; set; } + public ISqlServerConnectionInformation SqlConnectionContext { get; set; } /// /// Gets or sets the storage container object containing the blob @@ -233,7 +234,7 @@ public override void ExecuteCmdlet() // Retrieve the fully qualified server name string fullyQualifiedServerName = - this.SqlConnectionContext.ServerName + AzureSession.CurrentContext.Environment.GetEndpoint(AzureEnvironment.Endpoint.SqlDatabaseDnsSuffix); + this.SqlConnectionContext.ServerName + Profile.Context.Environment.GetEndpoint(AzureEnvironment.Endpoint.SqlDatabaseDnsSuffix); // Issue the request ImportExportRequest context = this.ImportSqlAzureDatabaseProcess( diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/StartAzureSqlDatabaseRestore.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/StartAzureSqlDatabaseRestore.cs index ceea8020e6ab..19b6149b0f8a 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/StartAzureSqlDatabaseRestore.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/StartAzureSqlDatabaseRestore.cs @@ -18,7 +18,7 @@ using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Common; using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Database.Cmdlet { @@ -199,7 +199,7 @@ public override void ExecuteCmdlet() { string serverName = this.SourceServerName ?? connectionContext.ServerName; - connectionContext = ServerDataServiceCertAuth.Create(serverName, AzureSession.CurrentContext.Subscription); + connectionContext = ServerDataServiceCertAuth.Create(serverName, Profile, Profile.Context.Subscription); } string clientRequestId = connectionContext.ClientRequestId; diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/StopAzureSqlDatabaseCopy.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/StopAzureSqlDatabaseCopy.cs index f838ec05af79..d7ab94491a6c 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/StopAzureSqlDatabaseCopy.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Database/Cmdlet/StopAzureSqlDatabaseCopy.cs @@ -25,7 +25,7 @@ namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Database.Cmdlet { using DatabaseCopyModel = Model.DatabaseCopy; - using Microsoft.Azure.Common.Extensions; + using Microsoft.Azure.Common.Authentication; /// /// Stop an ongoing copy operation for a Microsoft Azure SQL Database in the given server context. @@ -132,7 +132,8 @@ public override void ExecuteCmdlet() // Use the provided ServerDataServiceContext or create one from the // provided ServerName and the active subscription. IServerDataServiceContext context = ServerDataServiceCertAuth.Create(this.ServerName, - AzureSession.CurrentContext.Subscription); + Profile, + Profile.Context.Subscription); DatabaseCopyModel databaseCopy; if (this.MyInvocation.BoundParameters.ContainsKey("DatabaseCopy")) diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Microsoft.WindowsAzure.Commands.SqlDatabase.dll-Help.xml b/src/ServiceManagement/Sql/Commands.SqlDatabase/Microsoft.WindowsAzure.Commands.SqlDatabase.dll-Help.xml index daf52ffe65e3..43a703127e9a 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Microsoft.WindowsAzure.Commands.SqlDatabase.dll-Help.xml +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Microsoft.WindowsAzure.Commands.SqlDatabase.dll-Help.xml @@ -2192,7 +2192,7 @@ Business Edition values: 10, 20, 30, 40, 50, 100, or 150 Version - Specifies the type of SQL Database Server to create. Accepts values 1.0 or 2.0. + Specifies the type of SQL Database Server to create. Accepts values 2.0 or 12.0. Single @@ -2259,7 +2259,7 @@ Business Edition values: 10, 20, 30, 40, 50, 100, or 150 Version - Specifies the type of SQL Database Server to create. Accepts values 1.0 or 2.0. + Specifies the type of SQL Database Server to create. Accepts values 2.0 or 12.0. Single diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Properties/Resources.Designer.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase/Properties/Resources.Designer.cs index d328e4bf9918..6028ebab92be 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Properties/Resources.Designer.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Properties/Resources.Designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.34014 +// Runtime Version:4.0.30319.34011 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -69,6 +69,15 @@ internal static string BothDatabaseNameAndDeletionDateNeedToBeSpecified { } } + /// + /// Looks up a localized string similar to Unable to retrieve newly created server '{0}'.. + /// + internal static string CreateServerServerNotFound { + get { + return ResourceManager.GetString("CreateServerServerNotFound", resourceCulture); + } + } + /// /// Looks up a localized string similar to The Sql Authenticate Credential was not specified.. /// diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Properties/Resources.resx b/src/ServiceManagement/Sql/Commands.SqlDatabase/Properties/Resources.resx index 46735c5ec86a..071e3fce99e0 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Properties/Resources.resx +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Properties/Resources.resx @@ -121,6 +121,9 @@ Invalid Parameter combination: Both "DatabaseName" and "DatabaseDeletionDate" need to be specified to get a restorable dropped database. Parameter validation + + Unable to retrieve newly created server '{0}'. + The Sql Authenticate Credential was not specified. Parameter validation diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Server/Cmdlet/NewAzureSqlDatabaseServer.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase/Server/Cmdlet/NewAzureSqlDatabaseServer.cs index 24ef10dc7b59..b099fa781ee0 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Server/Cmdlet/NewAzureSqlDatabaseServer.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Server/Cmdlet/NewAzureSqlDatabaseServer.cs @@ -12,15 +12,16 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using Hyak.Common.TransientFaultHandling; using Microsoft.WindowsAzure.Commands.SqlDatabase.Model; using Microsoft.WindowsAzure.Commands.SqlDatabase.Properties; -using Microsoft.Azure.Common.Internals; using Microsoft.WindowsAzure.Management.Sql; using Microsoft.WindowsAzure.Management.Sql.Models; -using Hyak.Common; using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; using System.Management.Automation; -using Hyak.Common.TransientFaultHandling; namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Server.Cmdlet { @@ -116,17 +117,29 @@ internal SqlDatabaseServerContext NewAzureSqlDatabaseServerProcess( Location = location, AdministratorUserName = adminLogin, AdministratorPassword = adminLoginPassword, - Version = version.HasValue ? version.Value.ToString("F1") : null + Version = version.HasValue ? version.Value.ToString("F1", CultureInfo.InvariantCulture) : null }); + var newServer = sqlManagementClient.Servers.List().Servers.Where(s => s.Name == response.ServerName).FirstOrDefault(); + + if (newServer == null) + { + throw new ItemNotFoundException(string.Format( + CultureInfo.InvariantCulture, + Resources.CreateServerServerNotFound, + response.ServerName)); + } + SqlDatabaseServerContext operationContext = new SqlDatabaseServerContext() { OperationStatus = Services.Constants.OperationSuccess, OperationDescription = CommandRuntime.ToString(), OperationId = response.RequestId, - ServerName = response.ServerName, + ServerName = newServer.Name, Location = location, AdministratorLogin = adminLogin, + State = newServer.State, + Version = newServer.Version }; return operationContext; diff --git a/src/Common/Azure.Common.Extensions/Authentication/ConsoleParentWindow.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase/Services/Server/ISqlServerConnectionInformation.cs similarity index 59% rename from src/Common/Azure.Common.Extensions/Authentication/ConsoleParentWindow.cs rename to src/ServiceManagement/Sql/Commands.SqlDatabase/Services/Server/ISqlServerConnectionInformation.cs index 7d33c8569062..ff9aefb8bf52 100644 --- a/src/Common/Azure.Common.Extensions/Authentication/ConsoleParentWindow.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Services/Server/ISqlServerConnectionInformation.cs @@ -12,24 +12,23 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System; -using System.Runtime.InteropServices; -using System.Windows.Forms; +using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Common; -namespace Microsoft.Azure.Common.Extensions.Authentication +namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server { /// - /// An implementation of that gives the - /// windows handle for the current console window. + /// Interface for defining information needed to connect to a server using SQL auth. /// - public class ConsoleParentWindow : IWin32Window + public interface ISqlServerConnectionInformation { - public IntPtr Handle { get { return NativeMethods.GetConsoleWindow(); } } + /// + /// The name of the server + /// + string ServerName { get; } - static class NativeMethods - { - [DllImport("kernel32.dll")] - internal static extern IntPtr GetConsoleWindow(); - } + /// + /// The SQL authentication credentials. + /// + SqlAuthenticationCredentials SqlCredentials { get; } } } diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Services/Server/ServerDataServiceCertAuth.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase/Services/Server/ServerDataServiceCertAuth.cs index 84dee8e196e6..4e18a0e84e37 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Services/Server/ServerDataServiceCertAuth.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Services/Server/ServerDataServiceCertAuth.cs @@ -17,7 +17,7 @@ using System.Globalization; using System.Linq; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.SqlDatabase.Properties; using Microsoft.WindowsAzure.Management.Sql; using Microsoft.WindowsAzure.Management.Sql.Models; @@ -26,7 +26,7 @@ namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server { using DatabaseCopyModel = Model.DatabaseCopy; using WamlDatabaseCopy = Management.Sql.Models.DatabaseCopy; - using Microsoft.Azure.Common.Extensions; + using Microsoft.Azure.Common.Authentication; using Microsoft.Azure; /// @@ -51,6 +51,8 @@ public partial class ServerDataServiceCertAuth : IServerDataServiceContext /// private readonly AzureSubscription subscription; + private AzureProfile profile; + #endregion /// @@ -59,9 +61,11 @@ public partial class ServerDataServiceCertAuth : IServerDataServiceContext /// The subscription used to connect and authenticate. /// The name of the server to connect to. private ServerDataServiceCertAuth( + AzureProfile profile, AzureSubscription subscription, string serverName) { + this.profile = profile; this.serverName = serverName; this.subscription = subscription; } @@ -112,6 +116,7 @@ public string ServerName /// An instance of class. public static ServerDataServiceCertAuth Create( string serverName, + AzureProfile profile, AzureSubscription subscription) { if (string.IsNullOrEmpty(serverName)) @@ -123,6 +128,7 @@ public static ServerDataServiceCertAuth Create( // Create a new ServerDataServiceCertAuth object to be used return new ServerDataServiceCertAuth( + profile, subscription, serverName); } @@ -170,7 +176,7 @@ public Database[] GetDatabases() this.clientRequestId = SqlDatabaseCmdletBase.GenerateClientTracingId(); // Get the SQL management client - SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(this.profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); this.AddTracingHeaders(sqlManagementClient); // Retrieve the list of databases @@ -191,7 +197,7 @@ public Database GetDatabase(string databaseName) this.clientRequestId = SqlDatabaseCmdletBase.GenerateClientTracingId(); // Get the SQL management client - SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(this.profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); this.AddTracingHeaders(sqlManagementClient); // Retrieve the specified database @@ -223,7 +229,7 @@ public Database CreateNewDatabase( this.clientRequestId = SqlDatabaseCmdletBase.GenerateClientTracingId(); // Get the SQL management client - SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(this.profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); this.AddTracingHeaders(sqlManagementClient); DatabaseCreateParameters parameters = new DatabaseCreateParameters() @@ -267,7 +273,7 @@ public Database UpdateDatabase( this.clientRequestId = SqlDatabaseCmdletBase.GenerateClientTracingId(); // Get the SQL management client - SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(this.profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); this.AddTracingHeaders(sqlManagementClient); // Retrieve the specified database @@ -316,7 +322,7 @@ public void RemoveDatabase(string databaseName) this.clientRequestId = SqlDatabaseCmdletBase.GenerateClientTracingId(); // Get the SQL management client - SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(this.profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); this.AddTracingHeaders(sqlManagementClient); // Retrieve the list of databases @@ -329,25 +335,41 @@ public void RemoveDatabase(string databaseName) #region Service Objective Operations - /// - /// Retrieves the list of all service objectives on the server. - /// - /// An array of all service objectives on the server. - public ServiceObjective[] GetServiceObjectives() + private ServiceObjective[] objectivesCache; + private ServiceObjective[] Objectives + { + get + { + if (objectivesCache == null) + { + PopulateSloCache(); + } + return objectivesCache; + } + } + + private void PopulateSloCache() { this.clientRequestId = SqlDatabaseCmdletBase.GenerateClientTracingId(); // Get the SQL management client - SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(this.profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); this.AddTracingHeaders(sqlManagementClient); // Retrieve the specified database - ServiceObjectiveListResponse response = sqlManagementClient.ServiceObjectives.List( - this.serverName); + ServiceObjectiveListResponse response = sqlManagementClient.ServiceObjectives.List(this.serverName); - // Construct the resulting Database object - ServiceObjective[] serviceObjectives = response.Select(serviceObjective => CreateServiceObjectiveFromResponse(serviceObjective)).ToArray(); - return serviceObjectives; + // Populate the cache; + objectivesCache = response.Select(serviceObjective => CreateServiceObjectiveFromResponse(serviceObjective)).ToArray(); + } + + /// + /// Retrieves the list of all service objectives on the server. + /// + /// An array of all service objectives on the server. + public ServiceObjective[] GetServiceObjectives() + { + return Objectives; } /// @@ -359,9 +381,8 @@ public ServiceObjective[] GetServiceObjectives() /// public ServiceObjective GetServiceObjective(string serviceObjectiveName) { - ServiceObjective serviceObjective = GetServiceObjectives() - .Where(s => s.Name == serviceObjectiveName) - .FirstOrDefault(); + var serviceObjective = Objectives.Where(s => s.Name == serviceObjectiveName).FirstOrDefault(); + if (serviceObjective == null) { throw new InvalidOperationException( @@ -383,19 +404,18 @@ public ServiceObjective GetServiceObjective(string serviceObjectiveName) /// public ServiceObjective GetServiceObjective(ServiceObjective serviceObjectiveToRefresh) { - this.clientRequestId = SqlDatabaseCmdletBase.GenerateClientTracingId(); - - // Get the SQL management client - SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); - this.AddTracingHeaders(sqlManagementClient); - - // Retrieve the specified database - ServiceObjectiveGetResponse response = sqlManagementClient.ServiceObjectives.Get( - this.serverName, - serviceObjectiveToRefresh.Id.ToString()); + var serviceObjective = Objectives.Where(s => s.Id == serviceObjectiveToRefresh.Id).FirstOrDefault(); + + if (serviceObjective == null) + { + throw new InvalidOperationException( + string.Format( + CultureInfo.InvariantCulture, + Resources.ServiceObjectiveNotFound, + this.ServerName, + serviceObjectiveToRefresh.Id)); + } - // Construct the resulting Database object - ServiceObjective serviceObjective = CreateServiceObjectiveFromResponse(response.ServiceObjective); return serviceObjective; } @@ -432,7 +452,7 @@ public DatabaseOperation GetDatabaseOperation(Guid OperationGuid) this.clientRequestId = SqlDatabaseCmdletBase.GenerateClientTracingId(); // Get the SQL management client - SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(this.profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); this.AddTracingHeaders(sqlManagementClient); // Retrieve the specified Operation @@ -455,7 +475,7 @@ public DatabaseOperation[] GetDatabaseOperations(string databaseName) this.clientRequestId = SqlDatabaseCmdletBase.GenerateClientTracingId(); // Get the SQL management client - SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(this.profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); this.AddTracingHeaders(sqlManagementClient); // Retrieve all operations on specified database @@ -488,7 +508,7 @@ public DatabaseOperation[] GetDatabasesOperations() this.clientRequestId = SqlDatabaseCmdletBase.GenerateClientTracingId(); // Get the SQL management client - SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(this.profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); this.AddTracingHeaders(sqlManagementClient); // Retrieve the operations on specified server @@ -521,7 +541,7 @@ public DatabaseCopyModel[] GetDatabaseCopy( this.clientRequestId = SqlDatabaseCmdletBase.GenerateClientTracingId(); // Get the SQL management client - SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(this.profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); this.AddTracingHeaders(sqlManagementClient); IEnumerable copyResponses = null; @@ -576,7 +596,7 @@ public DatabaseCopyModel GetDatabaseCopy(DatabaseCopyModel databaseCopy) this.clientRequestId = SqlDatabaseCmdletBase.GenerateClientTracingId(); // Get the SQL management client - SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(this.profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); this.AddTracingHeaders(sqlManagementClient); // Figure out which database is local, as that's the one we need to pass in. @@ -615,7 +635,7 @@ public DatabaseCopyModel StartDatabaseCopy( this.clientRequestId = SqlDatabaseCmdletBase.GenerateClientTracingId(); // Get the SQL management client - SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(this.profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); this.AddTracingHeaders(sqlManagementClient); DatabaseCopyCreateResponse response = sqlManagementClient.DatabaseCopies.Create( @@ -645,7 +665,7 @@ public void StopDatabaseCopy( this.clientRequestId = SqlDatabaseCmdletBase.GenerateClientTracingId(); // Get the SQL management client - SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(this.profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); this.AddTracingHeaders(sqlManagementClient); // Get the local database, as it's the one we need to pass in. @@ -681,7 +701,7 @@ public RestorableDroppedDatabase[] GetRestorableDroppedDatabases() this.clientRequestId = SqlDatabaseCmdletBase.GenerateClientTracingId(); // Get the SQL management client - SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(this.profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); this.AddTracingHeaders(sqlManagementClient); // Retrieve the list of databases @@ -705,7 +725,7 @@ public RestorableDroppedDatabase GetRestorableDroppedDatabase( this.clientRequestId = SqlDatabaseCmdletBase.GenerateClientTracingId(); // Get the SQL management client - SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(this.profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); this.AddTracingHeaders(sqlManagementClient); // Retrieve the specified database @@ -741,7 +761,7 @@ public RestoreDatabaseOperation RestoreDatabase( this.clientRequestId = SqlDatabaseCmdletBase.GenerateClientTracingId(); // Get the SQL management client - SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + SqlManagementClient sqlManagementClient = AzureSession.ClientFactory.CreateClient(this.profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); this.AddTracingHeaders(sqlManagementClient); // Create the restore operation diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Services/Server/ServerDataServiceSqlAuth.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase/Services/Server/ServerDataServiceSqlAuth.cs index 255fc38fb6b7..77432802ffcb 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Services/Server/ServerDataServiceSqlAuth.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Services/Server/ServerDataServiceSqlAuth.cs @@ -31,7 +31,7 @@ namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server /// /// Implementation of the with Sql Authentication. /// - public partial class ServerDataServiceSqlAuth : ServerDataServiceContext, IServerDataServiceContext + public partial class ServerDataServiceSqlAuth : ServerDataServiceContext, IServerDataServiceContext, ISqlServerConnectionInformation { #region Constants diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Services/Server/SqlAuthContextFactory.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase/Services/Server/SqlAuthContextFactory.cs index ec28f7dfc2a7..63c4c11f5325 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Services/Server/SqlAuthContextFactory.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Services/Server/SqlAuthContextFactory.cs @@ -92,8 +92,8 @@ public static IServerDataServiceContext GetContext( context = new TSqlConnectionContext( sessionActivityId, manageUrl.Host, - credentials.UserName, - credentials.Password); + credentials, + serverName); } else { diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/Services/Server/TSqlConnectionContext.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase/Services/Server/TSqlConnectionContext.cs index 8b99c07f4cc0..d869bc41f7a9 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/Services/Server/TSqlConnectionContext.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/Services/Server/TSqlConnectionContext.cs @@ -12,6 +12,7 @@ // limitations under the License. // ---------------------------------------------------------------------------------- +using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Common; using System; using System.Collections.Generic; using System.Data.Common; @@ -22,7 +23,7 @@ namespace Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Server { - public class TSqlConnectionContext : IServerDataServiceContext + public class TSqlConnectionContext : IServerDataServiceContext, ISqlServerConnectionInformation { /// /// Timeout duration for commands @@ -122,6 +123,17 @@ public string ServerName } } + /// + /// Gets the SQL credentials for connecting to the server. + /// + public SqlAuthenticationCredentials SqlCredentials + { + get + { + return credentials; + } + } + /// /// Contains the connection string necessary to connect to the server /// @@ -142,6 +154,11 @@ public string ServerName /// private string serverName; + /// + /// The sql connection credetials + /// + private SqlAuthenticationCredentials credentials; + /// /// Helper function to generate the SqlConnectionStringBuilder /// @@ -151,7 +168,6 @@ public string ServerName /// A connection string builder private SqlConnectionStringBuilder GenerateSqlConnectionBuilder(string fullyQualifiedServerName, string username, string password) { - this.serverName = fullyQualifiedServerName.Split('.').First(); SqlConnectionStringBuilder builder = new SqlConnectionStringBuilder(); builder["Server"] = fullyQualifiedServerName; builder.UserID = username + "@" + serverName; @@ -183,14 +199,15 @@ private DbConnection CreateConnection() /// /// Creates an instance of a SQLAuth to TSql class /// - /// - /// - /// - public TSqlConnectionContext(Guid sessionActivityId, string fullyQualifiedServerName, string username, string password) + /// The full server name + /// The login credentials for the server + public TSqlConnectionContext(Guid sessionActivityId, string fullyQualifiedServerName, SqlAuthenticationCredentials credentials, string serverName) { + this.serverName = serverName; this.sessionActivityId = sessionActivityId; this.clientRequestId = SqlDatabaseCmdletBase.GenerateClientTracingId(); - builder = GenerateSqlConnectionBuilder(fullyQualifiedServerName, username, password); + this.credentials = credentials; + builder = GenerateSqlConnectionBuilder(fullyQualifiedServerName, credentials.UserName, credentials.Password); } /// diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/SqlDatabaseCmdletBase.cs b/src/ServiceManagement/Sql/Commands.SqlDatabase/SqlDatabaseCmdletBase.cs index 709b58ed2f66..4a351c5a323c 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/SqlDatabaseCmdletBase.cs +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/SqlDatabaseCmdletBase.cs @@ -15,12 +15,12 @@ using System; using System.Globalization; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.SqlDatabase.Services; using Microsoft.WindowsAzure.Commands.SqlDatabase.Services.Common; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Management.Sql; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.SqlDatabase { @@ -61,9 +61,9 @@ public static string GenerateClientTracingId() protected SqlManagementClient GetCurrentSqlClient() { // Get the SQL management client for the current subscription - AzureSubscription subscription = AzureSession.CurrentContext.Subscription; + AzureSubscription subscription = Profile.Context.Subscription; SqlDatabaseCmdletBase.ValidateSubscription(subscription); - SqlManagementClient client = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + SqlManagementClient client = AzureSession.ClientFactory.CreateClient(Profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); client.HttpClient.DefaultRequestHeaders.Add(Constants.ClientSessionIdHeaderName, clientSessionId); client.HttpClient.DefaultRequestHeaders.Add(Constants.ClientRequestIdHeaderName, clientRequestId); return client; @@ -78,7 +78,7 @@ public static void ValidateSubscription(AzureSubscription subscription) if (subscription == null) { throw new ArgumentException( - Common.Properties.Resources.InvalidCurrentSubscription); + Common.Properties.Resources.InvalidDefaultSubscription); } } diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase/packages.config b/src/ServiceManagement/Sql/Commands.SqlDatabase/packages.config index 5c82cbc0ff5c..42b30a7755cd 100644 --- a/src/ServiceManagement/Sql/Commands.SqlDatabase/packages.config +++ b/src/ServiceManagement/Sql/Commands.SqlDatabase/packages.config @@ -1,9 +1,9 @@  - - + + + - @@ -11,10 +11,10 @@ - + - + diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/App.config b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/App.config new file mode 100644 index 000000000000..42ba0defa0c7 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/App.config @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/Commands.StorSimple.Test.csproj b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/Commands.StorSimple.Test.csproj new file mode 100644 index 000000000000..d574274f360d --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/Commands.StorSimple.Test.csproj @@ -0,0 +1,176 @@ + + + + + Debug + AnyCPU + {0FA676D5-1349-4086-B33F-65EC2CB7DA41} + Library + Properties + Microsoft.WindowsAzure.Commands.StorSimple.Test + Microsoft.WindowsAzure.Commands.StorSimple.Test + v4.5 + 512 + ..\..\..\ + true + 8ec1c917 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll + + + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll + + + False + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + + + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll + + + False + ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll + + + ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll + + + ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll + + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + + + ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll + + + ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.dll + + + ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll + + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll + + + ..\..\..\packages\Microsoft.WindowsAzure.Management.Scheduler.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Scheduler.dll + + + ..\..\..\packages\Microsoft.WindowsAzure.Management.StorSimple.0.9.0-preview\lib\net40\Microsoft.WindowsAzure.Management.StorSimple.dll + + + ..\..\..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll + + + + + + + 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 + + + + + + + + + + {5ee72c53-1720-4309-b54b-5fb79703195f} + Commands.Common + + + {c1bda476-a5cc-4394-914d-48b0ec31a710} + Commands.ScenarioTests.Common + + + {11524d98-6c40-4091-a8e1-86463fee607c} + Commands.StorSimple + + + + + + Designer + + + PreserveNewest + + + + PreserveNewest + + + PreserveNewest + + + + + + + + + xcopy "$(SolutionDir)Package\$(ConfigurationName)\*.*" $(TargetDir) /Y /E + + + + + 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/ServiceManagement/StorSimple/Commands.StorSimple.Test/Properties/AssemblyInfo.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..c5b5f7db3dcf --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/Properties/AssemblyInfo.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 System.Reflection; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Microsoft.WindowsAzure.Commands.StorSimple.Test")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Microsoft.WindowsAzure.Commands.StorSimple.Test")] +[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +[assembly: ComVisible(false)] + +[assembly: Guid("d1c35c6d-1778-4d39-92c8-0bf709cc5b23")] + +[assembly: AssemblyVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyVersion)] +[assembly: AssemblyFileVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyFileVersion)] diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/ScenarioTests/BackupPolicyTests.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/ScenarioTests/BackupPolicyTests.cs new file mode 100644 index 000000000000..cef8140f2927 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/ScenarioTests/BackupPolicyTests.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 Xunit; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Test.ScenarioTests +{ + public class BackupPolicyTests:StorSimpleTestBase + { + #region New-AzureStorSimpleDeviceBackupScheduleAddConfig + [Fact] + [Trait("StorSimpleCmdlets", "New-BackupPolicyConfig")] + public void TestNewBackupPolicyConfig() + { + RunPowerShellTest("Test-NewBackupPolicyAddConfig"); + } + + [Fact] + [Trait("StorSimpleCmdlets", "New-BackupPolicyConfig")] + public void TestNewBackupPolicyAddConfigDefaultValues() + { + RunPowerShellTest("Test-NewBackupPolicyAddConfig-DefaultValues"); + } + #endregion New-AzureStorSimpleDeviceBackupScheduleAddConfig + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/ScenarioTests/BackupPolicyTests.ps1 b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/ScenarioTests/BackupPolicyTests.ps1 new file mode 100644 index 000000000000..3e1f848bc902 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/ScenarioTests/BackupPolicyTests.ps1 @@ -0,0 +1,54 @@ +# ---------------------------------------------------------------------------------- +# +# 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. +# ---------------------------------------------------------------------------------- + +<# +.SYNOPSIS +Sets context to default resource +#> +function Set-DefaultResource +{ + $selectedResource = Select-AzureStorSimpleResource -ResourceName OneSDK-Resource -RegistrationKey "1975530557201809476:eOqMQdvHon3lGwKVYctxZVnwpZcqi8ZS1uyCLJAl6Wg=:JovQDqP1KyWdh4m3mYkdzQ==#4edfc1cde41104e5" +} + +<# +.SYNOPSIS +Tests creating new resource group and a simple resource. +#> +function Test-NewBackupPolicyAddConfig +{ + Set-DefaultResource + $config = New-AzureStorSimpleDeviceBackupScheduleAddConfig -BackupType LocalSnapshot -RecurrenceType Daily -RecurrenceValue 1 -RetentionCount 1 -Enabled 0 -StartFromDateTime "10/23/2014 7:00 AM" + Assert-AreEqual $config.BackupType LocalSnapshot 'BackupType doesnt match' + Assert-AreEqual $config.Recurrence.RecurrenceType 'Daily' 'RecurrenceType doesnt match' + Assert-AreEqual $config.Recurrence.RecurrenceValue 1 'RecurrentValue doesnt match' + Assert-AreEqual $config.Status Disabled 'Status doesnt match' + #Assert-AreEqual $config.StartTime 2014-10-23T07:00:00+05:30 'StartTime doesnt match' #timezone specific test + Assert-AreEqual $config.RetentionCount 1 'RetentionCount doesnt match' +} + +function Test-NewBackupPolicyAddConfig-DefaultValues +{ + Set-DefaultResource + $currenttime = get-date + $config = New-AzureStorSimpleDeviceBackupScheduleAddConfig -BackupType CloudSnapshot -RecurrenceType Daily -RecurrenceValue 10 -RetentionCount 10 -Enabled 1 + $startTimeFromConfig = [datetime]::ParseExact($config.StartTime,"yyyy-MM-ddTHH:mm:sszzz",$null) + $timespan = $startTimeFromConfig - $currenttime + + Assert-True {$timespan.TotalSeconds -le 1} "StartDateTime is not matching" + Assert-AreEqual $config.BackupType CloudSnapshot 'BackupType doesnt match' + Assert-AreEqual $config.Recurrence.RecurrenceType 'Daily' 'RecurrenceType doesnt match' + Assert-AreEqual $config.Recurrence.RecurrenceValue 10 'RecurrentValue doesnt match' + Assert-AreEqual $config.Status Enabled 'Status doesnt match' + Assert-AreEqual $config.RetentionCount 10 'RetentionCount doesnt match' +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/ScenarioTests/Configuration/ConfigurationReader.ps1 b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/ScenarioTests/Configuration/ConfigurationReader.ps1 new file mode 100644 index 000000000000..266f7a3a5f2b --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/ScenarioTests/Configuration/ConfigurationReader.ps1 @@ -0,0 +1,109 @@ +# ---------------------------------------------------------------------------------- +# +# 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. +# ---------------------------------------------------------------------------------- + +$global:StorSimpleGlobalConfigMap = $null + +function Read-XMLConfigFile($configFilePath) +{ + $methodName = "Read-ConfigFile" + + Write-Verbose "$methodName : Reading configuration file '$configFilePath'" + if([string]::IsNullOrEmpty($configFilePath)) { + throw "$methodName : Config file path is not specified. Please specify file path OR set the environment variable STORSIMPLE_SDK_TEST_CONFIG_PATH." + } + + [xml] $configContent = Get-Content $configFilePath + if(!$configContent) { + throw "$methodName : Config file '$configFilePath' is either not readable or is empty" + } + Write-Verbose "$methodName : Configuration file read. Extracting configuration keys." + + $configMap=@{} + foreach($configEntry in $configContent.configuration.appSettings.add) { + Write-Verbose ("{0} : {1}" -F $configEntry.key, $configEntry.Value) + if($configMap.ContainsKey($configEntry.key)) { + throw "Duplicate configuration entries for key '$($configEntry.key)' - please check the configuration file '$configFilePath' for correctness" + } else { + $configMap.Add($configEntry.key, $configEntry.Value) + } + } + $global:StorSimpleGlobalConfigMap = $configMap + + Write-Verbose "$methodName : Completed reading configuration items from file '$configFilePath'. Found $($configMap.Count) keys : " + $configMap.GetEnumerator() | foreach-object -begin { $i = 1 } -process { Write-Verbose ("$methodName : Config entry #{0}: '{1}' : '{2}'" -F $i, $_.Key, $_.Value); $i++} + return $configMap +} + +function Read-ConfigFile($configFilePath) +{ + $methodName = "Read-ConfigFile" + + Write-Verbose "$methodName : Reading configuration file '$configFilePath'" + if([string]::IsNullOrEmpty($configFilePath)) { + throw "$methodName : Config file path is not specified. Please specify file path OR set the environment variable STORSIMPLE_SDK_TEST_CONFIG_PATH." + } + + $configContent = Get-Content $configFilePath + if(!$configContent) { + throw "$methodName : Config file '$configFilePath' is either not readable or is empty" + } + Write-Verbose "$methodName : Configuration file read. Extracting configuration keys." + + $configContent | foreach-object -begin {$configMap=@{}} -process { $k = [regex]::split($_,'='); if(($k[0].CompareTo("") -ne 0) -and ($k[0].StartsWith("[") -ne $True) -and ($k[0].StartsWith("#") -ne $True)) { $configMap.Add($k[0], $k[1]) } } + $global:StorSimpleGlobalConfigMap = $configMap + + Write-Verbose "$methodName : Completed reading configuration items from file '$configFilePath'. Found $($configMap.Count) keys : " + $configMap.GetEnumerator() | foreach-object -begin { $i = 1 } -process { Write-Verbose ("$methodName : Config entry #{0}: '{1}' : '{2}'" -F $i, $_.Key, $_.Value); $i++} + return $configMap +} + +function Get-ConfigFileMap () +{ + $methodName = "Get-ConfigFileMap" + + if($global:StorSimpleGlobalConfigMap) { + Write-Verbose "$methodName : Using cached config map" + return $global:StorSimpleGlobalConfigMap + } + + $configFilePath = $env:STORSIMPLE_SDK_TEST_CONFIG_PATH + $configurationMap = Read-XMLConfigFile $configFilePath + + if(!$configurationMap -or $configurationMap.Count -eq 0) { + throw "$methodName : The configuration map does not contain any keys - please check the configuration file '$configFilePath' for correctness" + } + + return $configurationMap +} + +<# +.SYNOPSIS +#> +function Get-Configuration ($configPropertyKey) +{ + $methodName = "Get-Configuration" + Write-Verbose "$methodName : Fetching from configuration map, value of key '$configPropertyKey'" + + $configurationMap = Get-ConfigFileMap + + if($configurationMap.ContainsKey($configPropertyKey)) { + $configurationValue = $configurationMap[$configPropertyKey] + Write-Verbose "$methodName : Returning configuration property with value '$configurationValue' for key '$configPropertyKey'" + + return $configurationValue; + } + + Write-Verbose "$methodName : Could not find any property in the configuration map with the key '$configPropertyKey'" + return $null +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/ScenarioTests/StorSimpleTestBase.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/ScenarioTests/StorSimpleTestBase.cs new file mode 100644 index 000000000000..31975b9e2d45 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/ScenarioTests/StorSimpleTestBase.cs @@ -0,0 +1,176 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Configuration; +using System.Net; +using System.Net.Http; +using System.Net.Security; +using System.Reflection; +using Microsoft.Azure; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Test; +using Microsoft.Azure.Test.HttpRecorder; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Microsoft.WindowsAzure.Management.Scheduler; +using Microsoft.WindowsAzure.Management.StorSimple; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Test.ScenarioTests +{ + public class StorSimpleTestBase + { + private EnvironmentSetupHelper helper; + private RDFETestEnvironmentFactory rdfeTestFactory; + + protected StorSimpleTestBase() + { + this.helper = new EnvironmentSetupHelper(); + this.rdfeTestFactory = new RDFETestEnvironmentFactory(); + } + + protected void SetupManagementClients() + { + var storSimpleManagementClient = GetStorSimpleClient(); + var cloudServiceClient = GetCloudServiceClient(); + helper.SetupManagementClients(storSimpleManagementClient, cloudServiceClient); + + //helper.SetupSomeOfManagementClients(); + } + + private StorSimpleManagementClient GetStorSimpleClient() + { + try + { + //var testEnvironment = this.rdfeTestFactory.GetTestEnvironment(); + + var storSimpleClient = GetServiceClient(); + + //var storSimpleClient = new StorSimpleManagementClient("", "", "", "", "", + // testEnvironment.Credentials as SubscriptionCloudCredentials, testEnvironment.BaseUri).WithHandler(HttpMockServer.CreateInstance()); + return storSimpleClient; + } + catch (ReflectionTypeLoadException leException) + { + + throw leException; + } + + } + + private CloudServiceManagementClient GetCloudServiceClient() + { + return TestBase.GetServiceClient(this.rdfeTestFactory); + } + + protected void RunPowerShellTest(params string[] scripts) + { + using (UndoContext context = UndoContext.Current) + { + context.Start(TestUtilities.GetCallingClass(2), TestUtilities.GetCurrentMethodName(2)); + + SetupManagementClients(); + + helper.SetupEnvironment(AzureModule.AzureServiceManagement); + + helper.SetupModules(AzureModule.AzureServiceManagement, "ScenarioTests\\" + this.GetType().Name + ".ps1"); + helper.RunPowerShellTest(scripts); + } + } + + public static T GetServiceClient() where T : class + { + var factory = (TestEnvironmentFactory)new RDFETestEnvironmentFactory(); + + var testEnvironment = factory.GetTestEnvironment(); + + ServicePointManager.ServerCertificateValidationCallback = IgnoreCertificateErrorHandler; + + StorSimpleManagementClient client; + + if (testEnvironment.UsesCustomUri()) + { + client = new StorSimpleManagementClient( + ConfigurationManager.AppSettings["CloudServiceName"], + ConfigurationManager.AppSettings["ResourceName"], + ConfigurationManager.AppSettings["ResourceId"], + ConfigurationManager.AppSettings["ResourceNamespace"], + ConfigurationManager.AppSettings["CisStampId"], + testEnvironment.Credentials as SubscriptionCloudCredentials, + testEnvironment.BaseUri); + } + + else + { + client = new StorSimpleManagementClient( + ConfigurationManager.AppSettings["CloudServiceName"], + ConfigurationManager.AppSettings["ResourceName"], + ConfigurationManager.AppSettings["ResourceId"], + ConfigurationManager.AppSettings["ResourceNamespace"], + ConfigurationManager.AppSettings["CisStampId"], + testEnvironment.Credentials as SubscriptionCloudCredentials); + } + + return GetServiceClient(factory, client); + } + + public static T GetServiceClient(TestEnvironmentFactory factory, StorSimpleManagementClient client) where T : class + { + TestEnvironment testEnvironment = factory.GetTestEnvironment(); + + HttpMockServer instance; + try + { + instance = HttpMockServer.CreateInstance(); + } + catch (ApplicationException) + { + HttpMockServer.Initialize("TestEnvironment", "InitialCreation"); + instance = HttpMockServer.CreateInstance(); + } + T obj2 = typeof(T).GetMethod("WithHandler", new Type[1] + { + typeof (DelegatingHandler) + }).Invoke((object)client, new object[1] + { + (object) instance + }) as T; + + if (HttpMockServer.Mode == HttpRecorderMode.Record) + { + HttpMockServer.Variables[TestEnvironment.SubscriptionIdKey] = testEnvironment.SubscriptionId; + } + + if (HttpMockServer.Mode == HttpRecorderMode.Playback) + { + PropertyInfo property1 = typeof(T).GetProperty("LongRunningOperationInitialTimeout", typeof(int)); + PropertyInfo property2 = typeof(T).GetProperty("LongRunningOperationRetryTimeout", typeof(int)); + if (property1 != (PropertyInfo)null && property2 != (PropertyInfo)null) + { + property1.SetValue((object)obj2, (object)0); + property2.SetValue((object)obj2, (object)0); + } + } + return obj2; + } + + private static bool IgnoreCertificateErrorHandler + (object sender, + System.Security.Cryptography.X509Certificates.X509Certificate certificate, + System.Security.Cryptography.X509Certificates.X509Chain chain, + SslPolicyErrors sslPolicyErrors) + { + return true; + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/SessionRecords/Microsoft.WindowsAzure.Commands.StorSimple.Test.ScenarioTests.BackupPolicyTests/TestNewBackupPolicyAddConfigDefaultValues.json b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/SessionRecords/Microsoft.WindowsAzure.Commands.StorSimple.Test.ScenarioTests.BackupPolicyTests/TestNewBackupPolicyAddConfigDefaultValues.json new file mode 100644 index 000000000000..150334d5d199 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/SessionRecords/Microsoft.WindowsAzure.Commands.StorSimple.Test.ScenarioTests.BackupPolicyTests/TestNewBackupPolicyAddConfigDefaultValues.json @@ -0,0 +1,179 @@ +{ + "Entries": [ + { + "RequestUri": "/062c67a6-019b-40af-a775-c4dc1abe56ed/CloudServices", + "EncodedRequestUri": "LzA2MmM2N2E2LTAxOWItNDBhZi1hNzc1LWM0ZGMxYWJlNTZlZC9DbG91ZFNlcnZpY2Vz", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Scheduler.CloudServiceManagementClient/3.0.0.0" + ] + }, + "ResponseBody": "\r\n \r\n AzCisIntRunnerWUS\r\n \r\n AzCisIntRunnerWUS\r\n West US\r\n \r\n \r\n WACis\r\n CisVault\r\n AzCisIntRunnerWUS\r\n \r\n 1.1\r\n 227f07eb-392b-4cc8-8972-baf13a6299f6\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n e7b9e848-2f14-47a9-9bad-d77ce5f0ed9a\r\n \r\n \r\n ResourceId\r\n 164364985811234912\r\n \r\n \r\n BackendStampId\r\n 7ef900f6-ad91-497d-a9c5-2742b7ed4a75\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n CisProdCSEA01\r\n \r\n 8a5ca166-7394-49c4-90bf-c5c10cc891bc\r\n East Asia\r\n \r\n \r\n WACiS\r\n CiSVault\r\n CisProdResEA01\r\n \r\n 1.1\r\n 5b45ac98-8cd8-45ca-993d-43643b03d5d5\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n ResourceId\r\n 4627730753422042572\r\n \r\n \r\n BackendStampId\r\n b0fbf6e0-4c86-4dc9-a74a-99f5148cfaab\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n CisProdCSNE01\r\n \r\n a6fcbf5d-433c-4248-ab3e-2d002847cbc1\r\n North Europe\r\n \r\n \r\n \r\n CisProdCSSEA01\r\n \r\n d5e0ba9a-f87e-4dc5-8c14-f0ff7389a40f\r\n Southeast Asia\r\n \r\n \r\n WACiS\r\n CiSVault\r\n CisProdResSEA01\r\n \r\n 1.1\r\n b8851cc1-98f1-4f57-852f-7179be0175f3\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 1cf1938f-b7f4-4be1-96e6-567e8057402b\r\n \r\n \r\n ResourceId\r\n 5075532093917877646\r\n \r\n \r\n BackendStampId\r\n 290b924d-c44a-41dc-89ee-a997105110c5\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n CisProdCSWE01\r\n \r\n fe1ced8c-78f1-4165-b60c-c40684f69300\r\n West Europe\r\n \r\n \r\n WACiS\r\n CiSVault\r\n CisProdResWE01\r\n \r\n 1.1\r\n f24cdf9e-ebe0-4acc-8cef-a4a46fe79c37\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n ff53cef6-1773-4067-8473-4f823067b722\r\n \r\n \r\n ResourceId\r\n 2009177452664442965\r\n \r\n \r\n BackendStampId\r\n 8e8b42d1-72f9-4506-9291-b48125c38d0f\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n CiSProdEACS01\r\n \r\n f2cb7490-fc5f-4292-8d46-d8d08c677f78\r\n East Asia\r\n \r\n \r\n \r\n CiSProdNECS01\r\n \r\n 2319d679-db7d-44ed-a90b-0fac9ccfeff8\r\n North Europe\r\n \r\n \r\n \r\n CiSProdNECS02\r\n \r\n 0ae9fbd2-0f15-4d30-9d0c-052bf8a374b4\r\n North Europe\r\n \r\n \r\n \r\n CiSProdSEACS01\r\n \r\n f3900e44-ace6-4d11-8e1b-8ee42102b450\r\n Southeast Asia\r\n \r\n \r\n \r\n CiSProdWECS01\r\n \r\n a3052591-2669-47ce-98ab-337c5fb9db20\r\n West Europe\r\n \r\n \r\n \r\n CiSProdWECS02\r\n \r\n 0dbeae1e-4e4d-4cf0-97ea-04300b1ae771\r\n West Europe\r\n \r\n \r\n \r\n CisService-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-Australia-East\r\n \r\n 39509ffc-374f-4eeb-aa67-7c10ea817d46\r\n Australia East\r\n \r\n \r\n \r\n CisService-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-Australia-Southeast\r\n \r\n b25d9509-76a1-4e4e-9896-46f72b02ff11\r\n Australia Southeast\r\n \r\n \r\n \r\n CisService-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-east-asia\r\n \r\n 063a9747-e74e-42a0-a934-e907f0ae62ff\r\n east asia\r\n \r\n \r\n \r\n CisService-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-east-us\r\n \r\n d5aa1928-d752-4aec-8863-925d5810eddd\r\n east us\r\n \r\n \r\n WACis\r\n CisVault\r\n eus1410smoketest\r\n \r\n 1.1\r\n ac5750ee-5b1b-488a-9b95-aa351c57927a\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 8f764ff5-e5cf-48ad-83ad-941967b2b3de\r\n \r\n \r\n ResourceId\r\n 280409181064783549\r\n \r\n \r\n BackendStampId\r\n 8ba344e5-fd0a-46f1-8df3-34295e520f28\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n CisService-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-japan-east\r\n \r\n 9ac4dc08-77b3-40b7-a4ff-18f546e7cb67\r\n japan east\r\n \r\n \r\n WACis\r\n CisVault\r\n PreQfe2Res\r\n \r\n 1.1\r\n 6d6526a5-e3b0-487b-94e0-3ea37304d02d\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 1fdbbe77-1522-48a0-b8bb-08fc3a5538a0\r\n \r\n \r\n ResourceId\r\n 6617468074916048322\r\n \r\n \r\n BackendStampId\r\n 1b48cca2-9a1a-441d-a9e3-efa8043c61bf\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n CisService-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-japan-west\r\n \r\n f634db14-e5e4-4c74-b0d1-112088bae978\r\n japan west\r\n \r\n \r\n WACis\r\n CisVault\r\n jpwSmokeTestrajsing\r\n \r\n 1.1\r\n 997c1105-f304-411f-b075-285ab4a10e70\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n a84366fd-4dbc-48aa-a3b7-ae61bea20620\r\n \r\n \r\n ResourceId\r\n 1538313057736326684\r\n \r\n \r\n BackendStampId\r\n 1a9ce821-796d-4402-a594-a6eae5767ad8\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n CisService-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-north-europe\r\n \r\n 31be64d6-8656-4c44-aab4-f57329d39317\r\n north europe\r\n \r\n \r\n WACis\r\n CisVault\r\n nesmoke1410\r\n \r\n 1.1\r\n cf9c0707-0b7f-4802-8e9c-dd9a4fc5b81a\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 5bbb0b31-877c-4d43-9f55-bfde5b22e284\r\n \r\n \r\n ResourceId\r\n 9009498038937266079\r\n \r\n \r\n BackendStampId\r\n 1001f743-93e2-4b98-8e3a-8891b96c9967\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n CisService-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-southeast-asia\r\n \r\n cfd274d6-a650-4521-ac6d-2357512bf2da\r\n southeast asia\r\n \r\n \r\n WACis\r\n CisVault\r\n Oct29SaaSBugBash\r\n \r\n 1.1\r\n 45f83bb9-f30f-4a02-92e1-27a09beae9bc\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 1cf1938f-b7f4-4be1-96e6-567e8057402b\r\n \r\n \r\n ResourceId\r\n 1140492213348126260\r\n \r\n \r\n BackendStampId\r\n 290b924d-c44a-41dc-89ee-a997105110c5\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n CisService-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-west-europe\r\n \r\n 9662b3da-b74b-4773-a3c4-c520e4566795\r\n west europe\r\n \r\n \r\n WACis\r\n CisVault\r\n azcistest1208\r\n \r\n 1.1\r\n c23da0f9-1623-4d31-a3ad-88ce4b83c868\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n ff53cef6-1773-4067-8473-4f823067b722\r\n \r\n \r\n ResourceId\r\n 826983654462536656\r\n \r\n \r\n BackendStampId\r\n 8e8b42d1-72f9-4506-9291-b48125c38d0f\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n WACis\r\n CisVault\r\n bvtsignoff0311\r\n \r\n 1.1\r\n 274882c4-548e-4d6e-9448-3e123d83e0e1\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n ff53cef6-1773-4067-8473-4f823067b722\r\n \r\n \r\n ResourceId\r\n 3958653693786389562\r\n \r\n \r\n BackendStampId\r\n 8e8b42d1-72f9-4506-9291-b48125c38d0f\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n CisService-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-west-us\r\n \r\n 8a433d75-e7ba-4062-b9ea-02be05a6b474\r\n west us\r\n \r\n \r\n WACis\r\n CisVault\r\n OneSDK-avirupch\r\n \r\n 1.1\r\n 0537b90c-21c0-4d41-b1ce-48cdbb5dc98d\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n e7b9e848-2f14-47a9-9bad-d77ce5f0ed9a\r\n \r\n \r\n ResourceId\r\n 7541213550276549295\r\n \r\n \r\n BackendStampId\r\n 7ef900f6-ad91-497d-a9c5-2742b7ed4a75\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n WACis\r\n CisVault\r\n OneSDK-avirupch2\r\n \r\n 1.1\r\n ee3a7da5-d122-42eb-b02b-dd6161fc626b\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n e7b9e848-2f14-47a9-9bad-d77ce5f0ed9a\r\n \r\n \r\n ResourceId\r\n 7165349060819837375\r\n \r\n \r\n BackendStampId\r\n 7ef900f6-ad91-497d-a9c5-2742b7ed4a75\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n WACis\r\n CisVault\r\n OneSDK-Resource\r\n \r\n 1.1\r\n df9da875-d5b9-47f3-a8d1-a5819e56a898\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n e7b9e848-2f14-47a9-9bad-d77ce5f0ed9a\r\n \r\n \r\n ResourceId\r\n 1975530557201809476\r\n \r\n \r\n BackendStampId\r\n 7ef900f6-ad91-497d-a9c5-2742b7ed4a75\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n CloudServiceCisVaultST141031EA\r\n \r\n CloudServiceCisVaultST141031EA\r\n East Asia\r\n \r\n \r\n \r\n CloudServiceCisVaultST14113EUS\r\n \r\n CloudServiceCisVaultST14113EUS\r\n East US\r\n \r\n \r\n \r\n CloudServiceCisVaultST14113JPE\r\n \r\n CloudServiceCisVaultST14113JPE\r\n Japan East\r\n \r\n \r\n \r\n CloudServiceCisVaultST14113JPW\r\n \r\n CloudServiceCisVaultST14113JPW\r\n Japan West\r\n \r\n \r\n \r\n CloudServiceCisVaultST14113NE\r\n \r\n CloudServiceCisVaultST14113NE\r\n North Europe\r\n \r\n \r\n \r\n CloudServiceCisVaultST14113SEA\r\n \r\n CloudServiceCisVaultST14113SEA\r\n Southeast Asia\r\n \r\n \r\n \r\n CloudServiceCisVaultST14113WE\r\n \r\n CloudServiceCisVaultST14113WE\r\n West Europe\r\n \r\n \r\n \r\n CloudServiceCisVaultST14113WUS\r\n \r\n CloudServiceCisVaultST14113WUS\r\n West US\r\n \r\n \r\n \r\n CloudServiceCisVaultST14114SEA\r\n \r\n CloudServiceCisVaultST14114SEA\r\n Southeast Asia\r\n \r\n \r\n \r\n japancs\r\n \r\n 2b192d62-ca75-4cb5-8736-1e8b30afec32\r\n Japan East\r\n \r\n \r\n \r\n japancsw\r\n \r\n 3b679670-756f-4603-bc0d-ab75c0eaa6fb\r\n Japan West\r\n \r\n \r\n \r\n MyCloudService\r\n \r\n 5bfde7b9-ab53-420c-9adc-f77554ee492b\r\n Japan West\r\n \r\n \r\n WACiS\r\n CiSVault\r\n JPWsmoketestJohn\r\n \r\n 1.1\r\n fda2e259-d101-4723-b727-fb11e33a7436\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n a84366fd-4dbc-48aa-a3b7-ae61bea20620\r\n \r\n \r\n ResourceId\r\n 6778614164335460954\r\n \r\n \r\n BackendStampId\r\n 1a9ce821-796d-4402-a594-a6eae5767ad8\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n ParvezPSTest\r\n \r\n 63b8154c-3395-4566-bdc6-f1eb76fc8f89\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-east-asia\r\n \r\n 9fac8b3d-4795-494b-ad8a-3dc00d8c03e8\r\n east asia\r\n \r\n \r\n \r\n RecoveryServices-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-east-us\r\n \r\n a41e4655-2e73-4e97-bb71-7d39e3f6191b\r\n east us\r\n \r\n \r\n \r\n RecoveryServices-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-southeast-asia\r\n \r\n 3fcbc01e-5b95-4770-bfba-252f07e28838\r\n southeast asia\r\n \r\n \r\n \r\n RecoveryServices-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-west-europe\r\n \r\n c8854e24-afa3-4d7f-91af-58fedd6e7ca9\r\n west europe\r\n \r\n \r\n \r\n RecoveryServices-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-west-us\r\n \r\n 81528a97-8b3c-4516-b682-21c8c946a668\r\n west us\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "19405" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "7b6fd4e4bee35b358898f0a4e033a1db" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Dec 2014 12:49:34 GMT" + ], + "Server": [ + "1.0.6198.167", + "(rd_rdfe_stable.141203-1417)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/062c67a6-019b-40af-a775-c4dc1abe56ed/cloudservices/CisService-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-west-us/resources/WACis/~/CiSVault/OneSDK-Resource/api/devices?api-version=2014-01-01.1.0", + "EncodedRequestUri": "LzA2MmM2N2E2LTAxOWItNDBhZi1hNzc1LWM0ZGMxYWJlNTZlZC9jbG91ZHNlcnZpY2VzL0Npc1NlcnZpY2UtRFRZSEM1TllCNEJVVFYzWkhGTlNFNUVLSVpaR0xHWVI0NE9KVUw1T1FHRzRJMkVNWU9aQS13ZXN0LXVzL3Jlc291cmNlcy9XQUNpcy9+L0NpU1ZhdWx0L09uZVNESy1SZXNvdXJjZS9hcGkvZGV2aWNlcz9hcGktdmVyc2lvbj0yMDE0LTAxLTAxLjEuMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "Accept-Language": [ + "en-US" + ], + "x-ms-client-request-id": [ + "c1946240-087b-4919-b0d0-ec4442bf1845_PS" + ], + "x-ms-version": [ + "2014-01-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.StorSimple.StorSimpleManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 0\r\n 2014-11-28T06:04:49.2510897Z\r\n Unknown\r\n 1095364144128\r\n 0\r\n en-US\r\n Unknown\r\n 0\r\n \r\n 29f9be68-04f7-437d-a466-b90a1ed324b5\r\n 6.3.9600.17215\r\n Avirupch_App3\r\n true\r\n false\r\n \r\n 100\r\n 6\r\n 4147483648\r\n 123456789\r\n Online\r\n iqn.1991-05.com.microsoft:storsimple100-123456789-target\r\n Pacific Standard Time\r\n 1099511627776\r\n Appliance\r\n 0\r\n 0\r\n \r\n \r\n 0\r\n 2014-12-11T17:33:21.6765566Z\r\n Unknown\r\n 32985348833280\r\n 0\r\n en-US\r\n Unknown\r\n 0\r\n \r\n 2b4bda4e-5ab6-4668-a681-ca47cee7ca64\r\n 6.3.9600.17215\r\n test-madhurta\r\n false\r\n false\r\n West US\r\n 1100\r\n 0\r\n 0\r\n 2B4BDA4E-5AB6-4668-A681-CA47CEE7CA64\r\n Offline\r\n iqn.1991-05.com.microsoft:storsimple1100-2b4bda4e-5ab6-4668-a681-ca47cee7ca64-target\r\n UTC\r\n 32985348833280\r\n VirtualAppliance\r\n 0\r\n 0\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "2472" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-client-request-id": [ + "c1946240-087b-4919-b0d0-ec4442bf1845_PS,c1946240-087b-4919-b0d0-ec4442bf1845_PS" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-request-id": [ + "6b2f66aee24f5e3fbbaaa15003f0672f" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Dec 2014 12:49:36 GMT" + ], + "Server": [ + "1.0.6198.167", + "(rd_rdfe_stable.141203-1417)", + "Microsoft-HTTPAPI/2.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/062c67a6-019b-40af-a775-c4dc1abe56ed/cloudservices/CisService-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-west-us/resources/WACis/~/CiSVault/OneSDK-Resource/stamps/7ef900f6-ad91-497d-a9c5-2742b7ed4a75/secretmanagement/publickey?api-version=2014-01-01.1.0", + "EncodedRequestUri": "LzA2MmM2N2E2LTAxOWItNDBhZi1hNzc1LWM0ZGMxYWJlNTZlZC9jbG91ZHNlcnZpY2VzL0Npc1NlcnZpY2UtRFRZSEM1TllCNEJVVFYzWkhGTlNFNUVLSVpaR0xHWVI0NE9KVUw1T1FHRzRJMkVNWU9aQS13ZXN0LXVzL3Jlc291cmNlcy9XQUNpcy9+L0NpU1ZhdWx0L09uZVNESy1SZXNvdXJjZS9zdGFtcHMvN2VmOTAwZjYtYWQ5MS00OTdkLWE5YzUtMjc0MmI3ZWQ0YTc1L3NlY3JldG1hbmFnZW1lbnQvcHVibGlja2V5P2FwaS12ZXJzaW9uPTIwMTQtMDEtMDEuMS4w", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "Accept-Language": [ + "en-US" + ], + "x-ms-client-request-id": [ + "6868ae09-c96c-4554-bf82-83ef46d8ec26_PS" + ], + "x-ms-version": [ + "2014-01-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.StorSimple.StorSimpleManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "\r\n EAAAAH/n8WeCQBimBXNIArQtLGliov1nVuoOYLCry/yBWCdDFajYwo6v7PKBYuEkv7I/lfvfh908SM5QQ/Vj5sUeZVLsck98NJuXv/ziR/VXbgSAjxIIDwpDlgBIV3dfhigen2dmp8SjKT2mCGZ81kDf0wub/vRo/ktp3tZbU0yJnP/ueTQo3pZco/J1mJMHCxjqymbFfRg54ex0Go/Z4CxjuNlTN1Pe7q7ohP61KxQ7o1R1qJdLHTaslOdYiSNzDrHNzrGjXEz322wlzZL6+hGRy7LQP06BO4xvJPIwF4k0+k/U0AQ4GtotQ9KWyDeEjuwN2htEOSkwzRnetnzBX45129CkrzyvdeGI4clZz8KOrcMyIUL66hXyK9e1gyllLU+0aU1HEQ127dJwrHYtHYdw/UjPFlVJFi2DpO6SWJCCX13DOpvCeMvrdvyHp40Y/j+Uvg7miKRWrvRnuKLoxhgAPhX4SL4Py2CHQmodp+Yl5Mqv+arqv4EwZH+Pjo4AOYJzyJ/xJma3cBK9VXsVw4B6r392EUdscf+WRY4lL2VoEVbmXklUIMlmecyDaCxiZblzFreD1DJyOTJrlZIvQXKj7zmm8RjY+p54Sivc5RZ21Swk7nWtTArZlr7zf3B394TnzfdIcqLR6hkOw6cH1bkJEivEtkxmv8mKRywmYnsCo1F0GEtZOE+b/xjqnTcG+JUAXJ8vErUMkwmE2sXGr9F6DZuBOqXYtHh0XNorl78DzYRnMcANQYTJ9JG9LUN7Tp9NzqfApKL6Vxe1IgUyuO+XR0DauEaGmZTAZIK3OzVFO2SU6ASmlnjZT5Rzk8GGi1unvWQYyhwHHNlMqsoWl1R5ugeD5dy5STXOOGUGrBDLS2P3vS52Id/x+bBc/Zv8i+V7EOt2103Ejs5VeCaDBbFWPa7AKnUjrI7nUCtHfVXJRCx8t0aqAPfYRImcve2phrSzR6LxwzhlgsPjG5JWJGuYEcCd6CJw9fOmX98WptHPOGUaxlOBqqCGjOK98oCwZN/EaPueB9ry9/RAxcioNhuc20EnqMBGXzj1j2a1Eyu022IC/nkmiKvFEnl6YA0uU+iG+aC7CQxJcindk7CSoazDJwWwnueVxGy1w2cCu03giUvnRmBhs8UyZqDEE4ASx4fq+g/d6TWSZGgJd713XhNGSsyaAfuB6jowkxp2ayhqSSigDPYy1DDrGYCf2msxTBVoRquWJkXMV8O0J8XbflIIs07hAYLl6SllR11Aoskp9owpryREzTAm+dhm9ZX8ChGJU02mgFD+2iAaFNyWAwmM2xShTXCq7AnfJ7fJIwNaT/VjeJlaQx8ch7lIWFxsMOjohNl2z5dGdid3LLPmMueBx+RvO91RAj50zQEgnPUq5Fb6pxEHrQahC4Q1i47NKmHb2LXmqnyvSQgqeQeeNw1WqsKVtVgGsUl/cqwMTbdd/u6mG9Mr5y8Rw0kW829Yf48mcw29bi6Ye3vNUb64HRgnBVozKlRK3AVKj9IgDHzu7MwEb+zxDUS3m2r5cnXH69U/uA==\r\n \r\n 24260B738017EE3EBE3CC75225A3ABB204D871A0\r\n", + "ResponseHeaders": { + "Content-Length": [ + "1862" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-client-request-id": [ + "6868ae09-c96c-4554-bf82-83ef46d8ec26_PS,6868ae09-c96c-4554-bf82-83ef46d8ec26_PS" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-request-id": [ + "10045ed435015dcf82384f8360feb689" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Dec 2014 12:49:38 GMT" + ], + "Server": [ + "1.0.6198.167", + "(rd_rdfe_stable.141203-1417)", + "Microsoft-HTTPAPI/2.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "062c67a6-019b-40af-a775-c4dc1abe56ed" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/SessionRecords/Microsoft.WindowsAzure.Commands.StorSimple.Test.ScenarioTests.BackupPolicyTests/TestNewBackupPolicyConfig.json b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/SessionRecords/Microsoft.WindowsAzure.Commands.StorSimple.Test.ScenarioTests.BackupPolicyTests/TestNewBackupPolicyConfig.json new file mode 100644 index 000000000000..c0acc0c11b72 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/SessionRecords/Microsoft.WindowsAzure.Commands.StorSimple.Test.ScenarioTests.BackupPolicyTests/TestNewBackupPolicyConfig.json @@ -0,0 +1,179 @@ +{ + "Entries": [ + { + "RequestUri": "/062c67a6-019b-40af-a775-c4dc1abe56ed/CloudServices", + "EncodedRequestUri": "LzA2MmM2N2E2LTAxOWItNDBhZi1hNzc1LWM0ZGMxYWJlNTZlZC9DbG91ZFNlcnZpY2Vz", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2013-03-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.Scheduler.CloudServiceManagementClient/3.0.0.0" + ] + }, + "ResponseBody": "\r\n \r\n AzCisIntRunnerWUS\r\n \r\n AzCisIntRunnerWUS\r\n West US\r\n \r\n \r\n WACis\r\n CisVault\r\n AzCisIntRunnerWUS\r\n \r\n 1.1\r\n 227f07eb-392b-4cc8-8972-baf13a6299f6\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n e7b9e848-2f14-47a9-9bad-d77ce5f0ed9a\r\n \r\n \r\n ResourceId\r\n 164364985811234912\r\n \r\n \r\n BackendStampId\r\n 7ef900f6-ad91-497d-a9c5-2742b7ed4a75\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n CisProdCSEA01\r\n \r\n 8a5ca166-7394-49c4-90bf-c5c10cc891bc\r\n East Asia\r\n \r\n \r\n WACiS\r\n CiSVault\r\n CisProdResEA01\r\n \r\n 1.1\r\n 5b45ac98-8cd8-45ca-993d-43643b03d5d5\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 64437628-f3e5-4d8a-928b-44b2c9889117\r\n \r\n \r\n ResourceId\r\n 4627730753422042572\r\n \r\n \r\n BackendStampId\r\n b0fbf6e0-4c86-4dc9-a74a-99f5148cfaab\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n CisProdCSNE01\r\n \r\n a6fcbf5d-433c-4248-ab3e-2d002847cbc1\r\n North Europe\r\n \r\n \r\n \r\n CisProdCSSEA01\r\n \r\n d5e0ba9a-f87e-4dc5-8c14-f0ff7389a40f\r\n Southeast Asia\r\n \r\n \r\n WACiS\r\n CiSVault\r\n CisProdResSEA01\r\n \r\n 1.1\r\n b8851cc1-98f1-4f57-852f-7179be0175f3\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 1cf1938f-b7f4-4be1-96e6-567e8057402b\r\n \r\n \r\n ResourceId\r\n 5075532093917877646\r\n \r\n \r\n BackendStampId\r\n 290b924d-c44a-41dc-89ee-a997105110c5\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n CisProdCSWE01\r\n \r\n fe1ced8c-78f1-4165-b60c-c40684f69300\r\n West Europe\r\n \r\n \r\n WACiS\r\n CiSVault\r\n CisProdResWE01\r\n \r\n 1.1\r\n f24cdf9e-ebe0-4acc-8cef-a4a46fe79c37\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n ff53cef6-1773-4067-8473-4f823067b722\r\n \r\n \r\n ResourceId\r\n 2009177452664442965\r\n \r\n \r\n BackendStampId\r\n 8e8b42d1-72f9-4506-9291-b48125c38d0f\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n CiSProdEACS01\r\n \r\n f2cb7490-fc5f-4292-8d46-d8d08c677f78\r\n East Asia\r\n \r\n \r\n \r\n CiSProdNECS01\r\n \r\n 2319d679-db7d-44ed-a90b-0fac9ccfeff8\r\n North Europe\r\n \r\n \r\n \r\n CiSProdNECS02\r\n \r\n 0ae9fbd2-0f15-4d30-9d0c-052bf8a374b4\r\n North Europe\r\n \r\n \r\n \r\n CiSProdSEACS01\r\n \r\n f3900e44-ace6-4d11-8e1b-8ee42102b450\r\n Southeast Asia\r\n \r\n \r\n \r\n CiSProdWECS01\r\n \r\n a3052591-2669-47ce-98ab-337c5fb9db20\r\n West Europe\r\n \r\n \r\n \r\n CiSProdWECS02\r\n \r\n 0dbeae1e-4e4d-4cf0-97ea-04300b1ae771\r\n West Europe\r\n \r\n \r\n \r\n CisService-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-Australia-East\r\n \r\n 39509ffc-374f-4eeb-aa67-7c10ea817d46\r\n Australia East\r\n \r\n \r\n \r\n CisService-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-Australia-Southeast\r\n \r\n b25d9509-76a1-4e4e-9896-46f72b02ff11\r\n Australia Southeast\r\n \r\n \r\n \r\n CisService-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-east-asia\r\n \r\n 063a9747-e74e-42a0-a934-e907f0ae62ff\r\n east asia\r\n \r\n \r\n \r\n CisService-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-east-us\r\n \r\n d5aa1928-d752-4aec-8863-925d5810eddd\r\n east us\r\n \r\n \r\n WACis\r\n CisVault\r\n eus1410smoketest\r\n \r\n 1.1\r\n ac5750ee-5b1b-488a-9b95-aa351c57927a\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 8f764ff5-e5cf-48ad-83ad-941967b2b3de\r\n \r\n \r\n ResourceId\r\n 280409181064783549\r\n \r\n \r\n BackendStampId\r\n 8ba344e5-fd0a-46f1-8df3-34295e520f28\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n CisService-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-japan-east\r\n \r\n 9ac4dc08-77b3-40b7-a4ff-18f546e7cb67\r\n japan east\r\n \r\n \r\n WACis\r\n CisVault\r\n PreQfe2Res\r\n \r\n 1.1\r\n 6d6526a5-e3b0-487b-94e0-3ea37304d02d\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 1fdbbe77-1522-48a0-b8bb-08fc3a5538a0\r\n \r\n \r\n ResourceId\r\n 6617468074916048322\r\n \r\n \r\n BackendStampId\r\n 1b48cca2-9a1a-441d-a9e3-efa8043c61bf\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n CisService-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-japan-west\r\n \r\n f634db14-e5e4-4c74-b0d1-112088bae978\r\n japan west\r\n \r\n \r\n WACis\r\n CisVault\r\n jpwSmokeTestrajsing\r\n \r\n 1.1\r\n 997c1105-f304-411f-b075-285ab4a10e70\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n a84366fd-4dbc-48aa-a3b7-ae61bea20620\r\n \r\n \r\n ResourceId\r\n 1538313057736326684\r\n \r\n \r\n BackendStampId\r\n 1a9ce821-796d-4402-a594-a6eae5767ad8\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n CisService-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-north-europe\r\n \r\n 31be64d6-8656-4c44-aab4-f57329d39317\r\n north europe\r\n \r\n \r\n WACis\r\n CisVault\r\n nesmoke1410\r\n \r\n 1.1\r\n cf9c0707-0b7f-4802-8e9c-dd9a4fc5b81a\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 5bbb0b31-877c-4d43-9f55-bfde5b22e284\r\n \r\n \r\n ResourceId\r\n 9009498038937266079\r\n \r\n \r\n BackendStampId\r\n 1001f743-93e2-4b98-8e3a-8891b96c9967\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n CisService-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-southeast-asia\r\n \r\n cfd274d6-a650-4521-ac6d-2357512bf2da\r\n southeast asia\r\n \r\n \r\n WACis\r\n CisVault\r\n Oct29SaaSBugBash\r\n \r\n 1.1\r\n 45f83bb9-f30f-4a02-92e1-27a09beae9bc\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n 1cf1938f-b7f4-4be1-96e6-567e8057402b\r\n \r\n \r\n ResourceId\r\n 1140492213348126260\r\n \r\n \r\n BackendStampId\r\n 290b924d-c44a-41dc-89ee-a997105110c5\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n CisService-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-west-europe\r\n \r\n 9662b3da-b74b-4773-a3c4-c520e4566795\r\n west europe\r\n \r\n \r\n WACis\r\n CisVault\r\n azcistest1208\r\n \r\n 1.1\r\n c23da0f9-1623-4d31-a3ad-88ce4b83c868\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n ff53cef6-1773-4067-8473-4f823067b722\r\n \r\n \r\n ResourceId\r\n 826983654462536656\r\n \r\n \r\n BackendStampId\r\n 8e8b42d1-72f9-4506-9291-b48125c38d0f\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n WACis\r\n CisVault\r\n bvtsignoff0311\r\n \r\n 1.1\r\n 274882c4-548e-4d6e-9448-3e123d83e0e1\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n ff53cef6-1773-4067-8473-4f823067b722\r\n \r\n \r\n ResourceId\r\n 3958653693786389562\r\n \r\n \r\n BackendStampId\r\n 8e8b42d1-72f9-4506-9291-b48125c38d0f\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n CisService-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-west-us\r\n \r\n 8a433d75-e7ba-4062-b9ea-02be05a6b474\r\n west us\r\n \r\n \r\n WACis\r\n CisVault\r\n OneSDK-avirupch\r\n \r\n 1.1\r\n 0537b90c-21c0-4d41-b1ce-48cdbb5dc98d\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n e7b9e848-2f14-47a9-9bad-d77ce5f0ed9a\r\n \r\n \r\n ResourceId\r\n 7541213550276549295\r\n \r\n \r\n BackendStampId\r\n 7ef900f6-ad91-497d-a9c5-2742b7ed4a75\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n WACis\r\n CisVault\r\n OneSDK-avirupch2\r\n \r\n 1.1\r\n ee3a7da5-d122-42eb-b02b-dd6161fc626b\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n e7b9e848-2f14-47a9-9bad-d77ce5f0ed9a\r\n \r\n \r\n ResourceId\r\n 7165349060819837375\r\n \r\n \r\n BackendStampId\r\n 7ef900f6-ad91-497d-a9c5-2742b7ed4a75\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n WACis\r\n CisVault\r\n OneSDK-Resource\r\n \r\n 1.1\r\n df9da875-d5b9-47f3-a8d1-a5819e56a898\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n e7b9e848-2f14-47a9-9bad-d77ce5f0ed9a\r\n \r\n \r\n ResourceId\r\n 1975530557201809476\r\n \r\n \r\n BackendStampId\r\n 7ef900f6-ad91-497d-a9c5-2742b7ed4a75\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n CloudServiceCisVaultST141031EA\r\n \r\n CloudServiceCisVaultST141031EA\r\n East Asia\r\n \r\n \r\n \r\n CloudServiceCisVaultST14113EUS\r\n \r\n CloudServiceCisVaultST14113EUS\r\n East US\r\n \r\n \r\n \r\n CloudServiceCisVaultST14113JPE\r\n \r\n CloudServiceCisVaultST14113JPE\r\n Japan East\r\n \r\n \r\n \r\n CloudServiceCisVaultST14113JPW\r\n \r\n CloudServiceCisVaultST14113JPW\r\n Japan West\r\n \r\n \r\n \r\n CloudServiceCisVaultST14113NE\r\n \r\n CloudServiceCisVaultST14113NE\r\n North Europe\r\n \r\n \r\n \r\n CloudServiceCisVaultST14113SEA\r\n \r\n CloudServiceCisVaultST14113SEA\r\n Southeast Asia\r\n \r\n \r\n \r\n CloudServiceCisVaultST14113WE\r\n \r\n CloudServiceCisVaultST14113WE\r\n West Europe\r\n \r\n \r\n \r\n CloudServiceCisVaultST14113WUS\r\n \r\n CloudServiceCisVaultST14113WUS\r\n West US\r\n \r\n \r\n \r\n CloudServiceCisVaultST14114SEA\r\n \r\n CloudServiceCisVaultST14114SEA\r\n Southeast Asia\r\n \r\n \r\n \r\n japancs\r\n \r\n 2b192d62-ca75-4cb5-8736-1e8b30afec32\r\n Japan East\r\n \r\n \r\n \r\n japancsw\r\n \r\n 3b679670-756f-4603-bc0d-ab75c0eaa6fb\r\n Japan West\r\n \r\n \r\n \r\n MyCloudService\r\n \r\n 5bfde7b9-ab53-420c-9adc-f77554ee492b\r\n Japan West\r\n \r\n \r\n WACiS\r\n CiSVault\r\n JPWsmoketestJohn\r\n \r\n 1.1\r\n fda2e259-d101-4723-b727-fb11e33a7436\r\n Started\r\n Ok\r\n \r\n \r\n StampId\r\n a84366fd-4dbc-48aa-a3b7-ae61bea20620\r\n \r\n \r\n ResourceId\r\n 6778614164335460954\r\n \r\n \r\n BackendStampId\r\n 1a9ce821-796d-4402-a594-a6eae5767ad8\r\n \r\n \r\n \r\n Create\r\n Succeeded\r\n \r\n \r\n \r\n \r\n \r\n ParvezPSTest\r\n \r\n 63b8154c-3395-4566-bdc6-f1eb76fc8f89\r\n West US\r\n \r\n \r\n \r\n RecoveryServices-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-east-asia\r\n \r\n 9fac8b3d-4795-494b-ad8a-3dc00d8c03e8\r\n east asia\r\n \r\n \r\n \r\n RecoveryServices-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-east-us\r\n \r\n a41e4655-2e73-4e97-bb71-7d39e3f6191b\r\n east us\r\n \r\n \r\n \r\n RecoveryServices-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-southeast-asia\r\n \r\n 3fcbc01e-5b95-4770-bfba-252f07e28838\r\n southeast asia\r\n \r\n \r\n \r\n RecoveryServices-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-west-europe\r\n \r\n c8854e24-afa3-4d7f-91af-58fedd6e7ca9\r\n west europe\r\n \r\n \r\n \r\n RecoveryServices-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-west-us\r\n \r\n 81528a97-8b3c-4516-b682-21c8c946a668\r\n west us\r\n \r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "19405" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-request-id": [ + "a783003796f85876b2d829114d73d179" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Dec 2014 12:15:23 GMT" + ], + "Server": [ + "1.0.6198.167", + "(rd_rdfe_stable.141203-1417)", + "Microsoft-HTTPAPI/2.0" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/062c67a6-019b-40af-a775-c4dc1abe56ed/cloudservices/CisService-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-west-us/resources/WACis/~/CiSVault/OneSDK-Resource/api/devices?api-version=2014-01-01.1.0", + "EncodedRequestUri": "LzA2MmM2N2E2LTAxOWItNDBhZi1hNzc1LWM0ZGMxYWJlNTZlZC9jbG91ZHNlcnZpY2VzL0Npc1NlcnZpY2UtRFRZSEM1TllCNEJVVFYzWkhGTlNFNUVLSVpaR0xHWVI0NE9KVUw1T1FHRzRJMkVNWU9aQS13ZXN0LXVzL3Jlc291cmNlcy9XQUNpcy9+L0NpU1ZhdWx0L09uZVNESy1SZXNvdXJjZS9hcGkvZGV2aWNlcz9hcGktdmVyc2lvbj0yMDE0LTAxLTAxLjEuMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "Accept-Language": [ + "en-US" + ], + "x-ms-client-request-id": [ + "dfb6c8e0-ec21-4d9c-8592-3137e9709fc3_PS" + ], + "x-ms-version": [ + "2014-01-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.StorSimple.StorSimpleManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "\r\n \r\n 0\r\n 2014-11-28T06:04:49.2510897Z\r\n Unknown\r\n 1097364144128\r\n 0\r\n en-US\r\n Unknown\r\n 0\r\n \r\n 29f9be68-04f7-437d-a466-b90a1ed324b5\r\n 6.3.9600.17215\r\n Avirupch_App3\r\n true\r\n false\r\n \r\n 100\r\n 6\r\n 2147483648\r\n 123456789\r\n Online\r\n iqn.1991-05.com.microsoft:storsimple100-123456789-target\r\n Pacific Standard Time\r\n 1099511627776\r\n Appliance\r\n 0\r\n 0\r\n \r\n \r\n 0\r\n 2014-12-11T17:33:21.6765566Z\r\n Unknown\r\n 32985348833280\r\n 0\r\n en-US\r\n Unknown\r\n 0\r\n \r\n 2b4bda4e-5ab6-4668-a681-ca47cee7ca64\r\n 6.3.9600.17215\r\n test-madhurta\r\n false\r\n false\r\n West US\r\n 1100\r\n 0\r\n 0\r\n 2B4BDA4E-5AB6-4668-A681-CA47CEE7CA64\r\n Offline\r\n iqn.1991-05.com.microsoft:storsimple1100-2b4bda4e-5ab6-4668-a681-ca47cee7ca64-target\r\n UTC\r\n 32985348833280\r\n VirtualAppliance\r\n 0\r\n 0\r\n \r\n", + "ResponseHeaders": { + "Content-Length": [ + "2472" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-client-request-id": [ + "dfb6c8e0-ec21-4d9c-8592-3137e9709fc3_PS,dfb6c8e0-ec21-4d9c-8592-3137e9709fc3_PS" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-request-id": [ + "8e392d1a633e584eb2f4d73996732373" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Dec 2014 12:15:28 GMT" + ], + "Server": [ + "1.0.6198.167", + "(rd_rdfe_stable.141203-1417)", + "Microsoft-HTTPAPI/2.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/062c67a6-019b-40af-a775-c4dc1abe56ed/cloudservices/CisService-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-west-us/resources/WACis/~/CiSVault/OneSDK-Resource/stamps/7ef900f6-ad91-497d-a9c5-2742b7ed4a75/secretmanagement/publickey?api-version=2014-01-01.1.0", + "EncodedRequestUri": "LzA2MmM2N2E2LTAxOWItNDBhZi1hNzc1LWM0ZGMxYWJlNTZlZC9jbG91ZHNlcnZpY2VzL0Npc1NlcnZpY2UtRFRZSEM1TllCNEJVVFYzWkhGTlNFNUVLSVpaR0xHWVI0NE9KVUw1T1FHRzRJMkVNWU9aQS13ZXN0LXVzL3Jlc291cmNlcy9XQUNpcy9+L0NpU1ZhdWx0L09uZVNESy1SZXNvdXJjZS9zdGFtcHMvN2VmOTAwZjYtYWQ5MS00OTdkLWE5YzUtMjc0MmI3ZWQ0YTc1L3NlY3JldG1hbmFnZW1lbnQvcHVibGlja2V5P2FwaS12ZXJzaW9uPTIwMTQtMDEtMDEuMS4w", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "Accept": [ + "application/xml" + ], + "Accept-Language": [ + "en-US" + ], + "x-ms-client-request-id": [ + "65f78ed2-7f3d-46d7-91a0-9cb6eccec419_PS" + ], + "x-ms-version": [ + "2014-01-01" + ], + "User-Agent": [ + "Microsoft.WindowsAzure.Management.StorSimple.StorSimpleManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "\r\n EAAAAH/n8WeCQBimBXNIArQtLGliov1nVuoOYLCry/yBWCdDFajYwo6v7PKBYuEkv7I/lfvfh908SM5QQ/Vj5sUeZVLsck98NJuXv/ziR/VXbgSAjxIIDwpDlgBIV3dfhigen2dmp8SjKT2mCGZ81kDf0wub/vRo/ktp3tZbU0yJnP/ueTQo3pZco/J1mJMHCxjqymbFfRg54ex0Go/Z4CxjuNlTN1Pe7q7ohP61KxQ7o1R1qJdLHTaslOdYiSNzDrHNzrGjXEz322wlzZL6+hGRy7LQP06BO4xvJPIwF4k0+k/U0AQ4GtotQ9KWyDeEjuwN2htEOSkwzRnetnzBX45129CkrzyvdeGI4clZz8KOrcMyIUL66hXyK9e1gyllLU+0aU1HEQ127dJwrHYtHYdw/UjPFlVJFi2DpO6SWJCCX13DOpvCeMvrdvyHp40Y/j+Uvg7miKRWrvRnuKLoxhgAPhX4SL4Py2CHQmodp+Yl5Mqv+arqv4EwZH+Pjo4AOYJzyJ/xJma3cBK9VXsVw4B6r392EUdscf+WRY4lL2VoEVbmXklUIMlmecyDaCxiZblzFreD1DJyOTJrlZIvQXKj7zmm8RjY+p54Sivc5RZ21Swk7nWtTArZlr7zf3B394TnzfdIcqLR6hkOw6cH1bkJEivEtkxmv8mKRywmYnsCo1F0GEtZOE+b/xjqnTcG+JUAXJ8vErUMkwmE2sXGr9F6DZuBOqXYtHh0XNorl78DzYRnMcANQYTJ9JG9LUN7Tp9NzqfApKL6Vxe1IgUyuO+XR0DauEaGmZTAZIK3OzVFO2SU6ASmlnjZT5Rzk8GGi1unvWQYyhwHHNlMqsoWl1R5ugeD5dy5STXOOGUGrBDLS2P3vS52Id/x+bBc/Zv8i+V7EOt2103Ejs5VeCaDBbFWPa7AKnUjrI7nUCtHfVXJRCx8t0aqAPfYRImcve2phrSzR6LxwzhlgsPjG5JWJGuYEcCd6CJw9fOmX98WptHPOGUaxlOBqqCGjOK98oCwZN/EaPueB9ry9/RAxcioNhuc20EnqMBGXzj1j2a1Eyu022IC/nkmiKvFEnl6YA0uU+iG+aC7CQxJcindk7CSoazDJwWwnueVxGy1w2cCu03giUvnRmBhs8UyZqDEE4ASx4fq+g/d6TWSZGgJd713XhNGSsyaAfuB6jowkxp2ayhqSSigDPYy1DDrGYCf2msxTBVoRquWJkXMV8O0J8XbflIIs07hAYLl6SllR11Aoskp9owpryREzTAm+dhm9ZX8ChGJU02mgFD+2iAaFNyWAwmM2xShTXCq7AnfJ7fJIwNaT/VjeJlaQx8ch7lIWFxsMOjohNl2z5dGdid3LLPmMueBx+RvO91RAj50zQEgnPUq5Fb6pxEHrQahC4Q1i47NKmHb2LXmqnyvSQgqeQeeNw1WqsKVtVgGsUl/cqwMTbdd/u6mG9Mr5y8Rw0kW829Yf48mcw29bi6Ye3vNUb64HRgnBVozKlRK3AVKj9IgDHzu7MwEb+zxDUS3m2r5cnXH69U/uA==\r\n \r\n 24260B738017EE3EBE3CC75225A3ABB204D871A0\r\n", + "ResponseHeaders": { + "Content-Length": [ + "1862" + ], + "Content-Type": [ + "application/xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-servedbyregion": [ + "ussouth2" + ], + "x-ms-client-request-id": [ + "65f78ed2-7f3d-46d7-91a0-9cb6eccec419_PS,65f78ed2-7f3d-46d7-91a0-9cb6eccec419_PS" + ], + "Strict-Transport-Security": [ + "max-age=15724800; includeSubDomains,max-age=15724800; includeSubDomains" + ], + "x-ms-request-id": [ + "009d30c69fca5207b552d0cd9a849566" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Dec 2014 12:15:28 GMT" + ], + "Server": [ + "1.0.6198.167", + "(rd_rdfe_stable.141203-1417)", + "Microsoft-HTTPAPI/2.0" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "062c67a6-019b-40af-a775-c4dc1abe56ed" + } +} \ No newline at end of file diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/packages.config b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/packages.config new file mode 100644 index 000000000000..30c1f4e2b482 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/packages.config @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupPolicy/GetAzureStorSimpleDeviceBackupPolicy.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupPolicy/GetAzureStorSimpleDeviceBackupPolicy.cs new file mode 100644 index 000000000000..2232f64e4d9d --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupPolicy/GetAzureStorSimpleDeviceBackupPolicy.cs @@ -0,0 +1,88 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Linq; +using System.Management.Automation; +using Microsoft.WindowsAzure.Management.StorSimple.Models; +using Microsoft.WindowsAzure; +using System; +using System.Collections.Generic; +using Microsoft.WindowsAzure.Commands.Utilities.CloudService; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + /// + /// commandlet that returns one or more BackupPolicy objects for a given DeviceName and BackupPolicyName + /// + [Cmdlet(VerbsCommon.Get, "AzureStorSimpleDeviceBackupPolicy"), + OutputType(typeof(IList), typeof(BackupPolicyDetails))] + public class GetAzureStorSimpleDeviceBackupPolicy:StorSimpleCmdletBase + { + private string deviceId = null; + + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceName)] + [ValidateNotNullOrEmptyAttribute] + public string DeviceName { get; set; } + + [Alias("Name")] + [Parameter(Position = 1, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageBackupPolicyName)] + public string BackupPolicyName { get; set; } + + public override void ExecuteCmdlet() + { + try + { + if (!ProcessParameters()) + return; + if (string.IsNullOrEmpty(BackupPolicyName)) + { + BackupPolicyListResponse backupPolicyList = null; + backupPolicyList = StorSimpleClient.GetAllBackupPolicies(deviceId); + WriteObject(backupPolicyList.BackupPolicies); + WriteVerbose(string.Format(Resources.BackupPolicyGet_StatusMessage, backupPolicyList.BackupPolicies.Count, backupPolicyList.BackupPolicies.Count > 1 ? "ies" : "y")); + } + else + { + GetBackupPolicyDetailsResponse backupPolicyDetail = null; + backupPolicyDetail = StorSimpleClient.GetBackupPolicyByName(deviceId, BackupPolicyName); + if (string.IsNullOrEmpty(backupPolicyDetail.BackupPolicyDetails.InstanceId)) + WriteVerbose(string.Format(Resources.NoBackupPolicyWithGivenNameFound,BackupPolicyName,DeviceName)); + else + { + WriteObject(backupPolicyDetail.BackupPolicyDetails); + WriteVerbose(string.Format(Resources.BackupPolicyFound, backupPolicyDetail.BackupPolicyDetails.InstanceId)); + } + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + private bool ProcessParameters() + { + deviceId = StorSimpleClient.GetDeviceId(DeviceName); + + if (deviceId == null) + { + WriteVerbose(string.Format(Resources.NoDeviceFoundWithGivenNameInResourceMessage, StorSimpleContext.ResourceName, DeviceName)); + WriteObject(null); + return false; + } + return true; + } + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupPolicy/NewAzureStorSimpleDeviceBackupPolicy.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupPolicy/NewAzureStorSimpleDeviceBackupPolicy.cs new file mode 100644 index 000000000000..953b7e90a8e4 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupPolicy/NewAzureStorSimpleDeviceBackupPolicy.cs @@ -0,0 +1,138 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Linq; +using System.Management.Automation; +using Microsoft.WindowsAzure.Management.StorSimple.Models; +using Microsoft.WindowsAzure; +using System; +using System.Collections.Generic; +using Microsoft.WindowsAzure.Commands.Utilities.CloudService; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + /// + /// this commandlet will let you create a new backuppolicy with schedules + /// + [Cmdlet(VerbsCommon.New, "AzureStorSimpleDeviceBackupPolicy")] + public class NewAzureStorSimpleDeviceBackupPolicy:StorSimpleCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceName)] + [ValidateNotNullOrEmptyAttribute] + public string DeviceName { get; set; } + + [Parameter(Position = 1, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageNewBackupPolicyName)] + [ValidateNotNullOrEmptyAttribute] + public string BackupPolicyName { get; set; } + + [Parameter(Position = 2, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageBackupsToAddList)] + public PSObject[] BackupSchedulesToAdd { get; set; } + + [Parameter(Position = 3, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageVolumeIdsToAddList)] + public PSObject[] VolumeIdsToAdd { get; set; } + + [Parameter(Position = 4, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageWaitTillComplete)] + public SwitchParameter WaitForComplete { get; set; } + + private string deviceId = null; + private List volumeIdsToAddList = null; + private NewBackupPolicyConfig newConfig = null; + + public override void ExecuteCmdlet() + { + try + { + newConfig = new NewBackupPolicyConfig(); + newConfig.Name = BackupPolicyName; + + if (!ProcessParameters()) + return; + + if (WaitForComplete.IsPresent) + { + var taskStatusInfo = StorSimpleClient.CreateBackupPolicy(deviceId, newConfig); + HandleSyncTaskResponse(taskStatusInfo, "add"); + if (taskStatusInfo.AsyncTaskAggregatedResult == AsyncTaskAggregatedResult.Succeeded) + { + var createdBackupPolicy = StorSimpleClient.GetBackupPolicyByName(deviceId, BackupPolicyName); + WriteObject(createdBackupPolicy.BackupPolicyDetails); + } + } + else + { + var taskresult = StorSimpleClient.CreateBackupPolicyAsync(deviceId, newConfig); + HandleAsyncTaskResponse(taskresult, "add"); + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + private bool ProcessParameters() + { + deviceId = StorSimpleClient.GetDeviceId(DeviceName); + if (deviceId == null) + { + WriteVerbose(string.Format(Resources.NoDeviceFoundWithGivenNameInResourceMessage, StorSimpleContext.ResourceName, DeviceName)); + WriteObject(null); + return false; + } + + ProcessAddSchedules(); + ProcessAddVolumeIds(); + return true; + } + + /// + /// reads the PSObject[] containing BackupSchedule objects and generates a list out of them + /// + private void ProcessAddSchedules() + { + newConfig.BackupSchedules = new List(); + if (BackupSchedulesToAdd.Length > 0) + { + foreach (var addSchedule in BackupSchedulesToAdd) + { + newConfig.BackupSchedules.Add((BackupScheduleBase) addSchedule.BaseObject); + } + } + else + { + throw new ArgumentException(Resources.InvalidBackupSchedulesToAddParameter); + } + } + + /// + /// reads the PSObject[] containing VolumeId objects (string) and generates a list out of them + /// + private void ProcessAddVolumeIds() + { + volumeIdsToAddList = new List(); + if (VolumeIdsToAdd.Length > 0) + { + foreach (var volume in VolumeIdsToAdd) + { + volumeIdsToAddList.Add((string) volume.BaseObject); + } + } + else + { + throw new ArgumentException(Resources.InvalidVolumeIdsToAddParameter); + } + newConfig.VolumeIds = volumeIdsToAddList; + } + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupPolicy/NewAzureStorSimpleDeviceBackupScheduleAddConfig.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupPolicy/NewAzureStorSimpleDeviceBackupScheduleAddConfig.cs new file mode 100644 index 000000000000..1c708fa20bf4 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupPolicy/NewAzureStorSimpleDeviceBackupScheduleAddConfig.cs @@ -0,0 +1,76 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.WindowsAzure.Management.StorSimple.Models; +using Microsoft.WindowsAzure; +using System; +using System.Collections.Generic; +using Microsoft.WindowsAzure.Commands.Utilities.CloudService; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + /// + /// this commandlet will help in creating a new Addconfig that can be used to create a new BackupPolicy subsequently + /// + [Cmdlet(VerbsCommon.New, "AzureStorSimpleDeviceBackupScheduleAddConfig"),OutputType(typeof(BackupScheduleBase))] + public class NewAzureStorSimpleDeviceBackupScheduleAddConfig : StorSimpleCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageBackupTypeDesc)] + [ValidateNotNullOrEmptyAttribute] + [ValidateSet("LocalSnapshot", "CloudSnapshot")] + public string BackupType { get; set; } + + [Parameter(Position = 1, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageRecurrenceTypeDesc)] + [ValidateNotNullOrEmptyAttribute] + [ValidateSet("Minutes", "Hourly", "Daily", "Weekly")] + public string RecurrenceType { get; set; } + + [Parameter(Position = 2, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageRecurrenceValueDesc)] + [ValidateNotNullOrEmptyAttribute] + public int RecurrenceValue { get; set; } + + [Parameter(Position = 3, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageRetentionCountDesc)] + [ValidateNotNullOrEmptyAttribute] + public long RetentionCount { get; set; } + + [Parameter(Position = 4, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageBackupStartFromDesc)] + public string StartFromDateTime { get; set; } + + [Parameter(Position = 5, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageBackupEnabledDesc)] + public bool Enabled { get; set; } + + public override void ExecuteCmdlet() + { + try + { + BackupScheduleBase newScheduleObject = new BackupScheduleBase(); + newScheduleObject.BackupType = (BackupType)Enum.Parse(typeof(BackupType), BackupType); + newScheduleObject.Status = Enabled ? ScheduleStatus.Enabled : ScheduleStatus.Disabled; + newScheduleObject.RetentionCount = RetentionCount; + newScheduleObject.StartTime = StartFromDateTime; + newScheduleObject.Recurrence = new ScheduleRecurrence(); + newScheduleObject.Recurrence.RecurrenceType = (RecurrenceType)Enum.Parse(typeof(RecurrenceType), RecurrenceType); + newScheduleObject.Recurrence.RecurrenceValue = RecurrenceValue; + StorSimpleClient.ValidateBackupScheduleBase(newScheduleObject); + WriteObject(newScheduleObject); + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupPolicy/NewAzureStorSimpleDeviceBackupScheduleUpdateConfig.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupPolicy/NewAzureStorSimpleDeviceBackupScheduleUpdateConfig.cs new file mode 100644 index 000000000000..93d2d78cffb6 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupPolicy/NewAzureStorSimpleDeviceBackupScheduleUpdateConfig.cs @@ -0,0 +1,83 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.WindowsAzure.Management.StorSimple.Models; +using Microsoft.WindowsAzure; +using System; +using System.Collections.Generic; +using Microsoft.WindowsAzure.Commands.Utilities.CloudService; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + + /// + /// this commandlet will help in creating a new updateconfig that can be used to update an existing backuppolicy subsequently + /// + [Cmdlet(VerbsCommon.New, "AzureStorSimpleDeviceBackupScheduleUpdateConfig"), OutputType(typeof(BackupScheduleUpdateRequest))] + public class NewAzureStorSimpleDeviceBackupScheduleUpdateConfig:StorSimpleCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageBackupScheduleId)] + [ValidateNotNullOrEmptyAttribute] + public string Id { get; set; } + + [Parameter(Position = 1, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageBackupTypeDesc)] + [ValidateNotNullOrEmptyAttribute] + [ValidateSet("LocalSnapshot", "CloudSnapshot")] + public string BackupType { get; set; } + + [Parameter(Position = 2, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageRecurrenceTypeDesc)] + [ValidateNotNullOrEmptyAttribute] + [ValidateSet("Minutes", "Hourly", "Daily", "Weekly")] + public string RecurrenceType { get; set; } + + [Parameter(Position = 3, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageRecurrenceValueDesc)] + [ValidateNotNullOrEmptyAttribute] + public int RecurrenceValue { get; set; } + + [Parameter(Position = 4, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageRetentionCountDesc)] + [ValidateNotNullOrEmptyAttribute] + public long RetentionCount { get; set; } + + [Parameter(Position = 5, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageBackupStartFromDesc)] + public string StartFromDateTime { get; set; } + + [Parameter(Position = 6, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageBackupEnabledDesc)] + public bool Enabled { get; set; } + + public override void ExecuteCmdlet() + { + try + { + BackupScheduleUpdateRequest updateScheduleObject = new BackupScheduleUpdateRequest(); + updateScheduleObject.BackupType = (BackupType)Enum.Parse(typeof(BackupType), BackupType); + updateScheduleObject.Status = Enabled ? ScheduleStatus.Enabled : ScheduleStatus.Disabled; + updateScheduleObject.RetentionCount = RetentionCount; + updateScheduleObject.StartTime = StartFromDateTime; + updateScheduleObject.Recurrence = new ScheduleRecurrence(); + updateScheduleObject.Recurrence.RecurrenceType = (RecurrenceType)Enum.Parse(typeof(RecurrenceType), RecurrenceType); + updateScheduleObject.Recurrence.RecurrenceValue = RecurrenceValue; + updateScheduleObject.Id = Id; + StorSimpleClient.ValidateBackupScheduleUpdateRequest(updateScheduleObject); + WriteObject(updateScheduleObject); + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupPolicy/RemoveAzureStorSimpleDeviceBackupPolicy.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupPolicy/RemoveAzureStorSimpleDeviceBackupPolicy.cs new file mode 100644 index 000000000000..cdd4f583bc2a --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupPolicy/RemoveAzureStorSimpleDeviceBackupPolicy.cs @@ -0,0 +1,117 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System.Linq; +using System.Management.Automation; +using Microsoft.WindowsAzure.Management.StorSimple.Models; +using Microsoft.WindowsAzure; +using System; +using System.Collections.Generic; +using Microsoft.WindowsAzure.Commands.Utilities.CloudService; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + [Cmdlet(VerbsCommon.Remove, "AzureStorSimpleDeviceBackupPolicy", DefaultParameterSetName = StorSimpleCmdletParameterSet.IdentifyById)] + public class RemoveAzureStorSimpleDeviceBackupPolicy : StorSimpleCmdletBase + { + private string deviceId = null; + + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceName, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyById)] + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceName, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyByObject)] + [ValidateNotNullOrEmptyAttribute] + public string DeviceName { get; set; } + + [Parameter(Position = 1, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageBackupPolicyIdToDelete, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyById)] + public string BackupPolicyId { get; set; } + + [Parameter(Position = 1, Mandatory = true, ValueFromPipeline = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageBackupPolicyToDelete, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyByObject)] + public BackupPolicyDetails BackupPolicy { get; set; } + + [Parameter(Position = 2, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageForce)] + public SwitchParameter Force { get; set; } + + [Parameter(Position = 3, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageWaitTillComplete)] + public SwitchParameter WaitForComplete { get; set; } + + private string backupPolicyIdFinal = null; + public override void ExecuteCmdlet() + { + try + { + if (!ProcessParameters()) + return; + ConfirmAction( + Force.IsPresent, + string.Format(Resources.RemoveASSDBackupPolicyWarningMessage, backupPolicyIdFinal), + string.Format(Resources.RemoveASSDBackupPolicyMessage, backupPolicyIdFinal), + backupPolicyIdFinal, + () => + { + if (WaitForComplete.IsPresent) + { + WriteVerbose("About to run a task to remove your backuppolicy!"); + var deleteTaskStatusInfo = StorSimpleClient.DeleteBackupPolicy(deviceId, backupPolicyIdFinal); + HandleSyncTaskResponse(deleteTaskStatusInfo, "remove"); + } + else + { + WriteVerbose("About to create a task to remove your backuppolicy!"); + var taskresult = StorSimpleClient.DeleteBackupPolicyAsync(deviceId, backupPolicyIdFinal); + HandleAsyncTaskResponse(taskresult, "remove"); + } + }); + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + private bool ProcessParameters() + { + deviceId = StorSimpleClient.GetDeviceId(DeviceName); + + if (deviceId == null) + { + WriteVerbose(string.Format(Resources.NoDeviceFoundWithGivenNameInResourceMessage, StorSimpleContext.ResourceName, DeviceName)); + WriteObject(null); + return false; + } + switch (ParameterSetName) + { + case StorSimpleCmdletParameterSet.IdentifyById: + Guid backuppolicyIdGuid; + bool isIdValidGuid = Guid.TryParse(BackupPolicyId,out backuppolicyIdGuid); + if (string.IsNullOrEmpty(BackupPolicyId) + || !isIdValidGuid) + throw new ArgumentException(Resources.InvalidBackupPolicyIdParameter); + else + { + backupPolicyIdFinal = BackupPolicyId; + } + break; + case StorSimpleCmdletParameterSet.IdentifyByObject: + if (BackupPolicy == null || string.IsNullOrEmpty(BackupPolicy.InstanceId)) + throw new ArgumentException(Resources.InvalidBackupPolicyObjectParameter); + else + { + backupPolicyIdFinal = BackupPolicy.InstanceId; + } + break; + } + return true; + } + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupPolicy/SetAzureStorSimpleDeviceBackupPolicy.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupPolicy/SetAzureStorSimpleDeviceBackupPolicy.cs new file mode 100644 index 000000000000..2e0e9d739f8e --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupPolicy/SetAzureStorSimpleDeviceBackupPolicy.cs @@ -0,0 +1,183 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Diagnostics; +using System.Linq; +using System.Management.Automation; +using Microsoft.WindowsAzure.Management.StorSimple.Models; +using Microsoft.WindowsAzure; +using System; +using System.Collections.Generic; +using Microsoft.WindowsAzure.Commands.Utilities.CloudService; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; +using System.Text.RegularExpressions; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + /// + /// this commandlet can be used to update an existing backuppolicy + /// + [Cmdlet(VerbsCommon.Set, "AzureStorSimpleDeviceBackupPolicy"), OutputType(typeof(BackupPolicyDetails))] + public class SetAzureStorSimpleDeviceBackupPolicy: StorSimpleCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceName)] + [ValidateNotNullOrEmptyAttribute] + public string DeviceName { get; set; } + + [Parameter(Position = 1, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageBackupPolicyIdToUpdate)] + [ValidateNotNullOrEmptyAttribute] + public string BackupPolicyId { get; set; } + + [Parameter(Position = 2, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageBackupPolicyNameChange)] + [ValidateNotNullOrEmptyAttribute] + public string BackupPolicyName { get; set; } + + [Parameter(Position = 3, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageBackupScheduleBaseObjsToAdd)] + public PSObject[] BackupSchedulesToAdd { get; set; } + + [Parameter(Position = 4, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageBackupScheduleBaseObjsToUpdate)] + public PSObject[] BackupSchedulesToUpdate { get; set; } + + [Parameter(Position = 5, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageBackupScheduleBaseObjsToDelete)] + public PSObject[] BackupScheduleIdsToDelete { get; set; } + + [Parameter(Position = 6, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageVolumeObjsToUpdate)] + public PSObject[] VolumeIdsToUpdate { get; set; } + + [Parameter(Position = 7, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageWaitTillComplete)] + public SwitchParameter WaitForComplete { get; set; } + + private string deviceId = null; + private List schedulesToAdd = null; + private List schedulesToUpdate = null; + private List scheduleIdsTodelete = null; + private List volumeIdsToUpdate = null; + + private UpdateBackupPolicyConfig updateConfig = null; + public override void ExecuteCmdlet() + { + try + { + updateConfig = new UpdateBackupPolicyConfig(); + if (!ProcessParameters()) + return; + + updateConfig.InstanceId = BackupPolicyId; + updateConfig.Name = BackupPolicyName; + updateConfig.IsPolicyRenamed = true; + updateConfig.BackupSchedulesToBeAdded = schedulesToAdd; + updateConfig.BackupSchedulesToBeUpdated = schedulesToUpdate; + updateConfig.BackupSchedulesToBeDeleted = scheduleIdsTodelete; + updateConfig.VolumeIds = volumeIdsToUpdate; + + if (WaitForComplete.IsPresent) + { + WriteVerbose("About to run a task to update your backuppolicy!"); + var taskStatusInfo = StorSimpleClient.UpdateBackupPolicy(deviceId, BackupPolicyId, updateConfig); + HandleSyncTaskResponse(taskStatusInfo, "update"); + if (taskStatusInfo.AsyncTaskAggregatedResult == AsyncTaskAggregatedResult.Succeeded) + { + var updatedBackupPolicy = StorSimpleClient.GetBackupPolicyByName(deviceId, BackupPolicyName); + WriteObject(updatedBackupPolicy.BackupPolicyDetails); + } + } + else + { + WriteVerbose("About to create a task to update your backuppolicy!"); + var taskresult = StorSimpleClient.UpdateBackupPolicyAsync(deviceId, BackupPolicyId, updateConfig); + HandleAsyncTaskResponse(taskresult, "Update"); + } + } + + catch(Exception exception) + { + this.HandleException(exception); + } + } + + + private bool ProcessParameters() + { + deviceId = StorSimpleClient.GetDeviceId(DeviceName); + if (deviceId == null) + { + WriteVerbose(string.Format(Resources.NoDeviceFoundWithGivenNameInResourceMessage, StorSimpleContext.ResourceName, DeviceName)); + WriteObject(null); + return false; + } + + ProcessAddSchedules(); + ProcessUpdateSchedules(); + ProcessDeleteScheduleIds(); + ProcessUpdateVolumeIds(); + return true; + } + + private void ProcessAddSchedules() + { + if (BackupSchedulesToAdd!=null && BackupSchedulesToAdd.Length > 0) + { + schedulesToAdd = new List(); + foreach (var addSchedule in BackupSchedulesToAdd) + { + BackupScheduleBase backupSchedule = (BackupScheduleBase)addSchedule.BaseObject; + schedulesToAdd.Add(backupSchedule); + } + } + updateConfig.BackupSchedulesToBeAdded = schedulesToAdd; + } + + private void ProcessUpdateSchedules() + { + if (BackupSchedulesToUpdate!=null && BackupSchedulesToUpdate.Length > 0) + { + schedulesToUpdate = new List(); + foreach (var updateSchedule in BackupSchedulesToUpdate) + { + BackupScheduleUpdateRequest updateschedule = (BackupScheduleUpdateRequest) updateSchedule.BaseObject; + schedulesToUpdate.Add(updateschedule); + } + } + updateConfig.BackupSchedulesToBeUpdated = schedulesToUpdate; + } + + private void ProcessDeleteScheduleIds() + { + if (BackupScheduleIdsToDelete!=null && BackupScheduleIdsToDelete.Length > 0) + { + scheduleIdsTodelete = new List(); + foreach (var deleteSchedule in BackupScheduleIdsToDelete) + { + string scheduleIdToDelete = (string)deleteSchedule.BaseObject; + scheduleIdsTodelete.Add(scheduleIdToDelete); + } + } + updateConfig.BackupSchedulesToBeDeleted = scheduleIdsTodelete; + } + + private void ProcessUpdateVolumeIds() + { + if (VolumeIdsToUpdate!=null && VolumeIdsToUpdate.Length > 0) + { + volumeIdsToUpdate = new List(); + foreach (var volume in VolumeIdsToUpdate) + { + string volumeId = (string)volume.BaseObject; + volumeIdsToUpdate.Add(volumeId); + } + } + updateConfig.VolumeIds = volumeIdsToUpdate; + } + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupSet/GetAzureStorSimpleDeviceBackup.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupSet/GetAzureStorSimpleDeviceBackup.cs new file mode 100644 index 000000000000..ebc1a4e7e9f0 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupSet/GetAzureStorSimpleDeviceBackup.cs @@ -0,0 +1,171 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Linq; +using System.Management.Automation; +using Microsoft.WindowsAzure.Management.StorSimple.Models; +using Microsoft.WindowsAzure; +using System; +using System.Collections.Generic; +using Microsoft.WindowsAzure.Commands.Utilities.CloudService; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + [Cmdlet(VerbsCommon.Get, "AzureStorSimpleDeviceBackup", DefaultParameterSetName = StorSimpleCmdletParameterSet.Empty),OutputType(typeof(GetBackupResponse))] + public class GetAzureStorSimpleDeviceBackup: StorSimpleCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceName, ParameterSetName = StorSimpleCmdletParameterSet.Empty)] + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceName, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyById)] + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceName, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyById2)] + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceName, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyByObject)] + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceName, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyByObject2)] + [ValidateNotNullOrEmptyAttribute] + public string DeviceName { get; set; } + + [Parameter(Position = 1, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageBackupPolicyId, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyById)] + public string BackupPolicyId { get; set; } + + [Parameter(Position = 1, Mandatory = true, HelpMessage =StorSimpleCmdletHelpMessage.HelpMessageVolumeIdForBackup , ParameterSetName = StorSimpleCmdletParameterSet.IdentifyById2)] + public string VolumeId { get; set; } + + [Alias("BackupPolicyDetails")] + [Parameter(Position = 1, Mandatory = true, ValueFromPipeline = true, HelpMessage =StorSimpleCmdletHelpMessage.HelpMessageBackupPolicyDetailsObject ,ParameterSetName = StorSimpleCmdletParameterSet.IdentifyByObject)] + public BackupPolicyDetails BackupPolicy { get; set; } + + [Alias("VirtualDiskInfo")] + [Parameter(Position = 1, Mandatory = true, ValueFromPipeline = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageVolumeObject, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyByObject2)] + public VirtualDisk Volume { get; set; } + + [Parameter(Position = 2, Mandatory = false, HelpMessage =StorSimpleCmdletHelpMessage.HelpMessageStartFrom )] + public string From { get; set; } + + [Parameter(Position = 3, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageEndTime)] + public string To { get; set; } + + [Parameter(Position = 4, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageFirstDesc)] + [ValidateRange(0, Int32.MaxValue)] + public int? First { get; set; } + + [Parameter(Position = 5, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageSkipDesc)] + [ValidateRange(0, Int32.MaxValue)] + public int? Skip { get; set; } + + private string deviceId = null; + private string IdToPass; + private string isAllSelected; + private string filterType; + private DateTime FromDateTime; + private DateTime ToDateTime; + + public override void ExecuteCmdlet() + { + try + { + if (!ProcessParameters()) return; + GetBackupResponse backupList = null; + backupList = StorSimpleClient.GetAllBackups(deviceId, filterType, isAllSelected, IdToPass, + FromDateTime.ToString(), + ToDateTime.ToString(), Skip == null ? "0" : Skip.ToString(), First == null ? null : First.ToString()); + WriteObject(backupList.BackupSetsList, true); + WriteVerbose(string.Format(Resources.BackupsReturnedCount, backupList.BackupSetsList.Count)); + if (backupList.NextPageUri != null + && backupList.NextPageStartIdentifier!="1") + { + if (First != null) + { + //user has provided First(Top) parameter while calling the commandlet + //so we need to provide it to him for calling the next page + WriteVerbose(string.Format(Resources.BackupNextPageFormatMessage, First, backupList.NextPageStartIdentifier)); + } + else + { + //user has NOT provided First(Top) parameter while calling the commandlet + //so we DONT need to provide it to him for calling the next page + WriteVerbose(string.Format(Resources.BackupNextPagewithNoFirstMessage, backupList.NextPageStartIdentifier)); + } + } + else + { + WriteVerbose(Resources.BackupNoMorePagesMessage); + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + private bool ProcessParameters() + { + deviceId = StorSimpleClient.GetDeviceId(DeviceName); + + if (deviceId == null) + { + WriteVerbose(string.Format(Resources.NoDeviceFoundWithGivenNameInResourceMessage, StorSimpleContext.ResourceName, DeviceName)); + WriteObject(null); + return false; + } + + if (string.IsNullOrEmpty(From)) + FromDateTime = DateTime.MinValue; + else + { + bool result = DateTime.TryParse(From, out FromDateTime); + if (!result) + throw new ArgumentException(Resources.InvalidFromMessage); + } + if (string.IsNullOrEmpty(To)) + ToDateTime = DateTime.MaxValue; + else + { + bool result = DateTime.TryParse(To, out ToDateTime); + if (!result) + throw new ArgumentException(Resources.InvalidFromMessage); + } + + switch (ParameterSetName) + { + case StorSimpleCmdletParameterSet.IdentifyById: + filterType = "BackupPolicy"; + isAllSelected = Boolean.FalseString; + IdToPass = BackupPolicyId; + break; + case StorSimpleCmdletParameterSet.IdentifyById2: + filterType = "Volume"; + isAllSelected = Boolean.FalseString; + IdToPass = VolumeId; + break; + case StorSimpleCmdletParameterSet.IdentifyByObject: + filterType = "BackupPolicy"; + isAllSelected = Boolean.FalseString; + IdToPass = BackupPolicy.InstanceId; + break; + case StorSimpleCmdletParameterSet.IdentifyByObject2: + filterType = "Volume"; + isAllSelected = Boolean.FalseString; + IdToPass = Volume.InstanceId; + break; + default: + //case where only deviceName is passed + filterType = "BackupPolicy"; + isAllSelected = Boolean.TrueString; + IdToPass = null; + break; + } + return true; + } + + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupSet/RemoveAzureStorSimpleDeviceBackup.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupSet/RemoveAzureStorSimpleDeviceBackup.cs new file mode 100644 index 000000000000..2180c2486448 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupSet/RemoveAzureStorSimpleDeviceBackup.cs @@ -0,0 +1,118 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Linq; +using System.Management.Automation; +using System.Runtime.InteropServices.WindowsRuntime; +using Microsoft.WindowsAzure.Management.StorSimple.Models; +using Microsoft.WindowsAzure; +using System; +using System.Collections.Generic; +using Microsoft.WindowsAzure.Commands.Utilities.CloudService; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; + + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + /// + /// This commandlet will remove a given backup from the device + /// + [Cmdlet(VerbsCommon.Remove, "AzureStorSimpleDeviceBackup", DefaultParameterSetName = StorSimpleCmdletParameterSet.IdentifyById)] + public class RemoveAzureStorSimpleDeviceBackup:StorSimpleCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceName, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyById)] + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceName, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyByObject)] + [ValidateNotNullOrEmptyAttribute] + public string DeviceName { get; set; } + + + [Parameter(Position = 1, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageBackupIdToDelete,ParameterSetName = StorSimpleCmdletParameterSet.IdentifyById)] + public string BackupId { get; set; } + + [Parameter(Position = 1, Mandatory = true,ValueFromPipeline = true,HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageBackupIdToDelete,ParameterSetName = StorSimpleCmdletParameterSet.IdentifyByObject)] + public Backup Backup { get; set; } + + [Parameter(Position = 2, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageForce)] + public SwitchParameter Force { get; set; } + + [Parameter(Position = 3, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageWaitTillComplete)] + public SwitchParameter WaitForComplete { get; set; } + + private string deviceId = null; + private string finalBackupId = null; + + public override void ExecuteCmdlet() + { + try + { + if (!ProcessParameters()) return; + ConfirmAction( + Force.IsPresent, + string.Format(Resources.RemoveASSDBackupWarningMessage, finalBackupId), + string.Format(Resources.RemoveASSDBackupMessage, finalBackupId), + BackupId, + () => + { + + if (WaitForComplete.IsPresent) + { + var deleteTaskStatusInfo = StorSimpleClient.DeleteBackup(deviceId, finalBackupId); + HandleSyncTaskResponse(deleteTaskStatusInfo, "remove"); + } + else + { + var taskresult = StorSimpleClient.DeleteBackupAsync(deviceId, finalBackupId); + HandleAsyncTaskResponse(taskresult, "remove"); + } + }); + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + private bool ProcessParameters() + { + deviceId = StorSimpleClient.GetDeviceId(DeviceName); + + if (deviceId == null) + { + WriteVerbose(string.Format(Resources.NoDeviceFoundWithGivenNameInResourceMessage, StorSimpleContext.ResourceName, DeviceName)); + WriteObject(null); + return false; + } + switch (ParameterSetName) + { + case StorSimpleCmdletParameterSet.IdentifyById: + if (string.IsNullOrEmpty(BackupId)) + throw new ArgumentException(Resources.InvalidBackupIdParameter); + else + { + finalBackupId = BackupId; + } + break; + case StorSimpleCmdletParameterSet.IdentifyByObject: + if(Backup==null || string.IsNullOrEmpty(Backup.InstanceId)) + throw new ArgumentException(Resources.InvalidBackupObjectParameter); + else + { + finalBackupId = Backup.InstanceId; + } + break; + } + return true; + } + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupSet/StartAzureStorSimpleDeviceBackupJob.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupSet/StartAzureStorSimpleDeviceBackupJob.cs new file mode 100644 index 000000000000..3e7a44d92837 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupSet/StartAzureStorSimpleDeviceBackupJob.cs @@ -0,0 +1,97 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System.Linq; +using System.Management.Automation; +using Microsoft.WindowsAzure.Management.StorSimple.Models; +using Microsoft.WindowsAzure; +using System; +using System.Collections.Generic; +using Microsoft.WindowsAzure.Commands.Utilities.CloudService; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + [Cmdlet(VerbsLifecycle.Start, "AzureStorSimpleDeviceBackupJob", DefaultParameterSetName = StorSimpleCmdletParameterSet.Empty),OutputType(typeof(TaskResponse), typeof(TaskStatusInfo))] + public class StartAzureStorSimpleDeviceBackupJob : StorSimpleCmdletBase + { + private const string PARAMETERSET_BACKUPTYPE = "BackupTypeGiven"; + + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceName, ParameterSetName = StorSimpleCmdletParameterSet.Empty)] + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceName, ParameterSetName = PARAMETERSET_BACKUPTYPE)] + [ValidateNotNullOrEmptyAttribute] + public string DeviceName { get; set; } + + + [Parameter(Position = 1, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageBackupPolicyIdForCreate, ParameterSetName = StorSimpleCmdletParameterSet.Empty)] + [Parameter(Position = 1, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageBackupPolicyIdForCreate, ParameterSetName = PARAMETERSET_BACKUPTYPE)] + public string BackupPolicyId { get; set; } + + + [Parameter(Position = 2, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageBackupTypeDesc, ParameterSetName = PARAMETERSET_BACKUPTYPE)] + [ValidateSet("LocalSnapshot", "CloudSnapshot")] + public string BackupType { get; set; } + + [Parameter(Position = 3, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageWaitTillComplete)] + public SwitchParameter WaitForComplete { get; set; } + + private string deviceId = null; + private BackupNowRequest backupNowRequest = null; + + public override void ExecuteCmdlet() + { + try + { + ProcessParameters(); + if (WaitForComplete.IsPresent) + { + var taskStatusInfo = StorSimpleClient.DoBackup(deviceId, BackupPolicyId, backupNowRequest); + HandleSyncTaskResponse(taskStatusInfo, "start"); + } + else + { + var taskresult = StorSimpleClient.DoBackupAsync(deviceId, BackupPolicyId, backupNowRequest); + HandleAsyncTaskResponse(taskresult, "start"); + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + private void ProcessParameters() + { + deviceId = StorSimpleClient.GetDeviceId(DeviceName); + + if (deviceId == null) + { + WriteVerbose(Resources.NotFoundMessageDevice); + } + + BackupType backupTypeSelected = Management.StorSimple.Models.BackupType.Invalid; + switch (ParameterSetName) + { + case StorSimpleCmdletParameterSet.Empty: + backupTypeSelected = Microsoft.WindowsAzure.Management.StorSimple.Models.BackupType.LocalSnapshot; + break; + case PARAMETERSET_BACKUPTYPE: + backupTypeSelected = (BackupType)Enum.Parse(typeof(BackupType), BackupType); + break; + } + backupNowRequest = new BackupNowRequest(); + backupNowRequest.Type = backupTypeSelected; + } + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupSet/StartAzureStorSimpleDeviceBackupRestoreJob.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupSet/StartAzureStorSimpleDeviceBackupRestoreJob.cs new file mode 100644 index 000000000000..402f3d05ed47 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/BackupSet/StartAzureStorSimpleDeviceBackupRestoreJob.cs @@ -0,0 +1,94 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Linq; +using System.Management.Automation; +using Microsoft.WindowsAzure.Management.StorSimple.Models; +using Microsoft.WindowsAzure; +using System; +using System.Collections.Generic; +using Microsoft.WindowsAzure.Commands.Utilities.CloudService; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + [Cmdlet(VerbsLifecycle.Start, "AzureStorSimpleDeviceBackupRestoreJob",DefaultParameterSetName = StorSimpleCmdletParameterSet.Empty),OutputType(typeof(TaskResponse), typeof(TaskStatusInfo))] + public class StartAzureStorSimpleDeviceBackupRestoreJob: StorSimpleCmdletBase + { + private string deviceId = null; + + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceName, ParameterSetName = StorSimpleCmdletParameterSet.Empty)] + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceName, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyById)] + [ValidateNotNullOrEmptyAttribute] + public string DeviceName { get; set; } + + [Parameter(Position = 1, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageBackupIdToRestore, ParameterSetName = StorSimpleCmdletParameterSet.Empty)] + [Parameter(Position = 1, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageBackupIdToRestore, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyById)] + public string BackupId { get; set; } + + [Parameter(Position = 2, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessagesnapshotIdToRestore, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyById)] + public string SnapshotId { get; set; } + + [Parameter(Position = 3, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageWaitTillComplete)] + public SwitchParameter WaitForComplete { get; set; } + + [Parameter(Position = 4, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageForce)] + public SwitchParameter Force { get; set; } + + public override void ExecuteCmdlet() + { + try + { + ProcessParameters(); + ConfirmAction( + Force.IsPresent, + string.Format(Resources.StartASSDBackupRestoreJobWarningMessage, BackupId), + string.Format(Resources.StartASSDBackupRestoreJobMessage, BackupId), + BackupId, + () => + { + RestoreBackupRequest request = new RestoreBackupRequest(); + request.BackupSetId = BackupId; + request.SnapshotId = SnapshotId; + + if (WaitForComplete.IsPresent) + { + var restoreBackupResult = StorSimpleClient.RestoreBackup(deviceId, request); + HandleSyncTaskResponse(restoreBackupResult, "start"); + } + else + { + //async scenario + var taskresult = StorSimpleClient.RestoreBackupAsync(deviceId, request); + HandleAsyncTaskResponse(taskresult, "start"); + } + }); + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + private void ProcessParameters() + { + deviceId = StorSimpleClient.GetDeviceId(DeviceName); + + if (deviceId == null) + { + WriteVerbose(Resources.NotFoundMessageDevice); + } + } + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/DataContainer/GetAzureStorSimpleDeviceVolumeContainer.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/DataContainer/GetAzureStorSimpleDeviceVolumeContainer.cs new file mode 100644 index 000000000000..48495d0117fc --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/DataContainer/GetAzureStorSimpleDeviceVolumeContainer.cs @@ -0,0 +1,78 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; +using Microsoft.WindowsAzure.Management.StorSimple.Models; +using System.Collections.Generic; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + + + [Cmdlet(VerbsCommon.Get, "AzureStorSimpleDeviceVolumeContainer"),OutputType(typeof(DataContainer), typeof(IList))] + public class GetAzureStorSimpleDeviceVolumeContainer : StorSimpleCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceName)] + [ValidateNotNullOrEmpty] + public string DeviceName { get; set; } + + [Alias("Name")] + [Parameter(Position = 1, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDataContainerName)] + [ValidateNotNullOrEmpty] + public string VolumeContainerName { get; set; } + + public override void ExecuteCmdlet() + { + try + { + var deviceid = StorSimpleClient.GetDeviceId(DeviceName); + + if (deviceid == null) + { + WriteVerbose(string.Format(Resources.NoDeviceFoundWithGivenNameInResourceMessage, StorSimpleContext.ResourceName, DeviceName)); + WriteObject(null); + return; + } + + if (VolumeContainerName == null) + { + var dataContainerList = StorSimpleClient.GetAllDataContainers(deviceid); + WriteObject(dataContainerList.DataContainers); + WriteVerbose(string.Format(Resources.ReturnedCountDataContainerMessage, dataContainerList.DataContainers.Count, dataContainerList.DataContainers.Count > 1 ? "s" : string.Empty)); + } + else + { + var dataContainer = StorSimpleClient.GetDataContainer(deviceid, VolumeContainerName); + if(dataContainer != null + && dataContainer.DataContainerInfo != null + && dataContainer.DataContainerInfo.InstanceId != null) + { + WriteObject(dataContainer.DataContainerInfo); + WriteVerbose(string.Format(Resources.FoundDataContainerMessage, VolumeContainerName)); + } + else + { + WriteVerbose(string.Format(Resources.NotFoundDataContainerMessage, VolumeContainerName)); + } + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/DataContainer/NewAzureStorSimpleDeviceVolumeContainer.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/DataContainer/NewAzureStorSimpleDeviceVolumeContainer.cs new file mode 100644 index 000000000000..0c2c00fe4d18 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/DataContainer/NewAzureStorSimpleDeviceVolumeContainer.cs @@ -0,0 +1,140 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.StorSimple.Encryption; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; +using Microsoft.WindowsAzure.Management.StorSimple.Models; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + [Cmdlet(VerbsCommon.New, "AzureStorSimpleDeviceVolumeContainer"), OutputType(typeof(TaskStatusInfo))] + public class NewAzureStorSimpleDeviceVolumeContainer : StorSimpleCmdletBase + { + + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceName)] + [ValidateNotNullOrEmpty] + public string DeviceName { get; set; } + + [Alias("Name")] + [Parameter(Position = 1, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDataContainerName)] + [ValidateNotNullOrEmpty] + public string VolumeContainerName { get; set; } + + [Alias("StorageAccount")] + [Parameter(Position = 2, Mandatory = true, ValueFromPipeline = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageSACObject)] + [ValidateNotNullOrEmpty] + public StorageAccountCredentialResponse PrimaryStorageAccountCredential { get; set; } + + [Alias("CloudBandwidthInMbps")] + [Parameter(Position = 3, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDataContainerBandwidth)] + [ValidateNotNullOrEmpty] + public int BandWidthRateInMbps { get; set; } + + [Parameter(Position = 4, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDataContainerEncryptionEnabled)] + [ValidateNotNullOrEmpty] + public bool? EncryptionEnabled { get; set; } + + [Parameter(Position = 5, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDataContainerEncryptionkey)] + [ValidateNotNullOrEmpty] + public string EncryptionKey { get; set; } + + [Parameter(Position = 6, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageWaitTillComplete)] + public SwitchParameter WaitForComplete { get; set; } + public override void ExecuteCmdlet() + { + try + { + string deviceid = StorSimpleClient.GetDeviceId(DeviceName); + if (deviceid == null) + { + WriteVerbose(string.Format(Resources.NoDeviceFoundWithGivenNameInResourceMessage, StorSimpleContext.ResourceName, DeviceName)); + WriteObject(null); + return; + } + + if(EncryptionEnabled == true && string.IsNullOrEmpty(EncryptionKey)) + { + throw new ArgumentNullException("EncryptionKey"); + } + + string encryptedKey = null; + StorSimpleCryptoManager storSimpleCryptoManager = new StorSimpleCryptoManager(StorSimpleClient); + if (EncryptionEnabled == true) + { + WriteVerbose(Resources.EncryptionInProgressMessage); + storSimpleCryptoManager.EncryptSecretWithRakPub(EncryptionKey, out encryptedKey); + } + + if (string.IsNullOrEmpty(PrimaryStorageAccountCredential.InstanceId)) + { + //The SAC needs to be created inline + WriteVerbose(Resources.InlineSacCreationMessage); + + var sac = PrimaryStorageAccountCredential; + + //validate storage account credentials + bool storageAccountPresent; + string encryptedPassword; + string thumbprint; + string endpoint = GetEndpointFromHostname(sac.Hostname); + string location = GetStorageAccountLocation(sac.Name, out storageAccountPresent); + if (!storageAccountPresent + || !ValidateAndEncryptStorageCred(sac.Name, sac.Password, endpoint, out encryptedPassword, out thumbprint)) + { + return; + } + + sac.Password = encryptedPassword; + sac.PasswordEncryptionCertThumbprint = thumbprint; + sac.Location = location; + } + + var dc = new DataContainerRequest + { + IsDefault = false, + Name = VolumeContainerName, + BandwidthRate = BandWidthRateInMbps, + IsEncryptionEnabled = EncryptionEnabled ?? false, + EncryptionKey = encryptedKey, + VolumeCount = 0, + PrimaryStorageAccountCredential = PrimaryStorageAccountCredential, + SecretsEncryptionThumbprint = storSimpleCryptoManager.GetSecretsEncryptionThumbprint() + }; + + if (WaitForComplete.IsPresent) + { + var taskStatus = StorSimpleClient.CreateDataContainer(deviceid, dc); + HandleSyncTaskResponse(taskStatus, "create"); + if (taskStatus.AsyncTaskAggregatedResult == AsyncTaskAggregatedResult.Succeeded) + { + var createdDataContainer = StorSimpleClient.GetDataContainer(deviceid, VolumeContainerName); + WriteObject(createdDataContainer.DataContainerInfo); + } + } + + else + { + var taskstatus = StorSimpleClient.CreateDataContainerAsync(deviceid, dc); + HandleAsyncTaskResponse(taskstatus, "create"); + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/DataContainer/RemoveAzureStorSimpleDeviceVolumeContainer.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/DataContainer/RemoveAzureStorSimpleDeviceVolumeContainer.cs new file mode 100644 index 000000000000..1d0f877ef2d6 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/DataContainer/RemoveAzureStorSimpleDeviceVolumeContainer.cs @@ -0,0 +1,78 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; +using Microsoft.WindowsAzure.Management.StorSimple.Models; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + [Cmdlet(VerbsCommon.Remove, "AzureStorSimpleDeviceVolumeContainer"), OutputType(typeof(TaskStatusInfo))] + public class RemoveAzureStorSimpleDeviceVolumeContainer : StorSimpleCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceName)] + [ValidateNotNullOrEmpty] + public string DeviceName { get; set; } + + [Parameter(Position = 1, Mandatory = true, ValueFromPipeline = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDataContainerName)] + [ValidateNotNullOrEmpty] + public DataContainer VolumeContainer { get; set; } + + [Parameter(Position = 2, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageWaitTillComplete)] + public SwitchParameter WaitForComplete { get; set; } + + [Parameter(Position = 3, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageForce)] + public SwitchParameter Force { get; set; } + + public override void ExecuteCmdlet() + { + ConfirmAction(Force.IsPresent, + Resources.RemoveWarningVolume, + Resources.RemoveConfirmationVolume, + string.Empty, + () => + { + try + { + var deviceid = StorSimpleClient.GetDeviceId(DeviceName); + + if (deviceid == null) + { + WriteVerbose(string.Format(Resources.NoDeviceFoundWithGivenNameInResourceMessage, StorSimpleContext.ResourceName, DeviceName)); + WriteObject(null); + return; + } + + if (WaitForComplete.IsPresent) + { + WriteVerbose("About to run a task to remove your Volume container!"); + var taskstatusInfo = StorSimpleClient.DeleteDataContainer(deviceid, VolumeContainer.InstanceId); + HandleSyncTaskResponse(taskstatusInfo, "delete"); + } + else + { + WriteVerbose("About to create a task to remove your Volume container!"); + var taskresult = StorSimpleClient.DeleteDataContainerAsync(deviceid, VolumeContainer.InstanceId); + HandleAsyncTaskResponse(taskresult, "delete"); + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + }); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/GetAzureStorSimpleDevice.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/GetAzureStorSimpleDevice.cs new file mode 100644 index 000000000000..ba053def9521 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/GetAzureStorSimpleDevice.cs @@ -0,0 +1,103 @@ +// ---------------------------------------------------------------------------------- +// +// 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.StorSimple.Properties; +using Microsoft.WindowsAzure.Management.StorSimple.Models; +using System.Management.Automation; +using System.Linq; +using System; +using System.Collections.Generic; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + [Cmdlet(VerbsCommon.Get, "AzureStorSimpleDevice", DefaultParameterSetName = StorSimpleCmdletParameterSet.Empty), + OutputType(typeof(List), typeof(IEnumerable))] + public class GetAzureStorSimpleDevice : StorSimpleCmdletBase + { + [Alias("ID")] + [Parameter(Position = 0, Mandatory = false, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyById, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceId)] + [ValidateNotNullOrEmpty] + public string DeviceId { get; set; } + + [Alias("Name")] + [Parameter(Position = 0, Mandatory = false, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyByName, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceName)] + [ValidateNotNullOrEmpty] + public string DeviceName { get; set; } + + [Parameter(Position = 1, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceType)] + [ValidateNotNullOrEmpty] + public string Type { get; set; } + + [Parameter(Position = 2, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceModel)] + [ValidateNotNullOrEmpty] + public string ModelID { get; set; } + + [Parameter(Position = 3, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceConfigRequired)] + public SwitchParameter Detailed { get; set; } + + public override void ExecuteCmdlet() + { + try + { + var deviceInfos = StorSimpleClient.GetAllDevices(); + switch(ParameterSetName) + { + case StorSimpleCmdletParameterSet.IdentifyByName: + deviceInfos = deviceInfos.Where(x => x.FriendlyName.Equals(DeviceName, System.StringComparison.InvariantCultureIgnoreCase)); + break; + case StorSimpleCmdletParameterSet.IdentifyById: + deviceInfos = deviceInfos.Where(x => x.DeviceId.Equals(DeviceId, System.StringComparison.InvariantCultureIgnoreCase)); + break; + default: + break; + } + + if (Type != null) + { + DeviceType deviceType; + bool parseSuccess = Enum.TryParse(Type, true, out deviceType); + if (parseSuccess) + { + deviceInfos = deviceInfos.Where(x => x.Type.Equals(deviceType)); + } + } + + if (ModelID != null) + { + deviceInfos = deviceInfos.Where(x => x.ModelDescription.Equals(ModelID, System.StringComparison.InvariantCultureIgnoreCase)); + } + + if (Detailed.IsPresent) + { + List deviceDetailsList = new List(); + foreach (var deviceInfo in deviceInfos) + { + deviceDetailsList.Add(StorSimpleClient.GetDeviceDetails(deviceInfo.DeviceId)); + } + WriteObject(deviceDetailsList, true); + } + + else + { + WriteObject(deviceInfos, true); + } + WriteVerbose(string.Format(Resources.DeviceGet_StatusMessage, deviceInfos.Count(), deviceInfos.Count() > 1 ? "s" : string.Empty)); + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/GetAzureStorSimpleDeviceConnectedInitiator.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/GetAzureStorSimpleDeviceConnectedInitiator.cs new file mode 100644 index 000000000000..05454de02fc5 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/GetAzureStorSimpleDeviceConnectedInitiator.cs @@ -0,0 +1,75 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; +using Microsoft.WindowsAzure.Management.StorSimple.Models; +using System.Linq; +using System.Collections.Generic; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + /// + /// Lists all the connected ISCSI initiators + /// + [Cmdlet(VerbsCommon.Get, "AzureStorSimpleDeviceConnectedInitiator"), OutputType(typeof(List))] + public class GetAzureStorSimpleDeviceConnectedInitiator : StorSimpleCmdletBase + { + [Alias("ID")] + [Parameter(Position = 0, Mandatory = true, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyById, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceId)] + [ValidateNotNullOrEmpty] + public string DeviceId { get; set; } + + [Alias("Name")] + [Parameter(Position = 0, Mandatory = true, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyByName, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceName)] + [ValidateNotNullOrEmpty] + public string DeviceName { get; set; } + + //not overriding BeginProcessing so resource context validation will happen here + + public override void ExecuteCmdlet() + { + try + { + List iscsiConnections = null; + var currentResourceName = StorSimpleClient.GetResourceContext().ResourceName; + string deviceIdFinal = null; + if(ParameterSetName == StorSimpleCmdletParameterSet.IdentifyByName) + { + var deviceToUse = StorSimpleClient.GetAllDevices().Where(x => x.FriendlyName.Equals(DeviceName, StringComparison.InvariantCultureIgnoreCase)).FirstOrDefault(); + if (deviceToUse == null) + { + WriteVerbose(string.Format(Resources.NoDeviceFoundWithGivenNameInResourceMessage, currentResourceName , DeviceName)); + WriteObject(null); + return; + } + deviceIdFinal = deviceToUse.DeviceId; + } + else + deviceIdFinal = DeviceId; + + //verify that this device is configured + this.VerifyDeviceConfigurationCompleteForDevice(deviceIdFinal); + iscsiConnections = StorSimpleClient.GetAllIscsiConnections(deviceIdFinal); + WriteObject(iscsiConnections); + WriteVerbose(string.Format(Resources.IscsiConnectionGet_StatusMessage,iscsiConnections.Count, (iscsiConnections.Count > 1?"s":string.Empty))); + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/GetAzureStorSimpleResource.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/GetAzureStorSimpleResource.cs new file mode 100644 index 000000000000..6740564079d7 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/GetAzureStorSimpleResource.cs @@ -0,0 +1,69 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using System.Collections.Generic; +using System.Linq; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + /// + /// this commandlet returns all resources available in your subscription + /// + [Cmdlet(VerbsCommon.Get, "AzureStorSimpleResource"), OutputType(typeof(IEnumerable), typeof(ResourceCredentials))] + public class GetAzureStorSimpleResource : StorSimpleCmdletBase + { + [Alias("Name")] + [Parameter(Position = 0, Mandatory = false, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyByName, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageResourceName)] + [ValidateNotNullOrEmpty] + public string ResourceName { get; set; } + + //suppress resource check for this commandlet + public GetAzureStorSimpleResource() : base(false) { } + + public override void ExecuteCmdlet() + { + try + { + var serviceList = StorSimpleClient.GetAllResources().Cast().ToList(); + if(serviceList == null + || serviceList.Count() == 0) + { + WriteVerbose(Resources.NoResourceFoundInSubscriptionMessage); + WriteObject(null); + return; + } + + if(ParameterSetName == StorSimpleCmdletParameterSet.IdentifyByName) + { + serviceList = serviceList.Where(x => x.ResourceName.Equals(ResourceName, System.StringComparison.InvariantCultureIgnoreCase)).Cast().ToList(); + if (serviceList.Count() == 0) + { + WriteVerbose(string.Format(Resources.NoResourceFoundWithGivenNameInSubscriptionMessage, ResourceName)); + WriteObject(null); + return; + } + } + this.WriteObject(serviceList, true); + WriteVerbose(string.Format(Resources.ResourceGet_StatusMessage, serviceList.Count(),(serviceList.Count() > 1 ? "s" : string.Empty))); + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/GetAzureStorSimpleResourceContext.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/GetAzureStorSimpleResourceContext.cs new file mode 100644 index 000000000000..7ee2b5bd3577 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/GetAzureStorSimpleResourceContext.cs @@ -0,0 +1,42 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; +using System; +using System.Management.Automation; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + /// + /// This commandlet will return the currently selected resource. If no resource is selected will throw a ResourceContextNotFoundException + /// + [Cmdlet(VerbsCommon.Get, "AzureStorSimpleResourceContext"),OutputType(typeof(StorSimpleResourceContext))] + public class GetAzureStorSimpleResourceContext : StorSimpleCmdletBase + { + public override void ExecuteCmdlet() + { + try + { + var currentContext = StorSimpleClient.GetResourceContext(); + this.WriteObject(currentContext); + this.WriteVerbose(string.Format(Resources.ResourceContextFound,currentContext.ResourceName, currentContext.ResourceId)); + } + + catch(Exception exception) + { + this.HandleException(exception); + } + } + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/SelectAzureStorSimpleResource.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/SelectAzureStorSimpleResource.cs new file mode 100644 index 000000000000..35347c86f2d6 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/SelectAzureStorSimpleResource.cs @@ -0,0 +1,86 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Linq; +using Microsoft.WindowsAzure.Commands.StorSimple.Encryption; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; +using System.Management.Automation; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + /// + /// this commandlet will set a particular resource to the current context + /// + [Cmdlet(VerbsCommon.Select, "AzureStorSimpleResource"),OutputType(typeof(StorSimpleResourceContext))] + public class SelectAzureStorSimpleResource : StorSimpleCmdletBase + { + [Parameter(Mandatory = true, Position = 1, ValueFromPipelineByPropertyName = true)] + [ValidateNotNullOrEmpty] + public string ResourceName { get; set; } + + [Parameter(Mandatory = false, Position = 2, ValueFromPipelineByPropertyName = true)] + [ValidateNotNullOrEmpty] + public string RegistrationKey { get; set; } + + //suppress resource check for this commandlet + public SelectAzureStorSimpleResource() : base(false) { } + + /// + /// ProcessRecord of the command. + /// + public override void ExecuteCmdlet() + { + try + { + this.WriteVerbose(Resources.ResourceContextInitializeMessage); + var resCred = StorSimpleClient.GetResourceDetails(ResourceName); + if (resCred == null) + { + this.WriteVerbose(Resources.NotFoundMessageResource); + throw GetGenericException(Resources.NotFoundMessageResource, null); + } + + StorSimpleClient.SetResourceContext(resCred); + var deviceInfos = StorSimpleClient.GetAllDevices(); + if (!deviceInfos.Any()) + { + StorSimpleClient.ResetResourceContext(); + throw base.GetGenericException(Resources.DeviceNotRegisteredMessage, null); + } + + //now check for the key + if (string.IsNullOrEmpty(RegistrationKey)) + { + this.WriteVerbose(Resources.RegistrationKeyNotPassedMessage); + } + else + { + this.WriteVerbose(Resources.RegistrationKeyPassedMessage); + EncryptionCmdLetHelper.PersistCIK(this, resCred.ResourceId, StorSimpleClient.ParseCIKFromRegistrationKey(RegistrationKey)); + } + EncryptionCmdLetHelper.ValidatePersistedCIK(this, resCred.ResourceId); + this.WriteVerbose(Resources.SecretsValidationCompleteMessage); + + this.WriteVerbose(Resources.SuccessMessageSetResourceContext); + var currentContext = StorSimpleClient.GetResourceContext(); + this.WriteObject(currentContext); + } + catch(Exception exception) + { + this.HandleException(exception); + } + } + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/GetAzureStorSimpleAccessControlRecord.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/GetAzureStorSimpleAccessControlRecord.cs new file mode 100644 index 000000000000..2b8ca7a30c73 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/GetAzureStorSimpleAccessControlRecord.cs @@ -0,0 +1,64 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; +using Microsoft.WindowsAzure.Management.StorSimple.Models; +using System.Linq; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + /// + /// Get a list of Access Control Records present in the StorSimple Manager Service Configuration or retrieves a specific named ACR Object + /// + [Cmdlet(VerbsCommon.Get, "AzureStorSimpleAccessControlRecord"), OutputType(typeof(AccessControlRecord), typeof(IList))] + public class GetAzureStorSimpleAccessControlRecord : StorSimpleCmdletBase + { + [Alias("Name")] + [Parameter(Position = 0, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageACRName)] + public string ACRName { get; set; } + + public override void ExecuteCmdlet() + { + try + { + var allACRs = StorSimpleClient.GetAllAccessControlRecords(); + if (ACRName == null) + { + WriteObject(allACRs); + WriteVerbose(string.Format(Resources.ACRGet_StatusMessage, allACRs.Count, allACRs.Count > 1 ? "s" : string.Empty)); + return; + } + + var acr = allACRs.Where(x => x.Name.Equals(ACRName, StringComparison.InvariantCultureIgnoreCase)).FirstOrDefault(); + if (acr == null) + { + WriteObject(null); + WriteVerbose(string.Format(Resources.NotFoundMessageACR,ACRName)); + } + else + { + WriteObject(acr); + WriteVerbose(string.Format(Resources.FoundMessageACR, ACRName)); + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/GetAzureStorSimpleStorageAccountCredential.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/GetAzureStorSimpleStorageAccountCredential.cs new file mode 100644 index 000000000000..f08897f83946 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/GetAzureStorSimpleStorageAccountCredential.cs @@ -0,0 +1,64 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; +using Microsoft.WindowsAzure.Management.StorSimple.Models; +using System.Linq; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + /// + /// Get a list of Storage accounts from the StorSimple Service config or retrieves a specified Storage Account Cred + /// + [Cmdlet(VerbsCommon.Get, "AzureStorSimpleStorageAccountCredential"), OutputType(typeof(StorageAccountCredential), typeof(IList))] + public class GetAzureStorSimpleStorageAccountCredential : StorSimpleCmdletBase + { + [Alias("Name")] + [Parameter(Position = 0, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageStorageAccountName)] + public string StorageAccountName { get; set; } + + public override void ExecuteCmdlet() + { + try + { + var allSACs = StorSimpleClient.GetAllStorageAccountCredentials(); + if (StorageAccountName == null) + { + WriteObject(allSACs); + WriteVerbose(string.Format(Resources.SACGet_StatusMessage, allSACs.Count, allSACs.Count > 1 ? "s" : string.Empty)); + return; + } + + var sac = allSACs.Where(x => x.Name.Equals(StorageAccountName, StringComparison.InvariantCultureIgnoreCase)).FirstOrDefault(); + if (sac == null) + { + WriteVerbose(string.Format(Resources.SACNotFoundWithName, StorageAccountName)); + WriteObject(null); + } + else + { + WriteVerbose(string.Format(Resources.SACFoundWithName, StorageAccountName)); + WriteObject(sac); + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/NewAzureStorSimpleAccessControlRecord.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/NewAzureStorSimpleAccessControlRecord.cs new file mode 100644 index 000000000000..f193fe9d0de2 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/NewAzureStorSimpleAccessControlRecord.cs @@ -0,0 +1,92 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Linq; +using System.Management.Automation; +using Microsoft.WindowsAzure.Management.StorSimple.Models; +using System.Collections.Generic; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + /// + /// Add New Access Control Record to the StorSimple Manager Service Configuration + /// + [Cmdlet(VerbsCommon.New, "AzureStorSimpleAccessControlRecord"), OutputType(typeof(TaskStatusInfo))] + + public class NewAzureStorSimpleAccessControlRecord : StorSimpleCmdletBase + { + [Alias("Name")] + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageACRName)] + [ValidateNotNullOrEmpty] + public string ACRName { get; set; } + + [Alias("IQN")] + [Parameter(Position = 1, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageIQNforACR)] + [ValidateNotNullOrEmpty] + public string IQNInitiatorName { get; set; } + + [Parameter(Position = 2, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageWaitTillComplete)] + public SwitchParameter WaitForComplete { get; set; } + + public override void ExecuteCmdlet() + { + try + { + var serviceConfig = new ServiceConfiguration() + { + AcrChangeList = new AcrChangeList() + { + Added = new[] + { + new AccessControlRecord() + { + GlobalId = null, + InitiatorName = IQNInitiatorName, + InstanceId = null, + Name = ACRName, + VolumeCount = 0 + }, + }, + Deleted = new List(), + Updated = new List() + }, + CredentialChangeList = new SacChangeList(), + }; + + if (WaitForComplete.IsPresent) + { + var taskStatus = StorSimpleClient.ConfigureService(serviceConfig); + HandleSyncTaskResponse(taskStatus, "create"); + if (taskStatus.AsyncTaskAggregatedResult == AsyncTaskAggregatedResult.Succeeded) + { + var createdAcr = StorSimpleClient.GetAllAccessControlRecords() + .Where(x => x.Name.Equals(ACRName, StringComparison.InvariantCultureIgnoreCase)); + WriteObject(createdAcr); + } + } + else + { + var taskResponse = StorSimpleClient.ConfigureServiceAsync(serviceConfig); + HandleAsyncTaskResponse(taskResponse, "create"); + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + } +} + diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/NewAzureStorSimpleInlineStorageAccountCredential.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/NewAzureStorSimpleInlineStorageAccountCredential.cs new file mode 100644 index 000000000000..8f8ce5c19410 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/NewAzureStorSimpleInlineStorageAccountCredential.cs @@ -0,0 +1,69 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.Common; +using Microsoft.WindowsAzure.Management.StorSimple.Models; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + /// + /// Create Storage Account Credential to be added inline during Volume Container creation + /// + [Cmdlet(VerbsCommon.New, "AzureStorSimpleInlineStorageAccountCredential"), + OutputType(typeof (StorageAccountCredentialResponse))] + + public class NewAzureStorSimpleInlineStorageAccountCredential : StorSimpleCmdletBase + { + [Alias("Name")] + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageStorageAccountName)] + [ValidateNotNullOrEmpty] + public string StorageAccountName { get; set; } + + [Alias("Key")] + [Parameter(Position = 1, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageStorageAccountKey)] + [ValidateNotNullOrEmpty] + public string StorageAccountKey { get; set; } + + [Parameter(Position = 2, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageEndpoint)] + [ValidateNotNullOrEmpty] + public string Endpoint { get; set; } + + public override void ExecuteCmdlet() + { + try + { + string endpoint = string.IsNullOrEmpty(Endpoint) ? StorSimpleConstants.DefaultStorageAccountEndpoint : Endpoint; + + var sac = new StorageAccountCredentialResponse() + { + CloudType = CloudType.Azure, + Hostname = GetHostnameFromEndpoint(endpoint), + Login = StorageAccountName, + Password = StorageAccountKey, + UseSSL = true, + Name = StorageAccountName + }; + + WriteObject(sac); + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + } +} + diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/NewAzureStorSimpleStorageAccountCredential.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/NewAzureStorSimpleStorageAccountCredential.cs new file mode 100644 index 000000000000..e5f602a593c0 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/NewAzureStorSimpleStorageAccountCredential.cs @@ -0,0 +1,119 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Linq; +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.Common; +using Microsoft.WindowsAzure.Commands.StorSimple.Encryption; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; +using Microsoft.WindowsAzure.Management.StorSimple.Models; +using System.Collections.Generic; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + /// + /// Add Azure Storage account to the StorSimple Manager Service + /// + [Cmdlet(VerbsCommon.New, "AzureStorSimpleStorageAccountCredential"), OutputType(typeof(TaskStatusInfo))] + + public class NewAzureStorSimpleStorageAccountCredential : StorSimpleCmdletBase + { + [Alias("Name")] + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageStorageAccountName)] + [ValidateNotNullOrEmpty] + public string StorageAccountName { get; set; } + + [Alias("Key")] + [Parameter(Position = 1, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageStorageAccountKey)] + [ValidateNotNullOrEmpty] + public string StorageAccountKey { get; set; } + + [Parameter(Position = 2, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageUseSSL)] + [ValidateNotNullOrEmpty] + public bool UseSSL { get; set; } + + [Parameter(Position = 3, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageEndpoint)] + [ValidateNotNullOrEmpty] + public string Endpoint { get; set; } + + [Parameter(Position = 4, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageWaitTillComplete)] + public SwitchParameter WaitForComplete { get; set; } + + public override void ExecuteCmdlet() + { + try + { + string endpoint = string.IsNullOrEmpty(Endpoint) ? StorSimpleConstants.DefaultStorageAccountEndpoint : Endpoint; + + //validate storage account credentials + bool storageAccountPresent; + string encryptedKey; + string thumbprint; + string location = GetStorageAccountLocation(StorageAccountName, out storageAccountPresent); + if (!storageAccountPresent + || !ValidateAndEncryptStorageCred(StorageAccountName, StorageAccountKey, endpoint, out encryptedKey, out thumbprint)) + { + return; + } + + var serviceConfig = new ServiceConfiguration() + { + AcrChangeList = new AcrChangeList(), + CredentialChangeList = new SacChangeList() + { + Added = new[] + { + new StorageAccountCredential() + { + CloudType = CloudType.Azure, + Hostname = GetHostnameFromEndpoint(endpoint), + Login = StorageAccountName, + Password = encryptedKey, + PasswordEncryptionCertThumbprint = thumbprint, + UseSSL = UseSSL, + Name = StorageAccountName, + Location = location + }, + }, + Deleted = new List(), + Updated = new List() + } + }; + + if (WaitForComplete.IsPresent) + { + var taskStatus = StorSimpleClient.ConfigureService(serviceConfig); + HandleSyncTaskResponse(taskStatus, "create"); + if (taskStatus.AsyncTaskAggregatedResult == AsyncTaskAggregatedResult.Succeeded) + { + var createdSac = StorSimpleClient.GetAllStorageAccountCredentials() + .Where(x => x.Name.Equals(StorageAccountName, StringComparison.InvariantCultureIgnoreCase)); + WriteObject(createdSac); + } + } + else + { + var taskResponse = StorSimpleClient.ConfigureServiceAsync(serviceConfig); + HandleAsyncTaskResponse(taskResponse, "create"); + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + } +} + diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/RemoveAzureStorSimpleAccessControlRecord.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/RemoveAzureStorSimpleAccessControlRecord.cs new file mode 100644 index 000000000000..ffae4a626675 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/RemoveAzureStorSimpleAccessControlRecord.cs @@ -0,0 +1,109 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; +using Microsoft.WindowsAzure.Management.StorSimple.Models; +using System.Collections.Generic; +using System.Linq; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + /// + /// Removes a ACR from the StorSimple Manager Service Configuration + /// + [Cmdlet(VerbsCommon.Remove, "AzureStorSimpleAccessControlRecord"), OutputType(typeof(TaskStatusInfo))] + + public class RemoveAzureStorSimpleAccessControlRecord : StorSimpleCmdletBase + { + [Alias("Name")] + [Parameter(Position = 0, Mandatory = true, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyByName, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageACRName)] + [ValidateNotNullOrEmpty] + public string ACRName { get; set; } + + [Parameter(Position = 0, Mandatory = true, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyByObject, ValueFromPipeline = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageACRObject)] + [ValidateNotNullOrEmpty] + public AccessControlRecord ACR { get; set; } + + [Parameter(Position = 1, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageWaitTillComplete)] + public SwitchParameter WaitForComplete { get; set; } + + [Parameter(Position = 2, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageForce)] + public SwitchParameter Force { get; set; } + + public override void ExecuteCmdlet() + { + ConfirmAction(Force.IsPresent, + Resources.RemoveWarningACR, + Resources.RemoveConfirmationACR, + string.Empty, + () => + { + try + { + AccessControlRecord existingAcr = null; + string acrName = null; + switch (ParameterSetName) + { + case StorSimpleCmdletParameterSet.IdentifyByName: + var allACRs = StorSimpleClient.GetAllAccessControlRecords(); + existingAcr = allACRs.Where(x => x.Name.Equals(ACRName, StringComparison.InvariantCultureIgnoreCase)).FirstOrDefault(); + acrName = ACRName; + break; + case StorSimpleCmdletParameterSet.IdentifyByObject: + existingAcr = ACR; + acrName = ACR.Name; + break; + } + if (existingAcr == null) + { + WriteObject(null); + WriteVerbose(string.Format(Resources.NotFoundMessageACR, acrName)); + return; + } + + var serviceConfig = new ServiceConfiguration() + { + AcrChangeList = new AcrChangeList() + { + Added = new List(), + Deleted = new[] { existingAcr.InstanceId }, + Updated = new List() + }, + CredentialChangeList = new SacChangeList(), + }; + + if (WaitForComplete.IsPresent) + { + WriteVerbose("About to run a task to remove your ACR!"); + var taskStatus = StorSimpleClient.ConfigureService(serviceConfig); + HandleSyncTaskResponse(taskStatus, "delete"); + } + else + { + WriteVerbose("About to create a task to remove your ACR!"); + var taskResponse = StorSimpleClient.ConfigureServiceAsync(serviceConfig); + HandleAsyncTaskResponse(taskResponse, "delete"); + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + }); + } + } +} + diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/RemoveAzureStorSimpleStorageAccountCredential.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/RemoveAzureStorSimpleStorageAccountCredential.cs new file mode 100644 index 000000000000..91ff5233092e --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/RemoveAzureStorSimpleStorageAccountCredential.cs @@ -0,0 +1,110 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; +using Microsoft.WindowsAzure.Management.StorSimple.Models; +using System.Collections.Generic; +using System.Linq; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + /// + /// Removes the Storage Account Cred specified from the StorSimple Service Config + /// + [Cmdlet(VerbsCommon.Remove, "AzureStorSimpleStorageAccountCredential"), OutputType(typeof(TaskStatusInfo))] + + public class RemoveAzureStorSimpleStorageAccountCredential : StorSimpleCmdletBase + { + [Alias("Name")] + [Parameter(Position = 0, Mandatory = true, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyByName, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageStorageAccountName)] + [ValidateNotNullOrEmpty] + public string StorageAccountName { get; set; } + + [Parameter(Position = 0, Mandatory = true, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyByObject, ValueFromPipeline = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageSACObject)] + [ValidateNotNullOrEmpty] + public StorageAccountCredentialResponse SAC { get; set; } + + [Parameter(Position = 1, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageWaitTillComplete)] + public SwitchParameter WaitForComplete { get; set; } + + [Parameter(Position = 2, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageForce)] + public SwitchParameter Force { get; set; } + + public override void ExecuteCmdlet() + { + ConfirmAction(Force.IsPresent, + Resources.RemoveWarningACR, + Resources.RemoveConfirmationACR, + string.Empty, + () => + { + try + { + StorageAccountCredentialResponse existingSac = null; + string sacName = null; + + switch (ParameterSetName) + { + case StorSimpleCmdletParameterSet.IdentifyByName: + var allSACs = StorSimpleClient.GetAllStorageAccountCredentials(); + existingSac = allSACs.Where(x => x.Name.Equals(StorageAccountName, StringComparison.InvariantCultureIgnoreCase)).FirstOrDefault(); + sacName = StorageAccountName; + break; + case StorSimpleCmdletParameterSet.IdentifyByObject: + existingSac = SAC; + sacName = SAC.Name; + break; + } + if (existingSac == null) + { + WriteObject(null); + WriteVerbose(string.Format(Resources.SACNotFoundWithName, sacName)); + return; + } + + var serviceConfig = new ServiceConfiguration() + { + AcrChangeList = new AcrChangeList(), + CredentialChangeList = new SacChangeList() + { + Added = new List(), + Deleted = new[] { existingSac.InstanceId }, + Updated = new List() + } + }; + + if (WaitForComplete.IsPresent) + { + WriteVerbose("About to run a task to remove your Storage Access Credential!"); + var taskStatus = StorSimpleClient.ConfigureService(serviceConfig); + HandleSyncTaskResponse(taskStatus, "delete"); + } + else + { + WriteVerbose("About to create a task to remove your Storage Access Credential!"); + var taskResponse = StorSimpleClient.ConfigureServiceAsync(serviceConfig); + HandleAsyncTaskResponse(taskResponse, "delete"); + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + }); + } + } +} + diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/SetAzureStorSimpleAccessControlRecord.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/SetAzureStorSimpleAccessControlRecord.cs new file mode 100644 index 000000000000..ca792e3949da --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/SetAzureStorSimpleAccessControlRecord.cs @@ -0,0 +1,104 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; +using Microsoft.WindowsAzure.Management.StorSimple.Models; +using System.Collections.Generic; +using System.Linq; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + /// + /// Sets the Host IQN of the ACR in the StorSimple Manager Service Configuration + /// + [Cmdlet(VerbsCommon.Set, "AzureStorSimpleAccessControlRecord"), OutputType(typeof(TaskStatusInfo))] + + public class SetAzureStorSimpleAccessControlRecord : StorSimpleCmdletBase + { + [Alias("Name")] + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageACRName)] + [ValidateNotNullOrEmpty] + public string ACRName { get; set; } + + [Alias("IQN")] + [Parameter(Position = 1, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageIQNforACR)] + [ValidateNotNullOrEmpty] + public string IQNInitiatorName { get; set; } + + [Parameter(Position = 2, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageWaitTillComplete)] + public SwitchParameter WaitForComplete { get; set; } + + public override void ExecuteCmdlet() + { + try + { + + var allACRs = StorSimpleClient.GetAllAccessControlRecords(); + var existingAcr = allACRs.Where(x => x.Name.Equals(ACRName, StringComparison.InvariantCultureIgnoreCase)).FirstOrDefault(); + if (existingAcr == null) + { + WriteVerbose(string.Format(Resources.NotFoundMessageACR,ACRName)); + return; + } + + var serviceConfig = new ServiceConfiguration() + { + AcrChangeList = new AcrChangeList() + { + Added = new List(), + Deleted = new List(), + Updated = new [] + { + new AccessControlRecord() + { + GlobalId = existingAcr.GlobalId, + InitiatorName = IQNInitiatorName, + InstanceId = existingAcr.InstanceId, + Name = existingAcr.Name, + VolumeCount = existingAcr.VolumeCount + }, + } + }, + CredentialChangeList = new SacChangeList(), + }; + + if (WaitForComplete.IsPresent) + { + WriteVerbose("About to run a task to update your Access Control Record!"); + var taskStatus = StorSimpleClient.ConfigureService(serviceConfig); + HandleSyncTaskResponse(taskStatus, "update"); + if (taskStatus.AsyncTaskAggregatedResult == AsyncTaskAggregatedResult.Succeeded) + { + var updatedAcr = StorSimpleClient.GetAllAccessControlRecords() + .Where(x => x.Name.Equals(ACRName, StringComparison.InvariantCultureIgnoreCase)); + WriteObject(updatedAcr); + } + } + else + { + WriteVerbose("About to create a task to update your Access Control Record!"); + var taskResponse = StorSimpleClient.ConfigureServiceAsync(serviceConfig); + HandleAsyncTaskResponse(taskResponse, "update"); + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + } +} + diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/SetAzureStorSimpleStorageAccountCredential.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/SetAzureStorSimpleStorageAccountCredential.cs new file mode 100644 index 000000000000..fc488ab2a805 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/ServiceConfig/SetAzureStorSimpleStorageAccountCredential.cs @@ -0,0 +1,123 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.StorSimple.Encryption; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; +using Microsoft.WindowsAzure.Management.StorSimple.Models; +using System.Collections.Generic; +using System.Linq; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + /// + /// Edit the Storage Account Cred + /// + [Cmdlet(VerbsCommon.Set, "AzureStorSimpleStorageAccountCredential"), OutputType(typeof(TaskStatusInfo))] + + public class SetAzureStorSimpleStorageAccountCredential : StorSimpleCmdletBase + { + [Alias("Name")] + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageStorageAccountName)] + [ValidateNotNullOrEmpty] + public string StorageAccountName { get; set; } + + [Alias("Key")] + [Parameter(Position = 1, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageStorageAccountKey)] + [ValidateNotNullOrEmpty] + public string StorageAccountKey { get; set; } + + [Parameter(Position = 2, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageUseSSL)] + [ValidateNotNullOrEmpty] + public bool? UseSSL { get; set; } + + [Parameter(Position = 3, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageWaitTillComplete)] + public SwitchParameter WaitForComplete { get; set; } + + public override void ExecuteCmdlet() + { + try + { + + var allSACs = StorSimpleClient.GetAllStorageAccountCredentials(); + var existingSac = allSACs.Where(x => x.Name.Equals(StorageAccountName, StringComparison.InvariantCultureIgnoreCase)).FirstOrDefault(); + if (existingSac == null) + { + WriteVerbose(string.Format(Resources.SACNotFoundWithName,StorageAccountName)); + return; + } + + string encryptedKey; + string thumbprint; + string endpoint = GetEndpointFromHostname(existingSac.Hostname); + if (!ValidateAndEncryptStorageCred(StorageAccountName, StorageAccountKey, endpoint, out encryptedKey, out thumbprint)) + { + return; + } + + var serviceConfig = new ServiceConfiguration() + { + AcrChangeList = new AcrChangeList(), + CredentialChangeList = new SacChangeList() + { + Added = new List(), + Deleted = new List(), + Updated = new[] + { + new StorageAccountCredential() + { + InstanceId = existingSac.InstanceId, + CloudType = existingSac.CloudType, + Hostname = existingSac.Hostname, + Login = existingSac.Login, + Password = encryptedKey ?? existingSac.Password, + UseSSL = UseSSL ?? existingSac.UseSSL, + VolumeCount = existingSac.VolumeCount, + Name = existingSac.Name, + IsDefault = existingSac.IsDefault, + PasswordEncryptionCertThumbprint = thumbprint, + Location = existingSac.Location + }, + } + } + }; + + if (WaitForComplete.IsPresent) + { + WriteVerbose("About to run a task to update your Storage Access credential!"); + var taskStatus = StorSimpleClient.ConfigureService(serviceConfig); + HandleSyncTaskResponse(taskStatus, "update"); + if (taskStatus.AsyncTaskAggregatedResult == AsyncTaskAggregatedResult.Succeeded) + { + var updatedSac = StorSimpleClient.GetAllStorageAccountCredentials() + .Where(x => x.Name.Equals(StorageAccountName, StringComparison.InvariantCultureIgnoreCase)); + WriteObject(updatedSac); + } + } + else + { + WriteVerbose("About to create a task to update your Storage Access credential!"); + var taskResponse = StorSimpleClient.ConfigureServiceAsync(serviceConfig); + HandleAsyncTaskResponse(taskResponse, "update"); + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + } +} + diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyVaultExceptionHandler.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Task/GetAzureStorSimpleTask.cs similarity index 50% rename from src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyVaultExceptionHandler.cs rename to src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Task/GetAzureStorSimpleTask.cs index ecfa8db30bb4..eab466683d31 100644 --- a/src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyVaultExceptionHandler.cs +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Task/GetAzureStorSimpleTask.cs @@ -14,33 +14,30 @@ using System; using System.Management.Automation; +using Microsoft.WindowsAzure.Management.StorSimple.Models; -namespace Microsoft.Azure.Commands.KeyVault.Models +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets { - internal static class KeyVaultExceptionHandler + [Cmdlet(VerbsCommon.Get, "AzureStorSimpleTask"), OutputType(typeof(TaskStatusInfo))] + public class GetAzureStorSimpleTask : StorSimpleCmdletBase { - /// - /// TODO: refine exception - /// - /// exception to be processed - /// - public static ErrorRecord RetrieveExceptionDetails(Exception exception) + [Alias("TaskId")] + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageTaskId)] + [ValidateNotNullOrEmpty] + public string InstanceId { get; set; } + + public override void ExecuteCmdlet() { - if (exception == null) + try { - throw new ArgumentNullException("exception"); + var taskStatus = StorSimpleClient.GetTaskStatus(InstanceId); + this.WriteObject(taskStatus); } - ErrorRecord errorRecord = null; - Exception innerException = exception.InnerException; - while (innerException != null) + catch(Exception exception) { - exception = innerException; - innerException = innerException.InnerException; + this.HandleException(exception); } - - errorRecord = new ErrorRecord(exception, string.Empty, ErrorCategory.NotSpecified, null); - return errorRecord; } } -} +} \ No newline at end of file diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Volume/GetAzureStorSimpleDeviceVolume .cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Volume/GetAzureStorSimpleDeviceVolume .cs new file mode 100644 index 000000000000..9568de5b9df5 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Volume/GetAzureStorSimpleDeviceVolume .cs @@ -0,0 +1,80 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; +using Microsoft.WindowsAzure.Management.StorSimple.Models; +using System.Collections.Generic; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + [Cmdlet(VerbsCommon.Get, "AzureStorSimpleDeviceVolume"), OutputType(typeof(VirtualDisk), typeof(IList))] + public class GetAzureStorSimpleDeviceVolume : StorSimpleCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceName)] + [ValidateNotNullOrEmpty] + public string DeviceName { get; set; } + + [Parameter(Position = 1, Mandatory = true, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyByParentObject, ValueFromPipeline = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDataContainerObject)] + [ValidateNotNullOrEmpty] + public DataContainer VolumeContainer { get; set; } + + [Alias("Name")] + [Parameter(Position = 1, Mandatory = true, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyByName, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageVolumeName)] + [ValidateNotNullOrEmpty] + public string VolumeName { get; set; } + + public override void ExecuteCmdlet() + { + try + { + var deviceId = StorSimpleClient.GetDeviceId(DeviceName); + if (deviceId == null) + { + WriteVerbose(string.Format(Resources.NoDeviceFoundWithGivenNameInResourceMessage, StorSimpleContext.ResourceName, DeviceName)); + WriteObject(null); + return; + } + + switch (ParameterSetName) + { + case StorSimpleCmdletParameterSet.IdentifyByParentObject: + var volumeInfoList = StorSimpleClient.GetAllVolumesFordataContainer(deviceId, VolumeContainer.InstanceId); + WriteObject(volumeInfoList.ListofVirtualDisks); + WriteVerbose(string.Format(Resources.ReturnedCountVolumeMessage, volumeInfoList.ListofVirtualDisks.Count, volumeInfoList.ListofVirtualDisks.Count > 1 ? "s" : string.Empty)); + break; + case StorSimpleCmdletParameterSet.IdentifyByName: + var volumeInfo = StorSimpleClient.GetVolumeByName(deviceId, VolumeName); + if (volumeInfo != null + && volumeInfo.VirtualDiskInfo != null + && volumeInfo.VirtualDiskInfo.InstanceId != null) + { + WriteObject(volumeInfo.VirtualDiskInfo); + WriteVerbose(string.Format(Resources.FoundVolumeMessage, VolumeName)); + } + else + { + WriteVerbose(string.Format(Resources.NotFoundVolumeMessage, VolumeName)); + } + break; + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Volume/NewAzureStorSimpleDeviceVolume.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Volume/NewAzureStorSimpleDeviceVolume.cs new file mode 100644 index 000000000000..007e181c3745 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Volume/NewAzureStorSimpleDeviceVolume.cs @@ -0,0 +1,123 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; +using Microsoft.WindowsAzure.Management.StorSimple.Models; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets.Volume +{ + + [Cmdlet(VerbsCommon.New, "AzureStorSimpleDeviceVolume"), OutputType(typeof(TaskStatusInfo))] + public class NewAzureStorSimpleDeviceVolume : StorSimpleCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceName)] + [ValidateNotNullOrEmpty] + public string DeviceName { get; set; } + + [Alias("Container")] + [Parameter(Position = 1, Mandatory = true, ValueFromPipeline = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDataContainerObject)] + [ValidateNotNullOrEmpty] + public DataContainer VolumeContainer { get; set; } + + [Alias("Name")] + [Parameter(Position = 2, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageVolumeName)] + [ValidateNotNullOrEmpty] + public string VolumeName { get; set; } + + [Alias("SizeInBytes")] + [Parameter(Position = 3, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageVolumeSize)] + [ValidateNotNullOrEmpty] + public Int64 VolumeSizeInBytes { get; set; } + + [Parameter(Position = 4, Mandatory = true, ValueFromPipeline = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageVolumeAcrList)] + [ValidateNotNull] + [AllowEmptyCollection] + public List AccessControlRecords { get; set; } + + [Alias("AppType")] + [ValidateSet("PrimaryVolume","ArchiveVolume")] + [Parameter(Position = 5, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageVolumeAppType)] + [ValidateNotNullOrEmpty] + public AppType VolumeAppType { get; set; } + + [Parameter(Position = 6, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageVolumeOnline)] + [ValidateNotNullOrEmpty] + public bool Online { get; set; } + + [Parameter(Position = 7, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageVolumeDefaultBackup)] + [ValidateNotNullOrEmpty] + public bool EnableDefaultBackup { get; set; } + + [Parameter(Position = 8, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageVolumeMonitoring)] + [ValidateNotNullOrEmpty] + public bool EnableMonitoring { get; set; } + + [Parameter(Position = 9, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageWaitTillComplete)] + public SwitchParameter WaitForComplete { get; set; } + + public override void ExecuteCmdlet() + { + try + { + string deviceid = null; + deviceid = StorSimpleClient.GetDeviceId(DeviceName); + + if (deviceid == null) + { + WriteVerbose(string.Format(Resources.NoDeviceFoundWithGivenNameInResourceMessage, StorSimpleContext.ResourceName, DeviceName)); + WriteObject(null); + return; + } + + //Virtual disk create request object + var virtualDiskToCreate = new VirtualDiskRequest() + { + Name = VolumeName, + AccessType = AccessType.ReadWrite, + AcrList = AccessControlRecords, + AppType = VolumeAppType, + IsDefaultBackupEnabled = EnableDefaultBackup, + SizeInBytes = VolumeSizeInBytes, + DataContainer = VolumeContainer, + Online = Online, + IsMonitoringEnabled = EnableMonitoring + }; + + if (WaitForComplete.IsPresent) + { + var taskStatus = StorSimpleClient.CreateVolume(deviceid, virtualDiskToCreate); ; + HandleSyncTaskResponse(taskStatus, "create"); + if (taskStatus.AsyncTaskAggregatedResult == AsyncTaskAggregatedResult.Succeeded) + { + var createdVolume = StorSimpleClient.GetVolumeByName(deviceid, VolumeName); + WriteObject(createdVolume.VirtualDiskInfo); + } + } + + else + { + var taskstatus = StorSimpleClient.CreateVolumeAsync(deviceid, virtualDiskToCreate); ; + HandleAsyncTaskResponse(taskstatus, "create"); + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Volume/RemoveAzureStorSimpleDeviceVolume .cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Volume/RemoveAzureStorSimpleDeviceVolume .cs new file mode 100644 index 000000000000..58b04059aa22 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Volume/RemoveAzureStorSimpleDeviceVolume .cs @@ -0,0 +1,101 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; +using Microsoft.WindowsAzure.Management.StorSimple.Models; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + [Cmdlet(VerbsCommon.Remove, "AzureStorSimpleDeviceVolume"), OutputType(typeof(TaskStatusInfo))] + public class RemoveAzureStorSimpleDeviceVolume : StorSimpleCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceName)] + [ValidateNotNullOrEmpty] + public string DeviceName { get; set; } + + [Alias("Name")] + [Parameter(Position = 1, Mandatory = true, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyByName, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageVolumeName)] + [ValidateNotNullOrEmpty] + public string VolumeName { get; set; } + + [Parameter(Position = 1, Mandatory = true, ParameterSetName = StorSimpleCmdletParameterSet.IdentifyByObject, ValueFromPipeline = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageVolumeId)] + [ValidateNotNullOrEmpty] + public VirtualDisk Volume { get; set; } + + [Parameter(Position = 2, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageWaitTillComplete)] + public SwitchParameter WaitForComplete { get; set; } + + [Parameter(Position = 3, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageForce)] + public SwitchParameter Force { get; set; } + + public override void ExecuteCmdlet() + { + ConfirmAction(Force.IsPresent, + Resources.RemoveWarningVolume, + Resources.RemoveConfirmationVolume, + string.Empty, + () => + { + try + { + var deviceid = StorSimpleClient.GetDeviceId(DeviceName); + + if (deviceid == null) + { + WriteVerbose(string.Format(Resources.NoDeviceFoundWithGivenNameInResourceMessage, StorSimpleContext.ResourceName, DeviceName)); + WriteObject(null); + return; + } + + string volumeId = string.Empty; + switch(ParameterSetName) + { + case StorSimpleCmdletParameterSet.IdentifyByObject: + volumeId = Volume.InstanceId; + break; + case StorSimpleCmdletParameterSet.IdentifyByName: + var volumeInfo = StorSimpleClient.GetVolumeByName(deviceid, VolumeName); + if (volumeInfo == null) + { + WriteVerbose(Resources.NotFoundMessageVirtualDisk); + return; + } + volumeId = volumeInfo.VirtualDiskInfo.InstanceId; + break; + } + + if (WaitForComplete.IsPresent) + { + WriteVerbose("About to run a task to remove your volume!"); + var taskstatus = StorSimpleClient.RemoveVolume(deviceid, volumeId); + HandleSyncTaskResponse(taskstatus, "delete"); + } + else + { + WriteVerbose("About to run a task to remove your volume!"); + var taskresponse = StorSimpleClient.RemoveVolumeAsync(deviceid, volumeId); + HandleAsyncTaskResponse(taskresponse, "delete"); + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + }); + + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Volume/SetAzureStorSimpleDeviceVolume.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Volume/SetAzureStorSimpleDeviceVolume.cs new file mode 100644 index 000000000000..5f70193dacff --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Cmdlets/Volume/SetAzureStorSimpleDeviceVolume.cs @@ -0,0 +1,115 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.Automation; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; +using Microsoft.WindowsAzure.Management.StorSimple.Models; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets +{ + [Cmdlet(VerbsCommon.Set, "AzureStorSimpleDeviceVolume"), OutputType(typeof(TaskStatusInfo))] + public class SetAzureStorSimpleDeviceVolume : StorSimpleCmdletBase + { + [Parameter(Position = 0, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageDeviceName)] + [ValidateNotNullOrEmpty] + public string DeviceName { get; set; } + + [Alias("Name")] + [Parameter(Position = 1, Mandatory = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageVolumeName)] + [ValidateNotNullOrEmpty] + public string VolumeName { get; set; } + + [Parameter(Position = 2, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageVolumeOnline)] + [ValidateNotNullOrEmpty] + public bool? Online { get; set; } + + [Alias("SizeInBytes")] + [Parameter(Position = 3, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageVolumeSize)] + [ValidateNotNullOrEmpty] + public Int64? VolumeSizeInBytes { get; set; } + + [Alias("AppType")] + [ValidateSet("PrimaryVolume","ArchiveVolume")] + [Parameter(Position = 4, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageVolumeAppType)] + [ValidateNotNullOrEmpty] + public AppType? VolumeAppType { get; set; } + + [Parameter(Position = 5, Mandatory = false, ValueFromPipeline = true, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageVolumeAcrList)] + [ValidateNotNullOrEmpty] + public List AccessControlRecords { get; set; } + + [Parameter(Position = 6, Mandatory = false, HelpMessage = StorSimpleCmdletHelpMessage.HelpMessageWaitTillComplete)] + public SwitchParameter WaitForComplete { get; set; } + + public override void ExecuteCmdlet() + { + try + { + var deviceId = StorSimpleClient.GetDeviceId(DeviceName); + if (deviceId == null) + { + WriteVerbose(string.Format(Resources.NoDeviceFoundWithGivenNameInResourceMessage, StorSimpleContext.ResourceName, DeviceName)); + WriteObject(null); + return; + } + + VirtualDisk diskDetails = StorSimpleClient.GetVolumeByName(deviceId, VolumeName).VirtualDiskInfo; + if (diskDetails == null) + { + WriteVerbose(Resources.NotFoundMessageVirtualDisk); + WriteObject(null); + return; + } + + if (Online != null) + { + diskDetails.Online = Online.GetValueOrDefault(); + } + if (VolumeSizeInBytes != null) + { + diskDetails.SizeInBytes = VolumeSizeInBytes.GetValueOrDefault(); + } + if (VolumeAppType != null) + { + diskDetails.AppType = VolumeAppType.GetValueOrDefault(); + } + if (AccessControlRecords != null) + { + diskDetails.AcrList = AccessControlRecords; + } + + if (WaitForComplete.IsPresent) + { + var taskstatus = StorSimpleClient.UpdateVolume(deviceId, diskDetails.InstanceId, diskDetails); + HandleSyncTaskResponse(taskstatus, "update"); + var updatedVolume = StorSimpleClient.GetVolumeByName(deviceId, VolumeName); + WriteObject(updatedVolume.VirtualDiskInfo); + } + else + { + var taskresult = StorSimpleClient.UpdateVolumeAsync(deviceId, diskDetails.InstanceId, diskDetails); + + HandleAsyncTaskResponse(taskresult, "update"); + } + } + catch (Exception exception) + { + this.HandleException(exception); + } + } + + } +} \ No newline at end of file diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Commands.StorSimple.csproj b/src/ServiceManagement/StorSimple/Commands.StorSimple/Commands.StorSimple.csproj new file mode 100644 index 000000000000..4a5e835ee7f7 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Commands.StorSimple.csproj @@ -0,0 +1,215 @@ + + + + + Debug + AnyCPU + {11524D98-6C40-4091-A8E1-86463FEE607C} + Library + Properties + Microsoft.WindowsAzure.Commands.StorSimple + Microsoft.WindowsAzure.Commands.StorSimple + v4.5 + 512 + + ..\..\..\ + true + + + true + full + false + ..\..\..\Package\Debug\ServiceManagement\Azure\StorSimple\ + DEBUG;TRACE + prompt + 4 + false + false + true + true + MinimumRecommendedRules.ruleset + + + ..\..\..\Package\Release\ServiceManagement\Azure\StorSimple\ + TRACE;SIGN + true + pdbonly + AnyCPU + prompt + MinimumRecommendedRules.ruleset + true + MSSharedLibKey.snk + true + false + + + + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll + + + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll + + + False + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + + + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll + + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + + + False + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + + + ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll + + + ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.dll + + + ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll + + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll + + + ..\..\..\packages\Microsoft.WindowsAzure.Management.Scheduler.6.0.0\lib\net40\Microsoft.WindowsAzure.Management.Scheduler.dll + + + ..\..\..\packages\Microsoft.WindowsAzure.Management.StorSimple.0.9.0-preview\lib\net40\Microsoft.WindowsAzure.Management.StorSimple.dll + + + ..\..\..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.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 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + True + True + Resources.resx + + + + + + + + + + + + + + + + + + + + {5ee72c53-1720-4309-b54b-5fb79703195f} + Commands.Common + + + + + + Designer + + + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + + + Designer + PreserveNewest + + + + + + + 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/ServiceManagement/StorSimple/Commands.StorSimple/Encryption/EncryptionCmdLetHelper.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Encryption/EncryptionCmdLetHelper.cs new file mode 100644 index 000000000000..13af214f5c66 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Encryption/EncryptionCmdLetHelper.cs @@ -0,0 +1,100 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets.Library; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Encryption +{ + public class EncryptionCmdLetHelper + { + public static void PersistCIK(StorSimpleCmdletBase cmdlet, string resourceId, string cik) + { + if (string.IsNullOrEmpty(resourceId)) + { + throw new ArgumentNullException("resourceId", Resources.ResourceIdMissing); + } + + if (string.IsNullOrEmpty(cik)) + { + throw new Exception(Resources.CIKInvalid); + } + + StorSimpleKeyManager mgr = cmdlet.StorSimpleClient.GetResourceContext().StorSimpleKeyManager; + KeyStoreOperationStatus status = mgr.PersistCIK(cik); + + if (status == KeyStoreOperationStatus.PERSIST_FILE_ALREADY_EXISTS) + { + cmdlet.WriteWarning("Key storage operation failed with error that file already exists. Deleting and retrying"); + mgr.CleanupCIK(); + status = mgr.PersistCIK(cik); + } + + // other error codes are NOT expected - those validations have been done already + if (status != KeyStoreOperationStatus.PERSIST_SUCCESS) + { + throw new Exception(Resources.PersistSecretFailed); + } + } + + public static string RetrieveCIK(StorSimpleCmdletBase cmdlet, string resourceId) + { + string cik = null; + + StorSimpleKeyManager mgr = cmdlet.StorSimpleClient.GetResourceContext().StorSimpleKeyManager; + KeyStoreOperationStatus status = mgr.RetrieveCIK(out cik); + + if (status == KeyStoreOperationStatus.RETRIEVE_FILESREAM_EMPTY || + status == KeyStoreOperationStatus.RETRIEVE_FILESTREAM_INVALID) + { + // CIK was persisted, but has been corrupted + throw new Exception(Resources.PersistedCIKCorrupted); + } + + if (status == KeyStoreOperationStatus.RETRIEVE_FILE_DOES_NOT_EXIST) + { + // CIK was never persisted + throw new Exception(Resources.CIKNotPersisted); + } + + // other error codes are NOT expected - those validations have been done already + if (status != KeyStoreOperationStatus.RETRIEVE_SUCCESS) + { + throw new Exception(Resources.CIKFetchFailed); + } + + if (string.IsNullOrEmpty(cik)) + { + // CIK retrieved successfully, but is NULL :( + throw new Exception(Resources.PersistedCIKIsNull); + } + + return cik; + } + + public static void ValidatePersistedCIK(StorSimpleCmdletBase cmdlet, string resourceId) + { + string cik = RetrieveCIK(cmdlet, resourceId); + + StorSimpleCryptoManager cryptMgr = new StorSimpleCryptoManager(cmdlet.StorSimpleClient); + string rakPub = cryptMgr.GetPlainTextRAKPub(cik); + + if (string.IsNullOrEmpty(rakPub)) + { + throw new Exception(Resources.PersistedCIKValidationFailed); + } + } + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Encryption/StorSimpleCryptoManager.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Encryption/StorSimpleCryptoManager.cs new file mode 100644 index 000000000000..72c628f7e67c --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Encryption/StorSimpleCryptoManager.cs @@ -0,0 +1,77 @@ +// ---------------------------------------------------------------------------------- +// +// 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.StorSimple.Cmdlets.Library; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Encryption +{ + public class StorSimpleCryptoManager + { + private StorSimpleClient StorSimpleClient; + + public StorSimpleCryptoManager(StorSimpleClient storSimpleClient) + { + this.StorSimpleClient = storSimpleClient; + } + + /// + /// Helper method that will return an encrypted secret using rakpub. + /// Fetches CIK from the keystore and uses it to get plaintext rakpub + /// + /// + /// + /// + public KeyStoreOperationStatus EncryptSecretWithRakPub(string secret, out string encryptedSecret) + { + StorSimpleKeyManager keyManager = StorSimpleClient.GetResourceContext().StorSimpleKeyManager; + encryptedSecret = null; + + //reading from keystore + string cik = null; + KeyStoreOperationStatus status = keyManager.RetrieveCIK(out cik); + if (status != KeyStoreOperationStatus.RETRIEVE_SUCCESS) + { + return status; + } + + string decryptedRAKPub = GetPlainTextRAKPub(cik); + + //encrypt secret using RAKPub + encryptedSecret = CryptoHelper.EncryptSecretRSAPKCS(secret, decryptedRAKPub); + + return KeyStoreOperationStatus.SUCCESS; + } + + public string GetPlainTextRAKPub(string cik) + { + var encryptedRAKPub = GetEncryptedRAKPub(); + + //decrypt the public key using CIK + return CryptoHelper.DecryptCipherAES(encryptedRAKPub, cik); + } + + public string GetSecretsEncryptionThumbprint() + { + var key = StorSimpleClient.GetResourceEncryptionKey(); + return key.ResourceEncryptionKeys.Thumbprint; + } + + private string GetEncryptedRAKPub() + { + //TODO: should use some other method OR is this fine? + return StorSimpleClient.GetResourceEncryptionKey().ResourceEncryptionKeys.EncodedEncryptedPublicKey; + } + + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Encryption/StorSimpleKeyManager.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Encryption/StorSimpleKeyManager.cs new file mode 100644 index 000000000000..853441df60bd --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Encryption/StorSimpleKeyManager.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. +// ---------------------------------------------------------------------------------- + +using System; +using System.IO; +using Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets.Library; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Encryption +{ + // This class decorates the IKeyManager infra for securely storing/retrieving secrets. + // Not prefering inheritence since this class can provide specific, meaningful functions to the user like "PersistCIK" instead of "PersistKey" + public class StorSimpleKeyManager + { + #region properties + private readonly string APP_DATA_FOLDER_PATH = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData); + private const string ONESDK_KEYSTORE_FILE_FOR_CIK = "StorSimplePSSDK_CIK.key"; + + private string ResourceId { get; set; } + + #endregion + + public StorSimpleKeyManager(string resourceId) + { + this.ResourceId = resourceId; + } + + public KeyStoreOperationStatus RetrieveCIK(out string cik) + { + return RetrieveKey(out cik, GenerateKeyFilePathForCIK()); + } + + public KeyStoreOperationStatus PersistCIK(string cik) + { + return PersistKey(cik, GenerateKeyFilePathForCIK()); + } + + public KeyStoreOperationStatus CleanupCIK() + { + string path = GenerateKeyFilePathForCIK(); + File.Delete(path); + return KeyStoreOperationStatus.SUCCESS; + } + + #region privates + private KeyStoreOperationStatus PersistKey(string keyValue, string filepath) + { + string folderPath = Path.GetDirectoryName(filepath); + if (!Directory.Exists(folderPath)) + { + Directory.CreateDirectory(folderPath); + } + + IKeyManager keyManager = new LocalKeyStoreManager(filepath, true); + return keyManager.PersistKey(keyValue); + } + + private KeyStoreOperationStatus RetrieveKey(out string keyValue, string filepath) + { + keyValue = null; + if (!File.Exists(filepath)) + { + return KeyStoreOperationStatus.RETRIEVE_FILE_DOES_NOT_EXIST; + } + + IKeyManager keyManager = new LocalKeyStoreManager(filepath, true); + return keyManager.RetrieveKey(out keyValue); + } + + private string GenerateKeyFolderPathForResource() + { + return Path.Combine(APP_DATA_FOLDER_PATH, ResourceId); + } + + private string GenerateKeyFilePathForCIK() + { + return Path.Combine(GenerateKeyFolderPathForResource(), ONESDK_KEYSTORE_FILE_FOR_CIK); + } + #endregion + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Library/CryptoHelper.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Library/CryptoHelper.cs new file mode 100644 index 000000000000..b87a0f8c7860 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Library/CryptoHelper.cs @@ -0,0 +1,126 @@ +// ---------------------------------------------------------------------------------- +// +// 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 System.Security.Cryptography; +using System.Security.Cryptography.X509Certificates; +using System.Text; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets.Library +{ + public class CryptoHelper + { + #region public methods + // Salt for generating encryption keys + private static byte[] salt = Encoding.ASCII.GetBytes("o6806642kbM7c5"); + /// + /// this algorithm uses the AES algorithm to decrypt the given cipherText + /// + /// + /// + /// + public static string DecryptCipherAES(string cipherText, string sharedSecret) + { + if (string.IsNullOrEmpty(cipherText)) + { + return cipherText; + } + + AesManaged aesAlg = null; + string plaintext = null; + // generate the key from the shared secret and the salt + Rfc2898DeriveBytes key = new Rfc2898DeriveBytes(sharedSecret, salt); + + // Create the streams used for decryption. + byte[] bytes = Convert.FromBase64String(cipherText); + using (MemoryStream memoryDecrypt = new MemoryStream(bytes)) + { + aesAlg = new AesManaged(); + aesAlg.Key = key.GetBytes(aesAlg.KeySize / 8); + // Get the initialization vector from the encrypted stream + aesAlg.IV = ReadByteArray(memoryDecrypt); + // Create a decrytor to perform the stream transform. + ICryptoTransform decryptor = aesAlg.CreateDecryptor(aesAlg.Key, aesAlg.IV); + using (CryptoStream cryptoDecrypt = + new CryptoStream(memoryDecrypt, decryptor, CryptoStreamMode.Read)) + { + using (StreamReader streamDecrypt = new StreamReader(cryptoDecrypt)) + { + plaintext = streamDecrypt.ReadToEnd(); + } + } + } + return plaintext; + } + + + /// + /// This method encrypts a given secret using the public cert + /// + /// + /// + /// + public static string EncryptSecretRSAPKCS(string plainText, string publicCertificate) + { + string encryptedSecret = null; + encryptedSecret = EncryptStringRsaPkcs1v15(plainText, publicCertificate); + return encryptedSecret; + } + #endregion public methods + + #region private methods + private static string EncryptStringRsaPkcs1v15(string plaintext, string encodedCertificate) + { + X509Certificate2 cert = new X509Certificate2(Convert.FromBase64String(encodedCertificate)); + if (string.IsNullOrEmpty(plaintext) || cert == null) + { + return null; + } + + byte[] textBytes = Encoding.UTF8.GetBytes(plaintext); + byte[] encryptedTextBytes; + + //// Create a new instance of RSACryptoServiceProvider. + RSACryptoServiceProvider rsa = (RSACryptoServiceProvider)cert.PublicKey.Key; + //// Encrypt the passed byte array and specify OAEP padding false to use PKCS#1 V1.5 padding. + encryptedTextBytes = rsa.Encrypt(textBytes, false); + + return Convert.ToBase64String(encryptedTextBytes); + } + + /// + /// Helper method to read byte array from a stream + /// + /// the stream + /// byte array + private static byte[] ReadByteArray(Stream s) + { + byte[] rawLength = new byte[sizeof(int)]; + if (s.Read(rawLength, 0, rawLength.Length) != rawLength.Length) + { + throw new SystemException("Stream did not contain properly formatted byte array"); + } + + byte[] buffer = new byte[BitConverter.ToInt32(rawLength, 0)]; + if (s.Read(buffer, 0, buffer.Length) != buffer.Length) + { + throw new SystemException("Did not read byte array properly"); + } + + return buffer; + } + #endregion private methods + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Library/IKeyManager.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Library/IKeyManager.cs new file mode 100644 index 000000000000..206ef59e8aca --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Library/IKeyManager.cs @@ -0,0 +1,29 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets.Library +{ + /// + /// interface to be used for persisting and retrieving keys + /// Currently we will be using DPAPI + /// in future this can extend to KeyVault service too + /// + public interface IKeyManager + { + KeyStoreOperationStatus PersistKey(string keyValue); + KeyStoreOperationStatus RetrieveKey(out string keyValue); + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Library/LocalKeyStoreManager.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Library/LocalKeyStoreManager.cs new file mode 100644 index 000000000000..63717290e5c3 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Library/LocalKeyStoreManager.cs @@ -0,0 +1,191 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Text; +using System.IO; +using System.Security.Cryptography; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets.Library +{ + /// + /// represents the different outcomes of a persist/retrieve key operation on a keystore + /// + public enum KeyStoreOperationStatus + { + PERSIST_EMPTY_KEY, + PERSIST_EMPTY_FILENAME, + PERSIST_FILE_ALREADY_EXISTS, + PERSIST_SUCCESS, + + RETRIEVE_EMPTY_FILENAME, + RETRIEVE_FILE_DOES_NOT_EXIST, + RETRIEVE_FILESTREAM_INVALID, + RETRIEVE_FILESREAM_EMPTY, + RETRIEVE_EMPTY_KEY, + RETRIEVE_SUCCESS, + + VALIDATE_FAILED, + + FAILED, + SUCCESS + } + public class LocalKeyStoreManager : IKeyManager + { + #region properties + private string KeyStorefilePath { get; set; } + private bool OverwriteFileIfExists { get; set; } + #endregion + + #region ctor + public LocalKeyStoreManager(string keyStorefilePath, bool overwriteFileIfExists = true) + { + if (string.IsNullOrEmpty(keyStorefilePath)) + { + throw new ArgumentNullException("keyStorefilePath"); + } + + this.KeyStorefilePath = keyStorefilePath; + this.OverwriteFileIfExists = overwriteFileIfExists; + } + #endregion + + #region interface implementation + + /// + /// This method encrypts and saves the given string with the given filename in the appdata folder + /// + /// the string that needs to be encrypted + /// the filename that can be used + /// + public KeyStoreOperationStatus PersistKey(string keyValue) + { + if (string.IsNullOrEmpty(keyValue)) + return KeyStoreOperationStatus.PERSIST_EMPTY_KEY; + + if (File.Exists(KeyStorefilePath) && !OverwriteFileIfExists) + return KeyStoreOperationStatus.PERSIST_FILE_ALREADY_EXISTS; + + var keyValueToEncrypt = UnicodeEncoding.ASCII.GetBytes(keyValue); + byte[] entropy = GenerateEntropy(); + + using (FileStream outputStream = new FileStream(KeyStorefilePath, FileMode.Create)) + { + // Encrypt a copy of the data to the stream. + int bytesWritten = EncryptDataToStream(keyValueToEncrypt, entropy, DataProtectionScope.CurrentUser, outputStream); + } + + return KeyStoreOperationStatus.PERSIST_SUCCESS; + } + + /// + /// Method to retrieve a key from an existing key store + /// + /// + /// + public KeyStoreOperationStatus RetrieveKey(out string key) + { + key = null; + if (!File.Exists(KeyStorefilePath)) + { + return KeyStoreOperationStatus.RETRIEVE_FILE_DOES_NOT_EXIST; + } + + using(FileStream fStream = new FileStream(KeyStorefilePath, FileMode.Open)) + { + if (Convert.ToInt32(fStream.Length) <= 0) + return KeyStoreOperationStatus.RETRIEVE_FILESREAM_EMPTY; + + if (!fStream.CanRead) + { + return KeyStoreOperationStatus.RETRIEVE_FILESTREAM_INVALID; + } + + byte[] decryptData = DecryptDataFromStream(fStream, GenerateEntropy(), DataProtectionScope.CurrentUser); + string decryptedData = UnicodeEncoding.ASCII.GetString(decryptData); + + key = decryptedData; + } + + return KeyStoreOperationStatus.RETRIEVE_SUCCESS; + } + #endregion interface implementation + + #region private + /// + /// Generate secondary entropy using a Math constant + /// + /// + private byte[] GenerateEntropy() + { + byte[] entropy = BitConverter.GetBytes(Math.PI); + return entropy; + } + + /// + /// Method that encrypts the key on the user's machine + /// + /// + /// + /// + /// + /// + private int EncryptDataToStream(byte[] inputBytes, byte[] Entropy, DataProtectionScope Scope, Stream outputFileStream) + { + int length = 0; + // Encrypt the data in memory. The result is stored in the same same array as the original data. + byte[] encrptedData = ProtectedData.Protect(inputBytes, Entropy, Scope); + // Write the encrypted data to a stream. + if (outputFileStream.CanWrite && encrptedData != null) + { + outputFileStream.Write(encrptedData, 0, encrptedData.Length); + length = encrptedData.Length; + } + // Return the length that was written to the stream. + return length; + + } + + + /// + /// This method reads data from an input stream and returns the decrypted format + /// + /// entropy bytes that were used for encryption. If no entropy was used, please pass null here. otherwise it will fail + /// User scope of local machine scope + /// the input stream + /// + private byte[] DecryptDataFromStream(Stream inputStream, byte[] Entropy, DataProtectionScope Scope = DataProtectionScope.CurrentUser) + { + int length = Convert.ToInt32(inputStream.Length); + byte[] inBuffer = new byte[length]; + byte[] outBuffer; + + // Read the encrypted data from a stream. + if (inputStream.CanRead) + { + inputStream.Read(inBuffer, 0, length); + + outBuffer = ProtectedData.Unprotect(inBuffer, Entropy, Scope); + } + else + { + throw new IOException("Could not read the stream."); + } + + return outBuffer; + } + #endregion private + + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/MSSharedLibKey.snk b/src/ServiceManagement/StorSimple/Commands.StorSimple/MSSharedLibKey.snk new file mode 100644 index 000000000000..695f1b38774e Binary files /dev/null and b/src/ServiceManagement/StorSimple/Commands.StorSimple/MSSharedLibKey.snk differ diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Microsoft.WindowsAzure.Commands.StorSimple.dll-help.psd1 b/src/ServiceManagement/StorSimple/Commands.StorSimple/Microsoft.WindowsAzure.Commands.StorSimple.dll-help.psd1 new file mode 100644 index 000000000000..ead8aec13057 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Microsoft.WindowsAzure.Commands.StorSimple.dll-help.psd1 @@ -0,0 +1,88 @@ +# +# Module manifest for module 'Microsoft.WindowsAzure.Commands.StorSimple' +# +# Generated by: Microsoft Corporation +# +# Generated on: 1/18/2015 +# + +@{ + +# Version number of this module. +ModuleVersion = '0.8.13' + +# ID used to uniquely identify this module +GUID = 'd52ed268-64c7-46bd-9cf8-1814d07409f8' + +# Author of this module +Author = 'Microsoft Corporation' + +# Company or vendor of this module +CompanyName = 'Microsoft Corporation' + +# Copyright statement for this module +Copyright = '© Microsoft Corporation. All rights reserved.' + +# Description of the functionality provided by this module +Description = '' + +# Minimum version of the Windows PowerShell engine required by this module +PowerShellVersion = '3.0' + +# Name of the Windows PowerShell host required by this module +PowerShellHostName = '' + +# Minimum version of the Windows PowerShell host required by this module +PowerShellHostVersion = '' + +# Minimum version of the .NET Framework required by this module +DotNetFrameworkVersion = '4.0' + +# Minimum version of the common language runtime (CLR) required by this module +CLRVersion='4.0' + +# Processor architecture (None, X86, Amd64, IA64) required by this module +ProcessorArchitecture = 'None' + +# Modules that must be imported into the global environment prior to importing this module +RequiredModules = @() + +# Assemblies that must be loaded prior to importing this module +RequiredAssemblies = @() + +# Script files (.ps1) that are run in the caller's environment prior to importing this module +ScriptsToProcess = @() + +# Type files (.ps1xml) to be loaded when importing this module +TypesToProcess = @() + +# Format files (.ps1xml) to be loaded when importing this module +FormatsToProcess = @() + +# Modules to import as nested modules of the module specified in ModuleToProcess +NestedModules = @( + '..\..\..\Package\Debug\ServiceManagement\Azure\StorSimple\Microsoft.WindowsAzure.Commands.StorSimple.dll' +) + +# Functions to export from this module +FunctionsToExport = '*' + +# Cmdlets to export from this module +CmdletsToExport = '*' + +# Variables to export from this module +VariablesToExport = '*' + +# Aliases to export from this module +AliasesToExport = @() + +# List of all modules packaged with this module +ModuleList = @() + +# List of all files packaged with this module +FileList = @() + +# Private data to pass to the module specified in ModuleToProcess +PrivateData = '' + +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Microsoft.WindowsAzure.Commands.StorSimple.dll-help.xml b/src/ServiceManagement/StorSimple/Commands.StorSimple/Microsoft.WindowsAzure.Commands.StorSimple.dll-help.xml new file mode 100644 index 000000000000..5bb33304c8f7 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Microsoft.WindowsAzure.Commands.StorSimple.dll-help.xml @@ -0,0 +1,1221 @@ + + + +The following list contains links to the help topics for the Microsoft Azure StorSimple cmdlets.NameDescriptionGet-AzureStorSimpleAccessControlRecordGets access control records in a service configuration.Get-AzureStorSimpleDeviceGets devices attached to the resource.Get-AzureStorSimpleDeviceBackupGets backups from a device.Get-AzureStorSimpleDeviceBackupPolicyGets backup policies.Get-AzureStorSimpleDeviceConnectedInitiatorGets the iSCSI connections available for a StorSimple device.Get-AzureStorSimpleDeviceVolumeGets volumes on a device.Get-AzureStorSimpleDeviceVolumeContainerGets volume containers on a device.Get-AzureStorSimpleResourceGets all resources that you created.Get-AzureStorSimpleResourceContextGets the current resource context.Get-AzureStorSimpleStorageAccountCredentialGets credentials for storage accounts.Get-AzureStorSimpleTaskGets the status of a task on a StorSimple device.New-AzureStorSimpleAccessControlRecordCreates an access control record.New-AzureStorSimpleDeviceBackupPolicyCreates a backup policy.New-AzureStorSimpleDeviceBackupScheduleAddConfigCreates a backup schedule configuration object.New-AzureStorSimpleDeviceBackupScheduleUpdateConfigCreates a backup schedule update configuration object.New-AzureStorSimpleDeviceVolumeCreates a volume in a specified volume container.New-AzureStorSimpleDeviceVolumeContainerCreates a volume container.New-AzureStorSimpleInlineStorageAccountCredentialCreates a .NET storage account credential object.New-AzureStorSimpleStorageAccountCredentialAdds an Azure storage access credential.Remove-AzureStorSimpleAccessControlRecordDeletes an access control record from the service configuration.Remove-AzureStorSimpleDeviceBackupDeletes a backup object.Remove-AzureStorSimpleDeviceBackupPolicyRemoves an existing backup policy.Remove-AzureStorSimpleDeviceVolumeRemoves a volume from a StorSimple device.Remove-AzureStorSimpleDeviceVolumeContainerRemoves a volume container from a StorSimple device.Remove-AzureStorSimpleStorageAccountCredentialDeletes an existing storage account credential.Select-AzureStorSimpleResourceSets a resource as the current resource.Set-AzureStorSimpleAccessControlRecordUpdates the IQN of an access control record.Set-AzureStorSimpleDeviceBackupPolicyUpdates an existing backup policy.Set-AzureStorSimpleDeviceVolumeUpdates the properties of an existing volume.Set-AzureStorSimpleStorageAccountCredentialUpdates an Azure storage access credential.Start-AzureStorSimpleDeviceBackupJobStarts a new job that creates a backup from an existing backup policy.Start-AzureStorSimpleDeviceBackupRestoreJobStarts a job that restores a backup on a StorSimple device.Get-AzureStorSimpleAccessControlRecordGets access control records in a service configuration.GetAzureStorSimpleAccessControlRecordThe Get-AzureStorSimpleAccessControlRecord cmdlet gets access control records in the StorSimple Manager service configuration. This cmdlet gets all records or a named record.Access control records are containers of iSCSI initiator parameters. These parameters specify which initiators can access a volume. When an iSCSI initiator attempts to connect to a volume, your appliance checks the access control records assigned to that volume. If the iSCSI initiator parameters match one of the entries in an access control record mapped to that volume, the iSCSI initiator can connect.Get-AzureStorSimpleAccessControlRecordACRNameSpecifies the name of an access control record to get.StringACRNameSpecifies the name of an access control record to get.StringStringnoneNoneAccessControlRecord, IList<AccessControlRecord>This cmdlet returns an AccessControlRecord object or an IList<AccessControlRecord> object. An AccessControlRecord object contains the following fields: + +-- GlobalId (String) +-- InitiatorName (String) +-- InstanceId (String) +-- Name (String) +-- OperationInProgress (OperationInProgress) +-- VolumeCount (int)Example 1: Get all access control recordsPS C:\>Get-AzureStorSimpleAccessControlRecord +VERBOSE: ClientRequestId: 59839a80-e27c-46ee-8ad5-8390917db9c8_PS +VERBOSE: ClientRequestId: 1b340751-ee10-4e35-8718-89fa2f1ef6bc_PS + +GlobalId : +InitiatorName : iqn101updated +InstanceId : 55f24643-ab3a-4098-ade2-aa2b1a3ab18c +Name : Contoso-TSQA-ACR +OperationInProgress : None +VolumeCount : 6 + +GlobalId : +InitiatorName : iqn101updated +InstanceId : 82c9f73c-9955-4c7b-814c-f314ebf16269 +Name : acr101 +OperationInProgress : None +VolumeCount : 4 + +GlobalId : +InitiatorName : abc +InstanceId : 966084b8-46e5-4812-b295-9ca91829b639 +Name : abc +OperationInProgress : None +VolumeCount : 14 + +GlobalId : +InitiatorName : iqn01updated +InstanceId : baebff4d-ab06-40f4-9054-9728c106771f +Name : acr01name +OperationInProgress : None +VolumeCount : 4 + +VERBOSE: 9 Access Control Records found! +This command gets all access control records.Example 2: Get a specific access control recordPS C:\>Get-AzureStorSimpleAccessControlRecord -ACRName "Acr11" +VERBOSE: ClientRequestId: 61f261c7-acd3-4bcc-922a-ddfd85eb767b_PS +VERBOSE: ClientRequestId: 49c6a4c7-d299-46fd-a553-034c52b47487_PS + +GlobalId : +InitiatorName : iqn-contoso63 +InstanceId : 55f24643-ab3a-4098-ade2-aa2b1a3ab18c +Name : Acr11 +OperationInProgress : None +VolumeCount : 6 + +VERBOSE: Access Control Record with given name Acr11 is found! +This command gets the access control record named Acr11.New-AzureStorSimpleAccessControlRecordRemove-AzureStorSimpleAccessControlRecordSet-AzureStorSimpleAccessControlRecordGet-AzureStorSimpleDeviceGets devices attached to the resource.GetAzureStorSimpleDeviceThe Get-AzureStorSimpleDevice cmdlet gets a list of StorSimple devices attached to the resource. You can specify device ID, name, model ID, and type. Use the DeviceID property obtained by using this cmdlet to specify devices for other StorSimple cmdlets.Get-AzureStorSimpleDeviceTypeSpecifies the type of a StorSimple device. Valid values are: Appliance and VirtualAppliance.StringModelIdSpecifies a model ID. This cmdlet returns devices that match the value that this parameter specifies.StringDetailedIndicates that this cmdlet returns device details for the devices that it gets.Get-AzureStorSimpleDeviceDeviceIdSpecifies the instance ID of the device to get.StringTypeSpecifies the type of a StorSimple device. Valid values are: Appliance and VirtualAppliance.StringModelIdSpecifies a model ID. This cmdlet returns devices that match the value that this parameter specifies.StringDetailedIndicates that this cmdlet returns device details for the devices that it gets.Get-AzureStorSimpleDeviceDeviceNameSpecifies the name of the StorSimple device to get.StringTypeSpecifies the type of a StorSimple device. Valid values are: Appliance and VirtualAppliance.StringModelIdSpecifies a model ID. This cmdlet returns devices that match the value that this parameter specifies.StringDetailedIndicates that this cmdlet returns device details for the devices that it gets.DetailedIndicates that this cmdlet returns device details for the devices that it gets.SwitchParameterSwitchParameternoneDeviceIdSpecifies the instance ID of the device to get.StringStringnoneDeviceNameSpecifies the name of the StorSimple device to get.StringStringnoneModelIdSpecifies a model ID. This cmdlet returns devices that match the value that this parameter specifies.StringStringnoneTypeSpecifies the type of a StorSimple device. Valid values are: Appliance and VirtualAppliance.StringStringnoneNoneList<DeviceDetails>, IEnumerable<DeviceInfo>This cmdlet returns a List<DeviceDetails> object, if you specify the Detailed parameter. If you do not specify that parameter, it returns an IEnumerable<DeviceInfo> object.Example 1: Get available devices on a resourcePS C:\>Get-AzureStorSimpleDevice +VERBOSE: ClientRequestId: 0092c884-4b8f-404d-937c-8ed5d7f3f59d_PS +VERBOSE: ClientRequestId: a3ff92aa-8262-4c42-9c67-c79487cce46a_PS +VERBOSE: ClientRequestId: 177b596a-2a0e-4e7c-9039-64fd9e63e682_PS + + +ACRCount : 0 +ActivationTime : 11/28/2014 11:34:49 AM +ActiveController : Unknown +AvailableStorageInBytes : 1087700467712 +CloudCredCount : 0 +Culture : en-US +CurrentController : Unknown +DataContainerCount : 0 +Description : +DeviceId : 29f9be68-04f7-437d-a466-b90a1ed324b5 +DeviceSoftwareVersion : 6.3.9600.17215 +FriendlyName : Contoso72App03 +IsConfigUpdated : True +IsVirtualApplianceInterimEntry : False +Location : +ModelDescription : 100 +NNicCards : 6 +ProvisionedStorageInBytes : 11811160064 +SerialNumber : 123456789 +Status : Online +TargetIQN : iqn.1991-05.com.contoso:storsimple100-123456789-target +TimeZone : Pacific Standard Time +TotalStorageInBytes : 1099511627776 +Type : Appliance +UsingStorageInBytes : 0 +VolumeCount : 0 + +VERBOSE: 1 StorSimple device found! +This command gets all available devices on a resource. In this example, only one device is available.Example 2: Get specific available devices on a resourcePS C:\>Get-AzureStorSimpleDevice -DeviceName "Contoso74App03" -Type Appliance -ModelId "100" +VERBOSE: ClientRequestId: a6e71da6-d02a-44e8-b42d-4a2992df087e_PS +VERBOSE: ClientRequestId: 7260e3db-3dec-4d60-84a7-c207e087ce7d_PS +VERBOSE: ClientRequestId: b76273b7-0c07-469e-bca3-e9e9cf7b1f40_PS + + +ACRCount : 0 +ActivationTime : 11/28/2014 11:34:49 AM +ActiveController : Unknown +AvailableStorageInBytes : 1087700467712 +CloudCredCount : 0 +Culture : en-US +CurrentController : Unknown +DataContainerCount : 0 +Description : +DeviceId : 29f9be68-04f7-437d-a466-b90a1ed324b5 +DeviceSoftwareVersion : 6.3.9600.17215 +FriendlyName : Contoso74App03 +IsConfigUpdated : True +IsVirtualApplianceInterimEntry : False +Location : +ModelDescription : 100 +NNicCards : 6 +ProvisionedStorageInBytes : 11811160064 +SerialNumber : 123456789 +Status : Online +TargetIQN : iqn.1991-05.com.contoso:storsimple100-123456789-target +TimeZone : Pacific Standard Time +TotalStorageInBytes : 1099511627776 +Type : Appliance +UsingStorageInBytes : 0 +VolumeCount : 0 + +VERBOSE: 1 StorSimple device found! +This command gets all available devices on a resource that have the specified name, type, and model ID. Example 3: Get details for a devicePS C:\>Get-AzureStorSimpleDevice -Name "Contoso63App03" -Type Appliance -Detailed +VERBOSE: ClientRequestId: ceee366d-e414-4db8-9cc4-0e9e52717812_PS +VERBOSE: ClientRequestId: ddbf7e41-743a-4c93-b5e6-dd72bfa76e3a_PS +VERBOSE: ClientRequestId: 9820367e-d2a0-4889-b2a1-76d4d0d1787d_PS +VERBOSE: ClientRequestId: 1a3b1a41-d3b9-4360-910f-a799d6a3d0fe_PS + + +AlertNotification : Microsoft.WindowsAzure.Management.StorSimple.Models.AlertNotificationSettings +Chap : Microsoft.WindowsAzure.Management.StorSimple.Models.ChapSettings +DeviceProperties : Microsoft.WindowsAzure.Management.StorSimple.Models.DeviceInfo +DnsServer : Microsoft.WindowsAzure.Management.StorSimple.Models.DnsServerSettings +InstanceId : 29f9be68-04f7-437d-a466-b90a1ed324b5 +Name : +NetInterfaceList : {Data0} +OperationInProgress : None +RemoteMgmtSettingsInfo : Microsoft.WindowsAzure.Management.StorSimple.Models.RemoteManagementSettings +RemoteMinishellSecretInfo : Microsoft.WindowsAzure.Management.StorSimple.Models.RemoteMinishellSettings +SecretEncryptionCertThumbprint : +Snapshot : Microsoft.WindowsAzure.Management.StorSimple.Models.SnapshotSettings +TimeServer : Microsoft.WindowsAzure.Management.StorSimple.Models.TimeSettings +Type : Invalid +VirtualApplianceProperties : Microsoft.WindowsAzure.Management.StorSimple.Models.VirtualApplianceInfo +WebProxy : Microsoft.WindowsAzure.Management.StorSimple.Models.WebProxySettings + +VERBOSE: 1 StorSimple device found! +This command gets all available devices on a resource that have the specified name and type. This command specifies the Detailed parameter. The command provides additional details about the devices it returns.Get-AzureStorSimpleResourceContextSelect-AzureStorSimpleResourceGet-AzureStorSimpleDeviceBackupGets backups from a device.GetAzureStorSimpleDeviceBackupThe Get-AzureStorSimpleDeviceBackup cmdlet gets backups from a device. You can specify the backup policy, volume, and creation time for backups. This cmdlet can return a maximum of 100 backups in the first page. If more than 100 backups exist, retrieve subsequent pages by using the First and Skip parameters. If you specify a value of 100 for Skip and 50 for First, this cmdlet does not return the first 100 results. It returns the next 50 results after the 100 that it skips. Get-AzureStorSimpleDeviceBackupDeviceNameSpecifies the name of the StorSimple device for which to get backups. StringBackupPolicySpecifies a BackupPolicyDetails object. This cmdlet uses the InstanceId of this object to determine which backups to get. To obtain a BackupPolicyDetails object, use the Get-AzureStorSimpleDeviceBackupPolicy cmdlet.BackupPolicyDetailsFromSpecifies the start date and time for the backups that this cmdlet gets.StringToSpecifies the end date and time for the backups that this cmdlet gets.StringGet-AzureStorSimpleDeviceBackupDeviceNameSpecifies the name of the StorSimple device for which to get backups. StringBackupPolicyIdSpecifies an instance ID of a backup policy. This cmdlet gets device backups for policy that this parameter specifies.StringFromSpecifies the start date and time for the backups that this cmdlet gets.StringToSpecifies the end date and time for the backups that this cmdlet gets.StringGet-AzureStorSimpleDeviceBackupDeviceNameSpecifies the name of the StorSimple device for which to get backups. StringFromSpecifies the start date and time for the backups that this cmdlet gets.StringToSpecifies the end date and time for the backups that this cmdlet gets.StringGet-AzureStorSimpleDeviceBackupDeviceNameSpecifies the name of the StorSimple device for which to get backups. StringVolumeIdSpecifies the instance ID of the volume in which backups exist.StringFromSpecifies the start date and time for the backups that this cmdlet gets.StringToSpecifies the end date and time for the backups that this cmdlet gets.StringGet-AzureStorSimpleDeviceBackupDeviceNameSpecifies the name of the StorSimple device for which to get backups. StringVolumeSpecifies a VirtualDisk object. This cmdlet uses the InstanceId of this object to determine the volume in which backups exist. To obtain a VirtualDisk object, use the Get-AzureStorSimpleDeviceVolume parameter.VirtualDiskFromSpecifies the start date and time for the backups that this cmdlet gets.StringToSpecifies the end date and time for the backups that this cmdlet gets.StringBackupPolicySpecifies a BackupPolicyDetails object. This cmdlet uses the InstanceId of this object to determine which backups to get. To obtain a BackupPolicyDetails object, use the Get-AzureStorSimpleDeviceBackupPolicy cmdlet.BackupPolicyDetailsBackupPolicyDetailsnoneBackupPolicyIdSpecifies an instance ID of a backup policy. This cmdlet gets device backups for policy that this parameter specifies.StringStringnoneDeviceNameSpecifies the name of the StorSimple device for which to get backups. StringStringnoneFromSpecifies the start date and time for the backups that this cmdlet gets.StringStringnoneToSpecifies the end date and time for the backups that this cmdlet gets.StringStringnoneVolumeSpecifies a VirtualDisk object. This cmdlet uses the InstanceId of this object to determine the volume in which backups exist. To obtain a VirtualDisk object, use the Get-AzureStorSimpleDeviceVolume parameter.VirtualDiskVirtualDisknoneVolumeIdSpecifies the instance ID of the volume in which backups exist.StringStringnoneBackupPolicyDetails, VirtualDiskThis cmdlet accepts BackupPolicyDetails and VirtualDisk objects. IList<Backup>This cmdlet returns a list of Backup objects.Example 1: Get all backups on a devicePS C:\>Get-AzureStorSimpleDeviceBackup -DeviceName "Contoso63-AppVm" +BackupJobCreationType : BySchedule +CreatedOn : 9/23/2014 11:00:14 AM +SizeInBytes : 10737418240 +Snapshots : {ContosoTSQA} +SSMHostName : +Type : CloudSnapshot +InstanceId : db987f59-487b-45b7-8024-fb50772d7118 +Name : ContosoTSQA_Default +OperationInProgress : None + +... + +BackupJobCreationType : BySchedule +CreatedOn : 9/22/2014 11:00:14 AM +SizeInBytes : 10737418240 +Snapshots : {ContosoTSQA} +SSMHostName : +Type : CloudSnapshot +InstanceId : f27f16d3-d52c-49cd-8045-34d62899f735 +Name : ContosoTSQA_Default +OperationInProgress : None + +VERBOSE: # of backups returned : 17 +VERBOSE: No more backup sets are present for your query! +This command gets all backups that exist on the device named Contoso63-AppVm. If there are more than the maximum of 100 backups allowed for the first page, use the First and Skip parameters to view additional results. Example 2: Get backups created between two datesPS C:\>Get-AzureStorSimpleDeviceBackup -DeviceName "Contoso63-AppVm" -From "9/7/2014" -To "10/7/2014" -First 2 -Skip 1 +BackupJobCreationType : BySchedule +CreatedOn : 10/5/2014 11:00:04 AM +SizeInBytes : 10737418240 +Snapshots : {ContosoTSQA} +SSMHostName : +Type : CloudSnapshot +InstanceId : ec2fdf5c-c807-4f7b-a942-d4c4a9b68c44 +Name : ContosoTSQA_Default +OperationInProgress : None + +BackupJobCreationType : BySchedule +CreatedOn : 10/4/2014 11:00:06 AM +SizeInBytes : 10737418240 +Snapshots : {ContosoTSQA} +SSMHostName : +Type : CloudSnapshot +InstanceId : 5ac4f947-f4c6-4770-9000-2242e72fc6d3 +Name : ContosoTSQA_Default +OperationInProgress : None + +VERBOSE: # of backups returned : 2 +VERBOSE: More backups are available for your query. To access the next page of your result use \"-First 2 -Skip 3\" in +your commandlet +This command gets backups on the device named Contoso63-AppVm that were created on or after 10/7/2014 and on or before 10/8/2014. This cmdlet skips the first result and returns the first two results after that first result. Modify values for First and Skip to view other results.Example 3: Get backups for a backup policy IDPS C:\>Get-AzureStorSimpleDeviceBackup -DeviceName "Contoso63-AppVm" -BackupPolicyId "de088eac-b283-4d92-b501-a759845fdf3f" -First 10 -From "9/7/2014" +BackupJobCreationType : BySchedule +CreatedOn : 10/1/2014 11:00:12 AM +SizeInBytes : 10737418240 +Snapshots : {ContosoTSQA} +SSMHostName : +Type : CloudSnapshot +InstanceId : e1aec9f1-a321-443f-a058-ba78c749c2c2 +Name : ContosoTSQA_Default +OperationInProgress : None + +....... + +BackupJobCreationType : BySchedule +CreatedOn : 9/29/2014 11:00:12 AM +SizeInBytes : 10737418240 +Snapshots : {ContosoTSQA} +SSMHostName : +Type : CloudSnapshot +InstanceId : f8041928-37b9-4048-a99c-2d3078943874 +Name : ContosoTSQA_Default +OperationInProgress : None + +VERBOSE: # of backups returned : 10 +VERBOSE: More backups are available for your query. To access the next page of your result use \"-First 10 -Skip 10\" +in your commandlet +This command gets backups on the device named Contoso63-AppVm created on or before the specified date. The command gets backups that were created by using the backup policy that has the specified ID. This command specifies the First parameter, so it returns only the first 10 results.Example 4: Get backups for a backup policy objectPS C:\>Get-AzureStorSimpleDeviceBackupPolicy -DeviceName "Contoso63-AppVm" -BackupPolicyName "TSQATest_Default" | Get-AzureStorSimpleDeviceBackup -DeviceName "Contoso63-AppVm" -First 10 -From "9/7/2014" +BackupJobCreationType : BySchedule +CreatedOn : 10/1/2014 11:00:12 AM +SizeInBytes : 10737418240 +Snapshots : {ContosoTSQA} +SSMHostName : +Type : CloudSnapshot +InstanceId : e1aec9f1-a321-443f-a058-ba78c749c2c2 +Name : ContosoTSQA_Default +OperationInProgress : None + +....... + +BackupJobCreationType : BySchedule +CreatedOn : 9/29/2014 11:00:12 AM +SizeInBytes : 10737418240 +Snapshots : {ContosoTSQA} +SSMHostName : +Type : CloudSnapshot +InstanceId : f8041928-37b9-4048-a99c-2d3078943874 +Name : ContosoTSQA_Default +OperationInProgress : None + +VERBOSE: # of backups returned : 10 +VERBOSE: More backups are available for your query. To access the next page of your result use \"-First 10 -Skip 10\" +in your commandlet +This command gets a BackupPolicyDetails object by using the Get-AzureStorSimpleDeviceBackupPolicy cmdlet, and then passes that object to the current cmdlet by using the pipeline operator. That cmdlet gets backups for the device named Contoso63-AppVm created by using the backup policy from the first part of the command. The command gets backups created on or before the specified date, just as in the previous example. This command returns only the first 10 results. Example 5: Get a backup for a volume IDPS C:\>Get-AzureStorSimpleDeviceBackup -DeviceName "Contoso63-AppVm" -VolumeId "SS-VOL-246b9df1-11bb-4071-8043-f955cc406446" -First 1 +BackupJobCreationType : BySchedule +CreatedOn : 10/9/2014 11:00:10 AM +SizeInBytes : 10737418240 +Snapshots : {ContosoTSQA} +SSMHostName : +Type : CloudSnapshot +InstanceId : 4fef4178-0145-404b-8257-7d958a380b8b +Name : ContosoTSQA_Default +OperationInProgress : None + +VERBOSE: # of backups returned : 1 +VERBOSE: No more backup sets are present for your query! +This command gets a backup on the device that is created on the volume that has the specified instance ID. This command specifies the First parameter, so it returns only the first one result. Example 6: Get a backup for a volume namePS C:\>Get-AzureStorSimpleDeviceVolume -DeviceName "Contoso63-AppVm" -VolumeName "TSQATest03" | Get-AzureStorSimpleDeviceBackup -DeviceName "Contoso63-AppVm" -First 1 +BackupJobCreationType : BySchedule +CreatedOn : 10/9/2014 11:00:10 AM +SizeInBytes : 10737418240 +Snapshots : {ContosoTSQA} +SSMHostName : +Type : CloudSnapshot +InstanceId : 4fef4178-0145-404b-8257-7d958a380b8b +Name : ContosoTSQA_Default +OperationInProgress : None + +VERBOSE: # of backups returned : 1 +VERBOSE: No more backup sets are present for your query! +This command gets a VirtualDisk object by using the Get-AzureStorSimpleDeviceVolume cmdlet, and then passes that object to the current cmdlet by using the pipeline operator. That cmdlet gets backups for the device named Contoso63-AppVm created on the volume from the first part of the command. This command returns only the first result. Remove-AzureStorSimpleDeviceBackupGet-AzureStorSimpleDeviceBackupPolicyGet-AzureStorSimpleDeviceVolumeGet-AzureStorSimpleDeviceBackupPolicyGets backup policies.GetAzureStorSimpleDeviceBackupPolicyThe Get-AzureStorSimpleDeviceBackupPolicy cmdlet gets backup policies. This cmdlet returns a BackupPolicy object or a list of all the BackupPolicy objects that belong to a device. The backup policy objects contain the following properties: + +-- Name +-- InstanceId +-- BackupPolicyCreationType +-- LastBackup +-- NextBackup +-- SchedulesCount +-- SSMHostName +-- VolumesCountGet-AzureStorSimpleDeviceBackupPolicyDeviceNameSpecifies the name of the StorSimple device on which to create the backup policy.StringBackupPolicyNameSpecifies the name of the backup policy to get. If you do not specify this parameter, this cmdlet gets all policies.StringBackupPolicyNameSpecifies the name of the backup policy to get. If you do not specify this parameter, this cmdlet gets all policies.StringStringnoneDeviceNameSpecifies the name of the StorSimple device on which to create the backup policy.StringStringnoneNoneIList<BackupPolicy>, BackupPolicyDetailsThis cmdlet returns a BackupPolicyDetails object, if you specify the BackupPolicyName parameter. If you do not specify that parameter, it returns an IList<BackupPolicy> object. Example 1: Get details for a policyPS C:\>Get-AzureStorSimpleDeviceBackupPolicy -DeviceName "Contoso63-AppVm" -BackupPolicyName "GeneralBackupPolicy07" +VERBOSE: ClientRequestId: 2a878cd6-8432-4646-8be8-a0cb0750958e_PS +VERBOSE: ClientRequestId: 00ea5a6d-8c27-4e22-b182-5969cdbb8033_PS +VERBOSE: ClientRequestId: 39dac9ff-4455-45ae-ae3d-7de1445b9520_PS + + +BackupSchedules : {8658e3a2-8a59-4d43-8725-ab0c95665301} +Volumes : {testvolume03, testvolume05} +BackupPolicyCreationType : BySaaS +LastBackup : +NextBackup : 16-12-2014 00:30:00 +SchedulesCount : 1 +SSMHostName : +VolumesCount : 2 +InstanceId : 84140a6a-9254-4fff-8d09-ae40e9f1bc7d +Name : GeneralBackupPolicy07 +OperationInProgress : None + +VERBOSE: BackupPolicy with id 84140a6a-9254-4fff-8d09-ae40e9f1bc7d found! +This command gets a BackupPolicyDetails object named GeneralBackupPolicy07 on the device named Contoso63-AppVm. Example 2: Get a list of backup policiesPS C:\>Get-AzureStorSimpleDeviceBackupPolicy -DeviceName "Contoso63-AppVm" +VERBOSE: ClientRequestId: 09d46116-ebc6-4cf8-a010-f8bbce39a932_PS +VERBOSE: ClientRequestId: 1bcbbfa8-7add-42c9-b8f8-73d89955b4f5_PS +VERBOSE: ClientRequestId: 0f5d0a1a-951c-4cf3-a1e6-ad4e20af9652_PS + + +BackupPolicyCreationType : BySaaS +LastBackup : +NextBackup : 16-12-2014 00:30:00 +SchedulesCount : 1 +SSMHostName : +VolumesCount : 2 +InstanceId : 03509359-3d7b-4b96-9165-28472e159563 +Name : GeneralBackupPolicy07 +OperationInProgress : None + +BackupPolicyCreationType : BySaaS +LastBackup : +NextBackup : 16-12-2014 00:30:00 +SchedulesCount : 1 +SSMHostName : +VolumesCount : 2 +InstanceId : 84140a6a-9254-4fff-8d09-ae40e9f1bc7d +Name : GeneralBackupPolicy16 +OperationInProgress : None + +VERBOSE: 2 backup policies found! +This command lists the BackupPolicy objects on the device named Contoso63-AppVm. New-AzureStorSimpleDeviceBackupPolicyRemove-AzureStorSimpleDeviceBackupPolicySet-AzureStorSimpleDeviceBackupPolicyGet-AzureStorSimpleDeviceConnectedInitiatorGets the iSCSI connections available for a StorSimple device.GetAzureStorSimpleDeviceConnectedInitiatorThe Get-AzureStorSimpleDeviceConnectedInitiator cmdlet gets a list of the iSCSI connections available for a StorSimple device. The iSCSI connection objects that this cmdlet returns contain the following properties: + +-- AcrInstanceId +-- AcrName +-- AllowedVolumeNames +-- InitiatorAddress +-- Interfaces +-- Iqn +-- IscsiConnectionIdThis cmdlet gets connection object only if iSCSI connections are turned on for the device. By default, connections are turned off. Get-AzureStorSimpleDeviceConnectedInitiatorDeviceIdSpecifies the instance ID of the StorSimple device from which to get iSCSI initiators.StringGet-AzureStorSimpleDeviceConnectedInitiatorDeviceNameSpecifies the name of the StorSimple device from which to get iSCSI initiators.StringDeviceIdSpecifies the instance ID of the StorSimple device from which to get iSCSI initiators.StringStringnoneDeviceNameSpecifies the name of the StorSimple device from which to get iSCSI initiators.StringStringnoneNoneList<IscsiConnection>This cmdlet returns an iSCSI connection object that contains the following properties: + +-- AcrInstanceId +-- AcrName +-- AllowedVolumeNames +-- InitiatorAddress +-- Interfaces +-- Iqn +-- IscsiConnectionIdExample 1: Get all connections for a devicePS C:\>Get-AzureStorSimpleDeviceConnectedInitiator -DeviceName "Contoso63-AppVm" +VERBOSE: ClientRequestId: bec615b9-79ab-4671-88b0-287adeb6bf68_PS +VERBOSE: ClientRequestId: ef976c58-2660-41c8-aa15-c84e70c9d01c_PS +VERBOSE: ClientRequestId: 9b306b96-8e76-47ed-beda-d3bd2fb2bb82_PS +VERBOSE: ClientRequestId: 0f4fc743-0b60-45da-a45a-27f4b0f32bd2_PS + +AcrInstanceId : 55f24643-ab3a-4098-ade2-aa2b1a3ab18c +AcrName : Contoso63-AppVm +AllowedVolumeNames : {Policyvolume1_Default} +InitiatorAddress : +Interfaces : {Data0} +Iqn : iqn10 +IscsiConnectionId : cfc144cb-00f1-44b1-9655-80b431f2161b + +VERBOSE: 1 Iscsi Connection found! +This command gets all iSCSI connections for the device named Contoso63-AppVm. This command returns connections only if connections are turned on for the device.Get-AzureStorSimpleAccessControlRecordGet-AzureStorSimpleDeviceVolumeGets volumes on a device.GetAzureStorSimpleDeviceVolumeThe Get-AzureStorSimpleDeviceVolume cmdlet gets a list of volumes for a specified volume container, or volume that has the specified name. The returned object contains the following properties: + +-- AccessType +-- AcrList +-- AppType +-- DataContainer +-- DataContainerId +-- InstanceId +-- IsBackupEnabled +-- IsDefaultBackupEnabled +-- IsMonitoringEnabled +-- Name +-- Online +-- OperationInProgress +-- SizeInBytes +-- VSNGet-AzureStorSimpleDeviceVolumeDeviceNameSpecifies the name of the StorSimple device from which to get volumes.StringVolumeContainerSpecifies the volume container, as a DataContainer object, that includes the volumes to get. To obtain a DataContainer, use the Get-AzureStorSimpleDeviceVolumeContainer cmdlet.DataContainerGet-AzureStorSimpleDeviceVolumeDeviceNameSpecifies the name of the StorSimple device from which to get volumes.StringVolumeNameSpecifies the name of the volume to get. StringDeviceNameSpecifies the name of the StorSimple device from which to get volumes.StringStringnoneVolumeContainerSpecifies the volume container, as a DataContainer object, that includes the volumes to get. To obtain a DataContainer, use the Get-AzureStorSimpleDeviceVolumeContainer cmdlet.DataContainerDataContainernoneVolumeNameSpecifies the name of the volume to get. StringStringnoneDataContainerThis cmdlet accepts a DataContainer object that contains the volume to get.VirtualDisk, IList<VirtualDisk>This cmdlet returns a VirtualDisk object if you specify the VolumeName parameter. If you specify the VolumeContainer, this cmdlet returns an IList<VirtualDisk> object.Example 1: Get volumes in a specified containerPS C:\>Get-AzureStorSimpleDeviceVolumeContainer -DeviceName "Contoso63-AppVm" -VolumeContainerName "Container03" | Get-AzureStorSimpleDeviceVolume -DeviceName "Contoso63-AppVm" +VERBOSE: ClientRequestId: d3202cf7-2cb5-45ce-838d-6fa812dc670a_PS +VERBOSE: ClientRequestId: 53c4f0ed-881a-47ae-8383-7469724ffc4a_PS +VERBOSE: ClientRequestId: f0754861-682c-406f-8aed-90f853dc030c_PS +VERBOSE: ClientRequestId: 16d9ab47-179a-4297-93a7-1ba56f9f5ac8_PS +VERBOSE: ClientRequestId: e3a6cec0-ef9c-4c31-8477-3f430dc1ae2d_PS +VERBOSE: ClientRequestId: 1aab1c85-9039-452c-91cd-30b3eb0e30bd_PS +VERBOSE: 2 volumes found for your volume container! +VERBOSE: Volume container with name: Container03 is found. + +AccessType : ReadWrite +AcrIdList : {} +AcrList : {acr101, acr104} +AppType : PrimaryVolume +DataContainer : Microsoft.WindowsAzure.Management.StorSimple.Models.DataContainer +DataContainerId : e8860763-7e04-4fca-9506-e5023251deb8 +InstanceId : SS-VOL-dfd27819-b445-41f8-a6c0-f44e98a26a9a +InternalInstanceId : +IsBackupEnabled : False +IsDefaultBackupEnabled : False +IsMonitoringEnabled : False +Name : Volume01 +Online : True +OperationInProgress : None +SizeInBytes : 2000000000 +VSN : SS-VOL-dfd27819-b445-41f8-a6c0-f44e98a26a9a + +AccessType : ReadWrite +AcrIdList : {} +AcrList : {acr101, acr104} +AppType : PrimaryVolume +DataContainer : Microsoft.WindowsAzure.Management.StorSimple.Models.DataContainer +DataContainerId : e8860763-7e04-4fca-9506-e5023251deb8 +InstanceId : SS-VOL-e993efaa-7689-494b-ae55-1873e6875a47 +InternalInstanceId : +IsBackupEnabled : False +IsDefaultBackupEnabled : False +IsMonitoringEnabled : False +Name : Volume02 +Online : True +OperationInProgress : None +SizeInBytes : 2000000000 +VSN : SS-VOL-e993efaa-7689-494b-ae55-1873e6875a47 +This command gets the volume container named Container03 on the device named Contoso63-AppVm by using the Get-AzureStorSimpleDeviceVolumeContainer cmdlet. The command uses the pipeline operator to pass that container to the current cmdlet. That cmdlet gets all the volumes in that container for the device named Contoso63-AppVm.Example 2: Get a volume by using its namePS C:\>Get-AzureStorSimpleDeviceVolume -DeviceName "Contoso63-AppVm" -VolumeName "Volume18" +VERBOSE: ClientRequestId: 4f2f4716-6315-456a-966b-7020c1d7503f_PS +VERBOSE: ClientRequestId: a53fcae1-a459-4b8b-b690-58d39bb82fb7_PS +VERBOSE: ClientRequestId: 1f053107-e781-4a70-ac6d-74ca9ef3b4d2_PS + + +AccessType : ReadWrite +AcrIdList : {} +AcrList : { EvanNarvaez, DavidChew, ElisaDaugherty PattiFuller } +AppType : PrimaryVolume +DataContainer : Microsoft.WindowsAzure.Management.StorSimple.Models.DataContainer +DataContainerId : 04ea9aad-7a56-4a50-b195-86061b0a810a +InstanceId : SS-VOL-e84e0105-7510-4eda-9829-069a2a02d118 +InternalInstanceId : +IsBackupEnabled : False +IsDefaultBackupEnabled : False +IsMonitoringEnabled : False +Name : Volume18 +Online : True +OperationInProgress : None +SizeInBytes : 2000000000 +VSN : SS-VOL-e84e0105-7510-4eda-9829-069a2a02d118 + +VERBOSE: Volume with name: Volume18 is found. +This command gets the volume named Volume18 on the device named Contoso63-AppVm.New-AzureStorSimpleDeviceVolumeRemove-AzureStorSimpleDeviceVolumeSet-AzureStorSimpleDeviceVolumeGet-AzureStorSimpleDeviceVolumeContainerGet-AzureStorSimpleDeviceVolumeContainerGets volume containers on a device.GetAzureStorSimpleDeviceVolumeContainerThe Get-AzureStorSimpleDeviceVolumeContainer cmdlet gets a list of volume containers on a device, or volume container that has the specified name. The returned object contains the following properties: + +-- BandwidthRate +-- EncryptionKey +-- InstanceId +-- IsDefault +-- IsEncryptionEnabled +-- Name +-- OperationInProgress +-- Owned +-- PrimaryStorageAccountCredential +-- SecretsEncryptionThumbprint +-- VolumeCountGet-AzureStorSimpleDeviceVolumeContainerDeviceNameSpecifies the name of a StorSimple device. This cmdlet gets volume containers from the device that this parameter specifies.StringVolumeContainerNameSpecifies the name of the volume container to get.StringDeviceNameSpecifies the name of a StorSimple device. This cmdlet gets volume containers from the device that this parameter specifies.StringStringnoneVolumeContainerNameSpecifies the name of the volume container to get.StringStringnoneNoneDataContainer, IList<DataContainer>This cmdlet returns a DataContainer object, if you specify the VolumeContainerName parameter. If you do not specify that parameter, this cmdlet returns an IList<DataContainer> object.Example 1: Get all the containers on a devicePS C:\>Get-AzureStorSimpleDeviceVolumeContainer -DeviceName "Contoso63-AppVm" +VERBOSE: ClientRequestId: 8d1f3b9a-e0e6-4dae-984c-a034d1366987_PS +VERBOSE: ClientRequestId: 63a11e29-1721-42e7-9fa3-d222308c0b10_PS +VERBOSE: ClientRequestId: b48eca6a-12b4-444d-845b-0953c234b512_PS + + +BandwidthRate : 256 +EncryptionKey : +InstanceId : 04ea9aad-7a56-4a50-b195-86061b0a810a +IsDefault : False +IsEncryptionEnabled : False +Name : Containter03 +OperationInProgress : None +Owned : True +PrimaryStorageAccountCredential : Microsoft.WindowsAzure.Management.StorSimple.Models.StorageAccountCredentialResponse +SecretsEncryptionThumbprint : +VolumeCount : 5 + +VERBOSE: 1 volume container found! +This command gets a list of the volume containers on the device named Contoso63-AppVm.Example 2: Get a container by using its namePS C:\>Get-AzureStorSimpleDeviceVolumeContainer -DeviceName "Contoso63-AppVm" -VolumeContainerName "Container08" +VERBOSE: ClientRequestId: 8027c66a-869b-4ea3-97a2-e17d98ec751c_PS +VERBOSE: ClientRequestId: 344f9be5-0887-4d37-98ef-e45c557774f1_PS +VERBOSE: ClientRequestId: 14919be5-d6f5-4f81-b7f1-d7fafff2238c_PS + + +BandwidthRate : 256 +EncryptionKey : +InstanceId : 04ea9aad-7a56-4a50-b195-86061b0a810a +IsDefault : False +IsEncryptionEnabled : False +Name : Container03 +OperationInProgress : None +Owned : True +PrimaryStorageAccountCredential : Microsoft.WindowsAzure.Management.StorSimple.Models.StorageAccountCredentialResponse +SecretsEncryptionThumbprint : +VolumeCount : 5 + +VERBOSE: Volume container with name: Container03 is found. +This command gets the volume container named Container08 on the device named Contoso63-AppVm.New-AzureStorSimpleDeviceVolumeContainerRemove-AzureStorSimpleDeviceVolumeContainerGet-AzureStorSimpleResourceGets all resources that you created.GetAzureStorSimpleResourceThe Get-AzureStorSimpleResource cmdlet gets all resources that you created by using Azure Portal. The cmdlet gets details you can use to connect to the resources.Get-AzureStorSimpleResourceNoneIEnumerable<ResourceCredentials>, ResourceCredentialsThis cmdlet returns ResourceCredentials objects that contain the following properties: + +-- ResourceName +-- CloudServiceName +-- ResourceNameSpace +-- ResourceType +-- StampId +-- ResouceId +-- BackendStampId +-- ResourceStateExample 1: Get all resourcesPS C:\>Get-AzureStorSimpleResource +ResourceName : Contoso63-Tsqa +CloudServiceName : CisService-3KMVAKGQRUBVUOQOYRNHMDI4U3DASWARAQQAEE5XOFJ6WBYVPNBA-west-us +ResourceNameSpace : CISBVT2 +ResourceType : CisVault +StampId : abeb635b-e186-4605-b464-c7c9e55b226a +ResourceId : 129568832932543915 +BackendStampId : daadc46b-4f56-4e24-8fd8-30d827983ef3 +ResourceState : Started + +ResourceName : oldAgentTest2 +CloudServiceName : CisService-3KMVAKGQRUBVUOQOYRNHMDI4U3DASWARAQQAEE5XOFJ6WBYVPNBA-west-us +ResourceNameSpace : CisBVT2 +ResourceType : CisVault +StampId : abeb635b-e186-4605-b464-c7c9e55b226a +ResourceId : 1166111113599012360 +BackendStampId : daadc46b-4f56-4e24-8fd8-30d827983ef3 +ResourceState : Started + +ResourceName : LqjdAx +CloudServiceName : CisService-3KMVAKGQRUBVUOQOYRNHMDI4U3DASWARAQQAEE5XOFJ6WBYVPNBA-west-us +ResourceNameSpace : CISBVT2 +ResourceType : CisVault +StampId : abeb635b-e186-4605-b464-c7c9e55b226a +ResourceId : 8143420525957257522 +BackendStampId : daadc46b-4f56-4e24-8fd8-30d827983ef3 +ResourceState : Started +This command gets all the resources you created. In this example, there are three resources. Example 2: Get a resource by using its namePS C:\>Get-AzureStorSimpleResource -ResourceName "Contoso63-Tsqa" +VERBOSE: ClientRequestId: 79782ab6-7368-4024-bae5-0ea15bc49067_PS + + +ResourceName : Contoso63-Tsqa +CloudServiceName : CisService-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-west-us +ResourceNameSpace : Contoso +ResourceType : CisVault +StampId : e7b9e848-2f14-47a9-9bad-d77ce5f0ed9a +ResourceId : 1975530557201809476 +BackendStampId : 7ef900f6-ad91-497d-a9c5-2742b7ed4a75 +ResourceState : Started + +VERBOSE: 1 StorSimple resource found! +This command gets the resource named Contoso63-Tsqa.Example 3: Attempt to get a nonexistent resourcePS C:\>Get-AzureStorSimpleResource -ResourceName "Contoso64-Tsqa" +VERBOSE: ClientRequestId: a3f6c207-df66-40b3-9ae5-26d2631df20c_PS +VERBOSE: No resource found in your subscription with name : Contoso64-Tsqa! +This command attempts to get the resource named Contoso64-Tsqa. There is no resource that has this name. This example does not return any resource.Get-AzureStorSimpleResourceContextSelect-AzureStorSimpleResourceGet-AzureStorSimpleResourceContextGets the current resource context.GetAzureStorSimpleResourceContextThe Get-AzureStorSimpleResourceContext cmdlet gets the current resource context.Get-AzureStorSimpleResourceContextNoneStorSimpleResourceContextThis cmdlet returns a ResourceContext object.Example 1: Get the current contextPS C:\>Select-AzureStorSimpleResource -ResourceName "Contoso63-Tsqa" +PS C:\> Get-AzureStorSimpleResourceContext +VERBOSE: ClientRequestId: b05f27e2-4298-4913-b026-cd33803809ef_PS + + +ResourceId : 1975530557201809476 +StampId : 7ef900f6-ad91-497d-a9c5-2742b7ed4a75 +CloudServiceName : CisService-DTYHC5NYB4BUTV3ZHFNSE5EKIZZGLGYR44OJUL5OQGG4I2EMYOZA-west-us +ResourceProviderNameSpace : Contoso +ResourceType : CisVault +ResourceName : Contoso63-Tsqa +StorSimpleKeyManager : Microsoft.WindowsAzure.Commands.StorSimple.Encryption.StorSimpleKeyManager + +VERBOSE: You have a resource selected. Resource Name: Contoso63-Tsqa Id: Contoso63-Tsqa +The first command sets the current context to be the resource named Contoso63-Tsqa by using the Select-AzureStorSimpleResource cmdlet. The second command gets the current resource context. Example 2: Attempt to get the current contextPS C:\>Get-AzureStorSimpleResourceContext +VERBOSE: ClientRequestId: 4441afe2-9735-4f1a-aa1f-d16a97443f51_PS +Get-AzureStorSimpleResourceContext : Resource Context is not set for your subscription. Please use +Select-AzureStorSimpleResource -ResourceName <<name>> to set +This command gets the current context. In this example, no context has been set. The command returns a message that explains the problem. Get-AzureStorSimpleResourceSelect-AzureStorSimpleResourceGet-AzureStorSimpleStorageAccountCredentialGets credentials for storage accounts.GetAzureStorSimpleStorageAccountCredentialThe Get-AzureStorSimpleStorageAccountCredential cmdlet gets credentials for storage accounts. This cmdlet gets all StorageAccountCredential objects configured in the service or a named StorageAccountCredential.Get-AzureStorSimpleStorageAccountCredentialStorageAccountNameSpecifies the name of the storage account for which to get credentials.StringStorageAccountNameSpecifies the name of the storage account for which to get credentials.StringStringnoneNoneStorageAccountCredential, IList<StorageAccountCredential>This cmdlet returns a StorageAccountCredential object, if you specify the StorageAccountName parameter, or if you do not specify that parameter, it returns an IList<StorageAccountCredential> object.Example 1: Get all credentials for a resourcePS C:\>Get-AzureStorSimpleStorageAccountCredential +VERBOSE: ClientRequestId: e40014fe-3188-45a0-8acd-f0c5578120e0_PS +VERBOSE: ClientRequestId: 7f71b3ad-4130-48e3-9f36-3edde7f4b55c_PS + + +CloudType : Azure +Hostname : blob.core.windows.net +InstanceId : 2df01182-207e-4476-b6e4-3276fde325e8 +IsDefault : False +Location : West US +Login : ContosoCloudStorage +Name : ContosoCloudStorage +OperationInProgress : None +Password : +PasswordEncryptionCertThumbprint : +UseSSL : False +VolumeCount : 0 + +VERBOSE: 1 Storage Access Credential found! +This command gets all available credentials for storage accounts for the current resource.Example 2: Get the credential for a specific storage accountPS C:\>Get-AzureStorSimpleStorageAccountCredential -StorageAccountName "ContosoCloudStorage" +VERBOSE: ClientRequestId: 16551af6-3398-4d30-a389-1b8eb01ce92c_PS +VERBOSE: ClientRequestId: 5041277d-4044-4b6c-ae19-4ea9e7ae135a_PS +VERBOSE: Storage Access Credential with name ContosoCloudStorage found! + + +CloudType : Azure +Hostname : blob.core.windows.net +InstanceId : 8b3cb7bb-963b-4173-9598-52fe230b0350 +IsDefault : False +Location : West US +Login : ContosoCloudStorage +Name : ContosoCloudStorage +OperationInProgress : None +Password : +PasswordEncryptionCertThumbprint : +UseSSL : True +VolumeCount : 0 +This command gets the storage account credential for the storage account named ContosoCloudStorage. New-AzureStorSimpleStorageAccountCredentialRemove-AzureStorSimpleStorageAccountCredentialSet-AzureStorSimpleStorageAccountCredentialNew-AzureStorSimpleAccessControlRecordCreates an access control record.NewAzureStorSimpleAccessControlRecordThe New-AzureStorSimpleAccessControlRecord cmdlet creates an access control record. You can use an AccessControlRecord object to configure volumes.New-AzureStorSimpleAccessControlRecordACRNameSpecifies a name for the access control record.StringIQNInitiatorNameSpecifies the iSCSI qualified name (IQN) of the iSCSI initiator to which this cmdlet provides access for the volume.StringWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.ACRNameSpecifies a name for the access control record.StringStringnoneIQNInitiatorNameSpecifies the iSCSI qualified name (IQN) of the iSCSI initiator to which this cmdlet provides access for the volume.StringStringnoneWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.SwitchParameterSwitchParameternoneNoneTaskStatusInfo, TaskResponseThis cmdlet returns a TaskStatusInfo object if you specify the WaitForComplete parameter. If you do not specify that parameter, it returns a TaskResponse object.Example 1: Create an access control record and wait for the resultPS C:\>New-AzureStorSimpleAccessControlRecord -ACRName "Acr10" -IQNInitiatorName "Iqn10" -WaitForComplete +Error : Microsoft.WindowsAzure.Management.StorSimple.Models.ErrorDetails +JobId : 08719243-3a76-43a5-a88b-e5f2b63ed3d9 +JobSteps : {} +Result : Succeeded +Status : Completed +TaskResult : Succeeded +StatusCode : OK +RequestId : e12362c2c06615108ba8436cf85fcd40 +This command creates an access control record named Acr10 for the iSCSI initiator named Iqn10. This command specifies the WaitForComplete parameter, and, therefore, the command waits until the operation is complete, and then returns a TaskStatusInfo object.Example 2: Create an access control recordPS C:\>New-AzureStorSimpleAccessControlRecord -ACRName "Acr11" -IQNInitiatorName "Iqn11" +VERBOSE: The create job is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId +2bd56fbb-4b95-4f2c-b99f-6321231a018d for tracking the job status +This command creates an access control record named Acr11 for the iSCSI initiator named Iqn11. This command does not specify the WaitForComplete parameter, and, therefore, the command starts the task, and then returns a TaskResponse object. To see the status of the task, use the Get-AzureStorSimpleTask cmdlet. Get-AzureStorSimpleAccessControlRecordRemove-AzureStorSimpleAccessControlRecordSet-AzureStorSimpleAccessControlRecordNew-AzureStorSimpleDeviceBackupPolicyCreates a backup policy.NewAzureStorSimpleDeviceBackupPolicyThe New-AzureStorSimpleDeviceBackupPolicy cmdlet creates a backup policy. A backup policy contains one or more backup schedules that can run on one or more volumes. To create a backup schedule, use the New-AzureStorSimpleDeviceBackupScheduleAddConfig cmdlet.New-AzureStorSimpleDeviceBackupPolicyDeviceNameSpecifies the name of the StorSimple device on which to create the backup policy.StringBackupPolicyNameSpecifies the name of the backup policy.StringBackupSchedulesToAddSpecifies an array of BackupScheduleBase objects to add to the policy. Each object represents a schedule. A backup policy contains one or more schedules. To obtain a BackupScheduleBase object, use the New-AzureStorSimpleDeviceBackupScheduleAddConfig cmdlet.PSObject[]VolumeIdsToAddSpecifies an array of the IDs of volumes to add to the backup policy.PSObject[]WaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.BackupPolicyNameSpecifies the name of the backup policy.StringStringnoneBackupSchedulesToAddSpecifies an array of BackupScheduleBase objects to add to the policy. Each object represents a schedule. A backup policy contains one or more schedules. To obtain a BackupScheduleBase object, use the New-AzureStorSimpleDeviceBackupScheduleAddConfig cmdlet.PSObject[]PSObject[]noneDeviceNameSpecifies the name of the StorSimple device on which to create the backup policy.StringStringnoneVolumeIdsToAddSpecifies an array of the IDs of volumes to add to the backup policy.PSObject[]PSObject[]noneWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.SwitchParameterSwitchParameternoneNoneBackupPolicyThis cmdlet returns a BackupPolicy object that contains the new schedules and volumes.Example 1: Create a backup policyPS C:\>$Schedule01 = New-AzureStorSimpleDeviceBackupScheduleAddConfig -BackupType LocalSnapshot -RecurrenceType Daily -RecurrenceValue 10 -RetentionCount 5 -Enabled $True +PS C:\> $Schedule02 = New-AzureStorSimpleDeviceBackupScheduleAddConfig -BackupType CloudSnapshot -RecurrenceType Hourly -RecurrenceValue 1 -RetentionCount 5 -Enabled $True +PS C:\> $ScheduleArray = @() +PS C:\> $ScheduleArray += $Schedule01 +PS C:\> $ScheduleArray += $Schedule02 +PS C:\> $DeviceContainer = Get-AzureStorSimpleDeviceVolumeContainer -DeviceName "Contoso63-AppVm" +PS C:\> $Volume = $(Get-AzureStorSimpleDeviceVolume -DeviceName "Contoso63-AppVm" -VolumeContainer $DeviceContainer[0]) +PS C:\> $VolumeArray = @() +PS C:\> $VolumeArray += $Volume[0].InstanceId +PS C:\> New-AzureStorSimpleDeviceBackupPolicy -DeviceName "Contoso63-AppVm" -BackupPolicyName "GeneralPolicy07" -BackupSchedulesToAdd $ScheduleArray -VolumeIdsToAdd $VolumeArray +VERBOSE: ClientRequestId: e9d6771e-c323-47b9-b424-cb98f8ed0273_PS +VERBOSE: ClientRequestId: db0e7c86-d0d2-4a5a-b1cb-182494cba027_PS +VERBOSE: ClientRequestId: 77708dfd-a386-4999-b7ed-5d53e288ae83_PS + + +JobId : d4ce5340-d5d1-4471-9cc8-013193f021b3 +JobResult : Succeeded +JobStatus : Completed +ErrorCode : +ErrorMessage : +JobSteps : {Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStep, + Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStep, + Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStep} + +VERBOSE: The job created for your add operation has completed successfully. +VERBOSE: ClientRequestId: bbf7e9b9-b493-40b3-8348-f15bcfc4da8a_PS +BackupSchedules : {36d21096-bbd1-47b7-91b5-40ad1792d992, 505fc91f-deb5-4dca-bfcb-98c20b75ebcc} +Volumes : {volume03} +BackupPolicyCreationType : BySaaS +LastBackup : 01-01-2010 05:30:00 +NextBackup : 16-12-2014 01:13:43 +SchedulesCount : 2 +SSMHostName : +VolumesCount : 1 +InstanceId : 8799c2f0-8850-4e91-aa23-ee18c67da8bd +Name : GeneralPolicy07 +OperationInProgress : None + +The first command creates a backup schedule configuration object by using the New-AzureStorSimpleDeviceBackupScheduleAddConfig cmdlet, and then stores that object in the $Schedule01 variable. The second command creates another backup configuration object by using New-AzureStorSimpleDeviceBackupScheduleAddConfig, and then stores that object in the $Schedule02 variable.The third command creates an empty array variable, named $ScheduleArray. The next two commands add the objects created in the first two commands to $ScheduleArray.The sixth command gets a volume container for the device named Contoso63-AppVm by using the Get-AzureStorSimpleDeviceVolumeContainer cmdlet, and then stores that container object in the $DeviceContainer variable. The seventh command gets a volume for the volume container stored in the first member of $DeviceContainer by using the Get-AzureStorSimpleDeviceVolume cmdlet, and then stores that volume in the $Volume variable.The eighth command creates an empty array variable, named $VolumeArray. The next command adds a volume ID to $VolumeArray. This value identifies the volume, stored in $Volume, on which the backup policy runs. You can add additional volume IDs to $VolumeArray.The final command creates the backup policy named GeneralPolicy07 for the device named Contoso63-AppVm. The command specifies the schedule configuration objects stored in $ScheduleArray. The command specifies the volume or volumes to which to apply the policy in $VolumeArray. You can verify the backup policy by using the Get-AzureStorSimpleDeviceBackupPolicy cmdlet.Get-AzureStorSimpleDeviceBackupPolicyGet-AzureStorSimpleDeviceVolumeGet-AzureStorSimpleDeviceVolumeContainerRemove-AzureStorSimpleDeviceBackupPolicySet-AzureStorSimpleDeviceBackupPolicyNew-AzureStorSimpleDeviceBackupScheduleAddConfigNew-AzureStorSimpleDeviceBackupScheduleAddConfigCreates a backup schedule configuration object.NewAzureStorSimpleDeviceBackupScheduleAddConfigThe New-AzureStorSimpleDeviceBackupScheduleAddConfig cmdlet creates a BackupScheduleBase configuration object. Use this configuration object to create new backup policy by using the New-AzureStorSimpleDeviceBackupPolicy cmdlet.New-AzureStorSimpleDeviceBackupScheduleAddConfigBackupTypeSpecifies the backup type. Valid values are: LocalSnapshot and CloudSnapshot.LocalSnapshotCloudSnapshotRecurrenceTypeSpecifies the type of recurrence for this backup schedule. Valid values are: + +-- Minutes +-- Hourly +-- Daily +-- WeeklyMinutesHourlyDailyWeeklyRecurrenceValueSpecifies how often to make a backup. This parameter uses the unit specified by the RecurrenceType parameter.Int32RetentionCountSpecifies the number of days to keep a backup.Int64StartFromDateTimeSpecifies the date from which to start making backups. The default value is the current time.StringEnabledIndicates whether to enable the backup schedule.BooleanBackupTypeSpecifies the backup type. Valid values are: LocalSnapshot and CloudSnapshot.StringStringnoneEnabledIndicates whether to enable the backup schedule.BooleanBooleannoneRecurrenceTypeSpecifies the type of recurrence for this backup schedule. Valid values are: + +-- Minutes +-- Hourly +-- Daily +-- WeeklyStringStringnoneRecurrenceValueSpecifies how often to make a backup. This parameter uses the unit specified by the RecurrenceType parameter.Int32Int32noneRetentionCountSpecifies the number of days to keep a backup.Int64Int64noneStartFromDateTimeSpecifies the date from which to start making backups. The default value is the current time.StringStringnoneNoneBackupScheduleBaseThis cmdlet returns a BackupScheduleBase object. Use a BackupScheduleBase to construct new backup policy.Example 1: Create a backup configuration objectPS C:\>New-AzureStorSimpleDeviceBackupScheduleAddConfig -BackupType CloudSnapshot -RecurrenceType Daily -RecurrenceValue 1 -RetentionCount 100 -Enabled $True +VERBOSE: ClientRequestId: 426a79ee-fed3-4d3d-9123-e371f83222b3_PS + + +BackupType : CloudSnapshot +Recurrence : Microsoft.WindowsAzure.Management.StorSimple.Models.ScheduleRecurrence +RetentionCount : 100 +StartTime : 2014-12-16T00:37:19+05:30 +Status : Enabled +This command creates a backup schedule base object for cloud snapshot backups. The backup occurs every day, and the backups are kept for 100 days. This schedule is enabled from the default time, which is the current time. New-AzureStorSimpleDeviceBackupScheduleUpdateConfigNew-AzureStorSimpleDeviceBackupPolicyNew-AzureStorSimpleDeviceBackupScheduleUpdateConfigCreates a backup schedule update configuration object.NewAzureStorSimpleDeviceBackupScheduleUpdateConfigThe New-AzureStorSimpleDeviceBackupScheduleUpdateConfig cmdlet creates a BackupScheduleUpdateRequest configuration object. Use this configuration object to update a backup policy by using the Set-AzureStorSimpleDeviceBackupPolicy cmdlet. New-AzureStorSimpleDeviceBackupScheduleUpdateConfigIdSpecifies the instance ID of the backup schedule to update.StringBackupTypeSpecifies the backup type. Valid values are: LocalSnapshot and CloudSnapshot.LocalSnapshotCloudSnapshotRecurrenceTypeSpecifies the type of recurrence for this backup schedule. Valid values are: + +-- Minutes +-- Hourly +-- Daily +-- WeeklyMinutesHourlyDailyWeeklyRecurrenceValueSpecifies how often to make a backup. This parameter uses the unit specified by the RecurrenceType parameter.Int32RetentionCountSpecifies the number of days to keep a backup.Int64StartFromDateTimeSpecifies the date from which to start making backups. The default value is the current time.StringEnabledIndicates whether to enable the backup schedule.BooleanBackupTypeSpecifies the backup type. Valid values are: LocalSnapshot and CloudSnapshot.StringStringnoneEnabledIndicates whether to enable the backup schedule.BooleanBooleannoneIdSpecifies the instance ID of the backup schedule to update.StringStringnoneRecurrenceTypeSpecifies the type of recurrence for this backup schedule. Valid values are: + +-- Minutes +-- Hourly +-- Daily +-- WeeklyStringStringnoneRecurrenceValueSpecifies how often to make a backup. This parameter uses the unit specified by the RecurrenceType parameter.Int32Int32noneRetentionCountSpecifies the number of days to keep a backup.Int64Int64noneStartFromDateTimeSpecifies the date from which to start making backups. The default value is the current time.StringStringnoneNoneBackupScheduleUpdateRequestThis cmdlet returns a BackupScheduleUpdateRequest object that contains information about updated backup schedules.Example 1: Create a schedule update requestPS C:\>New-AzureStorSimpleDeviceBackupScheduleUpdateConfig -Id "147f734d-a31a-4473-8501-6ba38be2cb30" -BackupType CloudSnapshot -RecurrenceType Hourly -RecurrenceValue 1 -RetentionCount 50 -Enabled $True +VERBOSE: ClientRequestId: ef346641-54b4-4273-8898-7f863e7c5b7e_PS + + +BackupType : CloudSnapshot +Id : 147f734d-a31a-4473-8501-6ba38be2cb30 +Recurrence : Microsoft.WindowsAzure.Management.StorSimple.Models.ScheduleRecurrence +RetentionCount : 50 +StartTime : 2014-12-16T00:39:32+05:30 +Status : Enabled +This command creates a backup schedule update request for the schedule that has the specified ID. The request is to make the schedule a cloud snapshot backup that recurs every hour. The backups are kept for 50 days. This schedule is enabled from the default time, which is the current time.New-AzureStorSimpleDeviceBackupScheduleAddConfigSet-AzureStorSimpleDeviceBackupPolicyNew-AzureStorSimpleDeviceVolumeCreates a volume in a specified volume container.NewAzureStorSimpleDeviceVolumeThe New-AzureStorSimpleDeviceVolume cmdlet creates a volume in a specified volume container. This cmdlet associates each volume with one or more access control records. To obtain AccessControlRecord objects, use the Get-AzureStorSimpleAccessControlRecord cmdlet. Specify a name, size, and AppType for the volume. Also, specify whether to create the volume online, whether to enable default backup, and whether to enable monitoring.New-AzureStorSimpleDeviceVolumeDeviceNameSpecifies the name of the StorSimple device on which to create the volume.StringWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.VolumeContainerSpecifies the container, as a DataContainer object, in which to create the volume. To obtain a VirtualDisk object, use the Get-AzureStorSimpleDeviceVolumeContainer cmdlet.DataContainerVolumeNameSpecifies a name for the new volume.StringVolumeSizeSystem.Int64AccessControlRecordsSpecifies a list of access control records to associate with the volume.0, Culture=neutral, PublicKeyToken=nullVolumeAppTypeSpecifies whether to create a primary or archive volume. Valid values are: PrimaryVolume and ArchiveVolume.InvalidPrimaryVolumeArchiveVolumeOnlineSpecifies whether to create the volume online.BooleanEnableDefaultBackupSpecifies whether to enable default backup for the volume.BooleanEnableMonitoringSpecifies whether to enable monitoring for the volume. BooleanAccessControlRecordsSpecifies a list of access control records to associate with the volume.0, Culture=neutral, PublicKeyToken=null0, Culture=neutral, PublicKeyToken=nullnoneDeviceNameSpecifies the name of the StorSimple device on which to create the volume.StringStringnoneEnableDefaultBackupSpecifies whether to enable default backup for the volume.BooleanBooleannoneEnableMonitoringSpecifies whether to enable monitoring for the volume. BooleanBooleannoneOnlineSpecifies whether to create the volume online.BooleanBooleannoneVolumeAppTypeSpecifies whether to create a primary or archive volume. Valid values are: PrimaryVolume and ArchiveVolume.AppTypeAppTypenoneVolumeContainerSpecifies the container, as a DataContainer object, in which to create the volume. To obtain a VirtualDisk object, use the Get-AzureStorSimpleDeviceVolumeContainer cmdlet.DataContainerDataContainernoneVolumeNameSpecifies a name for the new volume.StringStringnoneVolumeSizeSystem.Int64System.Int64noneWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.SwitchParameterSwitchParameternoneDataContainer, List<AccessControlRecord>This cmdlet accepts a DataContainer object and a list of AccessControlRecord objects for the new volume.TaskStatusInfoThis cmdlet returns a TaskStatusInfo object, if you specify the WaitForComplete parameter. Example 1: Create a volumePS C:\>$AcrList = Get-AzureStorSimpleAccessControlRecord +PS C:\> Get-AzureStorSimpleDeviceVolumeContainer -DeviceName "Contoso63-AppVm" -VolumeContainerName "VolumeContainer07" | New-AzureStorSimpleDeviceVolume -DeviceName "Contoso63-AppVm" -VolumeName "Volume18" -Size 2000000000 -AccessControlRecords $AcrList -VolumeAppType PrimaryVolume -Online $True -EnableDefaultBackup $False -EnableMonitoring $False + +VERBOSE: ClientRequestId: a29d1a84-1f81-4f20-9130-7adfe45e41fb_PS +VERBOSE: ClientRequestId: 8fa63df1-3f81-4029-a536-b536a70068ad_PS +VERBOSE: ClientRequestId: 964c5744-8bb1-4f70-beda-95ca4c7f3eb6_PS +VERBOSE: ClientRequestId: f09fff3a-54fa-4a0e-93db-b079260ed2dd_PS +VERBOSE: ClientRequestId: 59aa29e3-8044-411a-adae-b64a2681ffed_PS +VERBOSE: ClientRequestId: 0ffd0297-19be-40fe-a64e-6a2947d831b4_PS +c3b1ad53-7a51-49d7-ae83-94ff1ff3ab90 +VERBOSE: The create task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId +c3b1ad53-7a51-49d7-ae83-94ff1ff3ab90 for tracking the task's status +VERBOSE: Volume container with name: VolumeContainer07 is found. +The first command gets the access control records in the StorSimple Manager service configuration by using the Get-AzureStorSimpleAccessControlRecord cmdlet, and then stores them in the $AcrList variable.The second command gets the volume container named VolumeContainer07 for the device named Contoso63-AppVm by using the Get-AzureStorSimpleDeviceVolumeContainer cmdlet. The command passes that container to the current cmdlet by using the pipeline operator. This cmdlet creates the volume. The command specifies the name for the volume, the size, and the access control records stored in $AcrList. This command starts the job, and then returns a TaskResponse object. To see the status of the job, use the Get-AzureStorSimpleTask cmdlet. Example 2: Create a volume without Access Controlaccess control records access controlPS C:\>Get-AzureStorSimpleDeviceVolumeContainer -DeviceName "Contoso63-AppVm" -VolumeContainerName "VolumeContainer01" | New-AzureStorSimpleDeviceVolume -DeviceName "Contoso63-AppVm" -VolumeName "Volume22" -Size 2000000000 -AccessControlRecords @() -VolumeAppType PrimaryVolume -Online $True -EnableDefaultBackup $False -EnableMonitoring $False -WaitForComplete +VERBOSE: ClientRequestId: 3f359790-7e1f-48e7-acf8-ecabba850966_PS +VERBOSE: ClientRequestId: 2723ebcf-cd72-47bb-99b5-0c099d45641b_PS +VERBOSE: ClientRequestId: e605091f-dd63-42a7-bda2-24753cbc1f9a_PS +VERBOSE: ClientRequestId: b3fd08c3-67c5-4309-9591-15d92c360469_PS +VERBOSE: ClientRequestId: 15a024a3-b0c9-4f83-9c34-0ed8b95d024b_PS +VERBOSE: ClientRequestId: c13f92f9-aea1-40dd-af80-3affe273adbe_PS + + +TaskId : ceef657e-390e-4f7a-aab7-669a29c29e7f +TaskResult : Succeeded +TaskStatus : Completed +ErrorCode : +ErrorMessage : +TaskSteps : {Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStep} + +VERBOSE: The task created for your create operation has completed successfully. +VERBOSE: ClientRequestId: 1d79febf-f752-4255-af2d-230d40773bc6_PS +AccessType : NoAccess +AcrIdList : {} +AcrList : {} +AppType : PrimaryVolume +DataContainer : Microsoft.WindowsAzure.Management.StorSimple.Models.DataContainer +DataContainerId : 68b63d15-6aa5-4e69-9f9d-4a0bc607d6e9 +InstanceId : SS-VOL-d73b7eec-76fc-4310-b347-69b160de8cdd +InternalInstanceId : +IsBackupEnabled : False +IsDefaultBackupEnabled : False +IsMonitoringEnabled : False +Name : Volume22 +Online : True +OperationInProgress : None +SizeInBytes : 2000000000 +VSN : SS-VOL-d73b7eec-76fc-4310-b347-69b160de8cdd + +VERBOSE: Volume container with name: VolumeContainer01 is found. +This command gets the volume container named VolumeContainer01 for the device named Contoso63-AppVm by using the Get-AzureStorSimpleDeviceVolumeContainer cmdlet. The command passes that container to the current cmdlet by using the pipeline operator. This cmdlet creates the volume. The command specifies the name for the volume, the size, and an empty value for access control records. This command specifies the WaitForComplete parameter, so it returns a TaskStatusInfo after it creates the volume. Because the command specifies no access control records, this volume cannot be accessed. You can add access, later, by using Set-AzureStorSimpleDeviceVolume cmdlet.Get-AzureStorSimpleDeviceVolumeRemove-AzureStorSimpleDeviceVolumeSet-AzureStorSimpleDeviceVolumeGet-AzureStorSimpleAccessControlRecordGet-AzureStorSimpleDeviceVolumeContainerNew-AzureStorSimpleDeviceVolumeContainerCreates a volume container.NewAzureStorSimpleDeviceVolumeContainerThe New-AzureStorSimpleDeviceVolumeContainer cmdlet creates a volume container. You must associate a storage account credential with the new volume container. To obtain a storage account credential, use the Get-AzureStorSimpleStorageAccountCredential cmdlet. New-AzureStorSimpleDeviceVolumeContainerDeviceNameSpecifies the name of the StorSimple device on which to create the volume container.StringVolumeContainerNameSpecifies the name of the volume container to create.StringPrimaryStorageAccountCredentialSpecifies the credential, as a StorageAccountCredential object, to associate with the new volume container. To obtain a StorageAccountCredential object, use the Get-AzureStorSimpleStorageAccountCredential cmdlet.StorageAccountCredentialResponseBandWidthRateSystem.Int32EncryptionEnabledIndicates whether to enable encryption.BooleanEncryptionKeySpecifies the encryption key.StringWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.BandWidthRateSystem.Int32System.Int32noneDeviceNameSpecifies the name of the StorSimple device on which to create the volume container.StringStringnoneEncryptionEnabledIndicates whether to enable encryption.BooleanBooleannoneEncryptionKeySpecifies the encryption key.StringStringnonePrimaryStorageAccountCredentialSpecifies the credential, as a StorageAccountCredential object, to associate with the new volume container. To obtain a StorageAccountCredential object, use the Get-AzureStorSimpleStorageAccountCredential cmdlet.StorageAccountCredentialResponseStorageAccountCredentialResponsenoneVolumeContainerNameSpecifies the name of the volume container to create.StringStringnoneWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.SwitchParameterSwitchParameternoneStorageAccountCredentialThis cmdlet accepts a PrimaryStorageAccountCredential object to associate with the volume container.TaskStatusInfoThis cmdlet returns a TaskStatusInfo object, if you specify the WaitForComplete parameter. Example 1: Create a containerPS C:\>Get-AzureStorSimpleStorageAccountCredential -StorageAccountName "ContosoAccount" | New-AzureStorSimpleDeviceVolumeContainer -DeviceName "Contoso63-AppVm" -VolumeContainerName "Container08" -BandWidthRateInMbps 256 +VERBOSE: ClientRequestId: 96a4ccd4-f2a9-4820-8bc8-e6b7b56dce0d_PS +VERBOSE: ClientRequestId: 90be20db-098a-4f2b-a6da-9da6f533a846_PS +VERBOSE: ClientRequestId: 410fd33a-8fa3-4ae5-a1bf-1b6da9b34ffc_PS +VERBOSE: Storage Access Credential with name ContosoAccount found! +VERBOSE: ClientRequestId: 0a6d1008-ba1f-43b2-a424-9c86be2fb83b_PS +VERBOSE: ClientRequestId: 08f0d657-a130-4a25-8090-270c58b479dc_PS +VERBOSE: ClientRequestId: 0f3e894a-b031-467c-a258-41b74c89cf18_PS +5b192120-9df0-40ed-b75e-b4e728bd37ef +VERBOSE: The create task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId +5b192120-9df0-40ed-b75e-b4e728bd37ef for tracking the task's status +This command gets the storage account credential for the account named ContosoAccount by using the Get-AzureStorSimpleStorageAccountCredential cmdlet. The command passes the credential to the current cmdlet by using the pipeline operator. This cmdlet uses the credential from that cmdlet to create the container named Container08 on the device named Contoso63-AppVm. This command starts the job, and then returns a TaskResponse object. To see the status of the job, use the Get-AzureStorSimpleTask cmdlet. Get-AzureStorSimpleDeviceVolumeContainerRemove-AzureStorSimpleDeviceVolumeContainerGet-AzureStorSimpleStorageAccountCredentialNew-AzureStorSimpleStorageAccountCredentialAdds an Azure storage access credential.NewAzureStorSimpleStorageAccountCredentialThe New-AzureStorSimpleStorageAccountCredential cmdlet adds an Azure storage access credential to StorSimple manager for use by StorSimple OneSDK cmdlets. Most of the StorSimple OneSDK cmdlets deal with entities that are eventually tied to a specific storage account, such as volumes, volume containers, backups, and backup policies. For some cmdlets, you must provide the credentials of the storage account in use. A storage account credential is an access object created in OneSDK that points to an existing Azure storage account. You provide the name and access key of an existing storage account to create a storage account credential. You can then use that credential object with other cmdlets. This cmdlet uses the registration key that you provide when you select the resource by using the Select-AzureStorSimpleResource cmdlet. Be sure that value is correct to avoid encryption failure. To modify the registration key to a correct value, use Select-AzureStorSimpleResource. New-AzureStorSimpleStorageAccountCredentialStorageAccountNameSpecifies the name of an existing storage account. StringStorageAccountKeySpecifies the access key of the storage account in plain text. StringUseSSLIndicates whether to use SSL for the connection when using the new storage account credential. BooleanWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.StorageAccountKeySpecifies the access key of the storage account in plain text. StringStringnoneStorageAccountNameSpecifies the name of an existing storage account. StringStringnoneUseSSLIndicates whether to use SSL for the connection when using the new storage account credential. BooleanBooleannoneWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.SwitchParameterSwitchParameternoneNoneIEnumerable<StorageAccountCredentialResponse>, TaskResponseThis cmdlet returns a list of StorageAccountCredentialResponse objects, if you specify the WaitForComplete parameter. If you do not specify that parameter, the cmdlet returns a TaskResponse object. A StorageAccountCredentialResponse contains the following properties: + +-- CloudType (CloudType) +-- Hostname (String) +-- InstanceId (String) +-- IsDefault (Boolean) +-- Location (String) +-- Login (String) +-- Name (String) +-- OperationInProgress (OperationInProgress) +-- Password (String) +-- PasswordEncryptionCertThumbprint (String) +-- UseSSL (Boolean) +-- VolumeCount (int)Example 1: Create a credentialPS C:\>New-AzureStorSimpleStorageAccountCredential -StorageAccountName "ContosoAccount07" -StorageAccountKey "L/eVcHtvqKjPWm5SaAJXtDlc0d69yVs0ICoZ2XIV1x0r9TqUyQyLUNS8lHvTvRmzdvQhJelav3fYyX7wyAu/SA==" -UseSSL $False -WaitForComplete +VERBOSE: ClientRequestId: f363cda4-54aa-4ee8-a3fa-00651ac86ffb_PS +VERBOSE: Found storage account with name : ContosoAccount07 +VERBOSE: Storage credential verification succeeded. +VERBOSE: ClientRequestId: 716ce6df-62b3-4d48-8e0e-b0c94eec6934_PS +VERBOSE: Encryption in progress... +VERBOSE: ClientRequestId: 19aa4ef7-2789-4817-980c-19e33d257650_PS + +JobId : 84f74c25-b742-452c-973c-43c7446e9f49 +JobResult : Succeeded +JobStatus : Completed +ErrorCode : +ErrorMessage : +JobSteps : {} + +VERBOSE: The job created for your create operation has completed successfully. +VERBOSE: ClientRequestId: 72bcdf37-bf06-4dac-adc9-31bb8d06475a_PS +CloudType : Azure +Hostname : blob.core.windows.net +InstanceId : b9986714-cef4-4c3f-a719-7acfc9559320 +IsDefault : False +Location : West Europe +Login : ContosoAccount07 +Name : ContosoAccount07 +OperationInProgress : None + +Password : G1sBQ6/qAN1gyRGRZVarpi7o6ToJl61sGugfeJ75yx7cwyaGLQHjrSEEwhxThbDJkxso2emAOarTe920Uufy + 0AmJ9NpBI5hNyIFfwS4Ff+z2WmfKOzApyeofW5Zy7GPufehe/2ondq0XG4pGt3qxHFXNVUuiaPSU6TVWEKSh + hWDaksSXYMGij3DJdZDW1MA49e6Q7OY+rFujbYvi9P2OjVj8T+FbiMtMB5NnQEqE+t3k74RqPIDKU+d3h9x4 + rYbAksGPfMvSa0fUipwYJ+Y5/NABA6j/MfB2pNDJbvqDoa1JCX6SKiwL81wmTh78/KnDY5ST3Said5DzKEbR + iYMQZg== +PasswordEncryptionCertThumbprint : +UseSSL : False +VolumeCount : 0 +This command creates a storage access credential for the specified storage account. This command specifies the WaitForComplete parameter, and, so, the cmdlet waits until the task finishes to return control to the console. Example 2: Create a credential and query that status of the taskPS C:\>New-AzureStorSimpleStorageAccountCredential -Name "ContosoAccount08" -Key "6BlMpSVrCQVQy3iOpkxiyY8uk/e3PiHIhadxV4qpPlKInr/eRFrGcWKDrfNC1IHj6oh0If/h3rALdZ0zuaf9cQ==" -UseSSL $True +PS C:\> Get-AzureStorSimpleTask -InstanceId "53816d8d-a8b5-4c1d-a177-e59007608d6d" +VERBOSE: ClientRequestId: 6104a834-ea57-4687-8e0b-1d97dc1c038b_PS +VERBOSE: Found storage account with name : ContosoAccount08 +VERBOSE: Storage credential verification succeeded. +VERBOSE: ClientRequestId: 1f686fa4-5afc-43c3-87b6-f2da7bf9e65f_PS +VERBOSE: Encryption in progress... +VERBOSE: ClientRequestId: 8acb3770-bd72-43e6-9622-481002ad40b0_PS +53816d8d-a8b5-4c1d-a177-e59007608d6d +VERBOSE: The create task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId +53816d8d-a8b5-4c1d-a177-e59007608d6d for tracking the task's status +The first command creates a storage access credential for the specified storage account. The command returns a task ID.The second command queries the status of the task by using the Get-AzureStorSimpleTask cmdlet. The command specifies the task ID from the first command. Example 3: Create a credential to use with another cmdletPS C:\>Get-AzureStorSimpleStorageAccountCredential -Name "ContosoAccount09" | New-AzureStorSimpleDeviceVolumeContainer -Name "VC03" -DeviceName "Contoso63-AppVm" -BandWidthRate 256 -EncryptionEnabled $True -EncryptionKey "<your encryption key>" -WaitForComplete +VERBOSE: ClientRequestId: b1d1e637-cd72-4a1e-95a8-4db1d0b921a7_PS +VERBOSE: ClientRequestId: 71f56ca0-1f0b-4655-9331-4849e096345a_PS +VERBOSE: ClientRequestId: fbdd5a96-c95f-4547-9bcd-376d05543348_PS +VERBOSE: Storage Access Credential with name ContosoAccount09 found! +VERBOSE: ClientRequestId: b44e0363-9979-4e97-aeb1-d9eb4073a337_PS +VERBOSE: ClientRequestId: a6047943-b01e-44e4-a91d-5103aa80ce57_PS +VERBOSE: Encryption in progress... +VERBOSE: ClientRequestId: ac2dfd8b-922f-4e4d-8c8d-df1e2f87806c_PS + + +JobId : 1cf2db5d-624f-46c4-97b9-c36451ba144e +JobResult : Succeeded +JobStatus : Completed +ErrorCode : +ErrorMessage : +JobSteps : {Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStep} + +VERBOSE: The job created for your create operation has completed successfully. +VERBOSE: ClientRequestId: 9558414b-0883-4cf6-8a02-40efc7edd80d_PS +BandwidthRate : 256 +EncryptionKey : g53NTgCF3SBVZzzk+9yUz5nZopvZpNr3th92ol7WRO7ZUKhodPm7WNjjHEKB0/V+JY6P68tdaF4JxF5jH58e/ + mCtTvnPNpOxykYFdY9GKGd9gnf+36sUPqiLFP+ONO5nN/N/zFmOeyuySsaa3gJsZG8eIiFc821yfe9m5QPbF + bx/Qyu8qLl1R1LrKU7k+46IXfwQYSyclztydyuzvFUUic9kaJuR3944VLvrjvxJIbnLrYy7hsn+Gfq7ds9NFq + AUILBH0+bk2uWgUlofAcE8fJ/rzDAHr8nFGWxOTJSrqAo0J3st8BN39+BcrY+zOWsMc/vKfc+Ss5PsGVGDT1r + eQ== +InstanceId : 60c34706-ef0c-4c6f-ad90-7249f42648f7 +IsDefault : False +IsEncryptionEnabled : True +Name : VC03 +OperationInProgress : None +Owned : True +PrimaryStorageAccountCredential : Microsoft.WindowsAzure.Management.StorSimple.Models.StorageAccountCredentialResponse +SecretsEncryptionThumbprint : +VolumeCount : 0 + +This command creates a storage account credential. The command then passes that credential to the New-AzureStorSimpleDeviceVolumeContainer cmdlet by using the pipeline operator. That cmdlet creates a new volume container by using the credential. Get-AzureStorSimpleStorageAccountCredentialRemove-AzureStorSimpleStorageAccountCredentialSet-AzureStorSimpleStorageAccountCredentialNew-AzureStorSimpleDeviceVolumeContainerRemove-AzureStorSimpleAccessControlRecordDeletes an access control record from the service configuration.RemoveAzureStorSimpleAccessControlRecordThe Remove-AzureStorSimpleAccessControlRecord cmdlet deletes an access control record from the service configuration.Remove-AzureStorSimpleAccessControlRecordACRSpecifies an AccessControlRecord object to delete. To obtain an AccessControlRecord object, use the Get-AzureStorSimpleAccessControlRecord cmdlet.AccessControlRecordWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.ForceIndicates that this cmdlet does not prompt you for confirmation.Remove-AzureStorSimpleAccessControlRecordACRNameSpecifies a name of the access control record to delete.StringWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.ForceIndicates that this cmdlet does not prompt you for confirmation.ACRSpecifies an AccessControlRecord object to delete. To obtain an AccessControlRecord object, use the Get-AzureStorSimpleAccessControlRecord cmdlet.AccessControlRecordAccessControlRecordnoneACRNameSpecifies a name of the access control record to delete.StringStringnoneForceIndicates that this cmdlet does not prompt you for confirmation.SwitchParameterSwitchParameternoneWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.SwitchParameterSwitchParameternoneAccessControlRecordThis cmdlet accepts an AccessControlRecord object. An AccessControlRecord object contains the following fields: + +-- GlobalId (String) +-- InitiatorName (String) +-- InstanceId (String) +-- Name (String) +-- OperationInProgress (OperationInProgress) +-- VolumeCount (int)TaskStatusInfo, TaskResponseThis cmdlet returns a TaskStatusInfo object if you specify the WaitForComplete parameter. If you do not specify that parameter, it returns a TaskResponse object.Example 1: Remove an access control recordPS C:\>Remove-AzureStorSimpleAccessControlRecord -ACRName "Acr10" -WaitForComplete -Force +VERBOSE: ClientRequestId: 574aeb7f-fbc9-46d5-bc68-1bfe4487bd8b_PS +VERBOSE: ClientRequestId: 985afe84-ef95-47cb-8c8f-df094530334b_PS +VERBOSE: About to run a job to remove your ACR! +VERBOSE: ClientRequestId: 7eb7e1a0-2288-44da-b64c-5bf86a6b9aaf_PS + + +JobId : f7934db5-8363-4152-b38e-b9a5d91f97b9 +JobResult : Succeeded +JobStatus : Completed +ErrorCode : +ErrorMessage : +JobSteps : {} + +VERBOSE: The job created for your delete operation has completed successfully. +This command deletes the access control record named Acr10. This command specifies the WaitForComplete parameter, and, therefore, the command waits until the operation is complete, and then returns a TaskStatusInfo object.Example 2: Remove an access control record by using the pipelinePS C:\>Get-AzureStorSimpleAccessControlRecord -ACRName "Acr10" | Remove-AzureStorSimpleAccessControlRecord -Force +VERBOSE: ClientRequestId: ff8d8bd6-4c92-4ab6-8fde-e9344a253da3_PS +VERBOSE: ClientRequestId: f71c74f3-33b9-40d1-b8d5-12363e98412f_PS +VERBOSE: ClientRequestId: d5d809d0-ec22-4e45-97ee-a56edc41e503_PS +VERBOSE: About to create a job to remove your ACR! +VERBOSE: ClientRequestId: 6ffa6bc8-37b3-49ff-bafc-721b360f09cb_PS +294a0208-a43f-4d80-b824-2319cd77c5e6 +VERBOSE: The delete task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId +294a0208-a43f-4d80-b824-2319cd77c5e6 for tracking the task's status +This command uses the Get-AzureStorSimpleAccessControlRecord to get the AccessControlRecord named Acr10, and then passes that object to the current cmdlet by using the pipeline operator. The command starts the operation that removes the AccessControlRecord object, and then returns a TaskResponse object. To see the status of the task, use the Get-AzureStorSimpleTask cmdlet.Get-AzureStorSimpleAccessControlRecordNew-AzureStorSimpleAccessControlRecordSet-AzureStorSimpleAccessControlRecordRemove-AzureStorSimpleDeviceBackupDeletes a backup object.RemoveAzureStorSimpleDeviceBackupThe Remove-AzureStorSimpleDeviceBackup cmdlet deletes a single backup object. If you attempt to delete a backup that has already been deleted, this cmdlet returns an error.Remove-AzureStorSimpleDeviceBackupDeviceNameSpecifies the name of the StorSimple device on which to delete a backup.StringBackupSpecifies the Backup object to delete. To obtain a Backup object, use the Get-AzureStorSimpleDeviceBackup cmdlet.BackupForceIndicates that this cmdlet does not prompt you for confirmation.WaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.Remove-AzureStorSimpleDeviceBackupDeviceNameSpecifies the name of the StorSimple device on which to delete a backup.StringBackupIdSpecifies the instance ID of a backup to delete.StringForceIndicates that this cmdlet does not prompt you for confirmation.WaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.BackupSpecifies the Backup object to delete. To obtain a Backup object, use the Get-AzureStorSimpleDeviceBackup cmdlet.BackupBackupnoneBackupIdSpecifies the instance ID of a backup to delete.StringStringnoneDeviceNameSpecifies the name of the StorSimple device on which to delete a backup.StringStringnoneForceIndicates that this cmdlet does not prompt you for confirmation.SwitchParameterSwitchParameternoneWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.SwitchParameterSwitchParameternoneBackupTaskStatusInfo, TaskResponseThis cmdlet returns a TaskStatusInfo object if you specify the WaitForComplete parameter If you do not specify that parameter, it returns a TaskResponse object.Example 1: Remove a backup for a devicePS C:\>Remove-AzureStorSimpleDeviceBackup -DeviceName "Contoso63-AppVm" -BackupId "dcb5c991-0485-400f-8d0a-03a1341ee989" -Force +The remove job is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId 6c73aff2-f5a1-4b5e- +9a4e-857e128dc216 for tracking the job status +This command removes the backup that has the specified ID for the device named Contoso63-AppVm. The command starts the operation that removes the Backup object, and then returns a TaskResponse object. To see the status of the task, use the Get-AzureStorSimpleTask cmdlet. Example 2: Remove the first backup for a device by using its IDPS C:\>$Backup = Get-AzureStorSimpleDeviceBackup -DeviceName "Contoso63-AppVm" +PS C:\> Remove-AzureStorSimpleDeviceBackup -DeviceName "Contoso63-AppVm" -BackupId $Backup[0].InstanceId -WaitForComplete +Error : Microsoft.WindowsAzure.Management.StorSimple.Models.ErrorDetails +JobId : 53a656c3-c082-4e1f-afb7-bff3db45c791 +JobSteps : {} +Result : Succeeded +Status : Completed +TaskResult : Succeeded +StatusCode : OK +RequestId : f4411f38d07f68b88095682dbeedd9e9 +The first command gets the backups for the device named Contoso63-AppVm, and then stores them in the $Backup variable. The second command deletes a backup from the device named Contoso63-AppVm. The command uses standard dot notation to refer to the InstanceId property of the first element of the $Backup array. This command specifies the WaitForComplete parameter, and, therefore, the command waits until the operation is complete, and then returns a TaskStatusInfo object.Example 3: Remove the first backup for a device by using the pipelinePS C:\>$Backup = Get-AzureStorSimpleDeviceBackup -DeviceName "Contoso-AppVm" -WaitForComplete +PS C:\> $Backup[0] | Remove-AzureStorSimpleDeviceBackup -DeviceName "Contoso-AppVm" -Force -WaitForComplete +Error : Microsoft.WindowsAzure.Management.StorSimple.Models.ErrorDetails +JobId : 48059fd8-e355-4b91-9385-630d24f31df6 +JobSteps : {} +Result : Succeeded +Status : Completed +TaskResult : Succeeded +StatusCode : OK +RequestId : e1753f3bf68e6e44ab719436b5111e41 +The first command gets the backups for the device named Contoso63-AppVm, and then stores them in the $Backup variable. The second command passes the first object stored in the $Backup array to the current cmdlet. That cmdlet deletes that backup from the device named Contoso63-AppVm. This command specifies the WaitForComplete parameter, and, therefore, the command waits until the operation is complete, and then returns a TaskStatusInfo object.Get-AzureStorSimpleDeviceBackupRemove-AzureStorSimpleDeviceBackupPolicyRemoves an existing backup policy.RemoveAzureStorSimpleDeviceBackupPolicyThe Remove-AzureStorSimpleDeviceBackupPolicy cmdlet removes an existing BackupPolicy object. After you remove a backup policy, no further backups take place based on that policy. This cmdlet also deletes all schedules associated with the deleted policy.Remove-AzureStorSimpleDeviceBackupPolicyDeviceNameSpecifies the name of the StorSimple device on which to delete the backup policy.StringBackupPolicySpecifies the BackupPolicyDetails object to delete. To obtain a BackupPolicyDetails object, use the Get-AzureStorSimpleDeviceBackupPolicy cmdlet.BackupPolicyDetailsForceIndicates that this cmdlet does not prompt you for confirmation.WaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.Remove-AzureStorSimpleDeviceBackupPolicyDeviceNameSpecifies the name of the StorSimple device on which to delete the backup policy.StringBackupPolicyIdSpecifies the instance ID of the BackupPolicy object to delete.StringForceIndicates that this cmdlet does not prompt you for confirmation.WaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.BackupPolicySpecifies the BackupPolicyDetails object to delete. To obtain a BackupPolicyDetails object, use the Get-AzureStorSimpleDeviceBackupPolicy cmdlet.BackupPolicyDetailsBackupPolicyDetailsnoneBackupPolicyIdSpecifies the instance ID of the BackupPolicy object to delete.StringStringnoneDeviceNameSpecifies the name of the StorSimple device on which to delete the backup policy.StringStringnoneForceIndicates that this cmdlet does not prompt you for confirmation.SwitchParameterSwitchParameternoneWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.SwitchParameterSwitchParameternoneBackupPolicyDetailsThis cmdlet accepts a BackupPolicyDetails object to delete. TaskStatusInfo, TaskResponseThis cmdlet returns a TaskStatusInfo object if you specify the WaitForComplete parameter. If you do not specify that parameter, it returns a TaskResponse object.Example 1: Remove a backup policyPS C:\>Remove-AzureStorSimpleDeviceBackupPolicy -DeviceName "Contoso63-AppVm" -BackupPolicyId "03710b4c-82c1-40ca-be5c-40289dc49642" -Force +VERBOSE: ClientRequestId: b3e4d485-eae4-4cf4-a43b-815f3abcd2dd_PS +VERBOSE: ClientRequestId: a260ee98-46aa-49e0-91ac-31d4155f4cae_PS +VERBOSE: About to create a job to remove your backuppolicy! +VERBOSE: ClientRequestId: 92a9c264-90df-4345-a495-92767dd266f2_PS +695be190-ac81-4cf2-b1c5-03ef6b08d005 +VERBOSE: The remove task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId +695be190-ac81-4cf2-b1c5-03ef6b08d005 for tracking the task's status +This command removes the BackupPolicy that has the instance ID 03710b4c-82c1-40ca-be5c-40289dc49642, so that no more backups are made based on this policy. The command also deletes all schedules associated with this policy. The command starts the operation that removes the BackupPolicy object, and then returns a TaskResponse object. To see the status of the task, use the Get-AzureStorSimpleTask cmdlet.Example 2: Remove the first of the backup policies for a devicePS C:\>$Policies = Get-AzureStorSimpleDeviceBackupPolicy -DeviceName "Contoso63-AppVm" +PS C:\> Remove-AzureStorSimpleDeviceBackupPolicy -DeviceName "Contoso63-AppVm" -BackupPolicyId $Policies[0].InstanceId -Force -WaitForComplete +VERBOSE: ClientRequestId: db3b49fa-cffa-446d-ba52-daa6802e00f7_PS +VERBOSE: ClientRequestId: 70e2b56f-c2df-40d0-a1e5-d7a4d7e25962_PS +VERBOSE: About to run a job to remove your backuppolicy! +VERBOSE: ClientRequestId: f8eb3d4d-2c57-4fc9-9f40-79d0f2ea1b6a_PS + + +JobId : 820a246e-54b6-41a9-bdd5-15d5daea9b0a +JobResult : Succeeded +JobStatus : Completed +ErrorCode : +ErrorMessage : +JobSteps : {Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStep, + Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStep} + +VERBOSE: The job created for your remove operation has completed successfully. +The first command gets the backup policies for the device named Contoso63-AppVm, and then stores them in the $Policies variable. The second command removes the first backup policy from Contoso63-AppVm. The command uses standard dot syntax to identify the InstanceId property of the first item in $Policies. This command specifies the WaitForComplete parameter, so the command completes the task, and then returns a TaskStatusInfo object for the task.Example 3: Remove a backup policy by using the pipelinePS C:\>Get-AzureStorSimpleDeviceBackupPolicy -DeviceName "Contoso63-AppVm" -BackupPolicyName "TSQAVolume01_Default" | Remove-AzureStorSimpleDeviceBackupPolicy -DeviceName "Contoso63-AppVm" -Force -WaitForComplete +VERBOSE: ClientRequestId: 60080fb1-2f88-4c17-bfd7-21aa73440a9c_PS +VERBOSE: ClientRequestId: 04c91121-50d7-4796-9af6-fc6a7d6b6a0e_PS +VERBOSE: ClientRequestId: 47ceb37c-672f-42e8-bd19-1190925c46cd_PS +VERBOSE: ClientRequestId: cbc39757-f2cc-4cc5-93ea-4ec0fbfb0ca8_PS +VERBOSE: ClientRequestId: 3614d47a-51fc-4500-a5f1-5401301ca4e3_PS +VERBOSE: About to create a job to remove your backuppolicy! +VERBOSE: ClientRequestId: dbd7166e-1888-4b11-9af9-8d49712a8c8b_PS +702ad240-5730-4015-b051-56055bd2c2d3 +VERBOSE: The remove task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId +702ad240-5730-4015-b051-56055bd2c2d3 for tracking the task's status +VERBOSE: BackupPolicy with id bfe0bf8a-2d09-4690-93da-38a4f24e9f4f found! +This command gets a BackupPolicyDetails object by using Get-AzureStorSimpleDeviceBackupPolicy, and then passes it to the current cmdlet by using the pipeline operator. The current cmdlet removes the backup policy named TSQAVolume01_Default.Get-AzureStorSimpleDeviceBackupPolicyNew-AzureStorSimpleDeviceBackupPolicySet-AzureStorSimpleDeviceBackupPolicyRemove-AzureStorSimpleDeviceVolumeRemoves a volume from a StorSimple device.RemoveAzureStorSimpleDeviceVolumeThe Remove-AzureStorSimpleDeviceVolume cmdlet removes a volume from a StorSimple device. This cmdlet prompts you for confirmation unless you specify the Force parameter.Remove-AzureStorSimpleDeviceVolumeDeviceNameSpecifies the name of the StorSimple device on which to the volume to remove exists.StringVolumeNameSpecifies the name of the volume to remove.StringWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.ForceIndicates that this cmdlet does not prompt you for confirmation.Remove-AzureStorSimpleDeviceVolumeDeviceNameSpecifies the name of the StorSimple device on which to the volume to remove exists.StringVolumeSpecifies the volume to remove, as a VirtualDisk object. To obtain a VirtualDisk object, use the Get-AzureStorSimpleDeviceVolume cmdlet.VirtualDiskWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.ForceIndicates that this cmdlet does not prompt you for confirmation.DeviceNameSpecifies the name of the StorSimple device on which to the volume to remove exists.StringStringnoneForceIndicates that this cmdlet does not prompt you for confirmation.SwitchParameterSwitchParameternoneVolumeSpecifies the volume to remove, as a VirtualDisk object. To obtain a VirtualDisk object, use the Get-AzureStorSimpleDeviceVolume cmdlet.VirtualDiskVirtualDisknoneVolumeNameSpecifies the name of the volume to remove.StringStringnoneWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.SwitchParameterSwitchParameternoneVirtualDiskThis cmdlet accepts either the VirtualDisk object to delete or the volume name of the VirtualDisk to delete.TaskStatusInfoThis cmdlet returns a TaskStatusInfo object, if you specify the WaitForComplete parameter.Example 1: Remove a volume by using the pipelinePS C:\>Get-AzureStorSimpleDeviceVolume -DeviceName "Contoso63-AppVm" -VolumeName "Volume18" | Remove-AzureStorSimpleDeviceVolume -DeviceName "Contoso63-AppVm" +VERBOSE: ClientRequestId: 2933e24d-9564-42b5-9053-5f0bc4f59ea8_PS +VERBOSE: ClientRequestId: 7c2d854b-537a-4253-bb0c-c15bc8aa2b49_PS +VERBOSE: ClientRequestId: 4bf749ac-517c-49e7-8027-a8f62e272014_PS +VERBOSE: ClientRequestId: 7d9ec87a-616d-4ca9-bfb8-158859174d59_PS + +Confirm +Are you sure you want to remove the volume? +[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y +VERBOSE: ClientRequestId: 67a38e28-a015-44b1-8159-c1a6604f4d81_PS +VERBOSE: About to run a job to remove your volume! +VERBOSE: ClientRequestId: 56101c10-07ca-40f4-8f19-c6fdd895e3a5_PS +32925451-4451-4478-89f7-d8930505d3fb +VERBOSE: The delete task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId +32925451-4451-4478-89f7-d8930505d3fb for tracking the task's status +VERBOSE: Volume with name: Volume18 is found. +This command gets the volume named Volume18 on the device named Contoso63-AppVm, and then passes that volume to the current cmdlet by using the pipeline operator. The current cmdlet starts the task that removes the volume, and then returns a TaskResponse object. To see the status of the task, use the Get-AzureStorSimpleTask cmdlet. The command does not specify the Force parameter, so the cmdlet prompts you for confirmation.Example 2: Remove a volume without confirmationPS C:\>Remove-AzureStorSimpleDeviceVolume -DeviceName "Contoso63-AppVm" -VolumeName "Volume18" -Force +VERBOSE: ClientRequestId: 72f13290-41eb-4ac4-9535-da1a42d0fa0b_PS +VERBOSE: ClientRequestId: ae0c1d99-1a66-4a69-9260-f2c8c12546bd_PS +VERBOSE: ClientRequestId: 9610744f-d031-488f-87e6-3ecddb305e13_PS +VERBOSE: About to run a job to remove your volume! +VERBOSE: ClientRequestId: d33525d8-7276-4d2a-942d-d10f8078f1f7_PS +483f8cb4-ebc3-46a9-a9e6-0989e25738a0 +VERBOSE: The delete task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId +483f8cb4-ebc3-46a9-a9e6-0989e25738a0 for tracking the task's status +This command removes the volume named Volume18 from the device named Contoso63-AppVm. The command specifies the Force parameter, so the cmdlet does not prompt you for confirmation.Get-AzureStorSimpleDeviceVolumeNew-AzureStorSimpleDeviceVolumeSet-AzureStorSimpleDeviceVolumeRemove-AzureStorSimpleDeviceVolumeContainerRemoves a volume container from a StorSimple device.RemoveAzureStorSimpleDeviceVolumeContainerThe Remove-AzureStorSimpleDeviceVolumeContainer cmdlet removes a volume container object from a StorSimple device. This cmdlet prompts you for confirmation unless you specify the Force parameter.Remove-AzureStorSimpleDeviceVolumeContainerDeviceNameSpecifies the name of the StorSimple device on which to the volume container to remove exists.StringVolumeContainerSpecifies the volume container to remove, as a DataContainer object. To obtain a DataContainer object, use the Get-AzureStorSimpleDeviceVolumeContainer cmdlet.DataContainerWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.ForceIndicates that this cmdlet does not prompt you for confirmation.DeviceNameSpecifies the name of the StorSimple device on which to the volume container to remove exists.StringStringnoneForceIndicates that this cmdlet does not prompt you for confirmation.SwitchParameterSwitchParameternoneVolumeContainerSpecifies the volume container to remove, as a DataContainer object. To obtain a DataContainer object, use the Get-AzureStorSimpleDeviceVolumeContainer cmdlet.DataContainerDataContainernoneWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.SwitchParameterSwitchParameternoneDataContainerThis cmdlet accepts a DataContainer object to remove.TaskStatusInfoThis cmdlet returns a TaskStatusInfo object, if you specify the WaitForComplete parameter.Example 1: Remove a container by using the pipelinePS C:\>Get-AzureStorSimpleDeviceVolumeContainer -DeviceName "Contoso63-AppVm" -VolumeContainerName "Container08" | Remove-AzureStorSimpleDeviceVolumeContainer -DeviceName "Contoso63-AppVm" -Force +VERBOSE: ClientRequestId: 0efbb4fc-ceb0-4311-bc49-0e08161d0a37_PS +VERBOSE: ClientRequestId: bf5b615f-47e3-4868-91b6-f2d12217a302_PS +VERBOSE: ClientRequestId: 5590c87e-0602-4197-b6c3-cf58b0e7a7b3_PS +VERBOSE: ClientRequestId: b33c71ac-c345-44ff-8213-d7fdf9f8480a_PS +VERBOSE: ClientRequestId: 903d42ef-58f4-4e89-ba7f-5f234262356d_PS +VERBOSE: About to create a job to remove your Volume container! +VERBOSE: ClientRequestId: 2279575f-5115-4344-9c6f-9ef599bd203e_PS +e9ddec89-67ac-4e2e-a2ed-820de3547bb0 +VERBOSE: The delete task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId +e9ddec89-67ac-4e2e-a2ed-820de3547bb0 for tracking the task's status +VERBOSE: Volume container with name: Container08 is found. +This command gets the volume container named Container08 on the device named Contoso63-AppVm by using the Get-AzureStorSimpleDeviceVolumeContainer cmdlet. The command passes the volume container to the current cmdlet by using the pipeline operator. This command starts the task to remove the container, and then returns a TaskResponse object. To see the status of the task, use the Get-AzureStorSimpleTask cmdlet. This command specifies the Force parameter, so it does not prompt you for confirmation.Get-AzureStorSimpleDeviceVolumeContainerNew-AzureStorSimpleDeviceVolumeContainerRemove-AzureStorSimpleStorageAccountCredentialDeletes an existing storage account credential.RemoveAzureStorSimpleStorageAccountCredentialThe Remove-AzureStorSimpleStorageAccountCredential cmdlet deletes an existing storage account credential. Specify an account by name or use the Get-AzureStorSimpleStorageAccountCredential cmdlet to obtain a StorageAccountCredential object to delete.Remove-AzureStorSimpleStorageAccountCredentialStorageAccountNameSpecifies the name of the storage account credential to delete.StringWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.ForceIndicates that this cmdlet does not prompt you for confirmation.Remove-AzureStorSimpleStorageAccountCredentialSACSpecifies credential, as a StorageAccountCredential object, to remove. To obtain a StorageAccountCredential object, use the Get-AzureStorSimpleStorageAccountCredential cmdlet.StorageAccountCredentialResponseWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.ForceIndicates that this cmdlet does not prompt you for confirmation.ForceIndicates that this cmdlet does not prompt you for confirmation.SwitchParameterSwitchParameternoneSACSpecifies credential, as a StorageAccountCredential object, to remove. To obtain a StorageAccountCredential object, use the Get-AzureStorSimpleStorageAccountCredential cmdlet.StorageAccountCredentialResponseStorageAccountCredentialResponsenoneStorageAccountNameSpecifies the name of the storage account credential to delete.StringStringnoneWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.SwitchParameterSwitchParameternoneStorageAccountCredentialThis cmdlet accepts a StorageAccountCredential object by using the pipeline.TaskStatusInfoThis cmdlet returns a TaskStatusInfo object, if you specify the WaitForComplete parameter.Example 1: Remove a storage account credentialPS C:\>Remove-AzureStorSimpleStorageAccountCredential -StorageAccountName "ContosoStorage07" -Force +VERBOSE: ClientRequestId: 8e10d56b-ddb1-459b-b26e-a185f5a303de_PS +VERBOSE: About to create a job to remove your Storage Access Credential! +VERBOSE: ClientRequestId: 55cb6296-0156-4266-8591-d9e9bf8cc584_PS +982f4b19-ccb0-4ad3-9b02-f8ad25bf2e72 +VERBOSE: The delete task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId +982f4b19-ccb0-4ad3-9b02-f8ad25bf2e72 for tracking the task's status +This command removes the account credential for the storage account named ContosoStorage07. This command specifies the Force parameter. The cmdlet removes the credential without prompting your for confirmation.Example 2: Remove a storage account credential by using the pipeline operatorPS C:\>Get-AzureStorSimpleStorageAccountCredential -StorageAccountName "ContosoStorage07" | Remove-AzureStorSimpleStorageAccountCredential -Force -WaitForComplete +VERBOSE: ClientRequestId: f1b46216-bf4c-4c19-8e92-1dfe3894e258_PS +VERBOSE: ClientRequestId: 0d946f8f-c771-4ade-8a83-7c08dad86c52_PS +VERBOSE: ClientRequestId: 2000bab6-8311-4192-ad12-c67e35fc2697_PS +VERBOSE: Storage Access Credential with name ContosoStorage07 found! +VERBOSE: About to run a job to remove your Storage Access Credential! +VERBOSE: ClientRequestId: b803b165-bef8-4a8f-9509-4b515ea8bdec_PS +VERBOSE: Your delete operation completed successfully! +This command gets the storage account named ContosoStorage07 by using the Get-AzureStorSimpleStorageAccountCredential cmdlet, and then passes that object to the current cmdlet. The current cmdlet removes the credential for that storage account. This command specifies the WaitForComplete parameter. The cmdlet does not return control to the console until it completes the remove operation.Get-AzureStorSimpleStorageAccountCredentialNew-AzureStorSimpleStorageAccountCredentialSet-AzureStorSimpleStorageAccountCredentialSelect-AzureStorSimpleResourceSets a resource as the current resource.SelectAzureStorSimpleResourceThe Select-AzureStorSimpleResource cmdlet sets a resource as the current resource. After you select a resource, other cmdlets apply within that resource context.Select-AzureStorSimpleResourceResourceNameSpecifies the name of the resource to select as the current resource.StringRegistrationKeySpecifies a registration key. Specify a key the first time that you select a resource. After this cmdlet selects the current resource, cmdlets use this key, as required. For more information, see Get the service registration key (http://msdn.microsoft.com/en-us/library/azure/dn772346.aspx) on the Microsoft Developer Network. StringRegistrationKeySpecifies a registration key. Specify a key the first time that you select a resource. After this cmdlet selects the current resource, cmdlets use this key, as required. For more information, see Get the service registration key (http://msdn.microsoft.com/en-us/library/azure/dn772346.aspx) on the Microsoft Developer Network. StringStringnoneResourceNameSpecifies the name of the resource to select as the current resource.StringStringnoneNoneStorSimpleResourceContextThis cmdlet returns a StorSimpleResourceContext object that contains details for the resource context. Example 1: Select a resource for the first timePS C:\>Select-AzureStorSimpleResource -ResourceName "Contoso64-Tsqa" -RegistrationKey "<your registration key>" +VERBOSE: Initializing resource context +VERBOSE: ClientRequestId: a9ed56d3-daf2-4b80-93d4-767af08d36e4_PS +VERBOSE: ClientRequestId: 97ceae7b-189c-4664-93a1-a0e814304bc8_PS +VERBOSE: ClientRequestId: 9d9cd6bc-3553-479a-9f41-dfef4c5c597d_PS +VERBOSE: Registration key passed - initializing secrets +VERBOSE: RegistrationKey #parts:3 +VERBOSE: ClientRequestId: 3e28c01b-f433-47d3-8052-7389c30bdd47_PS +VERBOSE: ClientRequestId: 52314a54-bd43-4c7e-b36d-a2fd9d89f819_PS +VERBOSE: ClientRequestId: d460582a-39e7-484f-9936-8eeff8d9d41b_PS +VERBOSE: Secrets validation complete +VERBOSE: Context set successfully for the given resource name. +VERBOSE: ClientRequestId: 386952c7-1042-4234-b41a-5211a381ee9a_PS + + +ResourceId : 1975530557201809476 +StampId : 7ef900f6-ad91-497d-a9c5-2742b7ed4a75 +CloudServiceName : CisService-DTYHC5NYB4BUTV3ZHFNSEZIKE5ZGLGYR44OJUL5OQGG4I2EMYOZA-west-us +ResourceProviderNameSpace : WACis +ResourceType : CisVault +ResourceName : Contoso64-Tsqa +StorSimpleKeyManager : Microsoft.WindowsAzure.Commands.StorSimple.Encryption.StorSimpleKeyManager +This command selects the resource named Contoso64-Tsqa as the current context. In this example, the computer has not had this context initialized previously, and, therefore, you must specify a value for the RegistrationKey parameter. Example 2: Attempt to select a resourceThis command gets the current context for this computer by using the Get-AzureStorSimpleResourceContext cmdlet. The current selected resource is Contoso64-Tsqa. This is consistent with the previous example. +PS C:\>Get-AzureStorSimpleResourceContext +VERBOSE: ClientRequestId: 643be116-245f-474a-bb15-e7941b0b9cc7_PS + + +ResourceId : 1975530557201809476 +StampId : 7ef900f6-ad91-497d-a9c5-2742b7ed4a75 +CloudServiceName : ASDService-DTYHC5NYB4BUTV3ZHFNSEZIKE5ZGLGYR44OJUL5OQGG4I2EMYOZA-west-us +ResourceProviderNameSpace : WACis +ResourceType : CisVault +ResourceName : Contoso64-Tsqa +StorSimpleKeyManager : Microsoft.WindowsAzure.Commands.StorSimple.Encryption.StorSimpleKeyManager + +VERBOSE: You have a resource selected. Resource Name: Contoso64-Tsqa Id: Contoso64-Tsqa + +This command attempts to reset the resource to be Contoso02-Resource. For this example, this resource has not been previously selected. The registration key is not saved or included in the command. The command cannot select the resource. +PS C:\>Select-AzureStorSimpleResource -ResourceName "Contoso02-Resource" +VERBOSE: Initializing resource context +VERBOSE: ClientRequestId: 3a9aac2a-606a-47a7-8a67-394676f9f0cf_PS +VERBOSE: ClientRequestId: 6599fb6c-3def-4c2f-83d7-3f77729f06ec_PS +VERBOSE: ClientRequestId: 9e6f108d-fc0a-4a92-8925-560f4265c083_PS +VERBOSE: Registrtion key not passed - validating that the secrets are already initialized +VERBOSE: ClientRequestId: 64e7b058-050c-4573-8eed-932d728ba360_PS +Select-AzureStorSimpleResource : Could not find the persisted secret. Please use Select-AzureStorSimpleResource and +provide the Registration key once again. +Example 3: Select a previously selected resource PS C:\>Select-AzureStorSimpleResource -ResourceName "Contoso64-Tsqa" +VERBOSE: Initializing resource context +VERBOSE: ClientRequestId: fb9f7fd0-7807-4b8f-b5eb-8312e06046c6_PS +VERBOSE: ClientRequestId: dc87be70-1dd5-4952-94b6-6703dd61ed55_PS +VERBOSE: ClientRequestId: a30e0bb5-0520-411d-8b21-e07048be7ba1_PS +VERBOSE: Registration key not passed - validating that the secrets are already initialized +VERBOSE: ClientRequestId: a7860dbe-eadc-483b-b528-947ff6211c2d_PS +VERBOSE: ClientRequestId: c4ff967f-f601-4093-909f-9985d81967cd_PS +VERBOSE: Secrets validation complete +VERBOSE: Context set successfully for the given resource name. +VERBOSE: ClientRequestId: 431877b1-275b-41d5-832f-64775a1896a9_PS + + +ResourceId : 1975530557201809476 +StampId : 7ef900f6-ad91-497d-a9c5-2742b7ed4a75 +CloudServiceName : CisService-DTYHC5NYB4BUTV3ZHFNSEZIKE5ZGLGYR44OJUL5OQGG4I2EMYOZA-west-us +ResourceProviderNameSpace : WACis +ResourceType : CisVault +ResourceName : Contoso64-Tsqa +StorSimpleKeyManager : Microsoft.WindowsAzure.Commands.StorSimple.Encryption.StorSimpleKeyManager +This command selects the resource named Contoso64-Tsqa as the current context. In this example, that context has previously been selected, and, therefore, you do not need to specify a value for the RegistrationKey parameter.Get-AzureStorSimpleResourceGet-AzureStorSimpleResourceContextSet-AzureStorSimpleAccessControlRecordUpdates the IQN of an access control record.SetAzureStorSimpleAccessControlRecordThe Set-AzureStorSimpleAccessControlRecord cmdlet updates the iSCSI qualified name (IQN) of an existing access control record.Set-AzureStorSimpleAccessControlRecordACRNameSpecifies a name of the access control record to modify.StringIQNInitiatorNameSpecifies the IQN of the iSCSI initiator to which this cmdlet provides access for the volume.StringWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.ACRNameSpecifies a name of the access control record to modify.StringStringnoneIQNInitiatorNameSpecifies the IQN of the iSCSI initiator to which this cmdlet provides access for the volume.StringStringnoneWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.SwitchParameterSwitchParameternoneNoneTaskStatusInfo, TaskResponseThis cmdlet returns a TaskStatusInfo object if you specify the WaitForComplete parameter. If you do not specify that parameter, it returns a TaskResponse object. Example 1: Update an access control recordPS C:\>Set-AzureStorSimpleAccessControlRecord -ACRName "Acr10" -IQNInitiatorName "IqnUpdated" -WaitForComplete +VERBOSE: ClientRequestId: e4766335-f302-40e0-93bf-fad7aa488ae6_PS +VERBOSE: ClientRequestId: cfdbbd67-6ba5-4238-b743-b88f604079b9_PS +VERBOSE: About to run a task to update your Access Control Record! +VERBOSE: ClientRequestId: d5cf2793-0ab5-40ff-ab6f-43e21bc4c0a4_PS + + +JobId : 89502523-52fc-4ce2-b2d4-cb8c6692fb60 +JobResult : Succeeded +JobStatus : Completed +ErrorCode : +ErrorMessage : +JobSteps : {} + +VERBOSE: The job created for your update operation has completed successfully. +VERBOSE: ClientRequestId: cbd47519-3a3c-4365-b097-0fb7551c48ee_PS +GlobalId : +InitiatorName : IqnUpdated +InstanceId : 9bcfbc83-e196-4688-9016-827f51515c24 +Name : Acr10 +OperationInProgress : None +VolumeCount : 0 + +This command updates the access control record named Acr10 for the iSCSI initiator named IqnUpdated. This command specifies the WaitForComplete parameter, and, therefore, the command waits until the operation is complete, and then returns a TaskStatusInfo object.Get-AzureStorSimpleAccessControlRecordNew-AzureStorSimpleAccessControlRecordRemove-AzureStorSimpleAccessControlRecordSet-AzureStorSimpleDeviceBackupPolicyUpdates an existing backup policy.SetAzureStorSimpleDeviceBackupPolicyThe Set-AzureStorSimpleDeviceBackupPolicy cmdlet updates an existing backup policy. You can rename the policy, add, update or delete schedules, and update the volumes associated with the policy.Set-AzureStorSimpleDeviceBackupPolicyDeviceNameSpecifies the name of the StorSimple device for which to update the backup policy.StringBackupPolicyIdSpecifies the instance ID of the BackupPolicy object to update.StringBackupPolicyNameSpecifies a new name for the backup policy.StringBackupSchedulesToAddSpecifies an array of BackupScheduleBase objects to add to the policy. To obtain a BackupScheduleBase object, use the New-AzureStorSimpleDeviceBackupScheduleAddConfig cmdlet.PSObject[]BackupSchedulesToUpdateSpecifies an array of BackupScheduleUpdateRequest objects to update. To obtain a BackupScheduleUpdateRequest object, use the New-AzureStorSimpleDeviceBackupScheduleUpdateConfig cmdlet.PSObject[]BackupScheduleIdsToDeleteSpecifies an array of instance IDs of BackupSchedule objects to delete.PSObject[]VolumeIdsToUpdateSpecifies an array of IDs of volumes for which to update backup policies.PSObject[]WaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.BackupPolicyIdSpecifies the instance ID of the BackupPolicy object to update.StringStringnoneBackupPolicyNameSpecifies a new name for the backup policy.StringStringnoneBackupScheduleIdsToDeleteSpecifies an array of instance IDs of BackupSchedule objects to delete.PSObject[]PSObject[]noneBackupSchedulesToAddSpecifies an array of BackupScheduleBase objects to add to the policy. To obtain a BackupScheduleBase object, use the New-AzureStorSimpleDeviceBackupScheduleAddConfig cmdlet.PSObject[]PSObject[]noneBackupSchedulesToUpdateSpecifies an array of BackupScheduleUpdateRequest objects to update. To obtain a BackupScheduleUpdateRequest object, use the New-AzureStorSimpleDeviceBackupScheduleUpdateConfig cmdlet.PSObject[]PSObject[]noneDeviceNameSpecifies the name of the StorSimple device for which to update the backup policy.StringStringnoneVolumeIdsToUpdateSpecifies an array of IDs of volumes for which to update backup policies.PSObject[]PSObject[]noneWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.SwitchParameterSwitchParameternoneNoneTaskStatusInfo, TaskResponseThis cmdlet returns a TaskStatusInfo object if you specify the WaitForComplete parameter. If you do not specify that parameter, it returns a TaskResponse object.Example 1: Change the name of a backup policyPS C:\>Set-AzureStorSimpleDeviceBackupPolicy -DeviceName "Contoso63-AppVm" -BackupPolicyId "e6d9f1b3-a250-4d57-966a-039c8eaef9e9" -BackupPolicyName "UpdatedGeneralPolicy07" -WaitForComplete +VERBOSE: ClientRequestId: f4465b46-26cc-40ff-88da-7a28df88c35c_PS +VERBOSE: ClientRequestId: 5e33a35c-e089-47c1-b760-474635b1ead8_PS +VERBOSE: About to run a task to update your backuppolicy! +VERBOSE: ClientRequestId: e379ebdb-667f-45a9-aafa-a6cd61e5f6f6_PS + + +JobId : 9d621bfd-3faa-4d1c-b28b-45c5f4a96975 +JobResult : Succeeded +JobStatus : Completed +ErrorCode : +ErrorMessage : +JobSteps : {Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStep} + +VERBOSE: The job created for your update operation has completed successfully. +VERBOSE: ClientRequestId: 4fe965ea-4e12-4869-9d67-e42a24b6c5d8_PS +BackupSchedules : {58e9cd7c-4c6a-4e33-9109-5ec0b8fcb2cc, b10e1bf4-ef0a-4ad3-8fde-eecfc9971dd2} +Volumes : {testvolume03} +BackupPolicyCreationType : BySaaS +LastBackup : 12/16/2014 2:13:28 PM +NextBackup : 12/16/2014 3:13:43 PM +SchedulesCount : 2 +SSMHostName : +VolumesCount : 1 +InstanceId : e6d9f1b3-a250-4d57-966a-039c8eaef9e9 +Name : UpdatedGeneralPolicy07 +OperationInProgress : None +This command changes the name of the backup policy that has the specified ID to UpdatedGeneralPolicy07. This command specifies the WaitForComplete parameter, so the command completes the task, and then returns a TaskStatusInfo object for the task.Example 2: Update the schedule for a backup policyPS C:\>$UpdateConfig = New-AzureStorSimpleDeviceBackupScheduleUpdateConfig -Id "3a6c6247-6b4d-42e2-aa87-16f4f21476ea" -BackupType CloudSnapshot -RecurrenceType Daily -RecurrenceValue 3 -RetentionCount 2 -Enabled $True +PS C:\> $UpdateArray = @() +PS C:\> $UpdateArray += $UpdateConfig +PS C:\> Set-AzureStorSimpleDeviceBackupPolicy -DeviceName "Contoso63-AppVm" -BackupPolicyId "712605f6-eb03-4db8-8f79-e0ce64b2cce1" -BackupSchedulesToUpdate $UpdateArray + +Error : Microsoft.WindowsAzure.Management.StorSimple.Models.ErrorDetails +JobId : 7b265417-a5f1-45ad-8fbc-33bad4f63ec9 +JobSteps : {Microsoft.WindowsAzure.Management.StorSimple.Models.JobStep, + Microsoft.WindowsAzure.Management.StorSimple.Models.JobStep, + Microsoft.WindowsAzure.Management.StorSimple.Models.JobStep, + Microsoft.WindowsAzure.Management.StorSimple.Models.JobStep...} +Result : Succeeded +Status : Completed +TaskResult : Succeeded +StatusCode : OK +RequestId : d2e10d44e699b371a84db44d19daf1c3 +The first command creates an update configuration object by using the New-AzureStorSimpleDeviceBackupScheduleUpdateConfig cmdlet, and then stores it in the $UpdateConfig variable. The second command creates a new array variable, named $UpdateArray. The next command adds the update stored in $UpdateConfig to that array. You can add more than one update to the array. The final command updates the backup policy that has the specified ID on the device named Contoso63-AppVm. The policy now has the updated schedule stored in $UpdateArray.Get-AzureStorSimpleDeviceBackupPolicyNew-AzureStorSimpleDeviceBackupPolicyRemove-AzureStorSimpleDeviceBackupPolicyNew-AzureStorSimpleDeviceBackupScheduleUpdateConfigSet-AzureStorSimpleDeviceVolumeUpdates the properties of an existing volume.SetAzureStorSimpleDeviceVolumeThe Set-AzureStorSimpleDeviceVolume cmdlet updates the properties of an existing volume. This cmdlet associates a volume with one or more access control records. To obtain AccessControlRecord objects, use the Get-AzureStorSimpleAccessControlRecord cmdlet. Update the size or type for the volume. Also, update whether to create the volume online.Set-AzureStorSimpleDeviceVolumeDeviceNameSpecifies the name of the StorSimple device on which to update the volume exists.StringVolumeNameSpecifies the name of the volume to update.StringOnlineSpecifies whether the volume is online.BooleanVolumeSizeNullable [System.Int64]VolumeAppTypeSpecifies whether to update the volume to be a primary or archive volume. Valid values are: PrimaryVolume and ArchiveVolume. AppTypeAccessControlRecordsSpecifies a list of access control records to associate with the volume.0, Culture=neutral, PublicKeyToken=nullWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.AccessControlRecordsSpecifies a list of access control records to associate with the volume.0, Culture=neutral, PublicKeyToken=null0, Culture=neutral, PublicKeyToken=nullnoneDeviceNameSpecifies the name of the StorSimple device on which to update the volume exists.StringStringnoneOnlineSpecifies whether the volume is online.BooleanBooleannoneVolumeAppTypeSpecifies whether to update the volume to be a primary or archive volume. Valid values are: PrimaryVolume and ArchiveVolume. AppTypeAppTypenoneVolumeNameSpecifies the name of the volume to update.StringStringnoneVolumeSizeNullable [System.Int64]Nullable [System.Int64]noneWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.SwitchParameterSwitchParameternoneList<AccessControlRecord>This cmdlet accepts a list of AccessControlRecord objects to associate to a volume.TaskStatusInfoThis cmdlet returns a TaskStatusInfo object, if you specify the WaitForComplete parameter. Example 1: Update online value for a volumePS C:\>Set-AzureStorSimpleDeviceVolume -DeviceName "Contoso63-AppVm" -VolumeName "Volume18" -Online $False +VERBOSE: ClientRequestId: f2869570-ea47-4be7-801e-9c0f22f2600d_PS +VERBOSE: ClientRequestId: c70bb86a-51d3-4390-be17-4d0847641dc3_PS +VERBOSE: ClientRequestId: d20cb5b2-6b3c-4e06-af99-cada28c5e50a_PS +VERBOSE: ClientRequestId: ab6d533e-b55b-4cfb-9c58-9153295e0547_PS +de7000f1-29c7-4102-a375-b52432f9e67e +VERBOSE: The update task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId +de7000f1-29c7-4102-a375-b52432f9e67e for tracking the task's status +This command updates the volume named Volume18 to have an online value of $False. This command starts the task, and then returns a TaskResponse object. To see the status of the task, use the Get-AzureStorSimpleTask cmdlet.Example 2: Modify online value and typePS C:\>Set-AzureStorSimpleDeviceVolume -DeviceName "Contoso63-AppVm" -VolumeName "Volume18" -Online $True -VolumeAppType ArchiveVolume +VERBOSE: ClientRequestId: af42b02a-645e-4801-a2d7-4197511c68cf_PS +VERBOSE: ClientRequestId: 7cb4f3b4-548e-42dc-a38c-0df0911c5206_PS +VERBOSE: ClientRequestId: 7cc706ad-a58f-4939-8e78-cabae8379a51_PS +VERBOSE: ClientRequestId: 6bed21d5-12fc-4a12-a89c-120bdb5636b1_PS +aa977225-af78-4c93-b754-72704afc928f +VERBOSE: The update task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId +aa977225-af78-4c93-b754-72704afc928f for tracking the task's status +This command updates the volume named Volume18. It modifies the type and changes the value of the Online parameter to $True. Get-AzureStorSimpleDeviceVolumeNew-AzureStorSimpleDeviceVolumeRemove-AzureStorSimpleDeviceVolumeGet-AzureStorSimpleAccessControlRecordSet-AzureStorSimpleStorageAccountCredentialUpdates an Azure storage access credential. SetAzureStorSimpleStorageAccountCredentialThe Set-AzureStorSimpleStorageAccountCredential cmdlet update an existing Azure storage access credential for use by StorSimple OneSDK cmdlets. For more information about how StorSimple cmdlets work with storage accounts, see the help topic for the New-AzureStorSimpleStorageAccountCredential cmdlet. Set-AzureStorSimpleStorageAccountCredentialStorageAccountNameSpecifies the name of an existing storage account. StringStorageAccountKeySpecifies the access key of the storage account in plain text. StringUseSSLIndicates whether to use SSL for the connection when using the new storage account credential.BooleanWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.StorageAccountKeySpecifies the access key of the storage account in plain text. StringStringnoneStorageAccountNameSpecifies the name of an existing storage account. StringStringnoneUseSSLIndicates whether to use SSL for the connection when using the new storage account credential.BooleanBooleannoneWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.SwitchParameterSwitchParameternoneNoneStorageAccountCredentialResponse, TaskResponseThis cmdlet returns a StorageAccountCredentialResponse object, if you specify the WaitForComplete parameter. If you do not specify that parameter, the cmdlet returns a TaskResponse object. A StorageAccountCredentialResponse contains the following properties: + +-- CloudType (CloudType) +-- Hostname (String) +-- InstanceId (String) +-- IsDefault (Boolean) +-- Location (String) +-- Login (String) +-- Name (String) +-- OperationInProgress (OperationInProgress) +-- Password (String) +-- PasswordEncryptionCertThumbprint (String) +-- UseSSL (Boolean) +-- VolumeCount (int)Example 1: Modify a credentialPS C:\>Set-AzureStorSimpleStorageAccountCredential -StorageAccountName "ContosoStorage01" -UseSSL $False -StorageAccountKey "h9ldH4LlHJB3GujcNwgdxJACy1DaQ1Hak1bfoUBzrDqZ5DPK8+0XGbsgD+jrKfQy5PBepKpYobMViLaOC2XMdg==" -Force -WaitForComplete +VERBOSE: ClientRequestId: 20cd2b17-9cff-4ab4-a034-96d60d946295_PS +VERBOSE: ClientRequestId: a75ed193-1da5-491f-96f5-572b5461d466_PS +VERBOSE: ClientRequestId: db612c9e-e89a-404f-8406-e66e7f697cd5_PS +VERBOSE: Storage credential verification succeeded. +VERBOSE: Encryption in progress... +VERBOSE: About to run a task to update your Storage Access credential! +VERBOSE: ClientRequestId: a0995bb7-8223-4fcf-83c9-0a4f81e6a85c_PS + + +JobId : 74a6172e-d47a-4824-a7fa-3eb207a76e0b +JobResult : Succeeded +JobStatus : Completed +ErrorCode : +ErrorMessage : +JobSteps : {} + +VERBOSE: The job created for your update operation has completed successfully. +VERBOSE: ClientRequestId: de04c77b-4846-45e0-9257-df501af9d4e9_PS +CloudType : Azure +Hostname : blob.core.windows.net +InstanceId : 8b3cb7bb-963b-4173-9598-52fe230b0350 +IsDefault : False +Location : West US +Login : ContosoStorage01 +Name : ContosoStorage01 +OperationInProgress : None +Password : UUejow8u6ZynMm18g59883FBVtlIX6PWh6x+v15cnnkHKEAb5queTGnGOiGa/KkOqths7F/umDz+wUUB8zzq + 4YCi0Dm0rqPGDC4unhxvbncf+WeCEvV7qsf3pmUFdk8o96Cgl8oXgmmvYL9K6Z6ajHUdZFFlq9WqUpz2vBbz + 3ROxq8SRORt2DQVQP6LWojTiow1kNI/v2cs3eNvzoSgGftqzjSmhaTYu+q0o8X07eE4KwkWhQrRX24seH2Lg + N9aYCQUrSxVKOAFJjdLOIBUlM48pnE7xyyZNwqngnPLt8z+mlS6JCKfo5SBKUfwmkhgDFfbVwB3jqC/sV/G6 + omwQ/A== +PasswordEncryptionCertThumbprint : +UseSSL : False +VolumeCount : 0 +This command changes the storage account credential named ContosoStorage01 to no longer require SSL. Get-AzureStorSimpleStorageAccountCredentialNew-AzureStorSimpleStorageAccountCredentialRemove-AzureStorSimpleStorageAccountCredentialStart-AzureStorSimpleDeviceBackupJobStarts a new job that creates a backup from an existing backup policy.StartAzureStorSimpleDeviceBackupJobThe Start-AzureStorSimpleDeviceBackupJob cmdlet starts a new job that creates a backup from an existing backup policy on a StorSimple device. By default, this cmdlet creates a local snapshot backup. To create a cloud backup, specify a value of CloudSnapshot for the BackupType parameter.Start-AzureStorSimpleDeviceBackupJobDeviceNameSpecifies the name of the StorSimple device on which to start the backup job. StringBackupPolicyIdSpecifies the ID of the backup policy to use to create the backup.StringWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.Start-AzureStorSimpleDeviceBackupJobDeviceNameSpecifies the name of the StorSimple device on which to start the backup job. StringBackupPolicyIdSpecifies the ID of the backup policy to use to create the backup.StringBackupTypeSpecifies the backup type. Valid values are: LocalSnapshot and CloudSnapshot.LocalSnapshotCloudSnapshotWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.BackupPolicyIdSpecifies the ID of the backup policy to use to create the backup.StringStringnoneBackupTypeSpecifies the backup type. Valid values are: LocalSnapshot and CloudSnapshot.StringStringnoneDeviceNameSpecifies the name of the StorSimple device on which to start the backup job. StringStringnoneWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.SwitchParameterSwitchParameternoneNoneTaskStatusInfo, TaskResponseThis cmdlet returns a TaskStatusInfo object if you specify the WaitForComplete parameter. If you do not specify that parameter, it returns a TaskResponse object.Example 1: Create a local snapshot backupPS C:\>Start-AzureStorSimpleDeviceBackupJob -DeviceName "Contoso63-AppVm" -BackupPolicyId "de088eac-b283-4d92-b501-a759845fdf3f" +JobId StatusCode RequestId +----- ---------- --------- +fb9acdca-ed6f-4b69-93f2-5c0bce0a1e08 Accepted 456cf6bafd427103b71c07145e26d35c + +VERBOSE: Your backup operation has been submitted for processing. Use commandlet "Get-AzureStorSimpleJob -JobId +fb9acdca-ed6f-4b69-93f2-5c0bce0a1e08" to track status. + +This command creates a local snapshot backup for the specified policy ID. This command starts the job, and then returns a TaskResponse object. To see the status of the job, use the Get-AzureStorSimpleTask cmdlet.Example 2: Create a cloud snapshot backup and wait to finishPS C:\>Start-AzureStorSimpleDeviceBackupJob -DeviceName "Contoso63-AppVm" -BackupPolicyId "de088eac-b283-4d92-b501-a759845fdf3f" -BackupType CloudSnapshot -WaitForComplete +Error : Microsoft.WindowsAzure.Management.StorSimple.Models.ErrorDetails +JobId : fb9acdca-ed6f-4b69-93f2-5c0bce0a1e08 +JobSteps : {} +Result : Succeeded +Status : Completed +TaskResult : Succeeded +StatusCode : OK +RequestId : f28ecf6cf75a7f128ca18e6ae14f9003 +This command creates a cloud snapshot backup for the specified policy ID. This command specifies the WaitForComplete parameter, so the command completes the task, and then returns a TaskStatusInfo object for the job.Start-AzureStorSimpleDeviceBackupRestoreJobStart-AzureStorSimpleDeviceBackupRestoreJobStarts a job that restores a backup on a StorSimple device.StartAzureStorSimpleDeviceBackupRestoreJobThe Start-AzureStorSimpleDeviceBackupRestoreJob cmdlet starts a job that restores a backup on a StorSimple device. Specify a backup ID and an optional snapshot ID.Start-AzureStorSimpleDeviceBackupRestoreJobDeviceNameSpecifies the name of the StorSimple device on which the backup exists.StringBackupIdSpecifies the instance ID of the backup to restore.StringWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.ForceIndicates that this cmdlet does not prompt you for confirmation.Start-AzureStorSimpleDeviceBackupRestoreJobDeviceNameSpecifies the name of the StorSimple device on which the backup exists.StringBackupIdSpecifies the instance ID of the backup to restore.StringSnapshotIdSpecifies the instance ID of the snapshot to restore. StringWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.ForceIndicates that this cmdlet does not prompt you for confirmation.BackupIdSpecifies the instance ID of the backup to restore.StringStringnoneDeviceNameSpecifies the name of the StorSimple device on which the backup exists.StringStringnoneForceIndicates that this cmdlet does not prompt you for confirmation.SwitchParameterSwitchParameternoneSnapshotIdSpecifies the instance ID of the snapshot to restore. StringStringnoneWaitForCompleteIndicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell® console.SwitchParameterSwitchParameternoneNoneTaskStatusInfo, TaskResponseThis cmdlet returns a TaskStatusInfo object if you specify the WaitForComplete parameter. If you do not specify that parameter, it returns a TaskResponse object.Example 1: Start a job to restore a backupPS C:\>Start-AzureStorSimpleDeviceBackupRestoreJob -DeviceName "Contoso63-AppVm" -BackupId "b3b50534-763c-4b05-9724-5ecf62bde721" -WaitForComplete +Confirm +Are you sure you want to restore the backup with backupId b3b50534-763c-4b05-9724-5ecf62bde721? +[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y + + +Error : Microsoft.WindowsAzure.Management.StorSimple.Models.ErrorDetails +JobId : 217d0647-c001-4f43-9833-f8155a458e95 +JobSteps : {} +Result : Succeeded +Status : Completed +TaskResult : Succeeded +StatusCode : OK +RequestId : e0aa2dcd2f197a8588c40a067fe0e519 + +This command starts a job that restores the backup object that has the specified ID, and its associated snapshots, on the device named Contoso63-AppVm. The command specifies the WaitForComplete parameter, so the job finishes before the cmdlet returns control to the console.Example 2: Start a job to restore a specific snapshot PS C:\>Start-AzureStorSimpleDeviceBackupRestoreJob -DeviceName "Contoso63-AppVm" -BackupId "b3b50534-763c-4b05-9724-5ecf62bde721" -SnapshotId "2d0cfad7-46bf-4266-8859-96549646e947_0000000000000000" -Force + +The start job is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId 9102ed9a-078f-4648-a +721-3cffbba31336 for tracking the job status +This command starts a job that restores the backup snapshot that has the specified ID. The command specifies the backup object by ID on the device named Contoso63-AppVm. The command specifies the Force parameter, so it starts the job without prompting you to confirm. Start-AzureStorSimpleDeviceBackupJob diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Models/PSContracts.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Models/PSContracts.cs new file mode 100644 index 000000000000..989beae8a377 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Models/PSContracts.cs @@ -0,0 +1,53 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System.Diagnostics.CodeAnalysis; + +namespace Microsoft.WindowsAzure.Commands.StorSimple +{ + /// + /// Represents resource / vault credentials. + /// + [SuppressMessage( + "Microsoft.StyleCop.CSharp.MaintainabilityRules", + "SA1402:FileMayOnlyContainASingleClass", + Justification = "Keeping all contracts together.")] + public class ResourceCredentials + { + /// + /// Gets or sets the name of the resource name. + /// + public string ResourceName { get; set; } + + /// + /// Gets or sets the name of the cloud service name. + /// + public string CloudServiceName { get; set; } + + /// + /// + /// + public string ResourceNameSpace { get; set; } + + public string ResourceType { get; set; } + + public string StampId { get; set; } + + public string ResourceId { get; set; } + + public string BackendStampId { get; set; } + + public string ResourceState { get; set; } + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Models/TaskReport.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Models/TaskReport.cs new file mode 100644 index 000000000000..e6cf7b6cd9a3 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Models/TaskReport.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 Microsoft.WindowsAzure.Management.StorSimple.Models; +using System.Collections.Generic; + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Models +{ + public class TaskReport + { + public string TaskId { get; set; } + public AsyncTaskResult TaskResult { get; set; } + public AsyncTaskStatus TaskStatus { get; set; } + public string ErrorCode { get; set; } + public string ErrorMessage { get; set; } + public IList TaskSteps { get; set; } + + public TaskReport(TaskStatusInfo taskStatusInfo) + { + this.TaskId = taskStatusInfo.TaskId; + this.TaskResult = taskStatusInfo.Result; + this.TaskStatus = taskStatusInfo.Status; + this.ErrorCode = taskStatusInfo.Error.Code; + this.ErrorMessage = taskStatusInfo.Error.Message; + this.TaskSteps = taskStatusInfo.TaskSteps; + } + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/AssemblyInfo.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..7491e09ccf7e --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/AssemblyInfo.cs @@ -0,0 +1,53 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Microsoft Azure Powershell")] +[assembly: AssemblyCompany(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCompany)] +[assembly: AssemblyProduct(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyProduct)] +[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] +[assembly: CLSCompliant(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("43e1640a-8c44-4e5f-b895-8b2e1ad0aacc")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyVersion)] +[assembly: AssemblyFileVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyFileVersion)] +#if SIGN +[assembly: InternalsVisibleTo("Microsoft.WindowsAzure.Commands.StorSimple.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")] +#else +[assembly: InternalsVisibleTo("Microsoft.WindowsAzure.Commands.StorSimple.Test")] +#endif diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/Resources.Designer.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/Resources.Designer.cs new file mode 100644 index 000000000000..7c8c04c5819b --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/Resources.Designer.cs @@ -0,0 +1,981 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34014 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Microsoft.WindowsAzure.Commands.StorSimple.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [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 { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + 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 { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.WindowsAzure.Commands.StorSimple.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to {0} Access Control Record{1} found!. + /// + internal static string ACRGet_StatusMessage { + get { + return ResourceManager.GetString("ACRGet_StatusMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to More backups are available for your query. To access the next page of your result use \"-First {0} -Skip {1}\" in your commandlet. + /// + internal static string BackupNextPageFormatMessage { + get { + return ResourceManager.GetString("BackupNextPageFormatMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to More backups are available in the subsequent pages for your query. To access the next page use \"-Skip {0}\" in your commandlet. + /// + internal static string BackupNextPagewithNoFirstMessage { + get { + return ResourceManager.GetString("BackupNextPagewithNoFirstMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No more backup sets are present for your query!. + /// + internal static string BackupNoMorePagesMessage { + get { + return ResourceManager.GetString("BackupNoMorePagesMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to BackupPolicy with id {0} found!. + /// + internal static string BackupPolicyFound { + get { + return ResourceManager.GetString("BackupPolicyFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to {0} backup polic{1} found!. + /// + internal static string BackupPolicyGet_StatusMessage { + get { + return ResourceManager.GetString("BackupPolicyGet_StatusMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to BackupPolicyName should not have characters "[]=';". + /// + internal static string BackupPolicyNameHasDisallowedChars { + get { + return ResourceManager.GetString("BackupPolicyNameHasDisallowedChars", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to {0} backups found!. + /// + internal static string BackupsReturnedCount { + get { + return ResourceManager.GetString("BackupsReturnedCount", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to BackupType cannot be Invalid. + /// + internal static string BackupTypeInvalid { + get { + return ResourceManager.GetString("BackupTypeInvalid", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Could not retrieve secret. Please use Select-AzureStorSimpleResource and provide the Registration key once again.. + /// + internal static string CIKFetchFailed { + get { + return ResourceManager.GetString("CIKFetchFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid value for Registration Key. CIK could not be retrieved from Registration Key. Please provide the value as such from the portal!. + /// + internal static string CIKInvalid { + get { + return ResourceManager.GetString("CIKInvalid", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Could not find the persisted secret. Please use Select-AzureStorSimpleResource and provide the Registration key once again.. + /// + internal static string CIKNotPersisted { + get { + return ResourceManager.GetString("CIKNotPersisted", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ClientRequestId: {0}. + /// + internal static string ClientRequestIdMessage { + get { + return ResourceManager.GetString("ClientRequestIdMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Call to service failed with error code: {0}. + /// + internal static string CloudExceptionMessage { + get { + return ResourceManager.GetString("CloudExceptionMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to {0} StorSimple device{1} found!. + /// + internal static string DeviceGet_StatusMessage { + get { + return ResourceManager.GetString("DeviceGet_StatusMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The device name you have specified is not yet configured fully. Please complete the configuration and retry.. + /// + internal static string DeviceNotConfiguredMessage { + get { + return ResourceManager.GetString("DeviceNotConfiguredMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No StorSimple device is currently registered with this resource. Please register at least one device to the resource and rerun this command.. + /// + internal static string DeviceNotRegisteredMessage { + get { + return ResourceManager.GetString("DeviceNotRegisteredMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Device with device name {0} not found under resource {1}. + /// + internal static string DeviceWithNameNotFoundInResourceMessage { + get { + return ResourceManager.GetString("DeviceWithNameNotFoundInResourceMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Encryption in progress.... + /// + internal static string EncryptionInProgressMessage { + get { + return ResourceManager.GetString("EncryptionInProgressMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The {0} operation failed, please check the task's status for more details.. + /// + internal static string FailureMessageCompleteJob { + get { + return ResourceManager.GetString("FailureMessageCompleteJob", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The {0} task failed to submit. . + /// + internal static string FailureMessageSubmitJob { + get { + return ResourceManager.GetString("FailureMessageSubmitJob", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Parameter First cannot be <0. + /// + internal static string FirstParameterInvalidMessage { + get { + return ResourceManager.GetString("FirstParameterInvalidMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Volume container with name: {0} is found.. + /// + internal static string FoundDataContainerMessage { + get { + return ResourceManager.GetString("FoundDataContainerMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Access Control Record with given name {0} is found!. + /// + internal static string FoundMessageACR { + get { + return ResourceManager.GetString("FoundMessageACR", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Volume with name: {0} is found.. + /// + internal static string FoundVolumeMessage { + get { + return ResourceManager.GetString("FoundVolumeMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The Registration key specified appears to be in an incorrect format. Please verify that the exact key is copied from the portal!. + /// + internal static string IncorrectFormatInRegistrationKey { + get { + return ResourceManager.GetString("IncorrectFormatInRegistrationKey", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Creating StorageAccountCredential inline. + /// + internal static string InlineSacCreationMessage { + get { + return ResourceManager.GetString("InlineSacCreationMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Specify valid string for BackupId parameter. + /// + internal static string InvalidBackupIdParameter { + get { + return ResourceManager.GetString("InvalidBackupIdParameter", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Specify valid Backup object for Backup parameter . + /// + internal static string InvalidBackupObjectParameter { + get { + return ResourceManager.GetString("InvalidBackupObjectParameter", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Specify valid Guid for BackupPolicyId parameter. + /// + internal static string InvalidBackupPolicyIdParameter { + get { + return ResourceManager.GetString("InvalidBackupPolicyIdParameter", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Specify valid BackupPolicy object for BackupPolicy Parameter. + /// + internal static string InvalidBackupPolicyObjectParameter { + get { + return ResourceManager.GetString("InvalidBackupPolicyObjectParameter", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Atleast one BackupSchedule should be present in BackupSchedulesToAdd parameter. + /// + internal static string InvalidBackupSchedulesToAddParameter { + get { + return ResourceManager.GetString("InvalidBackupSchedulesToAddParameter", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Provide valid datetime string for From parameter!. + /// + internal static string InvalidFromMessage { + get { + return ResourceManager.GetString("InvalidFromMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Invalid input : {0}. + /// + internal static string InvalidInputMessage { + get { + return ResourceManager.GetString("InvalidInputMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Provide valid datetime string for To parameter!. + /// + internal static string InvalidToMessage { + get { + return ResourceManager.GetString("InvalidToMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Atleast one VolumeId should be present in VolumeIdsToAdd parameter. + /// + internal static string InvalidVolumeIdsToAddParameter { + get { + return ResourceManager.GetString("InvalidVolumeIdsToAddParameter", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to {0} Iscsi Connection{1} found!. + /// + internal static string IscsiConnectionGet_StatusMessage { + get { + return ResourceManager.GetString("IscsiConnectionGet_StatusMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No backuppolicy with name : {0} found in your device: {1} !. + /// + internal static string NoBackupPolicyWithGivenNameFound { + get { + return ResourceManager.GetString("NoBackupPolicyWithGivenNameFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No device found in your currently selected resource : {0}!. + /// + internal static string NoDeviceFoundInResourceMessage { + get { + return ResourceManager.GetString("NoDeviceFoundInResourceMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No device found in your currently selected resource : {0} with id : {1}!. + /// + internal static string NoDeviceFoundWithGivenIdInResourceMessage { + get { + return ResourceManager.GetString("NoDeviceFoundWithGivenIdInResourceMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No device found in your currently selected resource : {0} with ModelDescription : {1}!. + /// + internal static string NoDeviceFoundWithGivenModelInResourceMessage { + get { + return ResourceManager.GetString("NoDeviceFoundWithGivenModelInResourceMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No device found in your currently selected resource : {0} with name : {1}!. + /// + internal static string NoDeviceFoundWithGivenNameInResourceMessage { + get { + return ResourceManager.GetString("NoDeviceFoundWithGivenNameInResourceMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No device found in your currently selected resource : {0} with Type : {1}!. + /// + internal static string NoDeviceFoundWithGivenTypeInResourceMessage { + get { + return ResourceManager.GetString("NoDeviceFoundWithGivenTypeInResourceMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No resource found in your subscription!. + /// + internal static string NoResourceFoundInSubscriptionMessage { + get { + return ResourceManager.GetString("NoResourceFoundInSubscriptionMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No resource found in your subscription with name : {0}!. + /// + internal static string NoResourceFoundWithGivenNameInSubscriptionMessage { + get { + return ResourceManager.GetString("NoResourceFoundWithGivenNameInSubscriptionMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Please provide the EncryptionKey.. + /// + internal static string NotAllowedErrorDataContainerEncryption { + get { + return ResourceManager.GetString("NotAllowedErrorDataContainerEncryption", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Volume container with name: {0} is not found.. + /// + internal static string NotFoundDataContainerMessage { + get { + return ResourceManager.GetString("NotFoundDataContainerMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to No Access Control Record with given name {0} is found!. + /// + internal static string NotFoundMessageACR { + get { + return ResourceManager.GetString("NotFoundMessageACR", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The specified device does not exist.. + /// + internal static string NotFoundMessageDevice { + get { + return ResourceManager.GetString("NotFoundMessageDevice", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The specified resource does not exist.. + /// + internal static string NotFoundMessageResource { + get { + return ResourceManager.GetString("NotFoundMessageResource", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Storage account with the specified name does not exist.. + /// + internal static string NotFoundMessageStorageAccountCredential { + get { + return ResourceManager.GetString("NotFoundMessageStorageAccountCredential", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The specified volume does not exist.. + /// + internal static string NotFoundMessageVirtualDisk { + get { + return ResourceManager.GetString("NotFoundMessageVirtualDisk", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Volume with name: {0} is not found.. + /// + internal static string NotFoundVolumeMessage { + get { + return ResourceManager.GetString("NotFoundVolumeMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Registration key parameter is not passed. Validating whether a registration key is already persisted for this resource!. + /// + internal static string NotProvidedWarningRegistrationKey { + get { + return ResourceManager.GetString("NotProvidedWarningRegistrationKey", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Secret was persisted earlier, but seems to have been corrupted. Please use Select-AzureStorSimpleResource and provide the Registration key once again.. + /// + internal static string PersistedCIKCorrupted { + get { + return ResourceManager.GetString("PersistedCIKCorrupted", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Retrieved secret successfully, but was NULL.. + /// + internal static string PersistedCIKIsNull { + get { + return ResourceManager.GetString("PersistedCIKIsNull", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Failed to validate persisted secret.. + /// + internal static string PersistedCIKValidationFailed { + get { + return ResourceManager.GetString("PersistedCIKValidationFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Could not persist secret. + /// + internal static string PersistSecretFailed { + get { + return ResourceManager.GetString("PersistSecretFailed", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Registration key is provided. Persisting for later use!. + /// + internal static string ProvidedRegistrationKey { + get { + return ResourceManager.GetString("ProvidedRegistrationKey", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RecurrenceType cannot be Invalid. + /// + internal static string RecurrenceTypeInvalid { + get { + return ResourceManager.GetString("RecurrenceTypeInvalid", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RecurrenceValue should be >=0. + /// + internal static string RecurrenceValueLessThanZero { + get { + return ResourceManager.GetString("RecurrenceValueLessThanZero", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Registrtion key not passed - validating that the secrets are already initialized. + /// + internal static string RegistrationKeyNotPassedMessage { + get { + return ResourceManager.GetString("RegistrationKeyNotPassedMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Registration key passed - initializing secrets. + /// + internal static string RegistrationKeyPassedMessage { + get { + return ResourceManager.GetString("RegistrationKeyPassedMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Removing backup with backupId {0}.... + /// + internal static string RemoveASSDBackupMessage { + get { + return ResourceManager.GetString("RemoveASSDBackupMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Removing backuppolicy with backuppolicyId {0}.... + /// + internal static string RemoveASSDBackupPolicyMessage { + get { + return ResourceManager.GetString("RemoveASSDBackupPolicyMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to remove the backuppolicy with backuppolicyId{0}?. + /// + internal static string RemoveASSDBackupPolicyWarningMessage { + get { + return ResourceManager.GetString("RemoveASSDBackupPolicyWarningMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to remove the backup with backupId{0}?. + /// + internal static string RemoveASSDBackupWarningMessage { + get { + return ResourceManager.GetString("RemoveASSDBackupWarningMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Removing access control record.... + /// + internal static string RemoveConfirmationACR { + get { + return ResourceManager.GetString("RemoveConfirmationACR", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Removing volume container.... + /// + internal static string RemoveConfirmationDataContainer { + get { + return ResourceManager.GetString("RemoveConfirmationDataContainer", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Removing storage account.... + /// + internal static string RemoveConfirmationSAC { + get { + return ResourceManager.GetString("RemoveConfirmationSAC", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Removing volume.... + /// + internal static string RemoveConfirmationVolume { + get { + return ResourceManager.GetString("RemoveConfirmationVolume", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to remove the access control record?. + /// + internal static string RemoveWarningACR { + get { + return ResourceManager.GetString("RemoveWarningACR", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to remove the volume container?. + /// + internal static string RemoveWarningDataContainer { + get { + return ResourceManager.GetString("RemoveWarningDataContainer", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to remove the storage account?. + /// + internal static string RemoveWarningSAC { + get { + return ResourceManager.GetString("RemoveWarningSAC", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to remove the volume?. + /// + internal static string RemoveWarningVolume { + get { + return ResourceManager.GetString("RemoveWarningVolume", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to You have a resource selected. Resource Name: {0} Id: {1}. + /// + internal static string ResourceContextFound { + get { + return ResourceManager.GetString("ResourceContextFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Initializing resource context. + /// + internal static string ResourceContextInitializeMessage { + get { + return ResourceManager.GetString("ResourceContextInitializeMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Resource Context is not set for your subscription. Please use Select-AzureStorSimpleResource -ResourceName <<name>> to set the resource context.. + /// + internal static string ResourceContextNotSetMessage { + get { + return ResourceManager.GetString("ResourceContextNotSetMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to {0} StorSimple resource{1} found!. + /// + internal static string ResourceGet_StatusMessage { + get { + return ResourceManager.GetString("ResourceGet_StatusMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to ResourceId must be specified. + /// + internal static string ResourceIdMissing { + get { + return ResourceManager.GetString("ResourceIdMissing", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to RetentionCount value should be 1 - 64. + /// + internal static string RetentionCountRangeInvalid { + get { + return ResourceManager.GetString("RetentionCountRangeInvalid", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to {0} volume container{1} found!. + /// + internal static string ReturnedCountDataContainerMessage { + get { + return ResourceManager.GetString("ReturnedCountDataContainerMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to {0} volume{1} found for your volume container!. + /// + internal static string ReturnedCountVolumeMessage { + get { + return ResourceManager.GetString("ReturnedCountVolumeMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Storage Access Credential with name {0} found!. + /// + internal static string SACFoundWithName { + get { + return ResourceManager.GetString("SACFoundWithName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to {0} Storage Access Credential{1} found!. + /// + internal static string SACGet_StatusMessage { + get { + return ResourceManager.GetString("SACGet_StatusMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Storage Access Credential with name {0} not found!. + /// + internal static string SACNotFoundWithName { + get { + return ResourceManager.GetString("SACNotFoundWithName", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Secrets validation complete. + /// + internal static string SecretsValidationCompleteMessage { + get { + return ResourceManager.GetString("SecretsValidationCompleteMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Parameter Skip cannot be <0. + /// + internal static string SkipParameterInvalidMessage { + get { + return ResourceManager.GetString("SkipParameterInvalidMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Restoring backup with backupId {0}.... + /// + internal static string StartASSDBackupRestoreJobMessage { + get { + return ResourceManager.GetString("StartASSDBackupRestoreJobMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to restore the backup with backupId{0}?. + /// + internal static string StartASSDBackupRestoreJobWarningMessage { + get { + return ResourceManager.GetString("StartASSDBackupRestoreJobWarningMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Provide valid dateTime for StartFrom parameter. + /// + internal static string StartFromDateForBackupNotValid { + get { + return ResourceManager.GetString("StartFromDateForBackupNotValid", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Cleaning up objects, retry count: {0}. + /// + internal static string StorageAccountCleanupRetryMessage { + get { + return ResourceManager.GetString("StorageAccountCleanupRetryMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Found storage account with name : {0}. + /// + internal static string StorageAccountFoundMessage { + get { + return ResourceManager.GetString("StorageAccountFoundMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Could not find storage account with name: {0}. + /// + internal static string StorageAccountNotFoundMessage { + get { + return ResourceManager.GetString("StorageAccountNotFoundMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Storage credential verification failed.. + /// + internal static string StorageCredentialVerificationFailureMessage { + get { + return ResourceManager.GetString("StorageCredentialVerificationFailureMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Storage credential verification succeeded.. + /// + internal static string StorageCredentialVerificationSuccessMessage { + get { + return ResourceManager.GetString("StorageCredentialVerificationSuccessMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Your resource has seen selected successfully. To change to another resource please use Select-AzureStorSimpleResource commandlet!. + /// + internal static string SuccessfulResourceSelection { + get { + return ResourceManager.GetString("SuccessfulResourceSelection", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The task created for your {0} operation has completed successfully.. + /// + internal static string SuccessMessageCompleteJob { + get { + return ResourceManager.GetString("SuccessMessageCompleteJob", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Context set successfully for the given resource name.. + /// + internal static string SuccessMessageSetResourceContext { + get { + return ResourceManager.GetString("SuccessMessageSetResourceContext", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The {0} task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId {1} for tracking the task's status. + /// + internal static string SuccessMessageSubmitJob { + get { + return ResourceManager.GetString("SuccessMessageSubmitJob", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The registration key has been validated successfully! . + /// + internal static string ValidationSuccessfulRegistrationKey { + get { + return ResourceManager.GetString("ValidationSuccessfulRegistrationKey", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Web exception encountered with StatusCode: {0}. + /// + internal static string WebExceptionMessage { + get { + return ResourceManager.GetString("WebExceptionMessage", resourceCulture); + } + } + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/Resources.resx b/src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/Resources.resx new file mode 100644 index 000000000000..d3ba92961b90 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/Properties/Resources.resx @@ -0,0 +1,426 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + {0} backup polic{1} found! + + + BackupPolicy with id {0} found! + + + No backuppolicy with name : {0} found in your device: {1} ! + + + The {0} task failed to submit. + + + Please provide the EncryptionKey. + + + No Access Control Record with given name {0} is found! + + + The specified device does not exist. + + + The specified resource does not exist. + + + Storage account with the specified name does not exist. + + + Removing backup with backupId {0}... + + + Removing backuppolicy with backuppolicyId {0}... + + + Are you sure you want to remove the backuppolicy with backuppolicyId{0}? + + + Are you sure you want to remove the backup with backupId{0}? + + + The specified volume does not exist. + + + Removing access control record... + + + Removing volume container... + + + Removing storage account... + + + Removing volume... + + + Are you sure you want to remove the access control record? + + + Are you sure you want to remove the volume container? + + + Are you sure you want to remove the storage account? + + + Are you sure you want to remove the volume? + + + Restoring backup with backupId {0}... + + + Are you sure you want to restore the backup with backupId{0}? + + + Context set successfully for the given resource name. + + + The {0} task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId {1} for tracking the task's status + + + Specify valid string for BackupId parameter + + + Specify valid Backup object for Backup parameter + + + Specify valid Guid for BackupPolicyId parameter + + + Specify valid BackupPolicy object for BackupPolicy Parameter + + + More backups are available for your query. To access the next page of your result use \"-First {0} -Skip {1}\" in your commandlet + + + More backups are available in the subsequent pages for your query. To access the next page use \"-Skip {0}\" in your commandlet + + + No more backup sets are present for your query! + + + Parameter First cannot be <0 + + + Atleast one BackupSchedule should be present in BackupSchedulesToAdd parameter + + + Provide valid datetime string for From parameter! + + + Provide valid datetime string for To parameter! + + + Atleast one VolumeId should be present in VolumeIdsToAdd parameter + + + Parameter Skip cannot be <0 + + + Provide valid dateTime for StartFrom parameter + + + Call to service failed with error code: {0} + + + The {0} operation failed, please check the task's status for more details. + + + The task created for your {0} operation has completed successfully. + + + {0} backups found! + + + Volume container with name: {0} is found. + + + Volume with name: {0} is found. + + + Volume container with name: {0} is not found. + + + Volume with name: {0} is not found. + + + {0} volume container{1} found! + + + {0} volume{1} found for your volume container! + + + ClientRequestId: {0} + + + Device with device name {0} not found under resource {1} + + + {0} StorSimple device{1} found! + + + The Registration key specified appears to be in an incorrect format. Please verify that the exact key is copied from the portal! + + + {0} Iscsi Connection{1} found! + + + No device found in your currently selected resource : {0}! + + + No device found in your currently selected resource : {0} with id : {1}! + + + No device found in your currently selected resource : {0} with ModelDescription : {1}! + + + No device found in your currently selected resource : {0} with name : {1}! + + + No device found in your currently selected resource : {0} with Type : {1}! + + + No resource found in your subscription! + + + No resource found in your subscription with name : {0}! + + + Registration key parameter is not passed. Validating whether a registration key is already persisted for this resource! + + + Registration key is provided. Persisting for later use! + + + You have a resource selected. Resource Name: {0} Id: {1} + + + {0} StorSimple resource{1} found! + + + Your resource has seen selected successfully. To change to another resource please use Select-AzureStorSimpleResource commandlet! + + + Encryption in progress... + + + Web exception encountered with StatusCode: {0} + + + The registration key has been validated successfully! + + + Invalid input : {0} + + + Storage credential verification failed. + + + Storage credential verification succeeded. + + + Found storage account with name : {0} + + + Could not find storage account with name: {0} + + + Registrtion key not passed - validating that the secrets are already initialized + + + Registration key passed - initializing secrets + + + Initializing resource context + + + Secrets validation complete + + + Cleaning up objects, retry count: {0} + + + Creating StorageAccountCredential inline + + + {0} Access Control Record{1} found! + + + Access Control Record with given name {0} is found! + + + Storage Access Credential with name {0} found! + + + {0} Storage Access Credential{1} found! + + + Storage Access Credential with name {0} not found! + + + BackupType cannot be Invalid + + + RecurrenceType cannot be Invalid + + + RecurrenceValue should be >=0 + + + RetentionCount value should be 1 - 64 + + + BackupPolicyName should not have characters "[]=';" + + + ResourceId must be specified + + + Could not retrieve secret. Please use Select-AzureStorSimpleResource and provide the Registration key once again. + + + Invalid value for Registration Key. CIK could not be retrieved from Registration Key. Please provide the value as such from the portal! + + + Could not find the persisted secret. Please use Select-AzureStorSimpleResource and provide the Registration key once again. + + + Secret was persisted earlier, but seems to have been corrupted. Please use Select-AzureStorSimpleResource and provide the Registration key once again. + + + Retrieved secret successfully, but was NULL. + + + Failed to validate persisted secret. + + + Could not persist secret + + + The device name you have specified is not yet configured fully. Please complete the configuration and retry. + + + No StorSimple device is currently registered with this resource. Please register at least one device to the resource and rerun this command. + + + Resource Context is not set for your subscription. Please use Select-AzureStorSimpleResource -ResourceName <<name>> to set the resource context. + + \ No newline at end of file diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StorSimpleBackupSetClient.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StorSimpleBackupSetClient.cs new file mode 100644 index 000000000000..26e18fe3bcaa --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StorSimpleBackupSetClient.cs @@ -0,0 +1,60 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.StorSimple; +using Microsoft.WindowsAzure.Management.StorSimple.Models; + +namespace Microsoft.WindowsAzure.Commands.StorSimple +{ + public partial class StorSimpleClient + { + public GetBackupResponse GetAllBackups(string deviceId, string filterType, string isAllSelected, string filterValue, string startDateTime, string endDateTime, + string skip, string top) + { + return this.GetStorSimpleClient() + .Backup.Get(deviceId, filterType, isAllSelected, filterValue, startDateTime, endDateTime, skip, top, + GetCustomRequestHeaders()); + } + + public TaskStatusInfo DeleteBackup(string deviceid, string backupSetId) + { + return GetStorSimpleClient().Backup.Delete(deviceid, backupSetId, GetCustomRequestHeaders()); + } + + public TaskResponse DeleteBackupAsync(string deviceid, string backupSetId) + { + return GetStorSimpleClient().Backup.BeginDeleting(deviceid, backupSetId, GetCustomRequestHeaders()); + } + + public TaskStatusInfo RestoreBackup(string deviceid, RestoreBackupRequest backupRequest) + { + return GetStorSimpleClient().Backup.Restore(deviceid, backupRequest, GetCustomRequestHeaders()); + } + + public TaskResponse RestoreBackupAsync(string deviceid, RestoreBackupRequest backupRequest) + { + return GetStorSimpleClient().Backup.BeginRestoring(deviceid, backupRequest, GetCustomRequestHeaders()); + } + + public TaskStatusInfo DoBackup(string deviceid, string backupPolicyId, BackupNowRequest request) + { + return GetStorSimpleClient().Backup.Create(deviceid, backupPolicyId, request, GetCustomRequestHeaders()); + } + + public TaskResponse DoBackupAsync(string deviceid, string backupPolicyId, BackupNowRequest request) + { + return GetStorSimpleClient().Backup.BeginCreatingBackup(deviceid, backupPolicyId, request, GetCustomRequestHeaders()); + } + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StorSimpleClient.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StorSimpleClient.cs new file mode 100644 index 000000000000..d305ab58a859 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StorSimpleClient.cs @@ -0,0 +1,135 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Net; +using System.IO; +using System.Runtime.Serialization; +using System.Xml; +using System.Net.Security; +using System.Runtime.Caching; +using Hyak.Common; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; +using Microsoft.WindowsAzure.Management.Scheduler; +using Microsoft.WindowsAzure.Management.StorSimple; +using Microsoft.WindowsAzure.Management.StorSimple.Models; +using Microsoft.WindowsAzure.Management.Scheduler.Models; + + +namespace Microsoft.WindowsAzure.Commands.StorSimple +{ + public partial class StorSimpleClient + { + private CloudServiceManagementClient cloudServicesClient; + + public string ClientRequestId; + + private ObjectCache Resourcecache = MemoryCache.Default; + + private CacheItemPolicy ResourceCachetimeoutPolicy = new CacheItemPolicy(); + + /// + /// Azure profile + /// + public AzureProfile Profile { get; set; } + + public StorSimpleClient(AzureProfile azureProfile, AzureSubscription currentSubscription) + { + // Temp code to be able to test internal env. + ServicePointManager.ServerCertificateValidationCallback = delegate { return true; };//IgnoreCertificateErrorHandler;//delegate { return true; }; + + this.Profile = azureProfile; + + this.cloudServicesClient = AzureSession.ClientFactory.CreateClient(azureProfile, currentSubscription, AzureEnvironment.Endpoint.ServiceManagement); + + ResourceCachetimeoutPolicy.AbsoluteExpiration = DateTimeOffset.Now.AddHours(1.0d); + } + + public CloudServiceListResponse GetAzureCloudServicesSyncInt() + { + return this.cloudServicesClient.CloudServices.List(); + } + + private StorSimpleManagementClient GetStorSimpleClient() + { + var storSimpleClient = + AzureSession.ClientFactory.CreateCustomClient( + StorSimpleContext.CloudServiceName, + StorSimpleContext.ResourceName, StorSimpleContext.ResourceId, + StorSimpleContext.ResourceProviderNameSpace, StorSimpleContext.StampId, + this.cloudServicesClient.Credentials, + Profile.Context.Environment.GetEndpointAsUri(AzureEnvironment.Endpoint.ServiceManagement)); + + if (storSimpleClient == null) + { + throw new InvalidOperationException(); + } + + return storSimpleClient; + + } + + public void ThrowCloudExceptionDetails(CloudException cloudException) + { + Error error = null; + try + { + using (Stream stream = new MemoryStream()) + { + byte[] data = System.Text.Encoding.UTF8.GetBytes(cloudException.Error.Message); + stream.Write(data, 0, data.Length); + stream.Position = 0; + + var deserializer = new DataContractSerializer(typeof(Error)); + error = (Error)deserializer.ReadObject(stream); + } + } + catch (XmlException) + { + throw new XmlException(cloudException.Error.Message); + } + catch (SerializationException) + { + throw new SerializationException(cloudException.Error.Message); + } + + throw new InvalidOperationException( + string.Format(error.Message,"\n",error.HttpCode,"\n",error.ExtendedCode)); + } + + private CustomRequestHeaders GetCustomRequestHeaders() + { + var hdrs = new CustomRequestHeaders() + { + // ClientRequestId is a unique ID for every request to StorSimple . + // It is useful when diagnosing failures in API calls. + ClientRequestId = this.ClientRequestId, + Language = "en-US" + }; + + return hdrs; + } + + private static bool IgnoreCertificateErrorHandler + (object sender, + System.Security.Cryptography.X509Certificates.X509Certificate certificate, + System.Security.Cryptography.X509Certificates.X509Chain chain, + SslPolicyErrors sslPolicyErrors) + { + return true; + } + + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StorSimpleContextClient.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StorSimpleContextClient.cs new file mode 100644 index 000000000000..90d792620f60 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StorSimpleContextClient.cs @@ -0,0 +1,166 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Linq; +using System.Collections.Generic; +using Microsoft.WindowsAzure.Commands.StorSimple.Encryption; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; +using Microsoft.WindowsAzure.Management.Scheduler; + +namespace Microsoft.WindowsAzure.Commands.StorSimple +{ + public partial class StorSimpleClient + { + + public IEnumerable GetAllResources() + { + var services = cloudServicesClient.CloudServices.List(); + var toReturn = new List(); + + + foreach (var service in services) + { + + if (service.Resources.Count == 0) + { + continue; + } + foreach (var resource in service.Resources) + { + if (!(resource.Type.Equals("CiSVault", StringComparison.CurrentCultureIgnoreCase))) + { + continue; + } + try + { + var resCredentials = new ResourceCredentials + { + CloudServiceName = service.Name, + ResourceType = resource.Type, + BackendStampId = resource.OutputItems["BackendStampId"], + ResourceId = resource.OutputItems["ResourceId"], + ResourceName = resource.Name, + ResourceNameSpace = resource.Namespace, + StampId = resource.OutputItems["StampId"], + ResourceState = resource.State + }; + + toReturn.Add(resCredentials); + } + catch (Exception) + { + } + + } + + } + Resourcecache.Add("resourceObject", toReturn, ResourceCachetimeoutPolicy); + return toReturn; + } + + public ResourceCredentials GetResourceDetails(string resourceName) + { + var resCredList = GetAllResources(); + return + resCredList.FirstOrDefault( + resCred => resCred.ResourceName.Equals(resourceName, StringComparison.CurrentCultureIgnoreCase)); + } + + public void SetResourceContext(ResourceCredentials resCred) + { + if (resCred == null) + { + return; + } + + StorSimpleContext.ResourceId = resCred.ResourceId; + StorSimpleContext.StampId = resCred.BackendStampId; + StorSimpleContext.CloudServiceName = resCred.CloudServiceName; + StorSimpleContext.ResourceType = resCred.ResourceType; + StorSimpleContext.ResourceName = resCred.ResourceName; + StorSimpleContext.ResourceProviderNameSpace = resCred.ResourceNameSpace; + StorSimpleContext.KeyManager = new StorSimpleKeyManager(resCred.ResourceId); + } + + public void ResetResourceContext() + { + StorSimpleContext.ResourceId = null; + StorSimpleContext.StampId = null; + StorSimpleContext.CloudServiceName = null; + StorSimpleContext.ResourceType = null; + StorSimpleContext.ResourceName = null; + StorSimpleContext.ResourceProviderNameSpace = null; + StorSimpleContext.KeyManager = null; + } + + public StorSimpleResourceContext GetResourceContext() + { + if (string.IsNullOrEmpty(StorSimpleContext.ResourceId) + || string.IsNullOrEmpty(StorSimpleContext.ResourceName) + || string.IsNullOrEmpty(StorSimpleContext.ResourceType)) + return null; + else + { + return new StorSimpleResourceContext(StorSimpleContext.ResourceId, StorSimpleContext.ResourceName, + StorSimpleContext.StampId, StorSimpleContext.CloudServiceName, StorSimpleContext.ResourceProviderNameSpace, + StorSimpleContext.ResourceType, StorSimpleContext.KeyManager); + } + } + + /// + /// The CIK has to be parsed from the registration key + /// + /// + public string ParseCIKFromRegistrationKey(string registrationKey) + { + try + { + string[] parts = registrationKey.Split(new char[] { ':' }); + return parts[2].Split(new char[] { '#' })[0]; + } + catch (Exception ex) + { + throw new Exception(Resources.IncorrectFormatInRegistrationKey, ex); + } + } + } + + public class StorSimpleResourceContext + { + public string ResourceId { get; set; } + public string StampId { get; set; } + public string CloudServiceName { get; set; } + public string ResourceProviderNameSpace { get; set; } + public string ResourceType { get; set; } + public string ResourceName { get; set; } + public StorSimpleKeyManager StorSimpleKeyManager { get; set; } + + public StorSimpleResourceContext(string resourceId, string resourceName, string stampId, + string cloudServiceName, string resourceProviderNameSpace, string resourceType, StorSimpleKeyManager keyManager) + { + this.ResourceId = resourceId; + this.ResourceName = resourceName; + this.ResourceType = resourceType; + this.ResourceProviderNameSpace = resourceProviderNameSpace; + this.StampId = stampId; + this.CloudServiceName = cloudServiceName; + this.StorSimpleKeyManager = keyManager; + } + + + } +} + + diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StorSimpleDCClient.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StorSimpleDCClient.cs new file mode 100644 index 000000000000..289f1c623ada --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StorSimpleDCClient.cs @@ -0,0 +1,58 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.StorSimple; +using Microsoft.WindowsAzure.Management.StorSimple.Models; + +namespace Microsoft.WindowsAzure.Commands.StorSimple +{ + public partial class StorSimpleClient + { + public DataContainerListResponse GetAllDataContainers(string deviceId) + { + return this.GetStorSimpleClient().DataContainer.List(deviceId, this.GetCustomRequestHeaders()); + } + + public TaskStatusInfo GetTaskStatus(string taskId) + { + return GetStorSimpleClient().GetOperationStatus(taskId); + } + public TaskStatusInfo CreateDataContainer(string deviceId,DataContainerRequest dc) + { + return GetStorSimpleClient().DataContainer.Create(deviceId, dc, GetCustomRequestHeaders()); + + } + + public TaskResponse CreateDataContainerAsync(string deviceId, DataContainerRequest dc) + { + return GetStorSimpleClient().DataContainer.BeginCreating(deviceId, dc, GetCustomRequestHeaders()); + } + + + public DataContainerGetResponse GetDataContainer(string deviceId, string Name) + { + return GetStorSimpleClient().DataContainer.Get(deviceId, Name, GetCustomRequestHeaders()); + } + + public TaskResponse DeleteDataContainerAsync(string deviceid, string dcid) + { + return GetStorSimpleClient().DataContainer.BeginDeleting(deviceid, dcid, GetCustomRequestHeaders()); + } + + public TaskStatusInfo DeleteDataContainer(string deviceid, string dcid) + { + return GetStorSimpleClient().DataContainer.Delete(deviceid, dcid, GetCustomRequestHeaders()); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StorSimpleDevicesClient.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StorSimpleDevicesClient.cs new file mode 100644 index 000000000000..544e010a8c50 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StorSimpleDevicesClient.cs @@ -0,0 +1,57 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Collections.Generic; +using System.Linq; +using Microsoft.WindowsAzure.Management.StorSimple; +using Microsoft.WindowsAzure.Management.StorSimple.Models; + +namespace Microsoft.WindowsAzure.Commands.StorSimple +{ + public partial class StorSimpleClient + { + public IEnumerable GetAllDevices() + { + return this.GetStorSimpleClient().Devices.List(this.GetCustomRequestHeaders()); + } + + public DeviceDetails GetDeviceDetails(string deviceId) + { + var deviceDetailsResponse = this.GetStorSimpleClient().DeviceDetails.Get(deviceId, this.GetCustomRequestHeaders()); + if (deviceDetailsResponse == null) + { + return null; + } + return deviceDetailsResponse.DeviceDetails; + } + + public string GetDeviceId(string deviceToUse) + { + if (deviceToUse == null) throw new ArgumentNullException("deviceToUse"); + var deviceInfos = GetAllDevices(); + return (from deviceInfo in deviceInfos where deviceInfo.FriendlyName.Equals(deviceToUse, StringComparison.InvariantCultureIgnoreCase) select deviceInfo.DeviceId).FirstOrDefault(); + } + + public List GetAllIscsiConnections(string deviceId) + { + var iscsiConnectionResponse = GetStorSimpleClient().IscsiConnection.Get(deviceId, GetCustomRequestHeaders()); + if (iscsiConnectionResponse == null || iscsiConnectionResponse.IscsiConnections == null) + { + return null; + } + return iscsiConnectionResponse.IscsiConnections.ToList(); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StorSimpleServiceConfigClient.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StorSimpleServiceConfigClient.cs new file mode 100644 index 000000000000..f98557633651 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StorSimpleServiceConfigClient.cs @@ -0,0 +1,53 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System.Collections.Generic; +using Microsoft.WindowsAzure.Management.StorSimple; +using Microsoft.WindowsAzure.Management.StorSimple.Models; + +namespace Microsoft.WindowsAzure.Commands.StorSimple +{ + public partial class StorSimpleClient + { + public TaskStatusInfo ConfigureService(ServiceConfiguration serviceConfig) + { + return GetStorSimpleClient().ServiceConfig.Create(serviceConfig, GetCustomRequestHeaders()); + } + + public TaskResponse ConfigureServiceAsync(ServiceConfiguration serviceConfig) + { + return GetStorSimpleClient().ServiceConfig.BeginCreating(serviceConfig, GetCustomRequestHeaders()); + } + + public IList GetAllAccessControlRecords() + { + var sc = GetStorSimpleClient().ServiceConfig.Get(GetCustomRequestHeaders()); + if (sc == null || sc.AcrChangeList == null) + { + return null; + } + return sc.AcrChangeList.Updated; + } + + public IList GetAllStorageAccountCredentials() + { + var sc = GetStorSimpleClient().ServiceConfig.Get(GetCustomRequestHeaders()); + if (sc == null || sc.CredentialChangeList == null) + { + return null; + } + return sc.CredentialChangeList.Updated; + } + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StorSimpleVolumeClient.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StorSimpleVolumeClient.cs new file mode 100644 index 000000000000..ccb4e20763f1 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StorSimpleVolumeClient.cs @@ -0,0 +1,60 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Management.StorSimple; +using Microsoft.WindowsAzure.Management.StorSimple.Models; + +namespace Microsoft.WindowsAzure.Commands.StorSimple +{ + public partial class StorSimpleClient + { + public VirtualDiskListResponse GetAllVolumesFordataContainer(string deviceid,string datacontainerid) + { + return GetStorSimpleClient().VirtualDisk.List(deviceid, datacontainerid, GetCustomRequestHeaders()); + } + + public VirtualDiskGetResponse GetVolumeByName(string deviceid, string diskName) + { + return GetStorSimpleClient().VirtualDisk.GetByName(deviceid, diskName, GetCustomRequestHeaders()); + } + + public TaskStatusInfo CreateVolume(string deviceid, VirtualDiskRequest diskDetails) + { + return GetStorSimpleClient().VirtualDisk.Create(deviceid, diskDetails, GetCustomRequestHeaders()); + } + + public GuidTaskResponse CreateVolumeAsync(string deviceid, VirtualDiskRequest diskDetails) + { + return GetStorSimpleClient().VirtualDisk.BeginCreating(deviceid, diskDetails, GetCustomRequestHeaders()); + } + + public TaskStatusInfo RemoveVolume(string deviceid, string diskid) + { + return GetStorSimpleClient().VirtualDisk.Delete(deviceid, diskid, GetCustomRequestHeaders()); + } + public GuidTaskResponse RemoveVolumeAsync(string deviceid, string diskid) + { + return GetStorSimpleClient().VirtualDisk.BeginDeleting(deviceid, diskid, GetCustomRequestHeaders()); + } + + public TaskStatusInfo UpdateVolume(string deviceid, string diskid, VirtualDisk diskDetails) + { + return GetStorSimpleClient().VirtualDisk.Update(deviceid, diskid, diskDetails, GetCustomRequestHeaders()); + } + public GuidTaskResponse UpdateVolumeAsync(string deviceid, string diskid, VirtualDisk diskDetails) + { + return GetStorSimpleClient().VirtualDisk.BeginUpdating(deviceid, diskid, diskDetails,GetCustomRequestHeaders()); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StoreSimpleBackupPolicyClient.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StoreSimpleBackupPolicyClient.cs new file mode 100644 index 000000000000..fdfb891af3d4 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StoreSimpleBackupPolicyClient.cs @@ -0,0 +1,165 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Collections.Generic; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; +using Microsoft.WindowsAzure.Management.StorSimple; +using Microsoft.WindowsAzure.Management.StorSimple.Models; +using System; + +namespace Microsoft.WindowsAzure.Commands.StorSimple +{ + public partial class StorSimpleClient + { + public BackupPolicyListResponse GetAllBackupPolicies(string deviceId) + { + var backupPolicyList = this.GetStorSimpleClient().BackupPolicy.List(deviceId, GetCustomRequestHeaders()); + backupPolicyList.BackupPolicies = CorrectLastBackupForNewPolicy(backupPolicyList.BackupPolicies); + return backupPolicyList; + } + + public GetBackupPolicyDetailsResponse GetBackupPolicyByName(string deviceId, string backupPolicyName) + { + var backupPolicyDetail = this.GetStorSimpleClient().BackupPolicy.GetBackupPolicyDetailsByName(deviceId, backupPolicyName, GetCustomRequestHeaders()); + backupPolicyDetail.BackupPolicyDetails = CorrectLastBackupForNewPolicyDetail(backupPolicyDetail.BackupPolicyDetails); + return backupPolicyDetail; + } + + public TaskStatusInfo DeleteBackupPolicy(string deviceid, string backupPolicyId) + { + return GetStorSimpleClient().BackupPolicy.Delete(deviceid, backupPolicyId, GetCustomRequestHeaders()); + } + + public TaskResponse DeleteBackupPolicyAsync(string deviceid, string backupPolicyId) + { + return GetStorSimpleClient().BackupPolicy.BeginDeleting(deviceid, backupPolicyId, GetCustomRequestHeaders()); + } + + public TaskStatusInfo CreateBackupPolicy(string deviceId, NewBackupPolicyConfig config) + { + return GetStorSimpleClient().BackupPolicy.Create(deviceId, config, GetCustomRequestHeaders()); + } + + public TaskResponse CreateBackupPolicyAsync(string deviceId, NewBackupPolicyConfig config) + { + return GetStorSimpleClient().BackupPolicy.BeginCreatingBackupPolicy(deviceId, config, GetCustomRequestHeaders()); + } + + public TaskStatusInfo UpdateBackupPolicy(string deviceId, string policyId, UpdateBackupPolicyConfig updatepolicyConfig) + { + return GetStorSimpleClient().BackupPolicy.Update(deviceId, policyId, updatepolicyConfig, GetCustomRequestHeaders()); + } + + public TaskResponse UpdateBackupPolicyAsync(string deviceId, string policyId, UpdateBackupPolicyConfig updatepolicyConfig) + { + return GetStorSimpleClient().BackupPolicy.BeginUpdatingBackupPolicy(deviceId, policyId, updatepolicyConfig, GetCustomRequestHeaders()); + } + + /// + /// for a new backuppolicy for which no backup has yet been taken,service returns last backup time as 1/1/2010 which is misleading + /// we are setting it to null + /// + /// + /// + private IList CorrectLastBackupForNewPolicy(IList backupPolicyList) + { + if (backupPolicyList != null) + { + for (int i = 0; i < backupPolicyList.Count; ++i) + { + if (backupPolicyList[i].LastBackup.Value.Year == 2010 + && backupPolicyList[i].LastBackup.Value.Month == 1 + && backupPolicyList[i].LastBackup.Value.Day == 1) + { + //this means that for this policy no backup has yet been taken + //so the service returns 1/1/2010 which is incorrect. hence we are correcting it here + backupPolicyList[i].LastBackup = null; + } + } + } + return backupPolicyList; + } + + /// + /// for a new backuppolicy for which no backup has yet been taken,service returns last backup time as 1/1/2010 which is misleading + /// we are setting it to null + /// + /// + /// + private BackupPolicyDetails CorrectLastBackupForNewPolicyDetail(BackupPolicyDetails backupPolicyDetail) + { + if (backupPolicyDetail != null && backupPolicyDetail.LastBackup != null) + { + if (backupPolicyDetail.LastBackup.Value.Year == 2010 + && backupPolicyDetail.LastBackup.Value.Month == 1 + && backupPolicyDetail.LastBackup.Value.Day == 1) + { + //this means that for this policy no backup has yet been taken + //so the service returns 1/1/2010 which is incorrect. hence we are correcting it here + backupPolicyDetail.LastBackup = null; + } + + } + return backupPolicyDetail; + } + + public void ValidateBackupScheduleBase(BackupScheduleBase newScheduleObject) + { + newScheduleObject.StartTime = GetValidStartTime(newScheduleObject.StartTime); + ValidateRetentionCount(newScheduleObject.RetentionCount); + ValidateRecurrenceValue(newScheduleObject.Recurrence.RecurrenceValue); + } + + public void ValidateBackupScheduleUpdateRequest(BackupScheduleUpdateRequest updateScheduleObject) + { + updateScheduleObject.StartTime = GetValidStartTime(updateScheduleObject.StartTime); + ValidateRetentionCount(updateScheduleObject.RetentionCount); + ValidateRecurrenceValue(updateScheduleObject.Recurrence.RecurrenceValue); + } + + private string GetValidStartTime(string startTime) + { + DateTime StartFromDt; + if (!string.IsNullOrEmpty(startTime)) + { + bool dateTimeValid = DateTime.TryParse(startTime, out StartFromDt); + + if (!dateTimeValid) + { + throw new ArgumentException(Resources.StartFromDateForBackupNotValid); + } + } + else + StartFromDt = DateTime.Now; + + return StartFromDt.ToString("yyyy-MM-ddTHH:mm:sszzz"); + } + + private void ValidateRetentionCount(long retentionCount) + { + if (retentionCount < 1 || retentionCount > 64) + { + throw new ArgumentException(Resources.RetentionCountRangeInvalid); + } + } + + private void ValidateRecurrenceValue(int recurrenceValue) + { + if (recurrenceValue <= 0) + { + throw new ArgumentException(Resources.RecurrenceValueLessThanZero); + } + } + } +} diff --git a/src/Common/Azure.Common.Extensions/Models/AzureEnvironment.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StoreSimpleCryptKeysClient.cs similarity index 67% rename from src/Common/Azure.Common.Extensions/Models/AzureEnvironment.cs rename to src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StoreSimpleCryptKeysClient.cs index 53d81ea10856..4c4daac4a16f 100644 --- a/src/Common/Azure.Common.Extensions/Models/AzureEnvironment.cs +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/ServiceClients/StoreSimpleCryptKeysClient.cs @@ -12,19 +12,16 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System.Collections.Generic; +using Microsoft.WindowsAzure.Management.StorSimple; +using Microsoft.WindowsAzure.Management.StorSimple.Models; -namespace Microsoft.Azure.Common.Extensions.Models +namespace Microsoft.WindowsAzure.Commands.StorSimple { - public partial class AzureEnvironment + public partial class StorSimpleClient { - public AzureEnvironment() + public GetResourceEncryptionKeyResponse GetResourceEncryptionKey() { - Endpoints = new Dictionary(); + return this.GetStorSimpleClient().ResourceEncryptionKeys.Get(GetCustomRequestHeaders()); } - - public string Name { get; set; } - - public Dictionary Endpoints { get; set; } } } diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/StorSimpleCmdletBase.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/StorSimpleCmdletBase.cs new file mode 100644 index 000000000000..253b87195582 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/StorSimpleCmdletBase.cs @@ -0,0 +1,384 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Linq; +using System.Threading; +using Hyak.Common; +using Microsoft.Azure; +using System.Xml.Linq; +using Microsoft.WindowsAzure.Commands.StorSimple.Encryption; +using Microsoft.WindowsAzure.Commands.StorSimple.Properties; +using Microsoft.WindowsAzure.Management.StorSimple.Models; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using System.Net; +using System.Management.Automation; +using Microsoft.WindowsAzure.Commands.StorSimple.Models; + +namespace Microsoft.WindowsAzure.Commands.StorSimple +{ + public class StorSimpleCmdletBase : AzurePSCmdlet + { + //this property will determine whether before running the actual commandlet logic, should resource selection be verified + protected bool verifyResourceBeforeCmdletExecute; + + /// + /// default constructor for most commandlets. In this case, Resource check will be verified + /// + public StorSimpleCmdletBase() : this(true) { } + + /// + /// constructor variant if you want to suppress the resource check for your commandlet + /// + /// + public StorSimpleCmdletBase(bool performResourceCheck):base() + { + verifyResourceBeforeCmdletExecute = performResourceCheck; + } + + private StorSimpleClient storSimpleClient; + + internal StorSimpleClient StorSimpleClient + { + get + { + if (this.storSimpleClient == null) + { + this.storSimpleClient = new StorSimpleClient(Profile, Profile.Context.Subscription); + } + storSimpleClient.ClientRequestId = Guid.NewGuid().ToString("D") + "_PS"; + WriteVerbose(string.Format(Resources.ClientRequestIdMessage, storSimpleClient.ClientRequestId)); + return this.storSimpleClient; + } + } + + internal virtual void HandleAsyncTaskResponse(AzureOperationResponse opResponse, string operationName) + { + string msg = string.Empty; + + if (opResponse.StatusCode != HttpStatusCode.Accepted && opResponse.StatusCode != HttpStatusCode.OK) + { + msg = string.Format(Resources.FailureMessageSubmitJob, operationName); + } + + else + { + if (opResponse.GetType().Equals(typeof(TaskResponse))) + { + var taskResponse = opResponse as TaskResponse; + msg = string.Format(Resources.SuccessMessageSubmitJob, operationName, taskResponse.TaskId); + WriteObject(taskResponse.TaskId); + } + + else if (opResponse.GetType().Equals(typeof(GuidTaskResponse))) + { + var guidTaskResponse = opResponse as GuidTaskResponse; + msg = string.Format(Resources.SuccessMessageSubmitJob, operationName, guidTaskResponse.TaskId); + WriteObject(guidTaskResponse.TaskId); + } + } + + WriteVerbose(msg); + } + + internal virtual void HandleSyncTaskResponse(TaskStatusInfo taskStatus, string operationName) + { + string msg = string.Empty; + TaskReport taskReport = new TaskReport(taskStatus); + + if (taskStatus.AsyncTaskAggregatedResult != AsyncTaskAggregatedResult.Succeeded) + { + msg = string.Format(Resources.FailureMessageCompleteJob, operationName); + WriteObject(taskReport); + } + + else + { + msg = string.Format(Resources.SuccessMessageCompleteJob, operationName); + WriteObject(taskReport); + } + + WriteVerbose(msg); + } + + private static void StripNamespaces(XDocument doc) + { + var elements = doc.Descendants(); + elements.Attributes().Where(attr => attr.IsNamespaceDeclaration).Remove(); + foreach (var element in elements) + { + element.Name = element.Name.LocalName; + } + } + + internal virtual void HandleException(Exception exception) + { + ErrorRecord errorRecord = null; + var ex = exception; + do + { + Type exType = ex.GetType(); + if(exType == typeof(CloudException)) + { + var cloudEx = ex as CloudException; + if (cloudEx == null) + break; + var response = cloudEx.Response; + try + { + XDocument xDoc = XDocument.Parse(response.Content); + StripNamespaces(xDoc); + string cloudErrorCode = xDoc.Descendants("ErrorCode").FirstOrDefault().Value; + WriteVerbose(string.Format(Resources.CloudExceptionMessage, cloudErrorCode)); + } + catch (Exception) + { + + } + + errorRecord = new ErrorRecord(cloudEx, string.Empty, ErrorCategory.InvalidOperation, null); + break; + } + else if(exType == typeof(WebException)) + { + var webEx = ex as WebException; + if (webEx == null) + break; + try + { + HttpWebResponse response = webEx.Response as HttpWebResponse; + WriteVerbose(string.Format(Resources.WebExceptionMessage, response.StatusCode)); + } + catch (Exception) + { + + } + errorRecord = new ErrorRecord(webEx, string.Empty, ErrorCategory.ConnectionError, null); + break; + } + else if (exType == typeof (FormatException)) + { + var formEx = ex as FormatException; + if (formEx == null) + break; + WriteVerbose(string.Format(Resources.InvalidInputMessage, ex.Message)); + errorRecord = new ErrorRecord(formEx, string.Empty, ErrorCategory.InvalidData, null); + } + else if (exType == typeof(NullReferenceException)) + { + var nullEx = ex as NullReferenceException; + if (nullEx == null) + break; + WriteVerbose(string.Format(Resources.InvalidInputMessage, ex.Message)); + errorRecord = new ErrorRecord(nullEx, string.Empty, ErrorCategory.InvalidData, null); + break; + } + else if (exType == typeof(ArgumentNullException)) + { + var argEx = ex as ArgumentNullException; + if (argEx == null) + break; + WriteVerbose(string.Format(Resources.InvalidInputMessage, ex.Message)); + errorRecord = new ErrorRecord(argEx, string.Empty, ErrorCategory.InvalidData, null); + break; + } + ex = ex.InnerException; + } while (ex != null); + + if(errorRecord == null) + { + errorRecord = new ErrorRecord(exception, string.Empty, ErrorCategory.NotSpecified, null); + } + + WriteError(errorRecord); + } + + protected override void BeginProcessing() + { + base.BeginProcessing(); + if(verifyResourceBeforeCmdletExecute) + VerifyResourceContext(); + } + /// + /// this method verifies that a resource has been selected before this commandlet is executed + /// + private void VerifyResourceContext() + { + if (!CheckResourceContextPresent()) + { + throw GetGenericException(Resources.ResourceContextNotSetMessage, null); + } + } + + private bool CheckResourceContextPresent() + { + var resourceContext = StorSimpleClient.GetResourceContext(); + if (resourceContext == null + || string.IsNullOrEmpty(resourceContext.ResourceId) + || string.IsNullOrEmpty(resourceContext.ResourceName)) + { + return false; + } + return true; + } + + internal bool ValidStorageAccountCred(string storageAccountName, string storageAccountKey, string endpoint) + { + using (System.Management.Automation.PowerShell ps = System.Management.Automation.PowerShell.Create()) + { + bool valid = true; + Random rnd = new Random(); + string testContainerName = string.Format("storsimplesdkvalidation{0}", rnd.Next()); + //create a storage container and then delete it + string validateScript = string.Format( + @"$context = New-AzureStorageContext -StorageAccountName {0} -StorageAccountKey {1} -Endpoint {2};" + + @"New-AzureStorageContainer -Name {3} -Context $context;" + + @"Remove-AzureStorageContainer -Name {3} -Context $context -Force;", + storageAccountName, storageAccountKey, endpoint, testContainerName); + ps.AddScript(validateScript); + ps.Invoke(); + if (ps.HadErrors) + { + var exception = ps.Streams.Error[0].Exception; + string getScript = string.Format( + @"$context = New-AzureStorageContext -StorageAccountName {0} -StorageAccountKey {1};" + + @"Get-AzureStorageContainer -Name {2} -Context $context;", + storageAccountName, storageAccountKey, testContainerName); + ps.AddScript(getScript); + var result = ps.Invoke(); + if (result != null && result.Count > 0) + { + //storage container successfully created and still exists, retry deleting it + int retryCount = 1; + string removeScript = string.Format( + @"$context = New-AzureStorageContext -StorageAccountName {0} -StorageAccountKey {1};" + + @"Remove-AzureStorageContainer -Name {2} -Context $context -Force;", + storageAccountName, storageAccountKey, testContainerName); + do + { + WriteVerbose(string.Format(Resources.StorageAccountCleanupRetryMessage, retryCount)); + ps.AddScript(removeScript); + ps.Invoke(); + Thread.Sleep(retryCount * 1000); + ps.AddScript(getScript); + result = ps.Invoke(); + } while (result != null && result.Count > 0 && ++retryCount <= 5); + } + else + { + valid = false; + HandleException(exception); + } + } + return valid; + } + } + + + internal string GetStorageAccountLocation(string storageAccountName, out bool exist) + { + using (System.Management.Automation.PowerShell ps = System.Management.Automation.PowerShell.Create()) + { + string location = null; + exist = false; + + string script = string.Format(@"Get-AzureStorageAccount -StorageAccountName {0}", storageAccountName); + ps.AddScript(script); + var result = ps.Invoke(); + + if (ps.HadErrors) + { + HandleException(ps.Streams.Error[0].Exception); + WriteVerbose(string.Format(Resources.StorageAccountNotFoundMessage, storageAccountName)); + } + + if (result != null && result.Count > 0) + { + exist = true; + WriteVerbose(string.Format(Resources.StorageAccountFoundMessage, storageAccountName)); + script = string.Format(@"Get-AzureStorageAccount -StorageAccountName {0}" + + @"| Select-Object -ExpandProperty Location", storageAccountName); + ps.AddScript(script); + result = ps.Invoke(); + if (ps.HadErrors) + { + HandleException(ps.Streams.Error[0].Exception); + } + if (result.Count > 0) + { + location = result[0].ToString(); + } + } + return location; + } + } + + internal bool ValidateAndEncryptStorageCred(string name, string key, string endpoint, out string encryptedKey, out string thumbprint) + { + StorSimpleCryptoManager storSimpleCryptoManager = new StorSimpleCryptoManager(StorSimpleClient); + thumbprint = storSimpleCryptoManager.GetSecretsEncryptionThumbprint(); + encryptedKey = null; + if (!string.IsNullOrEmpty(key)) + { + //validate storage account credentials + if (!ValidStorageAccountCred(name, key, endpoint)) + { + WriteVerbose(Resources.StorageCredentialVerificationFailureMessage); + return false; + } + WriteVerbose(Resources.StorageCredentialVerificationSuccessMessage); + WriteVerbose(Resources.EncryptionInProgressMessage); + storSimpleCryptoManager.EncryptSecretWithRakPub(key, out encryptedKey); + } + return true; + } + + /// + /// this method verifies that the devicename parameter specified is completely configured + /// no operation should be allowed to perform on a non-configured device + /// + public void VerifyDeviceConfigurationCompleteForDevice(string deviceId) + { + DeviceDetails details = storSimpleClient.GetDeviceDetails(deviceId); + bool data0Configured = false; + + if(details.NetInterfaceList!=null) + { + NetInterface data0 = details.NetInterfaceList.Where(x => x.InterfaceId == NetInterfaceId.Data0).ToList().First(); + if (data0 != null + && data0.IsEnabled + && data0.NicIPv4Settings != null + && !string.IsNullOrEmpty(data0.NicIPv4Settings.Controller0IPv4Address)) + data0Configured = true; + } + if (!data0Configured) + throw GetGenericException(Resources.DeviceNotConfiguredMessage, null); + } + + internal string GetHostnameFromEndpoint(string endpoint) + { + return string.Format("blob.{0}", endpoint); + } + + internal string GetEndpointFromHostname(string hostname) + { + return hostname.Substring(hostname.IndexOf('.') + 1); + } + + internal Exception GetGenericException(string exceptionMessage, Exception innerException) + { + return new Exception(exceptionMessage, innerException); + } + } +} \ No newline at end of file diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/StorSimpleCmdletHelpMessage.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/StorSimpleCmdletHelpMessage.cs new file mode 100644 index 000000000000..615dfa8077d4 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/StorSimpleCmdletHelpMessage.cs @@ -0,0 +1,83 @@ +// ---------------------------------------------------------------------------------- +// +// 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.StorSimple +{ + internal static class StorSimpleCmdletHelpMessage + { + public const string HelpMessageACRName = "The access control record name."; + public const string HelpMessageACRObject = "The access control record object."; + public const string HelpMessageDataContainerBandwidth = "The data container bandwidth rate."; + public const string HelpMessageDataContainerEncryptionEnabled = "Flag to encrypt the data container."; + public const string HelpMessageDataContainerEncryptionkey = "The encryption key for the data container."; + public const string HelpMessageDataContainerId = "The volume container identifier."; + public const string HelpMessageDataContainerName = "The volume container name."; + public const string HelpMessageDataContainerObject = "The volume container object."; + public const string HelpMessageDeviceConfigRequired = "Return Configuration details of the device."; + public const string HelpMessageDeviceId = "The device identifier."; + public const string HelpMessageDeviceModel = "The device model."; + public const string HelpMessageDeviceName = "Name of the StorSimple device on which the commandlet is to be run"; + public const string HelpMessageDeviceType = "The device type."; + public const string HelpMessageForce = "User confirmation is not required."; + public const string HelpMessageIQNforACR = "The iSCSI Qualified Name (IQN)."; + public const string HelpMessageTaskId = "The task identifier."; + public const string HelpMessageSACObject = "The storage account credential object."; + public const string HelpMessageStorageAccountKey = "The storage account key."; + public const string HelpMessageStorageAccountName = "The storage account name."; + public const string HelpMessageUseSSL = "Flag to use SSL."; + public const string HelpMessageEndpoint = "Azure storage endpoint."; + public const string HelpMessageVolumeAcrList = "List of access control records."; + public const string HelpMessageVolumeAppType = "The application type of the volume."; + public const string HelpMessageVolumeDefaultBackup = "Flag to enable default backup."; + public const string HelpMessageVolumeId = "The volume identifier."; + public const string HelpMessageVolumeMonitoring = "Flag to enable monitoring."; + public const string HelpMessageVolumeName = "The volume name."; + public const string HelpMessageVolumeOnline = "Is the volume online"; + public const string HelpMessageVolumeSize = "The size of volume in bytes."; + public const string HelpMessageWaitTillComplete = "Wait till the async operation completes."; + public const string HelpMessageBackupPolicyName = "Name of the Backup policy that you wish to retrieve. Skip this parameter to get all policies"; + public const string HelpMessageBackupIdToDelete = "InstanceId of the Backup that needs to be deleted"; + public const string HelpMessageBackupIdToRestore = "InstanceId of the Backup that needs to be restored"; + public const string HelpMessagesnapshotIdToRestore = "InstanceId of the Snapshot that needs to be restored"; + public const string HelpMessageBackupPolicyIdToDelete = "InstanceId of the BackupPolicy that needs to be deleted"; + public const string HelpMessageBackupPolicyToDelete = "The BackupPolicyDetails object that needs to be deleted"; + public const string HelpMessageBackupTypeDesc = "Enter LocalSnapshot or CloudSnapshot"; + public const string HelpMessageRecurrenceTypeDesc = "Enter \"Minutes or Hourly or Daily or Weekly\""; + public const string HelpMessageRecurrenceValueDesc = "How often do you want a backup to be taken? Enter a numerical value"; + public const string HelpMessageRetentionCountDesc = "Number of days the backup should be retained before deleting"; + public const string HelpMessageBackupStartFromDesc = "Enter date from which you want to start taking backups. Default is now"; + public const string HelpMessageBackupEnabledDesc = "Set this parameter to false if you want to this backupschedule to be disabled"; + public const string HelpMessageNewBackupPolicyName = "The new name of the backup policy."; + public const string HelpMessageBackupsToAddList = "List of BackupScheduleBase objects to be added to the policy"; + public const string HelpMessageVolumeIdsToAddList = "List of VolumeIds to be added"; + public const string HelpMessageBackupPolicyId = "InstanceId of the backupPolicy which created the backups"; + public const string HelpMessageVolumeIdForBackup = "InstanceId of the volume in which backups exist"; + public const string HelpMessageBackupPolicyDetailsObject = "Provide the BackupPolicyDetails object. The InstanceId of this object will be used as a filter for backups"; + public const string HelpMessageVolumeObject = "Provide the VirtualDisk object. The InstanceId of this object will be used as a filter for backups"; + public const string HelpMessageStartFrom = "The start date time for filtering backups"; + public const string HelpMessageEndTime = "The end date time for filtering backups"; + public const string HelpMessageFirstDesc = "Gets only the specified number of objects. Enter the number of objects to get"; + public const string HelpMessageSkipDesc = "Ignores the specified number of objects and then gets the remaining objects. Enter the number of objects to skip"; + public const string HelpMessageBackupPolicyIdForCreate = "Id of the backupPolicy which will be used to create backup"; + public const string HelpMessageBackupScheduleId = "Enter the InstanceId of the BackupSchedule object that you wish to update"; + public const string HelpMessageBackupPolicyIdToUpdate = "InstanceId of the backupPolicy which you are trying to update"; + public const string HelpMessageBackupPolicyNameChange = "Name of the backup policy. If you are changing the name, set -IsPolicyRenamed to 1"; + public const string HelpMessageIsPolicyRenamed = "If you are renaming the policy set this value to 1"; + public const string HelpMessageBackupScheduleBaseObjsToAdd = "List of BackupScheduleBase objects to be added to the policy"; + public const string HelpMessageBackupScheduleBaseObjsToUpdate = "List of BackupScheduleUpdateRequest objects to be updated"; + public const string HelpMessageBackupScheduleBaseObjsToDelete = "List of Instance Id of BackupSchedule objects to be deleted"; + public const string HelpMessageVolumeObjsToUpdate = "List of VolumeIds to be updated"; + public const string HelpMessageResourceName = "Name of the resource which needs to be retrieved"; + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/StorSimpleCmdletParameterSet.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/StorSimpleCmdletParameterSet.cs new file mode 100644 index 000000000000..62b76845348f --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/StorSimpleCmdletParameterSet.cs @@ -0,0 +1,27 @@ +// ---------------------------------------------------------------------------------- +// +// 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.StorSimple +{ + internal static class StorSimpleCmdletParameterSet + { + public const string Empty = "Empty"; + public const string IdentifyById = "IdentifyById"; + public const string IdentifyByName = "IdentifyByName"; + public const string IdentifyByObject = "IdentifyByObject"; + public const string IdentifyByParentObject = "IdentifyByParentObject"; + public const string IdentifyById2 = "IdentifyById2"; + public const string IdentifyByObject2 = "IdentifyByObject2"; + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/StorSimpleContext.cs b/src/ServiceManagement/StorSimple/Commands.StorSimple/StorSimpleContext.cs new file mode 100644 index 000000000000..88f666a22819 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/StorSimpleContext.cs @@ -0,0 +1,32 @@ +// ---------------------------------------------------------------------------------- +// +// 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.WindowsAzure.Commands.StorSimple.Encryption; + +namespace Microsoft.WindowsAzure.Commands.StorSimple +{ + public static class StorSimpleContext + { + public static string SubscriptionId { get; set; } + public static Uri ServiceEndPoint { get; set; } + public static string ResourceId { get; set; } + public static string StampId { get; set; } + public static string CloudServiceName { get; set; } + public static string ResourceProviderNameSpace { get; set; } + public static string ResourceType { get; set; } + public static string ResourceName { get; set; } + public static StorSimpleKeyManager KeyManager { get; set; } + } +} diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple/packages.config b/src/ServiceManagement/StorSimple/Commands.StorSimple/packages.config new file mode 100644 index 000000000000..44210bb9d606 --- /dev/null +++ b/src/ServiceManagement/StorSimple/Commands.StorSimple/packages.config @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ServiceManagement/Storage/Commands.Storage.MsTest2/Properties/AssemblyInfo.cs b/src/ServiceManagement/Storage/Commands.Storage.MsTest2/Properties/AssemblyInfo.cs index a8a513f269f2..ba84fe86259f 100644 --- a/src/ServiceManagement/Storage/Commands.Storage.MsTest2/Properties/AssemblyInfo.cs +++ b/src/ServiceManagement/Storage/Commands.Storage.MsTest2/Properties/AssemblyInfo.cs @@ -41,5 +41,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.8.13")] -[assembly: AssemblyFileVersion("0.8.13")] +[assembly: AssemblyVersion("0.8.14")] +[assembly: AssemblyFileVersion("0.8.14")] diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Blob/StorageBlobTestBase.cs b/src/ServiceManagement/Storage/Commands.Storage.Test/Blob/StorageBlobTestBase.cs index 4c57942c8b2e..3e88475f1426 100644 --- a/src/ServiceManagement/Storage/Commands.Storage.Test/Blob/StorageBlobTestBase.cs +++ b/src/ServiceManagement/Storage/Commands.Storage.Test/Blob/StorageBlobTestBase.cs @@ -19,7 +19,7 @@ using Microsoft.WindowsAzure.Commands.Common.Test.Mocks; using Microsoft.WindowsAzure.Commands.Storage.Test.Service; using Microsoft.WindowsAzure.Storage.Blob; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Storage.Test.Blob { @@ -60,7 +60,7 @@ public void InitMock() { BlobMock = new MockStorageBlobManagement(); MockCmdRunTime = new MockCommandRuntime(); - ProfileClient.DataStore = new MockDataStore(); + AzureSession.DataStore = new MockDataStore(); } [TestCleanup] diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/Commands.Storage.Test.csproj b/src/ServiceManagement/Storage/Commands.Storage.Test/Commands.Storage.Test.csproj index e0d8286547d1..cde6bbea5629 100644 --- a/src/ServiceManagement/Storage/Commands.Storage.Test/Commands.Storage.Test.csproj +++ b/src/ServiceManagement/Storage/Commands.Storage.Test/Commands.Storage.Test.csproj @@ -49,17 +49,17 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll @@ -73,12 +73,12 @@ ..\..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -95,8 +95,9 @@ ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll False diff --git a/src/ServiceManagement/Storage/Commands.Storage.Test/packages.config b/src/ServiceManagement/Storage/Commands.Storage.Test/packages.config index bdea9420592b..1bfd2e65bac6 100644 --- a/src/ServiceManagement/Storage/Commands.Storage.Test/packages.config +++ b/src/ServiceManagement/Storage/Commands.Storage.Test/packages.config @@ -1,9 +1,9 @@  - - + + + - @@ -11,10 +11,10 @@ - + - + diff --git a/src/ServiceManagement/Storage/Commands.Storage/Commands.Storage.csproj b/src/ServiceManagement/Storage/Commands.Storage/Commands.Storage.csproj index ea8af24d5ceb..cd204dd0e679 100644 --- a/src/ServiceManagement/Storage/Commands.Storage/Commands.Storage.csproj +++ b/src/ServiceManagement/Storage/Commands.Storage/Commands.Storage.csproj @@ -43,19 +43,19 @@ False - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll False - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll False - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll False @@ -70,12 +70,12 @@ ..\..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -92,9 +92,9 @@ ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll False diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/Cmdlet/NewAzureStorageContext.cs b/src/ServiceManagement/Storage/Commands.Storage/Common/Cmdlet/NewAzureStorageContext.cs index c311e9108c65..2b6b26dc4b04 100644 --- a/src/ServiceManagement/Storage/Commands.Storage/Common/Cmdlet/NewAzureStorageContext.cs +++ b/src/ServiceManagement/Storage/Commands.Storage/Common/Cmdlet/NewAzureStorageContext.cs @@ -17,12 +17,12 @@ using System.Management.Automation; using System.Security.Permissions; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Storage; using Microsoft.WindowsAzure.Commands.Utilities.Common; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Auth; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; namespace Microsoft.WindowsAzure.Commands.Storage.Common.Cmdlet { @@ -332,7 +332,7 @@ internal CloudStorageAccount GetStorageAccountWithEndPoint(StorageCredentials cr /// /// Get storage account and use specific azure environment /// - /// Storage credentail + /// Storage credential /// Storage account name, it's used for build end point /// Use secure Http protocol /// Environment name @@ -344,13 +344,14 @@ internal CloudStorageAccount GetStorageAccountWithAzureEnvironment(StorageCreden if (string.IsNullOrEmpty(azureEnvironmentName)) { - azureEnvironment = AzureSession.CurrentContext.Environment; + azureEnvironment = Profile.Context.Environment; } else { try { - azureEnvironment = DefaultProfileClient.GetEnvironmentOrDefault(azureEnvironmentName); + var profileClient = new ProfileClient(Profile); + azureEnvironment = profileClient.GetEnvironmentOrDefault(azureEnvironmentName); } catch (ArgumentException e) { diff --git a/src/ServiceManagement/Storage/Commands.Storage/Common/StorageCloudCmdletBase.cs b/src/ServiceManagement/Storage/Commands.Storage/Common/StorageCloudCmdletBase.cs index 3effb41d97c6..c964a994d9c6 100644 --- a/src/ServiceManagement/Storage/Commands.Storage/Common/StorageCloudCmdletBase.cs +++ b/src/ServiceManagement/Storage/Commands.Storage/Common/StorageCloudCmdletBase.cs @@ -20,7 +20,7 @@ using System.Net; using System.Threading; using System.Threading.Tasks; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.Common.Storage; using Microsoft.WindowsAzure.Commands.Storage.File; using Microsoft.WindowsAzure.Commands.Storage.Model.ResourceModel; @@ -236,8 +236,8 @@ protected override void InitChannelCurrentSubscription(bool force) internal virtual bool ShouldInitServiceChannel() { //Storage Context is empty and have already set the current storage account in subscription - if (Context == null && HasCurrentSubscription && CurrentContext.Subscription != null && - !String.IsNullOrEmpty(CurrentContext.Subscription.GetProperty(AzureSubscription.Property.StorageAccount))) + if (Context == null && HasCurrentSubscription && Profile.Context.Subscription != null && + !String.IsNullOrEmpty(Profile.Context.Subscription.GetProperty(AzureSubscription.Property.StorageAccount))) { return true; } @@ -302,7 +302,7 @@ internal void WriteObjectWithStorageContext(IEnumerable itemLi /// A storage account private CloudStorageAccount GetStorageAccountFromSubscription() { - string CurrentStorageAccountName = CurrentContext.Subscription.GetProperty(AzureSubscription.Property.StorageAccount); + string CurrentStorageAccountName = Profile.Context.Subscription.GetProperty(AzureSubscription.Property.StorageAccount); if (string.IsNullOrEmpty(CurrentStorageAccountName)) { @@ -310,12 +310,12 @@ private CloudStorageAccount GetStorageAccountFromSubscription() } else { - WriteDebugLog(String.Format(Resources.UseCurrentStorageAccountFromSubscription, CurrentStorageAccountName, CurrentContext.Subscription.Name)); + WriteDebugLog(String.Format(Resources.UseCurrentStorageAccountFromSubscription, CurrentStorageAccountName, Profile.Context.Subscription.Name)); try { //The service channel initialized by subscription - return CurrentContext.Subscription.GetCloudStorageAccount(); + return Profile.Context.Subscription.GetCloudStorageAccount(Profile); } catch (System.ServiceModel.CommunicationException e) { @@ -324,7 +324,7 @@ private CloudStorageAccount GetStorageAccountFromSubscription() if (e.IsNotFoundException()) { //Repack the 404 error - string errorMessage = String.Format(Resources.CurrentStorageAccountNotFoundOnAzure, CurrentStorageAccountName, CurrentContext.Subscription.Name); + string errorMessage = String.Format(Resources.CurrentStorageAccountNotFoundOnAzure, CurrentStorageAccountName, Profile.Context.Subscription.Name); System.ServiceModel.CommunicationException exception = new System.ServiceModel.CommunicationException(errorMessage, e); throw exception; } diff --git a/src/ServiceManagement/Storage/Commands.Storage/packages.config b/src/ServiceManagement/Storage/Commands.Storage/packages.config index bdea9420592b..1bfd2e65bac6 100644 --- a/src/ServiceManagement/Storage/Commands.Storage/packages.config +++ b/src/ServiceManagement/Storage/Commands.Storage/packages.config @@ -1,9 +1,9 @@  - - + + + - @@ -11,10 +11,10 @@ - + - + diff --git a/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/Commands.TrafficManager.Test.csproj b/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/Commands.TrafficManager.Test.csproj index e8ab5c18c638..617c0cef72b7 100644 --- a/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/Commands.TrafficManager.Test.csproj +++ b/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/Commands.TrafficManager.Test.csproj @@ -36,17 +36,17 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll ..\..\..\packages\Microsoft.Azure.Management.Resources.2.12.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll @@ -60,12 +60,12 @@ ..\..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -80,8 +80,9 @@ ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll - - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + + False + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll ..\..\..\packages\Microsoft.WindowsAzure.Management.TrafficManager.0.16.0-preview\lib\net40\Microsoft.WindowsAzure.Management.TrafficManager.dll diff --git a/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/packages.config b/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/packages.config index 6a1d321c8bcf..c3c146f97020 100644 --- a/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/packages.config +++ b/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/packages.config @@ -1,9 +1,9 @@  - - + + + - @@ -11,9 +11,9 @@ - + - + diff --git a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Commands.TrafficManager.csproj b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Commands.TrafficManager.csproj index f084b7c8e9e5..7479556ffd5b 100644 --- a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Commands.TrafficManager.csproj +++ b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Commands.TrafficManager.csproj @@ -46,17 +46,17 @@ - ..\..\..\packages\Hyak.Common.1.0.1\lib\portable-net403+win+wpa81\Hyak.Common.dll + ..\..\..\packages\Hyak.Common.1.0.2\lib\portable-net403+win+wpa81\Hyak.Common.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.dll - + False - ..\..\..\packages\Microsoft.Azure.Common.Extensions.0.13.0-preview\lib\net45\Microsoft.Azure.Common.Extensions.dll + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.13-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll - ..\..\..\packages\Microsoft.Azure.Common.2.0.1\lib\net45\Microsoft.Azure.Common.NetFramework.dll + ..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll False @@ -71,12 +71,12 @@ ..\..\..\packages\Microsoft.Data.Services.Client.5.6.0\lib\net40\Microsoft.Data.Services.Client.dll - + False - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll - ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.11.10918.1222\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.12.111071459\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll False @@ -93,9 +93,9 @@ ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.2.0.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll - + False - ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.0\lib\net40\Microsoft.WindowsAzure.Management.dll + ..\..\..\packages\Microsoft.WindowsAzure.Management.4.0.1\lib\net40\Microsoft.WindowsAzure.Management.dll False diff --git a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/TestAzureTrafficManagerDomainName.cs b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/TestAzureTrafficManagerDomainName.cs index ddf18d9ca57c..d6afbc7a29af 100644 --- a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/TestAzureTrafficManagerDomainName.cs +++ b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/TestAzureTrafficManagerDomainName.cs @@ -16,8 +16,8 @@ using Microsoft.WindowsAzure.Commands.TrafficManager.Utilities; using Microsoft.WindowsAzure.Commands.Common; using Microsoft.WindowsAzure.Commands.Utilities.Common; -using Microsoft.Azure.Common.Extensions; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; namespace Microsoft.WindowsAzure.Commands.TrafficManager { @@ -36,8 +36,8 @@ public override void ExecuteCmdlet() private string GetDomainNameToCheck(string domainName) { - string TrafficManagerSuffix = !string.IsNullOrEmpty(AzureSession.CurrentContext.Environment.GetEndpoint(AzureEnvironment.Endpoint.TrafficManagerDnsSuffix)) ? - AzureSession.CurrentContext.Environment.GetEndpoint(AzureEnvironment.Endpoint.TrafficManagerDnsSuffix) : + string TrafficManagerSuffix = !string.IsNullOrEmpty(Profile.Context.Environment.GetEndpoint(AzureEnvironment.Endpoint.TrafficManagerDnsSuffix)) ? + Profile.Context.Environment.GetEndpoint(AzureEnvironment.Endpoint.TrafficManagerDnsSuffix) : AzureEnvironmentConstants.AzureTrafficManagerDnsSuffix; if (!string.IsNullOrEmpty(domainName) && !domainName.ToLower().EndsWith(TrafficManagerSuffix)) diff --git a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Utilities/TrafficManagerBaseCmdlet.cs b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Utilities/TrafficManagerBaseCmdlet.cs index a7ca64e0dd24..39fe3ee2e930 100644 --- a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Utilities/TrafficManagerBaseCmdlet.cs +++ b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Utilities/TrafficManagerBaseCmdlet.cs @@ -26,7 +26,7 @@ public ITrafficManagerClient TrafficManagerClient { if (this.trafficManagerClient == null) { - this.trafficManagerClient = new TrafficManagerClient(this.CurrentContext.Subscription); + this.trafficManagerClient = new TrafficManagerClient(this.Profile, this.Profile.Context.Subscription); } return this.trafficManagerClient; } diff --git a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Utilities/TrafficManagerClient.cs b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Utilities/TrafficManagerClient.cs index 50a60c5de37b..552a685d7b43 100644 --- a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Utilities/TrafficManagerClient.cs +++ b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/Utilities/TrafficManagerClient.cs @@ -16,11 +16,11 @@ using System.Collections.Generic; using System.Linq; using Microsoft.WindowsAzure.Commands.Common; -using Microsoft.Azure.Common.Extensions.Models; +using Microsoft.Azure.Common.Authentication.Models; using Microsoft.WindowsAzure.Commands.TrafficManager.Models; using Microsoft.WindowsAzure.Management.TrafficManager; using Microsoft.WindowsAzure.Management.TrafficManager.Models; -using Microsoft.Azure.Common.Extensions; +using Microsoft.Azure.Common.Authentication; using Microsoft.Azure; using Hyak.Common; @@ -30,9 +30,9 @@ public class TrafficManagerClient : ITrafficManagerClient { public TrafficManagerManagementClient Client { get; internal set; } - public TrafficManagerClient(AzureSubscription subscription) + public TrafficManagerClient(AzureProfile profile, AzureSubscription subscription) { - this.Client = AzureSession.ClientFactory.CreateClient(subscription, AzureEnvironment.Endpoint.ServiceManagement); + this.Client = AzureSession.ClientFactory.CreateClient(profile, subscription, AzureEnvironment.Endpoint.ServiceManagement); } public TrafficManagerClient(TrafficManagerManagementClient client) diff --git a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/packages.config b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/packages.config index 79ad7aea5fe6..375a97499b0a 100644 --- a/src/ServiceManagement/TrafficManager/Commands.TrafficManager/packages.config +++ b/src/ServiceManagement/TrafficManager/Commands.TrafficManager/packages.config @@ -1,9 +1,9 @@  - - + + + - @@ -11,10 +11,10 @@ - + - + diff --git a/tools/VerifyAzureSDK.ps1 b/tools/VerifyAzureSDK.ps1 index 348ae07e86c2..f4a1afccfd9a 100644 --- a/tools/VerifyAzureSDK.ps1 +++ b/tools/VerifyAzureSDK.ps1 @@ -8,34 +8,11 @@ Write-Host "**Node.js for Windows (32-bits) at http://nodejs.org/download/ and A Write-Host "**Azure PHP for Windows at http://azure.microsoft.com/en-us/downloads/." -ForegroundColor "Yellow" Write-Host "**It is recommended to reboot the machine after the setup, or at least relaunch the powershell." -ForegroundColor "Red" -Write-Host "Testing Caching role with MemCacheShim package, Node Web Role, and run under emulators" -ForegroundColor "Green" -#detect nodejs for x86 is installed, if not install it - # create testing folder $testFolder = "$env:AzurePSRoot\src\Package\" + [System.IO.Path]::GetRandomFileName() md $testFolder cd $testFolder -New-AzureServiceProject Cache -# the 'ClientRole' is coupled with the client script, do not change it unless you update the script as well -Add-AzureNodeWebRole ClientRole -Add-AzureCacheWorkerRole CacheRole -Enable-AzureMemcacheRole ClientRole CacheRole - -md "temp" -Copy-Item "$env:AzurePSRoot\src\Common\Commands.ScenarioTest\Resources\CloudService\Cache\*.js" ".\ClientRole\" -Force -Recurse -cd "$testFolder\Cache\ClientRole" -Start-Process "npm" "install $env:AzurePSRoot\src\Common\Commands.ScenarioTest\Resources\CloudService\Cache\mc.tgz $env:AzurePSRoot\src\Common\Commands.ScenarioTest\Resources\CloudService\Cache\connman.tgz" -Wait - -cd "$testFolder\Cache" -Start-AzureEmulator -v - -Write-Host "You can do some testing by loading role url in the browser and adding some key/value to mem cache emulators" -ForegroundColor "Yellow" -Write-Host "Press any key to continue to the next testing" -$keyPressed = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") - -Write-Host "Testing PHP web & worker roles with emulator" -ForegroundColor "Green" -cd $testFolder New-AzureServiceProject PHPTest Add-AzurePHPWebRole Add-AzurePHPWorkerRole